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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x7c9564]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
push ebp
xor ebp, ebp
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], ebp
cmp eax, ebp
je 0x429ee5
cmp dword [eax], 0xbab1e
jne 0x429ee5
cmp dword [eax + 0xe8], ebp
je 0x4299bf
lea eax, [ebp + 8]
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004d0e4d
add esp, 0xbc
ret
cmp dword [esp + 0xcc], ebp
jge 0x4299e3
mov eax, 0xa
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004d0e4d
add esp, 0xbc
ret
push ebx
mov ebx, dword [eax + 4]
push esi
push edi
cmp ebx, ebp
je 0x429a42
lea ecx, [ecx]
lea ecx, [esp + 0x64]
mov eax, ebx
call fcn.004284a0
xor esi, esi
mov edi, 1
or ecx, 0xffffffff
test eax, edi
je 0x429a15
mov edx, dword [esp + esi*4 + 0x64]
cmp edx, 0xffffffff
jae 0x429a15
inc ebp
mov ecx, edx
mov edx, edi
rol edx, 0x10
test eax, edx
je 0x429a2a
mov edx, dword [esp + esi*4 + 0x64]
cmp edx, 0xffffffff
jae 0x429a2a
inc ebp
mov ecx, edx
cmp ecx, 0xffffffff
je 0x429a37
inc esi
rol edi, 1
cmp esi, 5
jb 0x429a02
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4299f0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ebx, eax
call fcn.00428ff0
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
js 0x429a69
cmp eax, dword [esp + 0xd8]
jge 0x429a69
mov dword [esp + 0xd8], eax
mov dword [esp + 0x30], ebp
add ebp, dword [esp + 0xd4]
cmp dword [esp + 0xe0], 0
je 0x429a7f
inc ebp
cmp ebp, 0xa
jbe 0x429ac3
lea edx, [ebp*8]
push edx
call dword [0x7c6020]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x429abb
mov eax, 3
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004d0e4d
add esp, 0xbc
ret
mov dword [esp + 0x2c], 1
xor ebp, ebp
cmp dword [esp + 0x30], ebp
je 0x429ba5
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x429ba5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
call fcn.004284a0
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 0x429b2d
mov eax, dword [esp + ebx*4 + 0x64]
cmp eax, 0xffffffff
jae 0x429b2d
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 0x429b68
mov eax, dword [esp + ebx*4 + 0x64]
cmp eax, 0xffffffff
jae 0x429b68
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 0x429b92
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 0x429c74
inc ebx
cmp ebx, 5
jb 0x429af5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x429ae2
cmp dword [esp + 0xd4], 0
mov dword [esp + 0x1c], 0
jbe 0x429c5b
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea ebx, [eax + ebp*8 + 4]
add esi, 4
lea ebx, [ebx]
movzx eax, word [esi]
xor edi, edi
test al, 1
je 0x429bde
mov edi, 0x29
test al, 2
je 0x429be5
or edi, 4
test al, 4
je 0x429bfc
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 0x429c74
mov edx, dword [esi - 4]
mov dword [ebx - 4], edx
mov word [ebx], ax
test byte [esi], 1
je 0x429c2c
mov ecx, 1
mov word [ebx], cx
test byte [esi], 2
je 0x429c35
or word [ebx], 2
test byte [esi], 4
je 0x429c3e
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 0x429bd0
xor esi, esi
cmp ebp, esi
jne 0x429c93
cmp dword [esp + 0xe0], esi
je 0x429e57
mov dword [esp + 0x28], esi
jmp 0x429cab
cmp dword [esp + 0x2c], 0
je 0x429c89
mov edx, dword [esp + 0x18]
push edx
call dword [0x7c6024]
add esp, 4
mov eax, 4
jmp 0x429aa2
mov eax, dword [esp + 0x18]
push esi
push esi
push ebp
push eax
call fcn.0044a480
add esp, 0x10
mov dword [esp + 0x28], eax
cmp eax, esi
jg 0x429cca
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x14]
push esi
push ecx
push esi
add edx, 0xdc
push edx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
jmp 0x429cce
mov dword [esp + 0x24], eax
cmp dword [esp + 0xd4], esi
jbe 0x429d95
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
lea edx, [ecx + eax*8 + 6]
mov dword [esp + 0x10], edx
nop
mov eax, dword [esp + 0x10]
movsx ecx, word [eax]
mov eax, dword [ebx + esi*8]
lea edx, [esp + 0x38]
push edx
xor edi, edi
push edi
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x429d46
mov eax, dword [esp + 0x38]
test al, 0x29
je 0x429d22
mov edi, 1
test al, 0x32
je 0x429d29
or edi, 4
test al, 4
je 0x429d30
or edi, 2
cmp dword [esp + 0x34], 0
je 0x429d46
cmp dword [esp + 0x28], 0
jg 0x429d46
test eax, eax
je 0x429d46
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xdc]
mov eax, dword [ebx + esi*8]
push 0
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp dword [esp + 0x28], 0
jle 0x429d82
mov al, byte [esp + 0x20]
test al, 1
je 0x429d6f
or edi, 1
test al, 4
je 0x429d76
or edi, 4
test al, 2
je 0x429d7d
or edi, 2
mov word [ebx + esi*8 + 6], di
add dword [esp + 0x10], 8
inc esi
cmp esi, dword [esp + 0xd4]
jb 0x429cf0
cmp dword [esp + 0x30], 0
je 0x429e46
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x429e46
xor ebx, ebx
jmp 0x429dc0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
call fcn.004284a0
mov dword [esp + 0x1c], eax
xor esi, esi
mov edi, 1
mov edx, edi
rol edx, 0x10
or edx, edi
test dword [esp + 0x1c], edx
je 0x429e33
mov edx, dword [esp + esi*4 + 0x64]
lea ecx, [esp + 0x38]
push ecx
push ebx
push edx
mov dword [esp + 0x44], ebx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x429e14
cmp dword [esp + 0x34], ebx
je 0x429e14
cmp dword [esp + 0x28], ebx
jg 0x429e14
cmp dword [esp + 0x38], ebx
je 0x429e14
inc dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xdc]
mov edx, dword [esp + esi*4 + 0x64]
push ebx
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc esi
rol edi, 1
cmp esi, 5
jb 0x429dd8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x429dc0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
cmp dword [esp + 0x2c], 0
je 0x429e6c
mov eax, dword [esp + 0x18]
push eax
call dword [0x7c6024]
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x429e7a
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
cmp dword [esp + 0xdc], 0
je 0x429ede
test ebp, ebp
jne 0x429ede
cmp dword [esp + 0xe0], ebp
jne 0x429ede
mov ebx, dword [esp + 0x14]
cmp dword [ebx], 0xbab1e
mov dword [esp + 0x20], ebp
jne 0x429ede
cmp dword [ebx + 0xe8], ebp
jne 0x429ede
lea edx, [esp + 0x20]
push edx
call fcn.00428ff0
add esp, 4
test eax, eax
jne 0x429ede
mov eax, dword [esp + 0x20]
test eax, eax
je 0x429ede
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
jg 0x429ed1
test eax, eax
jns 0x429ed3
mov eax, ecx
cdq
push edx
push eax
call fcn.0044a310
add esp, 8
xor eax, eax
jmp 0x429aa2
mov ecx, dword [esp + 0xbc]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004d0e4d
add esp, 0xbc
ret