Function at 0x459ac0
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a37cd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c6180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
test ebx, ebx
je 0x459d09
mov dword [ebp - 0x50], 0x4200
nop dword [eax + eax]
mov edi, dword [eax + 0x30]
cmp ebx, edi
mov dword [ebp - 0x40], 0
cmovb edi, ebx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.0045ab50
mov ebx, dword [ebp - 0x3c]
mov ecx, ebx
mov esi, dword [ebp - 0x40]
sub ecx, esi
cmp ecx, 0x4200
jbe 0x459b60
lea eax, [esi + 0x4200]
mov dword [ebp - 0x3c], eax
jmp 0x459b99
jae 0x459b99
mov eax, dword [ebp - 0x38]
sub eax, esi
cmp eax, 0x4200
jae 0x459b7e
sub esp, 8
lea ecx, [ebp - 0x40]
call fcn.0045ac10
mov esi, dword [ebp - 0x40]
jmp 0x459b99
mov edi, 0x4200
sub edi, ecx
push edi
push 0
push ebx
call fcn.00476f60
add esp, 0xc
add ebx, edi
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x44]
push edi
push dword [ebp - 0x48]
mov dword [ebp - 0x30], 7
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 1
lea ecx, [eax + esi]
mov dword [ebp - 0x28], edi
lea eax, [ecx + edi]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x2c]
push ecx
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x1c], eax
call fcn.004769e0
add esp, 0xc
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push 0
push eax
push 0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.Secur32.dll_EncryptMessage]
test eax, eax
jne 0x459cae
mov ebx, dword [ebp - 0x28]
xor edi, edi
add ebx, dword [ebp - 0x1c]
add ebx, dword [ebp - 0x34]
je 0x459c38
push 0
mov eax, ebx
lea ecx, [esi + edi]
sub eax, edi
push eax
mov eax, dword [ebp - 0x44]
push ecx
push dword [eax + 0x14]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x459c9f
add edi, eax
cmp edi, ebx
jne 0x459c17
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
sub ebx, eax
add dword [ebp - 0x48], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x459c93
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x459c74
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d29
push ecx
push esi
call fcn.00474a68
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
test ebx, ebx
je 0x459d09
mov eax, dword [ebp - 0x44]
jmp 0x459b10
mov ebx, dword [ebp - 0x44]
mov edx, str.error_sending_data_to_socket__or_server_disconnected
mov edi, 0x34
jmp 0x459cb8
mov edx, str.this_should_not_happen__but_just_in_case_check_it
mov edi, 0x31
mov ecx, 8
mov eax, ebx
push edi
push edx
mov dword [eax + ecx], 0xffffffff
mov dword [eax + ecx + 4], 0xffffffff
lea ecx, [ebx + 0x10]
call fcn.00409a50
test esi, esi
je 0x459d05
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x459cfb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459d29
push ecx
push esi
call fcn.00474a68
add esp, 8
xor al, al
jmp 0x459d0b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474a5a
mov esp, ebp
pop ebp
ret 8
call fcn.0047a0cf
int3