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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4950ad
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4b4180]
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 0x451ff9
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.00452e40
mov ebx, dword [ebp - 0x3c]
mov ecx, ebx
mov esi, dword [ebp - 0x40]
sub ecx, esi
cmp ecx, 0x4200
jbe 0x451e50
lea eax, [esi + 0x4200]
mov dword [ebp - 0x3c], eax
jmp 0x451e89
jae 0x451e89
mov eax, dword [ebp - 0x38]
sub eax, esi
cmp eax, 0x4200
jae 0x451e6e
sub esp, 8
lea ecx, [ebp - 0x40]
call fcn.00452f00
mov esi, dword [ebp - 0x40]
jmp 0x451e89
mov edi, 0x4200
sub edi, ecx
push edi
push 0
push ebx
call fcn.0046dc50
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.0046d6d0
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 0x451f9e
mov ebx, dword [ebp - 0x28]
xor edi, edi
add ebx, dword [ebp - 0x1c]
add ebx, dword [ebp - 0x34]
je 0x451f28
push 0
mov eax, ebx
sub eax, edi
push eax
lea eax, [esi + edi]
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0x14]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x451f8f
add edi, eax
cmp edi, ebx
jne 0x451f07
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 0x451f83
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x451f64
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452019
push ecx
push esi
call fcn.0046b748
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
test ebx, ebx
je 0x451ff9
mov eax, dword [ebp - 0x44]
jmp 0x451e00
mov ebx, dword [ebp - 0x44]
mov edx, str.error_sending_data_to_socket__or_server_disconnected
mov edi, 0x34
jmp 0x451fa8
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.00402d20
test esi, esi
je 0x451ff5
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x451feb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452019
push ecx
push esi
call fcn.0046b748
add esp, 8
xor al, al
jmp 0x451ffb
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.0046b73a
mov esp, ebp
pop ebp
ret 8
call fcn.00470dbf
int3