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

Disassembly:
push 0xffffffffffffffff
push 0x5d7876
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 + 0xa0]
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 0x576fa4
mov eax, dword [0x68d01c]
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.005a6a18
mov edx, dword [esp + 0x68]
add esp, 0xc
mov ecx, esi
push edx
call fcn.005133a0
mov eax, dword [esi + 0xa4]
cmp eax, ebx
jne 0x576f50
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x58]
call fcn.005adcbb
mov dword [esp + 0x10], 1
mov byte [esp + 0x40], 1
mov eax, dword [eax]
mov edx, dword [0x6929d4]
push eax
lea eax, [esp + 0x60]
push edx
push eax
call fcn.005a6a18
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 1
mov dword [esp + 0x40], ebx
je 0x576f7c
lea ecx, [esp + 0x54]
call fcn.005adc4d
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0x8c]
call fcn.00518410
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], 0xffffffff
call fcn.005adc4d
mov eax, edi
jmp 0x577161
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
cmp ecx, ebx
je 0x577021
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x577021
push ebx
push ecx
push eax
push edi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x577045
cmp eax, ebx
je 0x577045
mov edx, dword [0x68d01c]
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.005a6a18
mov ecx, dword [esp + 0x58]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.005133a0
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0xa0]
push eax
call dword [edx + 0x38c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], 0xffffffff
call fcn.005adc4d
cmp byte [esp + 0x5c], bl
je 0x577115
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.00577180
jmp 0x577161
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [0x68d01c]
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.005a6a18
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005133a0
mov eax, dword [esi + 0xa4]
cmp eax, ebx
jne 0x5770a3
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
lea ecx, [esp + 0x48]
push edx
call fcn.005adcbb
mov dword [esp + 0x10], ebp
mov byte [esp + 0x40], 3
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov eax, dword [0x6929d4]
push eax
push ecx
call fcn.005a6a18
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, 2
mov dword [esp + 0x40], ebp
je 0x5770ce
lea ecx, [esp + 0x48]
call fcn.005adc4d
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x8c]
push edx
call fcn.00518410
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xa0]
push ecx
call dword [eax + 0x38c]
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0xa0]
push eax
call dword [edx + 0x370]
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0xffffffff
call fcn.005adc4d
mov eax, edi
jmp 0x577161
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [esi + 0x332c], eax
jne 0x57713e
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.005133a0
mov eax, 0x753b
jmp 0x577161
mov dword [esi + 0x3330], ebx
mov dword [esi + 0x3334], 1
mov dword [esi + 0x3328], 0x90312
mov dword [esi + 0x7c], 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