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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d0c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x14]
call fcn.004054c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x1c], 0
jne 0x403682
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
push 0x43a5cc
call fcn.004218f8
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x150]
call fcn.004012e9
mov dword [ebp - 0x124], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x124]
jmp 0x4038b3
mov ecx, dword [ebp - 0x150]
cmp dword [ecx + 0x20], 0
jne 0x4036d6
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x43a5e0
call fcn.004218f8
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x150]
call fcn.004012e9
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x12c]
jmp 0x4038b3
push str.stat_r_n
lea edx, [ebp - 0x11c]
push edx
call fcn.00410140
add esp, 8
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0040f950
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40377e
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0x43a5f8
call fcn.004218f8
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x150]
call fcn.004012e9
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x150]
mov dword [edx + 0x20], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x134]
jmp 0x4038b3
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x43a608
call fcn.004218f8
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x150]
call fcn.004026fb
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x4037d9
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x13c]
jmp 0x4038b3
push 0
push 0x2d
lea ecx, [ebp - 0x14]
call fcn.00421cd6
test eax, eax
jne 0x403831
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
push str.Get_Stat_error_
call fcn.004218f8
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x150]
call fcn.004012e9
mov dword [ebp - 0x144], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x144]
jmp 0x4038b3
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x14]
call fcn.004054e0
sub eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x14]
call fcn.00420834
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x170]
push edx
mov ecx, dword [ebp + 8]
call fcn.004219c3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.0042188a
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042188a
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4