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

Disassembly:
sub esp, 0xe4
mov eax, dword [0x4a2014]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xec]
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x43350e
cmp dword [ebx], 0xbab1e
jne 0x43350e
cmp byte [ebx + 0x147], 0
je 0x432ff4
lea eax, [edi + 8]
pop edi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0042a51d
add esp, 0xe4
ret
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x43301f
pop edi
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0042a51d
add esp, 0xe4
ret
push esi
push 0xa
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00457f30
mov esi, dword [ebx + 4]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x60], xmm0
test esi, esi
je 0x43307c
nop dword [eax + eax]
lea eax, [esp + 0x50]
push eax
push esi
call fcn.00431900
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00457dc0
add esp, 0x10
test eax, eax
jne 0x4332fe
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x433050
lea eax, [esp + 0x34]
push eax
lea eax, [ebx + 0xb0]
push eax
call fcn.00439780
add esp, 8
test eax, eax
jne 0x4332fe
mov eax, dword [esp + 0x38]
xor esi, esi
push ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 0x20], eax
test ebp, ebp
je 0x43311e
nop
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + esi*8 + 4]
mov al, cl
mov bl, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x300
mov edx, eax
or eax, 0x400
movzx ecx, ax
test bl, 2
mov eax, edx
cmove ecx, eax
mov eax, dword [esp + 0x1c]
movzx edx, cx
movzx ebx, word [eax + esi*8 + 4]
mov eax, edx
or eax, 0x10
test bl, 4
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx eax, cx
push eax
mov eax, dword [esp + 0x20]
push dword [eax + esi*8]
lea eax, [esp + 0x40]
push eax
call fcn.00457ef0
add esp, 0xc
test eax, eax
jne 0x43330b
inc esi
cmp esi, ebp
jb 0x4330b0
mov ebp, dword [sym.imp.WS2_32.dll_WSAEventSelect]
xor ebx, ebx
mov dword [esp + 0x30], ebp
cmp dword [esp + 0x3c], ebx
jbe 0x4331d5
mov eax, dword [esp + 0x38]
movzx edx, word [eax + ebx*8 + 4]
lea eax, [eax + ebx*8]
mov ecx, edx
mov dword [esp + 0x10], eax
and ecx, 0x300
neg ecx
sbb ecx, ecx
and ecx, 0x29
mov esi, ecx
or esi, 4
test edx, 0x400
cmove esi, ecx
test dl, 0x10
je 0x4331aa
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], eax
push ecx
push 0x1008
push 0xffff
push eax
or esi, 0x32
mov dword [esp + 0x24], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x4331aa
cmp dword [esp + 0x2c], 1
jne 0x4331aa
push eax
push eax
push eax
push dword [esp + 0x34]
call dword [sym.imp.WS2_32.dll_send]
test esi, esi
je 0x4331ca
mov eax, dword [esp + 0x14]
push esi
push dword [eax + 0x138]
mov eax, dword [esp + 0x40]
push dword [eax + ebx*8]
call ebp
test eax, eax
jne 0x43330b
inc ebx
cmp ebx, dword [esp + 0x3c]
jb 0x433134
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00432e90
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
js 0x4331fc
mov ecx, dword [esp + 0x24]
cmp eax, ecx
cmovl ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x3c]
mov dl, byte [esp + 0x110]
test eax, eax
jne 0x433318
test dl, dl
je 0x433481
xor ebp, ebp
push 0
push dword [esp + 0x28]
lea ebx, [esi + 0x138]
push 0
push ebx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov ebx, dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x100], ecx
jbe 0x4333e2
mov edx, dword [esp + 0x20]
shl edx, 3
mov dword [esp + 0x2c], edx
nop dword [eax + eax]
mov eax, dword [esp + 0x38]
xor esi, esi
movsx eax, word [edx + eax + 6]
mov dword [esp + 0x4c], eax
lea eax, [ecx*8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x74], esi
mov eax, dword [eax + ecx]
lea ecx, [esp + 0x74]
push ecx
push esi
push eax
mov dword [esp + 0x54], eax
call ebx
test eax, eax
jne 0x433349
mov ecx, dword [esp + 0x74]
mov eax, esi
test cl, 0x29
mov ebx, ecx
setne al
movzx edx, ax
mov eax, edx
or eax, 4
test bl, 0x32
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
test bl, 4
movzx ecx, ax
mov eax, edx
cmove ecx, eax
cmp dword [esp + 0x34], 0
movzx eax, cx
mov esi, eax
je 0x433349
test ebp, ebp
jne 0x433349
test ebx, ebx
je 0x433349
mov eax, dword [esp + 0x14]
inc edi
push ebp
push dword [eax + 0x138]
push dword [esp + 0x50]
call dword [esp + 0x3c]
movzx eax, si
jmp 0x4333ac
mov dword [esp + 0x14], 3
jmp 0x4334e5
mov dword [esp + 0x18], 3
jmp 0x4334e4
push 0
push 0
push eax
push dword [esp + 0x44]
call fcn.00457a30
mov ebp, eax
add esp, 0x10
test ebp, ebp
jns 0x43333c
mov dword [esp + 0x18], 0xc
jmp 0x4334e4
jle 0x433219
mov edi, ebp
jmp 0x433230
mov eax, dword [esp + 0x14]
push 0
push dword [eax + 0x138]
push dword [esp + 0x50]
call dword [esp + 0x3c]
test ebp, ebp
jne 0x433366
movzx eax, si
jmp 0x4333ac
mov ebx, dword [esp + 0x4c]
mov eax, esi
or eax, 1
test dword [esp + 0x4c], 0x300
movzx ecx, ax
movzx eax, si
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 4
test bl, 0x10
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx edx, cx
mov eax, edx
or eax, 2
test ebx, 0x400
movzx ecx, ax
mov eax, edx
cmove ecx, eax
movzx eax, cx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov word [edx + ecx + 6], ax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc ecx
mov ebx, dword [esp + 0x10]
add edx, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
cmp ecx, dword [esp + 0x100]
jb 0x433260
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
je 0x43346a
mov ebx, dword [esi + 4]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x43346a
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.00431900
xor esi, esi
add esp, 8
cmp dword [esp + 0x68], esi
jbe 0x43345b
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
push eax
push 0
push dword [esp + esi*4 + 0x5c]
call dword [esp + 0x1c]
test eax, eax
jne 0x43343e
cmp dword [esp + 0x34], eax
je 0x43343e
test ebp, ebp
jne 0x43343e
cmp dword [esp + 0x74], ebp
je 0x43343e
inc edi
mov eax, dword [esp + 0x14]
push 0
push dword [eax + 0x138]
push dword [esp + esi*4 + 0x5c]
call ebx
inc esi
cmp esi, dword [esp + 0x68]
jb 0x433412
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x4333f8
mov esi, dword [esp + 0x14]
push dword [esi + 0x138]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov eax, dword [esp + 0x3c]
mov dl, byte [esp + 0x110]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43348b
mov dword [ecx], edi
cmp byte [esp + 0x10c], 0
je 0x4334e4
test eax, eax
jne 0x4334e4
test dl, dl
jne 0x4334e4
cmp dword [esi], 0xbab1e
mov dword [esp + 0x10], eax
jne 0x4334e4
cmp byte [esi + 0x147], dl
jne 0x4334e4
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00432e90
add esp, 8
test eax, eax
jne 0x4334e4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4334e4
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x4334d7
test eax, eax
jns 0x4334d9
mov eax, ecx
cdq
push edx
push eax
call fcn.00458080
add esp, 8
pop ebp
lea eax, [esp + 0x34]
push eax
call fcn.00457f10
mov eax, dword [esp + 0x18]
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0042a51d
add esp, 0xe4
ret
mov ecx, dword [esp + 0xe8]
mov eax, 1
pop edi
pop ebx
xor ecx, esp
call fcn.0042a51d
add esp, 0xe4
ret