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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffbed0
push ebx
push esi
push edi
mov dword [ebp - 0x4014], 0
mov dword [ebp - 0x401c], 0
mov esi, 0x416274
push esi
push dword [ebp + 0xc]
call fcn.004010e9
add esp, 4
push eax
call sub.WSOCK32.dll___WSAFDIsSet
cmp eax, 0
jne 0x402f4d
jmp 0x402f7a
push dword [ebp + 0xc]
call fcn.004010e9
add esp, 4
push eax
call fcn.00401ea3
add esp, 4
push dword [ebp + 0xc]
call fcn.004010e9
add esp, 4
push eax
call fcn.00401b3f
add esp, 4
jmp 0x402f7a
mov esi, 0
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, 0x4142b5
push esi
call fcn.00401016
add esp, 0x10
cmp dword [ebp + 0x14], 0
jne 0x402fa3
jmp 0x402fba
push dword [ebp + 0x14]
lea esi, [ebp - 0x4004]
push esi
call fcn.004081dc
add esp, 8
jmp 0x402fba
push dword [ebp + 0x10]
call fcn.004010e9
add esp, 4
cmp dword [ebp - 0x4014], eax
mov esi, 1
jl 0x402fdb
mov esi, 0
cmp esi, 0
jne 0x402fe9
jmp 0x403045
cmp dword [ebp + 0x14], 0
je 0x402ff8
jmp 0x403028
mov esi, 0x2000
push esi
lea esi, [ebp - 0x4004]
push esi
push dword [ebp + 8]
call fcn.00401863
add esp, 0xc
cmp eax, 0
je 0x40301e
jmp 0x403028
mov esi, 0
jmp 0x40302d
mov esi, 1
cmp esi, 0
jne 0x40303b
jmp 0x403045
mov esi, 1
jmp 0x40304a
mov esi, 0
cmp esi, 0
jne 0x403058
jmp 0x4034cd
mov dword [ebp + 0x14], 0
lea esi, [ebp - 0x4004]
push esi
call fcn.00408480
add esp, 4
mov dword [ebp - 0x400c], eax
mov esi, 0xffffffff
add esi, dword [ebp - 0x400c]
mov eax, esi
mov esi, 1
imul esi
lea esi, [ebp - 0x4004]
add eax, esi
mov esi, eax
mov bl, byte [esi]
mov al, bl
cbw
cwde
cmp eax, 0x25
je 0x4030a7
jmp 0x4030db
mov esi, 1
push esi
mov esi, dword [ebp - 0x400c]
inc dword [ebp - 0x400c]
mov eax, esi
mov esi, 1
imul esi
lea esi, [ebp - 0x4004]
add eax, esi
push eax
push dword [ebp + 8]
call fcn.00401863
add esp, 0xc
jmp 0x4030db
mov esi, 0xfffffffe
add esi, dword [ebp - 0x400c]
mov eax, esi
mov esi, 1
imul esi
lea esi, [ebp - 0x4004]
add eax, esi
mov esi, eax
mov bl, byte [esi]
mov al, bl
cbw
cwde
cmp eax, 0x25
je 0x40310e
jmp 0x403142
mov esi, 1
push esi
mov esi, dword [ebp - 0x400c]
inc dword [ebp - 0x400c]
mov eax, esi
mov esi, 1
imul esi
lea esi, [ebp - 0x4004]
add eax, esi
push eax
push dword [ebp + 8]
call fcn.00401863
add esp, 0xc
jmp 0x403142
mov eax, dword [ebp - 0x400c]
mov esi, 1
imul esi
lea esi, [ebp - 0x4004]
add eax, esi
mov ebx, eax
mov byte [ebx], 0
mov esi, 0
push esi
lea esi, [ebp - 0x4004]
push esi
push dword [ebp - 0x400c]
push dword [ebp + 0x10]
push dword [ebp - 0x4014]
push dword [ebp - 0x400c]
mov esi, 0x4142c3
push esi
call fcn.00401016
add esp, 0x1c
mov esi, 0
push esi
mov esi, 0x4142f1
push esi
call fcn.00401016
add esp, 8
lea esi, [ebp - 0x2000]
push esi
lea esi, [ebp - 0x4010]
push esi
lea esi, [ebp - 0x4004]
push esi
call fcn.00401380
add esp, 0xc
mov dword [ebp - 0x4008], eax
mov esi, 0
push esi
mov esi, 0x4142fe
push esi
call fcn.00401016
add esp, 8
cmp dword [ebp - 0x4010], 0
mov esi, 1
jg 0x4031ee
mov esi, 0
cmp esi, 0
jne 0x4031fc
jmp 0x40322b
cmp dword [ebp - 0x401c], 0
mov esi, 1
je 0x403213
mov esi, 0
cmp esi, 0
jne 0x403221
jmp 0x40322b
mov esi, 1
jmp 0x403230
mov esi, 0
cmp esi, 0
jne 0x40323e
jmp 0x4034c8
mov esi, 0
push esi
mov esi, 0x414305
push esi
call fcn.00401016
add esp, 8
mov esi, 0
push esi
push dword [ebp - 0x4010]
push dword [ebp - 0x4008]
push dword [ebp + 0xc]
call fcn.004010e9
add esp, 4
push eax
call sub.WSOCK32.dll_send
mov dword [ebp - 0x4018], eax
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x4020], eax
mov esi, 0
push esi
push dword [ebp - 0x4008]
push dword [ebp - 0x4010]
push dword [ebp - 0x4010]
push dword [ebp - 0x4018]
mov esi, 0x41430d
push esi
call fcn.00401016
add esp, 0x18
cmp dword [ebp - 0x4018], 0
mov esi, 1
jg 0x4032c9
mov esi, 0
cmp esi, 0
je 0x4032d7
jmp 0x40342e
cmp dword [ebp - 0x4020], 0x2733
je 0x4032ec
jmp 0x4033ec
mov dword [ebp - 0x4028], 0xa
mov dword [ebp - 0x4024], 0
mov esi, 0
push esi
mov esi, 0x41432b
push esi
call fcn.00401016
add esp, 8
mov dword [ebp - 0x412c], 0
cmp dword [ebp - 0x412c], 0x40
jb 0x403330
jmp 0x403363
push dword [ebp + 0xc]
call fcn.004010e9
add esp, 4
mov esi, dword [ebp - 0x412c]
inc dword [ebp - 0x412c]
mov edi, eax
mov eax, esi
mov esi, 4
imul esi
lea esi, [ebp - 0x4128]
add eax, esi
mov ebx, eax
mov dword [ebx], edi
jmp 0x403363
mov esi, 0
cmp esi, 0
je 0x403373
jmp 0x40331e
lea esi, [ebp - 0x4028]
push esi
mov esi, 0
push esi
lea esi, [ebp - 0x412c]
push esi
mov esi, 0
push esi
mov esi, 0
push esi
call fcn.00402124
add esp, 0x14
mov dword [ebp - 0x4130], eax
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x4020], eax
cmp dword [ebp - 0x4130], 0xffffffff
je 0x4033be
jmp 0x4033dd
mov esi, 0
push esi
push dword [ebp - 0x4020]
mov esi, 0x41435f
push esi
call fcn.00401016
add esp, 0xc
jmp 0x4033dd
mov dword [ebp - 0x4018], 0
jmp 0x403429
mov esi, 0
push esi
push dword [ebp - 0x4020]
push dword [ebp + 0xc]
mov esi, 0x41438b
push esi
call fcn.00401016
add esp, 0x10
mov dword [ebp - 0x401c], 0xffffffff
push dword [ebp + 0x10]
call fcn.004010e9
add esp, 4
mov dword [ebp - 0x4014], eax
jmp 0x4034c8
jmp 0x403480
mov esi, dword [ebp - 0x4018]
cmp esi, dword [ebp - 0x4010]
mov esi, 1
je 0x40344a
mov esi, 0
cmp esi, 0
je 0x403458
jmp 0x403480
mov esi, 0
push esi
mov esi, dword [ebp - 0x4018]
neg esi
add esi, dword [ebp - 0x4010]
push esi
mov esi, 0x4143b2
push esi
call fcn.00401016
add esp, 0xc
jmp 0x403480
mov eax, dword [ebp - 0x4018]
mov esi, 1
imul esi
mov esi, dword [ebp - 0x4008]
add esi, eax
mov dword [ebp - 0x4008], esi
mov esi, dword [ebp - 0x4018]
neg esi
mov edi, dword [ebp - 0x4010]
add edi, esi
mov dword [ebp - 0x4010], edi
mov esi, dword [ebp - 0x4014]
add esi, dword [ebp - 0x4018]
mov dword [ebp - 0x4014], esi
jmp 0x4031d7
jmp 0x402fba
cmp dword [ebp + 8], 0
je 0x4034dc
jmp 0x4034fb
mov esi, 0x4143ca
push esi
push dword [ebp - 0x401c]
push dword [ebp - 0x4014]
call fcn.00401456
add esp, 0xc
jmp 0x403518
mov esi, 0x4143cb
push esi
push dword [ebp - 0x401c]
push dword [ebp - 0x4014]
push dword [ebp + 8]
call fcn.004017cb
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret