Function at 0x506080
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x55ad98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x10]
push esi
lea edx, [esp + 0xc]
push edi
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x4c]
lea edx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x50]
xor ebx, ebx
push edx
mov edx, dword [esp + 0x50]
push ebp
push ebx
push ebx
push 0x10
mov esi, ecx
push ebx
push 0xc11c
push eax
mov ecx, dword [esi + 0x7c]
push ebx
push edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], ebx
call dword [ecx + 0x34c]
mov edi, eax
cmp edi, 0x90312
je 0x50616b
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x54], eax
push edi
lea ecx, [esp + 0x58]
push str.Error__d_returned_by_InitializeSecurityContext__1__n
push ecx
mov dword [esp + 0x44], ebx
call fcn.0053091a
mov edx, dword [esp + 0x60]
add esp, 0xc
mov ecx, esi
push edx
call fcn.004c7490
mov eax, dword [esi + 0x7c]
mov edx, dword [0x5bb43c]
mov ecx, dword [eax]
lea eax, [esp + 0x54]
push ecx
push edx
push eax
call fcn.0053091a
mov ecx, dword [esp + 0x60]
add esp, 0xc
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.004c9920
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], 0xffffffff
call fcn.00537b04
mov eax, edi
jmp 0x5062e0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
cmp ecx, ebx
je 0x5061e5
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x5061e5
push ebx
push ecx
push eax
push edi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x506209
cmp eax, ebx
je 0x506209
mov edx, dword [0x5b5ecc]
mov dword [esp + 0x4c], edx
push eax
lea eax, [esp + 0x50]
push str._d_bytes_of_handshake_data_sent_n
push eax
mov dword [esp + 0x44], 2
call fcn.0053091a
mov ecx, dword [esp + 0x58]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004c7490
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x7c]
push eax
call dword [edx + 0x374]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], 0xffffffff
call fcn.00537b04
cmp byte [esp + 0x54], bl
je 0x506294
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push eax
push 1
push ebp
push ecx
push edi
mov ecx, esi
call fcn.00506300
jmp 0x5062e0
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [0x5b5ecc]
mov edi, eax
mov dword [esp + 0x44], ecx
push edi
lea edx, [esp + 0x48]
push str.Error__d_sending_data_to_server__1__n
push edx
mov dword [esp + 0x44], 1
call fcn.0053091a
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004c7490
mov ecx, dword [esi + 0x7c]
mov eax, dword [0x5bb43c]
mov edx, dword [ecx]
lea ecx, [esp + 0x44]
push edx
push eax
push ecx
call fcn.0053091a
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x6c]
add esp, 0xc
push edx
call fcn.004c9920
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x7c]
push ecx
call dword [eax + 0x374]
mov edx, dword [esi + 0x7c]
push ebp
call dword [edx + 0x358]
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call fcn.00537b04
mov eax, edi
jmp 0x5062e0
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [esi + 0x3054], eax
jne 0x5062bd
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.004c7490
mov eax, 0x753b
jmp 0x5062e0
mov dword [esi + 0x3058], ebx
mov dword [esi + 0x305c], 1
mov dword [esi + 0x3050], 0x90312
mov dword [esi + 0x5c], 0xf
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x18