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

Disassembly:
sub esp, 0x94
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0xa4]
xorps xmm0, xmm0
movq qword [esp + 0x64], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xffff0000
push ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x10], ebp
push esi
mov esi, dword [esp + 0xa4]
push edi
movdqu xmmword [esp + 0x50], xmm0
movdqu xmmword [esp + 0x60], xmm0
cmp ebx, 0xc
jle 0x4cd54e
mov eax, dword [esi]
lea ecx, [esp + 0x44]
cmp eax, dword [ecx]
jne 0x4cd54e
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 4]
jne 0x4cd54e
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 8]
jne 0x4cd54e
mov edi, 1
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, 0x408154
test edi, edi
mov eax, 0x41209c
cmove eax, ecx
push eax
push 0x4120a4
push ebx
push ebx
push ebp
call fcn.004f9d4d
xor ecx, ecx
add esp, 0x18
cmp eax, ebx
cmovge ebp, ecx
mov eax, ebp
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f9e32
add esp, 0x94
ret
push ebx
push esi
xor edi, edi
call fcn.004cd380
add esp, 8
test eax, eax
jne 0x4cd502
mov ebp, dword [sym.imp.WS2_32.dll_htons]
lea ebx, [esp + 0x78]
movdqu xmmword [esp + 0x78], xmm0
movdqu xmmword [esp + 0x88], xmm0
movq qword [esp + 0x98], xmm0
movzx eax, word [esi + edi*2]
push eax
call ebp
movzx eax, ax
push eax
push 0x4120ac
push 5
push 5
push ebx
call fcn.004f9d4d
inc edi
add esp, 0x14
add ebx, 5
cmp edi, 8
jl 0x4cd580
xor eax, eax
cmp word [esi + 0xe], ax
sete al
cmp word [esi + 0xc], 0
mov dword [esp + 0x14], eax
jne 0x4cd5bd
inc eax
jmp 0x4cd5bf
xor eax, eax
cmp word [esi + 0xa], 0
mov dword [esp + 0x10], eax
jne 0x4cd5cd
inc eax
jmp 0x4cd5cf
xor eax, eax
cmp word [esi + 8], 0
mov dword [esp + 0x20], eax
jne 0x4cd5dd
inc eax
jmp 0x4cd5df
xor eax, eax
cmp word [esi + 6], 0
mov dword [esp + 0x1c], eax
jne 0x4cd5ed
inc eax
jmp 0x4cd5ef
xor eax, eax
cmp word [esi + 4], 0
mov ebp, eax
jne 0x4cd5fb
inc eax
jmp 0x4cd5fd
xor eax, eax
cmp word [esi + 2], 0
mov ebx, eax
jne 0x4cd609
inc eax
jmp 0x4cd60b
xor eax, eax
cmp word [esi], 0
mov edi, eax
jne 0x4cd616
inc eax
jmp 0x4cd618
xor eax, eax
or edx, 0xffffffff
mov dword [esp + 0x24], eax
xor ecx, ecx
test eax, eax
jle 0x4cd629
xor edx, edx
mov ecx, eax
cmp edi, ecx
jle 0x4cd634
mov edx, 1
mov ecx, edi
cmp ebx, ecx
jle 0x4cd63f
mov edx, 2
mov ecx, ebx
cmp ebp, ecx
jle 0x4cd64a
mov edx, 3
mov ecx, ebp
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jle 0x4cd659
mov edx, 4
mov ecx, eax
mov esi, dword [esp + 0x20]
cmp esi, ecx
jle 0x4cd668
mov edx, 5
mov ecx, esi
cmp dword [esp + 0x10], ecx
jle 0x4cd677
mov ecx, dword [esp + 0x10]
mov edx, 6
cmp dword [esp + 0x14], ecx
jle 0x4cd684
mov edx, 7
jmp 0x4cd688
test edx, edx
je 0x4cd690
mov dword [esp + 0x24], 0
xor ecx, ecx
cmp edx, 1
cmovne edi, ecx
cmp edx, 2
mov dword [esp + 0x28], edi
cmovne ebx, ecx
cmp edx, 3
mov dword [esp + 0x2c], ebx
cmovne ebp, ecx
cmp edx, 4
mov dword [esp + 0x30], ebp
cmovne eax, ecx
mov dword [esp + 0x34], eax
xor eax, eax
cmp edx, 5
cmovne esi, eax
mov eax, dword [esp + 0x10]
cmp edx, 6
mov dword [esp + 0x38], esi
cmovne eax, ecx
cmp edx, 7
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
cmovne eax, ecx
mov dword [esp + 0x40], eax
xor eax, eax
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x24]
test ecx, ecx
je 0x4cd703
test esi, esi
jne 0x4cd6f8
mov byte [esp + eax + 0x50], 0x3a
inc eax
mov byte [esp + eax + 0x50], 0x3a
dec esi
inc eax
add esi, ecx
jmp 0x4cd72c
lea ecx, [esp + 0x78]
add ecx, esi
mov dl, byte [ecx + esi*4]
lea ecx, [ecx + esi*4]
test dl, dl
je 0x4cd721
mov byte [esp + eax + 0x50], dl
lea ecx, [ecx + 1]
mov dl, byte [ecx]
inc eax
test dl, dl
jne 0x4cd713
cmp esi, 7
je 0x4cd72c
mov byte [esp + eax + 0x50], 0x3a
inc eax
inc esi
cmp esi, 8
jl 0x4cd6e6
inc eax
cmp eax, dword [esp + 0xb0]
jle 0x4cd743
xor eax, eax
jmp 0x4cd535
mov esi, dword [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
push esi
call fcn.004fa290
add esp, 0xc
mov eax, esi
jmp 0x4cd535