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

Disassembly:
sub esp, 0x78
mov eax, dword [0x463df0]
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.004fdc00
add esp, 4
test eax, eax
jne 0x4fe0b9
push edi
call fcn.004fdce0
add esp, 4
test eax, eax
jne 0x4fe0c0
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 0x46e030
push 5
push ebp
call fcn.00529faf
inc edi
add esp, 0x10
add ebp, 5
cmp edi, 8
jl 0x4fded6
xor eax, eax
cmp word [esi + 0xe], ax
sete al
cmp word [esi + 0xc], 0
mov dword [esp + 0x2c], eax
jne 0x4fdf11
inc eax
jmp 0x4fdf13
xor eax, eax
cmp word [esi + 0xa], 0
mov dword [esp + 0x28], eax
jne 0x4fdf21
inc eax
jmp 0x4fdf23
xor eax, eax
cmp word [esi + 8], 0
mov dword [esp + 0x24], eax
jne 0x4fdf31
inc eax
jmp 0x4fdf33
xor eax, eax
cmp word [esi + 6], 0
mov dword [esp + 0x20], eax
jne 0x4fdf41
inc eax
jmp 0x4fdf43
xor eax, eax
cmp word [esi + 4], 0
mov ebp, eax
mov dword [esp + 0x1c], ebp
jne 0x4fdf53
inc eax
jmp 0x4fdf55
xor eax, eax
cmp word [esi + 2], 0
mov ebx, eax
mov dword [esp + 0x18], ebx
jne 0x4fdf65
inc eax
jmp 0x4fdf67
xor eax, eax
cmp word [esi], 0
mov edi, eax
mov dword [esp + 0x14], edi
jne 0x4fdf76
inc eax
jmp 0x4fdf78
xor eax, eax
xor esi, esi
or edx, 0xffffffff
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x4fdf8b
xor edx, edx
mov ecx, eax
cmp edi, ecx
jle 0x4fdf96
mov edx, 1
mov ecx, edi
cmp ebx, ecx
jle 0x4fdfa1
mov edx, 2
mov ecx, ebx
cmp ebp, ecx
jle 0x4fdfac
mov edx, 3
mov ecx, ebp
mov eax, dword [esp + 0x20]
cmp eax, ecx
jle 0x4fdfbb
mov edx, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
jle 0x4fdfca
mov edx, 5
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x4fdfd9
mov edx, 6
mov ecx, eax
cmp dword [esp + 0x2c], ecx
jle 0x4fdfe6
mov edx, 7
jmp 0x4fdfea
cmp edx, esi
je 0x4fdfee
mov dword [esp + 0x10], esi
cmp edx, 1
je 0x4fdff7
mov dword [esp + 0x14], esi
cmp edx, 2
je 0x4fe000
mov dword [esp + 0x18], esi
cmp edx, 3
je 0x4fe009
mov dword [esp + 0x1c], esi
cmp edx, 4
je 0x4fe012
mov dword [esp + 0x20], esi
cmp edx, 5
je 0x4fe01b
mov dword [esp + 0x24], esi
cmp edx, 6
je 0x4fe024
mov dword [esp + 0x28], esi
cmp edx, 7
je 0x4fe02d
mov dword [esp + 0x2c], esi
xor eax, eax
mov bl, 0x3a
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x4fe048
test esi, esi
jne 0x4fe042
mov byte [esp + eax + 0x34], bl
inc eax
lea esi, [esi + ecx - 1]
jmp 0x4fe067
lea edx, [esp + esi + 0x5c]
mov cl, byte [edx + esi*4]
lea edx, [edx + esi*4]
test cl, cl
je 0x4fe062
inc edx
mov byte [esp + eax + 0x34], cl
mov cl, byte [edx]
inc eax
test cl, cl
jne 0x4fe056
cmp esi, 7
je 0x4fe06c
mov byte [esp + eax + 0x34], bl
inc eax
inc esi
cmp esi, 8
jl 0x4fe031
inc eax
cmp eax, dword [esp + 0x8c]
jle 0x4fe091
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00526a8a
add esp, 0x78
ret
mov esi, dword [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00526df0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00526a8a
add esp, 0x78
ret
mov ebp, 0x46e028
jmp 0x4fe0c5
mov ebp, 0x4651d5
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
push ebp
push 0x46e020
push edi
push ebx
call fcn.00529faf
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.00526a8a
add esp, 0x78
ret