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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x9d8c80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x18]
lea edi, [ebp - 0x68]
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xa8], edi
mov byte [ebp - 0x95], 0
test ebx, ebx
je 0x73f06e
cmp dword [ebx], 0xbab1e
jne 0x73f06e
cmp byte [ebx + 0xe2], 0
je 0x73ea9a
pop edi
lea eax, [esi + 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00645ebf
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], esi
jge 0x73eab5
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00645ebf
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x73eb29
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0073d880
add esp, 8
mov ebx, eax
xor edx, edx
mov eax, 1
or edi, 0xffffffff
test ebx, eax
je 0x73eaeb
mov ecx, dword [ebp + edx*4 - 0x18]
cmp ecx, 0xffffffff
jae 0x73eaeb
inc esi
mov edi, ecx
mov ecx, eax
rol ecx, 0x10
test ebx, ecx
je 0x73eb00
mov ecx, dword [ebp + edx*4 - 0x18]
cmp ecx, 0xffffffff
jae 0x73eb00
inc esi
mov edi, ecx
cmp edi, 0xffffffff
je 0x73eb0d
inc edx
rol eax, 1
cmp edx, 5
jb 0x73ead8
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb4], eax
test eax, eax
jne 0x73eac2
mov ebx, dword [ebp - 0xa4]
lea edi, [ebp - 0x68]
lea eax, [ebp - 0x9c]
push eax
push ebx
call fcn.0073e900
mov eax, dword [ebp - 0x9c]
add esp, 8
test eax, eax
js 0x73eb4e
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebp + 0x14], ecx
mov eax, esi
add esi, dword [ebp + 0x10]
cmp byte [ebp + 0x20], 0
mov dword [ebp - 0xb4], eax
je 0x73eb60
inc esi
cmp esi, 0xa
jbe 0x73eba3
lea eax, [esi*8]
push eax
call dword [0x9da1b0]
mov edi, eax
add esp, 4
mov dword [ebp - 0xa8], edi
test edi, edi
jne 0x73eb96
lea eax, [edi + 3]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00645ebf
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 0x95], 1
xor edx, edx
mov dword [ebp - 0xa0], edx
test eax, eax
je 0x73eccb
mov eax, dword [ebx + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x73eccb
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0073d880
add esp, 8
mov dword [ebp - 0xac], eax
xor esi, esi
lea esp, [esp]
mov edx, 1
mov ecx, esi
shl edx, cl
or edi, 0xffffffff
xor ebx, ebx
test eax, edx
mov edx, dword [ebp - 0xa0]
je 0x73ec22
mov eax, dword [ebp + esi*4 - 0x18]
cmp eax, 0xffffffff
jae 0x73ec22
mov edi, eax
mov ecx, 0x300
mov eax, dword [ebp - 0xa8]
mov ebx, 0x29
mov dword [eax + edx*8], edi
mov word [eax + edx*8 + 4], cx
inc edx
mov dword [ebp - 0xa0], edx
lea ecx, [esi + 0x10]
mov eax, 1
shl eax, cl
test dword [ebp - 0xac], eax
je 0x73ec6f
mov eax, dword [ebp + esi*4 - 0x18]
cmp eax, 0xffffffff
jae 0x73ec6f
push 0
push 0
mov edi, eax
or ebx, 0x32
push 0
push edi
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0xa0]
mov ecx, 0x10
mov eax, dword [ebp - 0xa8]
mov dword [eax + edx*8], edi
mov word [eax + edx*8 + 4], cx
inc edx
mov dword [ebp - 0xa0], edx
cmp edi, 0xffffffff
je 0x73eca8
push ebx
mov ebx, dword [ebp - 0xa4]
push dword [ebx + 0xdc]
push edi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x73eda9
mov eax, dword [ebp - 0xac]
inc esi
cmp esi, 5
jb 0x73ebe0
mov edx, dword [ebp - 0xa0]
jmp 0x73ecae
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x73ebc4
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x9c], 0
test esi, esi
je 0x73ed94
lea esi, [edi + 4]
mov ecx, 0x29
mov edi, dword [ebp - 0xb8]
lea esi, [esi + edx*8]
add edi, 4
movzx eax, word [edi]
xor ebx, ebx
test al, 1
cmovne ebx, ecx
test al, 2
je 0x73ed05
or ebx, 4
test al, 4
je 0x73ed1b
push 0
push 0
push 0
push dword [edi - 4]
or ebx, 0x32
call dword [sym.imp.WS2_32.dll_send]
push ebx
mov ebx, dword [ebp - 0xa4]
push dword [ebx + 0xdc]
push dword [edi - 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x73eda9
mov eax, dword [edi - 4]
mov dword [esi - 4], eax
xor eax, eax
mov word [esi], ax
test byte [edi], 1
je 0x73ed4d
mov eax, 0x300
mov word [esi], ax
test byte [edi], 2
je 0x73ed5a
mov eax, 0x400
or word [esi], ax
test byte [edi], 4
je 0x73ed63
or word [esi], 0x10
mov ecx, dword [ebp - 0x9c]
add esi, 8
mov edx, dword [ebp - 0xa0]
inc ecx
inc edx
mov dword [ebp - 0x9c], ecx
add edi, 8
mov dword [ebp - 0xa0], edx
cmp ecx, dword [ebp + 0x10]
mov ecx, 0x29
jb 0x73ecf4
mov esi, dword [ebp + 0x10]
test edx, edx
jne 0x73edd7
cmp byte [ebp + 0x20], dl
je 0x73efd9
mov dword [ebp - 0xac], edx
jmp 0x73edfc
cmp byte [ebp - 0x95], 0
je 0x73edc1
push dword [ebp - 0xa8]
call dword [0x9da1b4]
add esp, 4
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00645ebf
mov esp, ebp
pop ebp
ret
push 0
push 0
push edx
push dword [ebp - 0xa8]
call fcn.00759800
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0xac], ebx
test ebx, ebx
jg 0x73ee14
mov ebx, dword [ebp - 0xa4]
push 0
push dword [ebp + 0x14]
lea ecx, [ebx + 0xdc]
push 0
push ecx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
jmp 0x73ee1a
mov dword [ebp - 0xb0], ebx
xor edi, edi
test esi, esi
je 0x73ef08
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb4]
lea eax, [eax + ecx*8]
add eax, 6
mov dword [ebp - 0x9c], eax
lea esp, [esp]
movsx ebx, word [eax]
xor esi, esi
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], esi
push eax
mov eax, dword [ebp - 0xb8]
push esi
push dword [eax + edi*8]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x73eea0
mov eax, dword [ebp - 0x94]
mov ecx, 1
test al, 0x29
cmovne esi, ecx
test al, 0x32
je 0x73ee7d
or esi, 4
test al, 4
je 0x73ee84
or esi, 2
cmp dword [ebp - 0xbc], 0
je 0x73eea0
cmp dword [ebp - 0xac], 0
jg 0x73eea0
test eax, eax
je 0x73eea0
inc dword [ebp - 0xb0]
mov eax, dword [ebp - 0xa4]
push 0
push dword [eax + 0xdc]
mov eax, dword [ebp - 0xb8]
push dword [eax + edi*8]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp dword [ebp - 0xac], 0
jle 0x73eeef
test ebx, 0x300
je 0x73eed1
or esi, 1
test bl, 0x10
je 0x73eed9
or esi, 4
test ebx, 0x400
je 0x73eee4
or esi, 2
mov eax, dword [ebp - 0xb8]
mov word [eax + edi*8 + 6], si
mov eax, dword [ebp - 0x9c]
inc edi
add eax, 8
mov dword [ebp - 0x9c], eax
cmp edi, dword [ebp + 0x10]
jb 0x73ee40
cmp dword [ebp - 0xb4], 0
mov ebx, dword [ebp - 0xa4]
je 0x73efcd
mov eax, dword [ebx + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x73efcd
lea esp, [esp]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0073d880
add esp, 8
mov ebx, eax
xor edi, edi
mov esi, 1
mov ecx, esi
rol ecx, 0x10
or ecx, esi
test ebx, ecx
je 0x73efb0
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push dword [ebp + edi*4 - 0x18]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x73ef90
cmp dword [ebp - 0xbc], eax
je 0x73ef90
cmp dword [ebp - 0xac], eax
jg 0x73ef90
cmp dword [ebp - 0x94], eax
je 0x73ef90
inc dword [ebp - 0xb0]
mov eax, dword [ebp - 0xa4]
push 0
push dword [eax + 0xdc]
push dword [ebp + edi*4 - 0x18]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc edi
rol esi, 1
cmp edi, 5
jb 0x73ef46
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x73ef30
mov ebx, dword [ebp - 0xa4]
push dword [ebx + 0xdc]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
cmp byte [ebp - 0x95], 0
je 0x73eff1
push dword [ebp - 0xa8]
call dword [0x9da1b4]
add esp, 4
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x73f003
mov eax, dword [ebp - 0xb0]
mov dword [ecx], eax
cmp byte [ebp + 0x1c], 0
je 0x73f05b
cmp dword [ebp - 0xa0], 0
jne 0x73f05b
cmp byte [ebp + 0x20], 0
jne 0x73f05b
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
push ebx
call fcn.0073d350
add esp, 8
test eax, eax
jne 0x73f05b
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x73f05b
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jg 0x73f04e
test eax, eax
cmovs eax, ecx
mov ecx, eax
mov eax, ecx
cdq
push edx
push eax
call fcn.00759bc0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00645ebf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00645ebf
mov esp, ebp
pop ebp
ret