Function at 0x423fc0
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 0x4245af
cmp dword [ebx], 0xbab1e
jne 0x4245af
cmp byte [ebx + 0x117], 0
je 0x424056
pop edi
lea eax, [ebp + 8]
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00472312
add esp, 0xd0
ret
push esi
mov esi, dword [esp + 0xf0]
test esi, esi
jns 0x424080
mov eax, 0xa
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00472312
add esp, 0xd0
ret
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00423ec0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
js 0x4240a2
cmp eax, esi
cmovl esi, eax
mov dword [esp + 0xf0], esi
push 0x50
lea eax, [esp + 0x90]
push 0
push eax
call fcn.004f3400
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 0x4241eb
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.00422bf0
xor esi, esi
add esp, 8
cmp dword [esp + 0x54], esi
jbe 0x4241d4
nop dword [eax]
mov al, byte [esp + esi + 0x58]
xor edi, edi
xor ebx, ebx
test al, 1
je 0x424104
lea ebx, [edi + 0x29]
mov edi, 0x300
test al, 2
je 0x42414e
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 0x424147
cmp dword [esp + 0x38], 1
jne 0x424147
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 0x4241a8
mov ecx, dword [esp + 0x18]
test ebp, ebp
je 0x42416c
mov eax, dword [esp + esi*4 + 0x40]
cmp eax, dword [ecx + ebp*8 - 8]
jne 0x42416c
or word [ecx + ebp*8 - 4], di
jmp 0x4241a8
cmp ebp, dword [esp + 0x30]
jb 0x424197
lea eax, [esp + 0x13]
push eax
push 0x64
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00424c00
add esp, 0x10
test eax, eax
jne 0x4242f9
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 0x4241c9
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 0x424303
inc esi
cmp esi, dword [esp + 0x54]
jb 0x4240f0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4240d2
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 0x424322
add edi, 4
movzx eax, word [edi]
xor esi, esi
test al, 1
mov ecx, 0x29
cmovne esi, ecx
test al, 2
je 0x42421d
or esi, 4
test al, 4
je 0x424263
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 0x42425f
cmp dword [esp + 0x3c], 1
jne 0x42425f
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 0x424303
cmp ebp, dword [esp + 0x30]
jb 0x4242a2
lea eax, [esp + 0x13]
push eax
push 0x64
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00424c00
add esp, 0x10
test eax, eax
jne 0x4242f9
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 0x4242c2
mov eax, 0x300
mov word [ecx + ebp*8 + 4], ax
test byte [edi], 2
je 0x4242d1
mov eax, 0x400
or word [ecx + ebp*8 + 4], ax
test byte [edi], 4
je 0x4242dc
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 0x424326
jmp 0x424207
mov eax, 3
jmp 0x424067
cmp byte [esp + 0x13], 0
je 0x424318
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x1341004]
add esp, 4
mov eax, 4
jmp 0x424067
mov ecx, dword [esp + 0x18]
test ebp, ebp
jne 0x4244f2
mov bl, byte [esp + 0xfc]
test bl, bl
je 0x424523
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 0x424441
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 0x4243e0
mov eax, dword [esp + 0x60]
mov ecx, 1
test al, 0x29
cmovne esi, ecx
test al, 0x32
je 0x4243c6
or esi, 4
test al, 4
je 0x4243cd
or esi, 2
cmp dword [esp + 0x34], 0
je 0x4243e0
test ebp, ebp
jne 0x4243e0
test eax, eax
je 0x4243e0
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 0x424418
test ebx, 0x300
je 0x424405
or esi, 1
test bl, 0x10
je 0x42440d
or esi, 4
test ebx, 0x400
je 0x424418
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 0x424390
mov ebp, dword [esp + 0x28]
mov ebx, dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp dword [esp + 0x14], 0
je 0x4244d9
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 4]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4244d9
mov ebp, dword [esp + 0x1c]
nop
lea eax, [esp + 0x40]
push eax
push edi
call fcn.00422bf0
xor esi, esi
add esp, 8
cmp dword [esp + 0x54], esi
jbe 0x4244ca
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 0x4244ad
cmp dword [esp + 0x34], eax
je 0x4244ad
test ebp, ebp
jne 0x4244ad
cmp dword [esp + 0x60], ebp
je 0x4244ad
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 0x424480
mov edi, dword [esp + 0x14]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x424460
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 0x424527
push 0
push 0
push ebp
push ecx
call fcn.00445420
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ebx, ebx
jns 0x424514
mov eax, 0xc
jmp 0x424067
jle 0x424341
mov dword [esp + 0x24], ebx
jmp 0x42435e
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x13], 0
je 0x42453b
push dword [esp + 0x18]
call dword [0x1341004]
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x424549
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
cmp byte [esp + 0xf8], 0
je 0x4245a8
test ebp, ebp
jne 0x4245a8
test bl, bl
jne 0x4245a8
cmp dword [edi], 0xbab1e
mov dword [esp + 0x14], ebp
jne 0x4245a8
cmp byte [edi + 0x117], bl
jne 0x4245a8
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00423ec0
add esp, 8
test eax, eax
jne 0x4245a8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4245a8
mov ecx, dword [esp + 0xf0]
cmp eax, ecx
jg 0x42459b
test eax, eax
cmovs eax, ecx
mov ecx, eax
mov eax, ecx
cdq
push edx
push eax
call fcn.00445900
add esp, 8
xor eax, eax
jmp 0x424067
mov ecx, dword [esp + 0xd8]
mov eax, 1
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0xd0
ret