Function at 0x731830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
xor eax, eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x8c]
mov esi, ecx
mov ebx, edx
push edi
mov edx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.00731600
add esp, 4
test eax, eax
jne 0x731ab9
push edi
call fcn.007316e0
add esp, 4
test eax, eax
jne 0x731ac0
mov ebx, dword [sym.imp.WSOCK32.dll_htons]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
xor edi, edi
lea ebp, [esp + 0x5c]
movzx eax, word [esi + edi*2]
push eax
call ebx
movzx ecx, ax
push ecx
push 0x6a5d98
push 5
push ebp
call fcn.007597ea
inc edi
add esp, 0x10
add ebp, 5
cmp edi, 8
jl 0x7318d6
xor eax, eax
cmp word [esi + 0xe], ax
sete al
cmp word [esi + 0xc], 0
mov dword [esp + 0x2c], eax
jne 0x731911
inc eax
jmp 0x731913
xor eax, eax
cmp word [esi + 0xa], 0
mov dword [esp + 0x28], eax
jne 0x731921
inc eax
jmp 0x731923
xor eax, eax
cmp word [esi + 8], 0
mov dword [esp + 0x24], eax
jne 0x731931
inc eax
jmp 0x731933
xor eax, eax
cmp word [esi + 6], 0
mov dword [esp + 0x20], eax
jne 0x731941
inc eax
jmp 0x731943
xor eax, eax
cmp word [esi + 4], 0
mov ebp, eax
mov dword [esp + 0x1c], ebp
jne 0x731953
inc eax
jmp 0x731955
xor eax, eax
cmp word [esi + 2], 0
mov ebx, eax
mov dword [esp + 0x18], ebx
jne 0x731965
inc eax
jmp 0x731967
xor eax, eax
cmp word [esi], 0
mov edi, eax
mov dword [esp + 0x14], edi
jne 0x731976
inc eax
jmp 0x731978
xor eax, eax
xor esi, esi
or edx, 0xffffffff
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x73198b
xor edx, edx
mov ecx, eax
cmp edi, ecx
jle 0x731996
mov edx, 1
mov ecx, edi
cmp ebx, ecx
jle 0x7319a1
mov edx, 2
mov ecx, ebx
cmp ebp, ecx
jle 0x7319ac
mov edx, 3
mov ecx, ebp
mov eax, dword [esp + 0x20]
cmp eax, ecx
jle 0x7319bb
mov edx, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
jle 0x7319ca
mov edx, 5
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x7319d9
mov edx, 6
mov ecx, eax
cmp dword [esp + 0x2c], ecx
jle 0x7319e6
mov edx, 7
jmp 0x7319ea
cmp edx, esi
je 0x7319ee
mov dword [esp + 0x10], esi
cmp edx, 1
je 0x7319f7
mov dword [esp + 0x14], esi
cmp edx, 2
je 0x731a00
mov dword [esp + 0x18], esi
cmp edx, 3
je 0x731a09
mov dword [esp + 0x1c], esi
cmp edx, 4
je 0x731a12
mov dword [esp + 0x20], esi
cmp edx, 5
je 0x731a1b
mov dword [esp + 0x24], esi
cmp edx, 6
je 0x731a24
mov dword [esp + 0x28], esi
cmp edx, 7
je 0x731a2d
mov dword [esp + 0x2c], esi
xor eax, eax
mov bl, 0x3a
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x731a48
test esi, esi
jne 0x731a42
mov byte [esp + eax + 0x34], bl
inc eax
lea esi, [esi + ecx - 1]
jmp 0x731a67
lea edx, [esp + esi + 0x5c]
mov cl, byte [edx + esi*4]
lea edx, [edx + esi*4]
test cl, cl
je 0x731a62
inc edx
mov byte [esp + eax + 0x34], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x731a56
cmp esi, 7
je 0x731a6c
mov byte [esp + eax + 0x34], bl
inc eax
inc esi
cmp esi, 8
jl 0x731a31
inc eax
cmp eax, dword [esp + 0x8c]
jle 0x731a91
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.007562ca
add esp, 0x78
ret
mov esi, dword [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00756630
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.007562ca
add esp, 0x78
ret
mov ebp, 0x6a5d90
jmp 0x731ac5
mov ebp, 0x69d075
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
push ebp
push 0x6a5d88
push edi
push ebx
call fcn.007597ea
mov ecx, dword [esp + 0x98]
add esp, 0x14
xor edx, edx
cmp eax, edi
setge dl
pop edi
pop esi
pop ebp
dec edx
and edx, ebx
pop ebx
xor ecx, esp
mov eax, edx
call fcn.007562ca
add esp, 0x78
ret