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

Disassembly:
push 0xffffffffffffffff
push 0x5cee76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
lea eax, [esp + 0x14]
push ebp
push esi
mov dword [esp + 0x30], eax
lea edx, [esp + 0x14]
push edi
lea eax, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x34]
mov ebp, dword [esp + 0x54]
xor ebx, ebx
push edx
mov edx, dword [esp + 0x5c]
push eax
push ebx
push ebx
push 0x10
mov esi, ecx
push ebx
push 0xc11c
push edx
mov ecx, dword [esi + 0x80]
push ebx
push ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], 1
mov dword [esp + 0x5c], ebx
call dword [ecx + 0x364]
mov edi, eax
cmp edi, 0x90312
je 0x56ed11
mov eax, dword [0x682f9c]
mov dword [esp + 0x5c], eax
push edi
lea ecx, [esp + 0x60]
push str.Error__d_returned_by_InitializeSecurityContext__1__n
push ecx
mov dword [esp + 0x4c], ebx
call fcn.0059e618
mov edx, dword [esp + 0x68]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0050ef30
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x56ecc0
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x58]
call fcn.005a58bb
mov dword [esp + 0x10], 1
mov byte [esp + 0x40], 1
mov eax, dword [eax]
mov edx, dword [0x68897c]
push eax
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0059e618
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 1
mov dword [esp + 0x40], ebx
je 0x56ecec
lea ecx, [esp + 0x54]
call fcn.005a584d
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.00513250
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], 0xffffffff
call fcn.005a584d
mov eax, edi
jmp 0x56eecb
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
cmp ecx, ebx
je 0x56ed8e
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x56ed8e
push ebx
push ecx
push eax
push edi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x56edb2
cmp eax, ebx
je 0x56edb2
mov edx, dword [0x682f9c]
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 + 0x4c], 4
call fcn.0059e618
mov ecx, dword [esp + 0x58]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0050ef30
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x80]
push eax
call dword [edx + 0x38c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], 0xffffffff
call fcn.005a584d
cmp byte [esp + 0x5c], bl
je 0x56ee7f
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push 1
push edx
push ebp
push edi
mov ecx, esi
call fcn.0056eee0
jmp 0x56eecb
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [0x682f9c]
mov edi, eax
mov dword [esp + 0x50], ecx
push edi
lea edx, [esp + 0x54]
mov ebp, 2
push str.Error__d_sending_data_to_server__1__n
push edx
mov dword [esp + 0x4c], ebp
call fcn.0059e618
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0050ef30
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x56ee10
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
lea ecx, [esp + 0x48]
push edx
call fcn.005a58bb
mov dword [esp + 0x10], ebp
mov byte [esp + 0x40], 3
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov eax, dword [0x68897c]
push eax
push ecx
call fcn.0059e618
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 2
mov dword [esp + 0x40], ebp
je 0x56ee3b
lea ecx, [esp + 0x48]
call fcn.005a584d
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.00513250
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x80]
push ecx
call dword [eax + 0x38c]
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x80]
push eax
call dword [edx + 0x370]
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0xffffffff
call fcn.005a584d
mov eax, edi
jmp 0x56eecb
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [esi + 0x330c], eax
jne 0x56eea8
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.0050ef30
mov eax, 0x753b
jmp 0x56eecb
mov dword [esi + 0x3310], ebx
mov dword [esi + 0x3314], 1
mov dword [esi + 0x3308], 0x90312
mov dword [esi + 0x5c], 0xf
xor eax, eax
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x18