Function at 0x10045ab0
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x1009de80]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test edx, edx
je 0x10045d97
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x10045d97
cmp dword [eax + 8], ebx
je 0x10045d97
mov esi, dword [edx + 0x24]
test esi, esi
je 0x10045d97
test ecx, ecx
je 0x10045d97
mov esi, dword [esi + 8]
mov dword [ecx], ebx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10045b61
cmp dword [ebp + 0x18], ecx
cmovb ecx, dword [ebp + 0x18]
push ecx
push dword [esi + 0x40]
mov dword [esp + 0x18], ecx
push dword [esp + 0x1c]
call fcn.10051cc0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
add dword [esi + 0x40], eax
sub dword [esi + 0x38], eax
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100503ce
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10045b85
push eax
push dword [esi + 0x34]
push dword [esi + 8]
call fcn.10051cc0
mov edi, dword [esi + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [esi + 0x2c], 0
test edi, edi
je 0x10045b91
cmp ebx, 0x80090318
jne 0x10045bb3
mov eax, dword [esi + 0xc]
mov ecx, dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [esi + 8]
add eax, edi
push eax
mov eax, dword [ecx + 8]
push edx
call eax
add esp, 0xc
test eax, eax
jle 0x10045d80
add edi, eax
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x58], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push 0
push eax
push dword [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
call sub.Secur32.dll_DecryptMessage
mov edx, dword [esp + 0x10]
mov ebx, eax
cmp ebx, 0x80090318
je 0x10045b85
test ebx, ebx
jne 0x10045d62
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x10045c66
movq xmm0, qword [esp + 0x2c]
movq qword [esi + 0x38], xmm0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x30]
cmp eax, 5
jne 0x10045c7d
movq xmm0, qword [esp + 0x2c]
movq qword [esi + 0x2c], xmm0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x3c]
cmp eax, 1
jne 0x10045c9c
movq xmm0, qword [esp + 0x38]
movq qword [esi + 0x38], xmm0
mov eax, dword [esp + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x3c]
cmp eax, 5
jne 0x10045cb3
movq xmm0, qword [esp + 0x38]
movq qword [esi + 0x2c], xmm0
mov eax, dword [esp + 0x40]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x48]
cmp eax, 1
jne 0x10045cd2
movq xmm0, qword [esp + 0x44]
movq qword [esi + 0x38], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x48]
cmp eax, 5
jne 0x10045ce9
movq xmm0, qword [esp + 0x44]
movq qword [esi + 0x2c], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x54]
cmp eax, 1
jne 0x10045d08
movq xmm0, qword [esp + 0x50]
movq qword [esi + 0x38], xmm0
mov eax, dword [esp + 0x58]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x54]
cmp eax, 5
jne 0x10045d1f
movq xmm0, qword [esp + 0x50]
movq qword [esi + 0x2c], xmm0
mov eax, dword [esp + 0x58]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10045b61
mov edi, dword [ebp + 0x18]
cmp eax, edi
cmovb edi, eax
push edi
push dword [esi + 0x40]
push dword [esp + 0x1c]
call fcn.10051cc0
mov ecx, dword [esp + 0x24]
add esp, 0xc
sub dword [esi + 0x38], edi
add dword [esi + 0x40], edi
xor eax, eax
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100503ce
mov esp, ebp
pop ebp
ret
push ebx
push edx
call fcn.10045db0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100503ce
mov esp, ebp
pop ebp
ret
mov eax, 0x80090301
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100503ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
mov eax, 0x80090304
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100503ce
mov esp, ebp
pop ebp
ret