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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d064
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov dword [ebp - 0x148], ecx
lea ecx, [ebp - 0x10]
call fcn.004054c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004054c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x1c], 0
jne 0x402dc5
push ecx
mov ecx, esp
mov dword [ebp - 0x11c], esp
push 0x43a4ac
call fcn.004218f8
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x148]
call fcn.004012e9
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov eax, dword [ebp - 0x120]
jmp 0x402feb
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x20], 0
jne 0x402e28
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push 0x43a4c0
call fcn.004218f8
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x148]
call fcn.004012e9
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov eax, dword [ebp - 0x128]
jmp 0x402feb
mov edx, dword [ebp + 8]
push edx
push str.top__d_1_r_n
lea eax, [ebp - 0x114]
push eax
call fcn.0040f9cb
add esp, 0xc
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040f950
add esp, 4
push eax
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x402ee3
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
push 0x43a4dc
call fcn.004218f8
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x148]
call fcn.004012e9
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x148]
mov dword [eax + 0x20], 0
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov eax, dword [ebp - 0x130]
jmp 0x402feb
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x43a4ec
call fcn.004218f8
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x148]
call fcn.004026fb
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x402f4d
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov eax, dword [ebp - 0x138]
jmp 0x402feb
push 0
push 0x2d
lea ecx, [ebp - 0x10]
call fcn.00421cd6
test eax, eax
jne 0x402fb1
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push str.Get_Mail_Header_error_
call fcn.004218f8
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x148]
call fcn.004012e9
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov eax, dword [ebp - 0x140]
jmp 0x402feb
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004219c3
mov dword [ebp - 0x144], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0042188a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042188a
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8