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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe4]
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x84]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x20], ebp
mov byte [esp + 0xb], 0
push edi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x28], edi
test ebx, ebx
je 0x4244ff
cmp dword [ebx], 0xbab1e
jne 0x4244ff
cmp byte [ebx + 0x117], 0
je 0x423fa6
pop edi
lea eax, [ebp + 8]
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00472272
add esp, 0xd0
ret
push esi
mov esi, dword [esp + 0xf0]
test esi, esi
jns 0x423fd0
mov eax, 0xa
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00472272
add esp, 0xd0
ret
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00423e10
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
js 0x423ff2
cmp eax, esi
cmovl esi, eax
mov dword [esp + 0xf0], esi
push 0x50
lea eax, [esp + 0x90]
push 0
push eax
call fcn.004f3280
mov eax, dword [ebx + 4]
xorps xmm0, xmm0
add esp, 0xc
mov dword [esp + 0x1c], eax
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x50], xmm0
test eax, eax
je 0x42413b
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.00422b40
xor esi, esi
add esp, 8
cmp dword [esp + 0x54], esi
jbe 0x424124
nop dword [eax]
mov al, byte [esp + esi + 0x58]
xor edi, edi
xor ebx, ebx
test al, 1
je 0x424054
lea ebx, [edi + 0x29]
mov edi, 0x300
test al, 2
je 0x42409e
mov ebp, dword [esp + esi*4 + 0x40]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], 4
push eax
push 0x1008
push 0xffff
push ebp
or ebx, 0x32
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x424097
cmp dword [esp + 0x38], 1
jne 0x424097
push eax
push eax
push eax
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [esp + 0x28]
or edi, 0x10
test di, di
je 0x4240f8
mov ecx, dword [esp + 0x18]
test ebp, ebp
je 0x4240bc
mov eax, dword [esp + esi*4 + 0x40]
cmp eax, dword [ecx + ebp*8 - 8]
jne 0x4240bc
or word [ecx + ebp*8 - 4], di
jmp 0x4240f8
cmp ebp, dword [esp + 0x30]
jb 0x4240e7
lea eax, [esp + 0x13]
push eax
push 0x64
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00424b50
add esp, 0x10
test eax, eax
jne 0x424249
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + esi*4 + 0x40]
mov dword [ecx + ebp*8], eax
mov word [ecx + ebp*8 + 4], di
inc ebp
mov dword [esp + 0x28], ebp
test ebx, ebx
je 0x424119
push ebx
mov ebx, dword [esp + 0x24]
push dword [ebx + 0x108]
push dword [esp + esi*4 + 0x48]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x424253
inc esi
cmp esi, dword [esp + 0x54]
jb 0x424040
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x424022
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0xec]
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
test esi, esi
je 0x424272
add edi, 4
movzx eax, word [edi]
xor esi, esi
test al, 1
mov ecx, 0x29
cmovne esi, ecx
test al, 2
je 0x42416d
or esi, 4
test al, 4
je 0x4241b3
mov ebx, dword [edi - 4]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 4
push eax
push 0x1008
push 0xffff
push ebx
or esi, 0x32
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x4241af
cmp dword [esp + 0x3c], 1
jne 0x4241af
push eax
push eax
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push esi
push dword [eax + 0x108]
push dword [edi - 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x424253
cmp ebp, dword [esp + 0x30]
jb 0x4241f2
lea eax, [esp + 0x13]
push eax
push 0x64
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00424b50
add esp, 0x10
test eax, eax
jne 0x424249
mov ecx, dword [esp + 0x18]
mov eax, dword [edi - 4]
mov dword [ecx + ebp*8], eax
xor eax, eax
mov word [ecx + ebp*8 + 4], ax
test byte [edi], 1
je 0x424212
mov eax, 0x300
mov word [ecx + ebp*8 + 4], ax
test byte [edi], 2
je 0x424221
mov eax, 0x400
or word [ecx + ebp*8 + 4], ax
test byte [edi], 4
je 0x42422c
or word [ecx + ebp*8 + 4], 0x10
mov esi, dword [esp + 0xec]
inc ebx
inc ebp
mov dword [esp + 0x1c], ebx
add edi, 8
mov dword [esp + 0x28], ebp
cmp ebx, esi
jae 0x424276
jmp 0x424157
mov eax, 3
jmp 0x423fb7
cmp byte [esp + 0x13], 0
je 0x424268
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x1341004]
add esp, 4
mov eax, 4
jmp 0x423fb7
mov ecx, dword [esp + 0x18]
test ebp, ebp
jne 0x424442
mov bl, byte [esp + 0xfc]
test bl, bl
je 0x424473
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0xf4]
add eax, 0x108
push 0
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov ebx, dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test esi, esi
je 0x424391
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
add edi, 6
lea eax, [eax*8 + 6]
add eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
nop word [eax + eax]
movsx ebx, word [eax]
lea ecx, [esp + 0x60]
mov eax, dword [edi - 6]
xor esi, esi
push ecx
push esi
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], esi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x424330
mov eax, dword [esp + 0x60]
mov ecx, 1
test al, 0x29
cmovne esi, ecx
test al, 0x32
je 0x424316
or esi, 4
test al, 4
je 0x42431d
or esi, 2
cmp dword [esp + 0x34], 0
je 0x424330
test ebp, ebp
jne 0x424330
test eax, eax
je 0x424330
inc dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0
push dword [eax + 0x108]
push dword [esp + 0x44]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test ebp, ebp
je 0x424368
test ebx, 0x300
je 0x424355
or esi, 1
test bl, 0x10
je 0x42435d
or esi, 4
test ebx, 0x400
je 0x424368
or esi, 2
mov eax, dword [esp + 0x2c]
mov word [edi], si
add eax, 8
add edi, 8
mov dword [esp + 0x2c], eax
sub dword [esp + 0xec], 1
jne 0x4242e0
mov ebp, dword [esp + 0x28]
mov ebx, dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp dword [esp + 0x14], 0
je 0x424429
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 4]
mov dword [esp + 0x14], edi
test edi, edi
je 0x424429
mov ebp, dword [esp + 0x1c]
nop
lea eax, [esp + 0x40]
push eax
push edi
call fcn.00422b40
xor esi, esi
add esp, 8
cmp dword [esp + 0x54], esi
jbe 0x42441a
mov edi, dword [esp + 0x20]
nop word [eax + eax]
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0
push eax
push 0
push dword [esp + esi*4 + 0x48]
call ebx
test eax, eax
jne 0x4243fd
cmp dword [esp + 0x34], eax
je 0x4243fd
test ebp, ebp
jne 0x4243fd
cmp dword [esp + 0x60], ebp
je 0x4243fd
inc dword [esp + 0x24]
push 0
push dword [edi + 0x108]
push dword [esp + esi*4 + 0x48]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc esi
cmp esi, dword [esp + 0x54]
jb 0x4243d0
mov edi, dword [esp + 0x14]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4243b0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push dword [edi + 0x108]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov bl, byte [esp + 0xfc]
jmp 0x424477
push 0
push 0
push ebp
push ecx
call fcn.00445330
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ebx, ebx
jns 0x424464
mov eax, 0xc
jmp 0x423fb7
jle 0x424291
mov dword [esp + 0x24], ebx
jmp 0x4242ae
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x13], 0
je 0x42448b
push dword [esp + 0x18]
call dword [0x1341004]
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x424499
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
cmp byte [esp + 0xf8], 0
je 0x4244f8
test ebp, ebp
jne 0x4244f8
test bl, bl
jne 0x4244f8
cmp dword [edi], 0xbab1e
mov dword [esp + 0x14], ebp
jne 0x4244f8
cmp byte [edi + 0x117], bl
jne 0x4244f8
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00423e10
add esp, 8
test eax, eax
jne 0x4244f8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4244f8
mov ecx, dword [esp + 0xf0]
cmp eax, ecx
jg 0x4244eb
test eax, eax
cmovs eax, ecx
mov ecx, eax
mov eax, ecx
cdq
push edx
push eax
call fcn.00445810
add esp, 8
xor eax, eax
jmp 0x423fb7
mov ecx, dword [esp + 0xd8]
mov eax, 1
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00472272
add esp, 0xd0
ret