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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x7d3574]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
push ebp
xor ebp, ebp
push edi
mov edi, edx
lea edx, [esp + 0x70]
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ebp
cmp edi, ebp
je 0x42a799
cmp dword [edi], 0xbab1e
jne 0x42a799
cmp dword [edi + 0xec], ebp
je 0x42a253
pop edi
lea eax, [ebp + 8]
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004d482d
add esp, 0xbc
ret
cmp dword [esp + 0xd0], ebp
jge 0x42a278
pop edi
mov eax, 0xa
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004d482d
add esp, 0xbc
ret
push ebx
mov ebx, dword [edi + 4]
push esi
cmp ebx, ebp
je 0x42a2d3
lea ecx, [esp + 0x64]
mov eax, ebx
call fcn.00428ba0
xor esi, esi
mov edi, 1
or ecx, 0xffffffff
test eax, edi
je 0x42a2a6
mov edx, dword [esp + esi*4 + 0x64]
cmp edx, 0xffffffff
jae 0x42a2a6
inc ebp
mov ecx, edx
mov edx, edi
rol edx, 0x10
test eax, edx
je 0x42a2bb
mov edx, dword [esp + esi*4 + 0x64]
cmp edx, 0xffffffff
jae 0x42a2bb
inc ebp
mov ecx, edx
cmp ecx, 0xffffffff
je 0x42a2c8
inc esi
rol edi, 1
cmp esi, 5
jb 0x42a293
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x42a281
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov eax, edi
call fcn.00429810
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
js 0x42a2fa
cmp eax, dword [esp + 0xd8]
jge 0x42a2fa
mov dword [esp + 0xd8], eax
mov esi, ebp
add ebp, dword [esp + 0xd4]
cmp dword [esp + 0xe0], 0
mov dword [esp + 0x20], esi
je 0x42a312
inc ebp
cmp ebp, 0xa
jbe 0x42a356
lea ecx, [ebp*8]
push ecx
call dword [0x7d0020]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42a34e
mov eax, 3
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004d482d
add esp, 0xbc
ret
mov dword [esp + 0x2c], 1
xor ebp, ebp
test esi, esi
je 0x42a437
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42a437
nop
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
call fcn.00428ba0
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov edx, dword [esp + 0x1c]
mov eax, 1
mov ecx, ebx
shl eax, cl
or esi, 0xffffffff
xor edi, edi
test edx, eax
je 0x42a3bb
mov eax, dword [esp + ebx*4 + 0x64]
cmp eax, 0xffffffff
jae 0x42a3bb
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, 1
mov dword [eax + ebp*8], esi
mov word [eax + ebp*8 + 4], cx
mov edi, 0x29
inc ebp
lea ecx, [ebx + 0x10]
mov eax, 1
shl eax, cl
test edx, eax
je 0x42a3f6
mov eax, dword [esp + ebx*4 + 0x64]
cmp eax, 0xffffffff
jae 0x42a3f6
push 0
push 0
mov esi, eax
push 0
push esi
or edi, 0x32
call dword [sym.imp.WSOCK32.dll_send]
mov eax, dword [esp + 0x18]
mov ecx, 4
mov dword [eax + ebp*8], esi
mov word [eax + ebp*8 + 4], cx
inc ebp
cmp esi, 0xffffffff
je 0x42a420
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xdc]
push edi
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x42a747
inc ebx
cmp ebx, 5
jb 0x42a383
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42a370
mov edi, dword [esp + 0x14]
cmp dword [esp + 0xd4], 0
mov dword [esp + 0x1c], 0
jbe 0x42a4f3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
lea ebx, [eax + ebp*8 + 4]
add esi, 4
lea esp, [esp]
movzx eax, word [esi]
xor edi, edi
test al, 1
je 0x42a46e
mov edi, 0x29
test al, 2
je 0x42a475
or edi, 4
test al, 4
je 0x42a48c
mov ecx, dword [esi - 4]
push 0
push 0
push 0
push ecx
or edi, 0x32
call dword [sym.imp.WSOCK32.dll_send]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xdc]
mov ecx, dword [esi - 4]
push edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x42a747
mov edx, dword [esi - 4]
mov dword [ebx - 4], edx
mov word [ebx], ax
test byte [esi], 1
je 0x42a4c0
mov ecx, 1
mov word [ebx], cx
test byte [esi], 2
je 0x42a4c9
or word [ebx], 2
test byte [esi], 4
je 0x42a4d2
or word [ebx], 4
mov eax, dword [esp + 0x1c]
inc eax
inc ebp
add ebx, 8
add esi, 8
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0xd4]
jb 0x42a460
mov edi, dword [esp + 0x14]
test ebp, ebp
jne 0x42a766
cmp dword [esp + 0xe0], ebp
je 0x42a6bb
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0xd8]
push 0
push ecx
push 0
add edi, 0xdc
push edi
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp dword [esp + 0xd4], 0
jbe 0x42a5ff
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
lea ecx, [edx + eax*8 + 6]
mov edx, dword [esp + 0xd4]
add ebx, 6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], edx
jmp 0x42a560
mov eax, dword [esp + 0x10]
movsx ecx, word [eax]
mov edi, dword [ebx - 6]
lea edx, [esp + 0x38]
push edx
xor esi, esi
push esi
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], esi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x42a5b6
mov eax, dword [esp + 0x38]
test al, 0x29
je 0x42a592
mov esi, 1
test al, 0x32
je 0x42a599
or esi, 4
test al, 4
je 0x42a5a0
or esi, 2
cmp dword [esp + 0x34], 0
je 0x42a5b6
cmp dword [esp + 0x30], 0
jne 0x42a5b6
test eax, eax
je 0x42a5b6
inc dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xdc]
push 0
push ecx
push edi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp dword [esp + 0x30], 0
je 0x42a5ea
mov al, byte [esp + 0x1c]
test al, 1
je 0x42a5dc
or esi, 1
test al, 4
je 0x42a5e3
or esi, 4
test al, 2
je 0x42a5ea
or esi, 2
add dword [esp + 0x10], 8
mov word [ebx], si
add ebx, 8
dec dword [esp + 0x28]
jne 0x42a560
cmp dword [esp + 0x20], 0
je 0x42a6a6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42a6a6
xor ebx, ebx
nop
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
call fcn.00428ba0
mov dword [esp + 0x1c], eax
xor esi, esi
mov edi, 1
mov eax, edi
rol eax, 0x10
or eax, edi
test dword [esp + 0x1c], eax
je 0x42a693
mov eax, dword [esp + esi*4 + 0x64]
lea edx, [esp + 0x38]
push edx
push ebx
push eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x42a674
cmp dword [esp + 0x34], ebx
je 0x42a674
cmp dword [esp + 0x30], ebx
jne 0x42a674
cmp dword [esp + 0x38], ebx
je 0x42a674
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xdc]
mov eax, dword [esp + esi*4 + 0x64]
push ebx
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc esi
rol edi, 1
cmp esi, 5
jb 0x42a638
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x42a620
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xdc]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x2c], 0
je 0x42a6d0
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x7d0024]
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42a6de
mov edx, dword [esp + 0x24]
mov dword [eax], edx
cmp dword [esp + 0xdc], 0
je 0x42a740
test ebp, ebp
jne 0x42a740
cmp dword [esp + 0xe0], ebp
jne 0x42a740
cmp dword [edi], 0xbab1e
mov dword [esp + 0x20], ebp
jne 0x42a740
cmp dword [edi + 0xec], ebp
jne 0x42a740
lea eax, [esp + 0x20]
push eax
mov eax, edi
call fcn.00429810
add esp, 4
test eax, eax
jne 0x42a740
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42a740
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
jg 0x42a733
test eax, eax
jns 0x42a735
mov eax, ecx
cdq
push edx
push eax
call fcn.0044c170
add esp, 8
xor eax, eax
jmp 0x42a335
cmp dword [esp + 0x2c], 0
je 0x42a75c
mov edx, dword [esp + 0x18]
push edx
call dword [0x7d0024]
add esp, 4
mov eax, 4
jmp 0x42a335
mov eax, dword [esp + 0x18]
push 0
push 0
push ebp
push eax
call fcn.0044c260
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jns 0x42a78a
mov eax, 0xc
jmp 0x42a335
jle 0x42a50c
mov dword [esp + 0x24], eax
jmp 0x42a527
mov ecx, dword [esp + 0xc0]
pop edi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004d482d
add esp, 0xbc
ret