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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
xor edx, edx
push ebp
push 0x412fbc
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x40aba0]
call fcn.00403544
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x412fab
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x412e73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040ac2c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x412e1a
push 0
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
inc eax
je 0x412e00
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412fca
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x18]
call fcn.0040b55c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040ad68
mov eax, dword [ebp - 0x24]
call fcn.00402564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412e82
mov eax, dword [ebp - 0xc]
call fcn.00402544
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x412f8e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
inc eax
je 0x412f68
cmp dword [ebp - 0x18], 0
je 0x412f62
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
jle 0x412f6c
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jle 0x412ed9
mov ebx, dword [ebp - 0xc]
jmp 0x412edc
mov ebx, dword [ebp - 0x18]
xor edx, edx
push ebp
push 0x412f41
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0x10]
mov edx, dword [ebp - 0x20]
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0040ad60
push 0
push ebx
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x412f29
cmp eax, 0xffffffff
je 0x412f29
add dword [ebp - 0x14], eax
sub dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 1
jmp 0x412f37
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412f56
cmp dword [ebp - 0x18], 0
jg 0x412ecc
jmp 0x412f6c
mov byte [ebp - 0xd], 0
jmp 0x412f6c
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412f95
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00402564
ret
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret