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

Disassembly:
push 0xffffffffffffffff
push 0x5ae116
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 + 0x344]
mov edi, eax
cmp edi, 0x90312
je 0x551451
mov eax, dword [0x65ca8c]
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.0057f8fb
mov edx, dword [esp + 0x68]
add esp, 0xc
mov ecx, esi
push edx
call fcn.004f73c0
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x551400
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x58]
call fcn.00586ba1
mov dword [esp + 0x10], 1
mov byte [esp + 0x40], 1
mov eax, dword [eax]
mov edx, dword [0x6622b4]
push eax
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0057f8fb
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 1
mov dword [esp + 0x40], ebx
je 0x55142c
lea ecx, [esp + 0x54]
call fcn.00586b33
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.004fa710
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00586b33
mov eax, edi
jmp 0x55160b
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
cmp ecx, ebx
je 0x5514ce
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x5514ce
push ebx
push ecx
push eax
push edi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x5514f2
cmp eax, ebx
je 0x5514f2
mov edx, dword [0x65ca8c]
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.0057f8fb
mov ecx, dword [esp + 0x58]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f73c0
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x80]
push eax
call dword [edx + 0x36c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], 0xffffffff
call fcn.00586b33
cmp byte [esp + 0x5c], bl
je 0x5515bf
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.00551620
jmp 0x55160b
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [0x65ca8c]
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.0057f8fb
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004f73c0
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x551550
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
lea ecx, [esp + 0x48]
push edx
call fcn.00586ba1
mov dword [esp + 0x10], ebp
mov byte [esp + 0x40], 3
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov eax, dword [0x6622b4]
push eax
push ecx
call fcn.0057f8fb
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 2
mov dword [esp + 0x40], ebp
je 0x55157b
lea ecx, [esp + 0x48]
call fcn.00586b33
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.004fa710
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x80]
push ecx
call dword [eax + 0x36c]
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x80]
push eax
call dword [edx + 0x350]
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0xffffffff
call fcn.00586b33
mov eax, edi
jmp 0x55160b
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [esi + 0x32cc], eax
jne 0x5515e8
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.004f73c0
mov eax, 0x753b
jmp 0x55160b
mov dword [esi + 0x32d0], ebx
mov dword [esi + 0x32d4], 1
mov dword [esi + 0x32c8], 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