Function at 0x48c390
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4dbfb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
mov dword [ebp - 0x18], 0
mov dword [eax], 0
cmp dword [esi + 0x80], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0xffffffff
je 0x48c3de
push 2
push 3
push esi
call fcn.00471d80
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov ecx, edi
call fcn.0048b9e0
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x48c410
push edi
push str.Hostname__s_was_found_in_DNS_cache_n
push esi
call fcn.0046ae20
mov eax, dword [ebp - 0x18]
add esp, 0xc
inc dword [eax + 0x10]
mov dword [ebp - 0x1c], 0
cmp dword [esi + 0x80], 0
je 0x48c424
push 3
push esi
call fcn.00471dd0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x48c5a7
cmp dword [esi + 0xb1c], 0
mov dword [ebp - 0x24], 0
je 0x48c486
push 1
push esi
call fcn.00468be0
mov ecx, dword [esi + 0xb20]
mov edx, dword [esi + 0xed0]
mov eax, dword [esi + 0xb1c]
push ecx
push 0
push edx
call eax
push 0
push esi
mov dword [ebp - 0x30], eax
call fcn.00468be0
add esp, 0x1c
cmp dword [ebp - 0x30], 0
je 0x48c486
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1682
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
push ecx
push edi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x48c4b7
mov edx, dword [ebp + 0x10]
push edx
push edi
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.004725b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48c553
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push edi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x48c4e4
mov edx, dword [ebp + 0x10]
push edx
push edi
lea eax, [ebp - 0x14]
push eax
push 0x17
call fcn.004725b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48c553
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00474010
add esp, 4
test eax, eax
je 0x48c472
cmp dword [ebp + 0x14], 0
je 0x48c511
cmp dword [esi + 0xc18], 0
je 0x48c511
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
push ecx
push edx
push edi
push ebx
call fcn.00499ec0
jmp 0x48c520
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
push ecx
push edi
push ebx
call fcn.004729c0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48c553
cmp dword [ebp - 0x24], eax
je 0x48c5a7
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.0048c2e0
add esp, 8
test eax, eax
jne 0x48c472
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x48c5a7
cmp dword [esi + 0x80], 0
je 0x48c569
push 2
push 3
push esi
call fcn.00471d80
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push edi
push ebx
push esi
call fcn.0048bce0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x80], 0
je 0x48c58f
push 3
push esi
call fcn.00471dd0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x48c5a0
push ebx
call fcn.00472250
add esp, 4
jmp 0x48c5a7
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1682
mov esp, ebp
pop ebp
ret