Function at 0x412c2c
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 0x412e60
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x40ab34]
call fcn.00403544
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x412e4f
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x412d17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040abc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x412cbe
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 0x412ca4
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 0x412e6e
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.0040b4f0
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.0040acfc
mov eax, dword [ebp - 0x24]
call fcn.00402564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412d26
mov eax, dword [ebp - 0xc]
call fcn.00402544
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x412e32
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 0x412e0c
cmp dword [ebp - 0x18], 0
je 0x412e06
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
jle 0x412e10
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jle 0x412d7d
mov ebx, dword [ebp - 0xc]
jmp 0x412d80
mov ebx, dword [ebp - 0x18]
xor edx, edx
push ebp
push 0x412de5
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.0040acf4
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 0x412dcd
cmp eax, 0xffffffff
je 0x412dcd
add dword [ebp - 0x14], eax
sub dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 1
jmp 0x412ddb
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412dfa
cmp dword [ebp - 0x18], 0
jg 0x412d70
jmp 0x412e10
mov byte [ebp - 0xd], 0
jmp 0x412e10
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412e39
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