Function at 0x4560d8
Capabilities:
Decrypt data via sspi
Receive data
Receive data on socket

Disassembly:
push 0x74
mov eax, 0x4cec4b
call fcn.004019a4
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x68], eax
lea eax, [edi + 0x824]
push 4
push eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
jns 0x45610b
or eax, 0xffffffff
jmp 0x4563a4
xor ebx, ebx
lea eax, [ebp - 0x4c]
push 0x38
push ebx
push eax
mov dword [ebp - 0x6c], ebx
mov esi, ebx
mov dword [ebp - 0x50], ebx
call sub.msvcrt.dll_memset
imul eax, dword [ebp - 0x5c], 0xa
lea ecx, [ebp - 0x80]
add esp, 0xc
push eax
call fcn.00456d88
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x858]
test eax, eax
je 0x4561e3
mov ebx, 0x400
cmp eax, ebx
jl 0x4561be
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
push ebx
push dword [edi + 0x850]
push dword [ebp - 0x68]
call esi
add esp, 0xc
lea ecx, [ebp - 0x78]
push dword [edi + 0x858]
call fcn.00456d88
push dword [edi + 0x858]
push dword [edi + 0x850]
push dword [ebp - 0x78]
call esi
mov eax, dword [edi + 0x858]
add esp, 0xc
sub eax, ebx
push eax
mov eax, dword [ebp - 0x78]
add eax, ebx
push eax
push dword [edi + 0x850]
call esi
add dword [edi + 0x858], 0xfffffc00
add esp, 0xc
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x45638f
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
jmp 0x45638f
push eax
push dword [edi + 0x850]
push dword [ebp - 0x68]
call dword [sym.imp.msvcrt.dll_memcpy]
mov ebx, dword [edi + 0x858]
add esp, 0xc
and dword [edi + 0x858], 0
jmp 0x45638f
mov ebx, dword [ebp - 0x80]
mov eax, dword [edi + 0x84c]
test eax, eax
je 0x456214
push eax
push dword [edi + 0x844]
lea eax, [ebx + esi]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esi, dword [edi + 0x84c]
add esp, 0xc
xor edx, edx
mov dword [edi + 0x84c], edx
jmp 0x45623f
push 0
push dword [ebp - 0x5c]
lea eax, [ebx + esi]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
je 0x45638f
cmp ebx, 0xffffffff
je 0x45638f
add esi, ebx
mov ebx, dword [ebp - 0x80]
xor edx, edx
push edx
lea eax, [edi + 0x82c]
mov dword [ebp - 0x48], ebx
push edx
push eax
mov dword [eax], edx
lea ecx, [ebp - 0x50]
lea eax, [edi + 0x824]
mov dword [ebp - 0x50], esi
push eax
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], edx
mov dword [edi + 0x834], ecx
mov dword [edi + 0x830], 4
call dword [sym.imp.Secur32.dll_DecryptMessage]
mov dword [ebp - 0x74], eax
cmp eax, 0x80090318
je 0x4561e6
test eax, eax
je 0x4562a0
cmp eax, 0x90321
je 0x4562a0
cmp eax, 0x90317
jne 0x456311
push 4
xor esi, esi
lea eax, [ebp - 0x50]
xor ebx, ebx
pop ecx
test esi, esi
jne 0x4562b5
cmp dword [eax + 4], 1
cmove esi, eax
test ebx, ebx
jne 0x4562c0
cmp dword [eax + 4], 5
cmove ebx, eax
add eax, 0xc
dec ecx
jne 0x4562aa
mov dword [ebp - 0x70], esi
test ebx, ebx
je 0x4562fd
mov eax, dword [ebx]
lea esi, [edi + 0x844]
mov dword [edi + 0x84c], eax
mov ecx, esi
add eax, 0xa
push eax
call fcn.00456dc2
push dword [edi + 0x84c]
push dword [ebx + 8]
push dword [esi]
call dword [sym.imp.msvcrt.dll_memcpy]
mov esi, dword [ebp - 0x70]
add esp, 0xc
cmp dword [ebp - 0x74], 0x90321
jne 0x456316
mov ecx, edi
call fcn.00456614
test eax, eax
jns 0x456316
or ebx, 0xffffffff
jmp 0x45638f
test esi, esi
je 0x45638c
mov eax, dword [esi]
mov ebx, 0x400
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jg 0x456331
push eax
push dword [esi + 8]
push dword [ebp - 0x68]
jmp 0x456383
push ebx
push dword [esi + 8]
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x68]
call dword [sym.imp.msvcrt.dll_memcpy]
mov eax, dword [esi]
add esp, 0xc
add eax, 0xfffffc00
lea esi, [edi + 0x850]
mov dword [edi + 0x858], eax
mov ecx, esi
add eax, 0x64
push eax
call fcn.00456dc2
push dword [esi + 4]
push 0
push dword [esi]
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [ebp - 0x70]
add esp, 0xc
push dword [edi + 0x858]
mov eax, dword [eax + 8]
add eax, ebx
push eax
push dword [esi]
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
mov ebx, dword [ebp - 0x6c]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x4563a2
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, ebx
call fcn.00401a27
ret 8