Function at 0x1001c360
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10052550]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
test edx, edx
je 0x1001c601
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x1001c601
cmp dword [eax + 8], ebx
je 0x1001c601
mov esi, dword [edx + 0x24]
test esi, esi
je 0x1001c601
test ecx, ecx
je 0x1001c601
mov esi, dword [esi + 8]
mov dword [ecx], ebx
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1001c404
cmp dword [ebp + 0x1c], ecx
cmovb ecx, dword [ebp + 0x1c]
push ecx
push dword [esi + 0x4c]
mov dword [ebp - 0x38], ecx
push dword [ebp - 0x40]
call fcn.10027e60
mov eax, dword [ebp - 0x38]
add dword [esi + 0x4c], eax
sub dword [esi + 0x44], eax
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a4
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1001c427
push eax
push dword [esi + 0x40]
push dword [esi + 0x14]
call fcn.10029760
mov edi, dword [esi + 0x38]
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov dword [esi + 0x38], 0
test edi, edi
je 0x1001c433
cmp ebx, 0x80090318
jne 0x1001c455
mov eax, dword [esi + 0x18]
mov ecx, dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [esi + 0x14]
add eax, edi
push eax
mov eax, dword [ecx + 8]
push edx
call eax
add esp, 0xc
test eax, eax
jle 0x1001c5eb
add edi, eax
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.100290c0
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 0x2c], eax
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x48], eax
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 4
call sub.Secur32.dll_DecryptMessage
mov edx, dword [ebp - 0x38]
mov ebx, eax
cmp ebx, 0x80090318
je 0x1001c427
test ebx, ebx
jne 0x1001c5ce
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x30]
cmp eax, 1
jne 0x1001c4e8
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x44], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x30]
cmp eax, 5
jne 0x1001c4fd
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x38], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x24]
cmp eax, 1
jne 0x1001c518
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x44], xmm0
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x24]
cmp eax, 5
jne 0x1001c52d
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x38], xmm0
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x1001c548
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x44], xmm0
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x18]
cmp eax, 5
jne 0x1001c55d
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x38], xmm0
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0xc]
cmp eax, 1
jne 0x1001c578
movq xmm0, qword [ebp - 0x10]
movq qword [esi + 0x44], xmm0
mov eax, dword [ebp - 8]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0xc]
cmp eax, 5
jne 0x1001c58d
movq xmm0, qword [ebp - 0x10]
movq qword [esi + 0x38], xmm0
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
cmp dword [esi + 0x44], 0
je 0x1001c404
mov edi, dword [ebp + 0x1c]
cmp dword [esi + 0x44], edi
cmovb edi, dword [esi + 0x44]
push edi
push dword [esi + 0x4c]
push dword [ebp - 0x40]
call fcn.10027e60
sub dword [esi + 0x44], edi
add dword [esi + 0x4c], edi
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ecx], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a4
mov esp, ebp
pop ebp
ret
push ebx
push edx
call fcn.1001c620
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a4
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80090301
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x80090304
pop ebx
call fcn.100290a4
mov esp, ebp
pop ebp
ret