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

Disassembly:
sub esp, 0x78
mov eax, dword [0x417270]
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.004ab7c0
add esp, 4
test eax, eax
jne 0x4abc79
push edi
call fcn.004ab8a0
add esp, 4
test eax, eax
jne 0x4abc80
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 0x420fa0
push 5
push ebp
call fcn.004ce16a
inc edi
add esp, 0x10
add ebp, 5
cmp edi, 8
jl 0x4aba96
xor eax, eax
cmp word [esi + 0xe], ax
sete al
cmp word [esi + 0xc], 0
mov dword [esp + 0x2c], eax
jne 0x4abad1
inc eax
jmp 0x4abad3
xor eax, eax
cmp word [esi + 0xa], 0
mov dword [esp + 0x28], eax
jne 0x4abae1
inc eax
jmp 0x4abae3
xor eax, eax
cmp word [esi + 8], 0
mov dword [esp + 0x24], eax
jne 0x4abaf1
inc eax
jmp 0x4abaf3
xor eax, eax
cmp word [esi + 6], 0
mov dword [esp + 0x20], eax
jne 0x4abb01
inc eax
jmp 0x4abb03
xor eax, eax
cmp word [esi + 4], 0
mov ebp, eax
mov dword [esp + 0x1c], ebp
jne 0x4abb13
inc eax
jmp 0x4abb15
xor eax, eax
cmp word [esi + 2], 0
mov ebx, eax
mov dword [esp + 0x18], ebx
jne 0x4abb25
inc eax
jmp 0x4abb27
xor eax, eax
cmp word [esi], 0
mov edi, eax
mov dword [esp + 0x14], edi
jne 0x4abb36
inc eax
jmp 0x4abb38
xor eax, eax
xor esi, esi
or edx, 0xffffffff
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x4abb4b
xor edx, edx
mov ecx, eax
cmp edi, ecx
jle 0x4abb56
mov edx, 1
mov ecx, edi
cmp ebx, ecx
jle 0x4abb61
mov edx, 2
mov ecx, ebx
cmp ebp, ecx
jle 0x4abb6c
mov edx, 3
mov ecx, ebp
mov eax, dword [esp + 0x20]
cmp eax, ecx
jle 0x4abb7b
mov edx, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
jle 0x4abb8a
mov edx, 5
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x4abb99
mov edx, 6
mov ecx, eax
cmp dword [esp + 0x2c], ecx
jle 0x4abba6
mov edx, 7
jmp 0x4abbaa
cmp edx, esi
je 0x4abbae
mov dword [esp + 0x10], esi
cmp edx, 1
je 0x4abbb7
mov dword [esp + 0x14], esi
cmp edx, 2
je 0x4abbc0
mov dword [esp + 0x18], esi
cmp edx, 3
je 0x4abbc9
mov dword [esp + 0x1c], esi
cmp edx, 4
je 0x4abbd2
mov dword [esp + 0x20], esi
cmp edx, 5
je 0x4abbdb
mov dword [esp + 0x24], esi
cmp edx, 6
je 0x4abbe4
mov dword [esp + 0x28], esi
cmp edx, 7
je 0x4abbed
mov dword [esp + 0x2c], esi
xor eax, eax
mov bl, 0x3a
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x4abc08
test esi, esi
jne 0x4abc02
mov byte [esp + eax + 0x34], bl
inc eax
lea esi, [esi + ecx - 1]
jmp 0x4abc27
lea edx, [esp + esi + 0x5c]
mov cl, byte [edx + esi*4]
lea edx, [edx + esi*4]
test cl, cl
je 0x4abc22
inc edx
mov byte [esp + eax + 0x34], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x4abc16
cmp esi, 7
je 0x4abc2c
mov byte [esp + eax + 0x34], bl
inc eax
inc esi
cmp esi, 8
jl 0x4abbf1
inc eax
cmp eax, dword [esp + 0x8c]
jle 0x4abc51
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x78
ret
mov esi, dword [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call fcn.004cb570
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x78
ret
mov ebp, 0x420f98
jmp 0x4abc85
mov ebp, 0x4186a1
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
push ebp
push 0x420f90
push edi
push ebx
call fcn.004ce16a
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.004cb3aa
add esp, 0x78
ret