Function at 0x423f50
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x66bf78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x410]
push 2
push eax
push edi
call fcn.00481ca0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je 0x424378
mov eax, dword [ebp - 0x410]
cmp eax, 0x14
jl 0x424383
mov ebx, dword [sym.imp.MSVCR120.dll_strstr]
push str._as:
push ecx
mov byte [eax + ecx - 1], 0
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x424400
mov al, byte [esi + 5]
add esi, 5
test al, al
je 0x4243a2
lea ebx, [ebx]
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isspace]
add esp, 4
test eax, eax
jne 0x423ffe
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x423fe0
jmp 0x4243a2
cmp byte [esi], 0
je 0x4243a2
mov al, byte [esi + 1]
inc esi
cmp al, 0xa
je 0x4243a2
test al, al
je 0x4243a2
push 0xa
push esi
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
test eax, eax
je 0x4243f5
sub eax, esi
mov dword [ebp - 0x408], eax
cmp eax, 0x3e0
jae 0x4243f5
push 0x400
lea eax, [ebp - 0x404]
push str.nmap___append_output
push eax
call dword [sym.imp.MSVCR120.dll_strncpy]
mov ecx, dword [ebp - 0x408]
add esp, 0xc
lea eax, [ecx + 0x16]
cmp eax, 0x400
jge 0x42438e
push ecx
lea eax, [ebp - 0x3ef]
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp - 0x408]
add esp, 0xc
add eax, 0x15
cmp eax, 0x400
jae 0x4243f0
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
push 0x4cb04c
push eax
call ebx
add esp, 8
test eax, eax
je 0x42412d
mov byte [eax], 0
lea eax, [ebp - 0x404]
push eax
call fcn.00482780
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
lea ecx, [eax + 1]
mov dword [ebp - 0x408], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4240d5
sub eax, dword [ebp - 0x408]
inc eax
cmp eax, 0x400
ja 0x424398
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x408], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424100
sub ecx, dword [ebp - 0x408]
lea eax, [ecx + 1]
push eax
push edx
lea eax, [ebp - 0x404]
push eax
call sub.MSVCR120.dll_memcpy
push dword [ebp - 0x418]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 0x10
lea eax, [ebp - 0x404]
push str.__randomize_hosts
push eax
call ebx
add esp, 8
test eax, eax
je 0x42414f
push str.WARNING:_You_are_attempting_to_resume_a_scan_which_used___randomize_hosts.__Some_hosts_in_the_last_randomized_batch_may_be_missed_and_others_may_be_repeated_once
call fcn.00431e00
add esp, 4
push dword [ebp - 0x420]
lea eax, [ebp - 0x404]
push eax
call fcn.004815b0
mov ecx, dword [ebp - 0x414]
add esp, 8
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x4243a2
push str._nHost:
push esi
call ebx
add esp, 8
test eax, eax
je 0x4241e5
add eax, 7
push str._nHost:
push eax
mov dword [ebp - 0x408], eax
call ebx
add esp, 8
test eax, eax
jne 0x424184
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x4241e5
push 0x20
push eax
mov eax, dword [sym.imp.MSVCR120.dll_strchr]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x4243ad
lea eax, [ebp - 0x40c]
mov byte [esi], 0
push eax
push dword [ebp - 0x408]
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x4243b8
mov byte [esi], 0x20
jmp 0x42431d
push str._n_address_addr_
push esi
call ebx
add esp, 8
test eax, eax
je 0x424255
add eax, 0x10
push str._n_address_addr_
push eax
mov dword [ebp - 0x408], eax
call ebx
add esp, 8
test eax, eax
jne 0x4241f4
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x424255
push 0x22
push eax
mov eax, dword [sym.imp.MSVCR120.dll_strchr]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x4243c3
lea eax, [ebp - 0x40c]
mov byte [esi], 0
push eax
push dword [ebp - 0x408]
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x4243ce
mov byte [esi], 0x22
jmp 0x42431d
push str._nNmap_scan_report_for
push esi
call ebx
add esp, 8
test eax, eax
je 0x424306
jmp 0x424270
add eax, 0x16
push str._nNmap_scan_report_for
push eax
mov esi, eax
call ebx
add esp, 8
test eax, eax
jne 0x424270
test esi, esi
je 0x424306
mov eax, dword [sym.imp.MSVCR120.dll_strchr]
push 0xa
push esi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4243d9
push 0x28
push esi
mov byte [ebx], 0
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x4242bb
push esi
jmp 0x4242c4
mov byte [ebx], 0xa
dec ebx
inc eax
push eax
mov byte [ebx], 0
call dword [sym.imp.MSVCR120.dll__strdup]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x414], 0
mov ecx, 0x29
mov eax, 0xa
cmovne eax, ecx
mov byte [ebx], al
lea eax, [ebp - 0x40c]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x4243e4
push esi
call dword [sym.imp.MSVCR120.dll_free]
jmp 0x42431a
push str.Warning:_You_asked_for___resume_but_it_doesnt_look_like_any_hosts_in_the_log_file_were_successfully_scanned.__Starting_from_the_beginning.
call fcn.00431e00
mov dword [ebp - 0x40c], 0
add esp, 4
mov eax, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x41c]
mov dword [0x67e0b4], eax
mov eax, dword [ebp - 0x410]
mov byte [eax + esi - 1], 0xa
push dword [ebp - 0x410]
push esi
call fcn.00482190
add esp, 8
test eax, eax
je 0x424365
push dword [ebp - 0x410]
push esi
push str.gather_logfile_resumption_state
push str._s:_error_in_munmap__p___u_
call fcn.00431f60
add esp, 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bb11e
mov esp, ebp
pop ebp
ret
push edi
push str.Could_not_mmap____s_read_write
call fcn.00431e30
push edi
push str.Output_file__s_is_too_short____no_use_resuming
call fcn.00431e30
push str.0verfl0w
call fcn.00431e30
push str.0verfl0w
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Sorry
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Sorry
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Sorry
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Sorry
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Sorry
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Sorry
call fcn.00431e30
push edi
push esi
push str.Unable_to_parse_ip___s__in_supposed_log_file__s.__Sorry
call fcn.00431e30
call fcn.004bb410
push edi
push str.Unable_to_parse_supposed_log_file__s.__Perhaps_the_Nmap_execution_had_not_finished_at_least_one_host___In_that_case_there_is_no_use__resuming_
call fcn.00431e30
push edi
push str.Unable_to_parse_supposed_log_file__s.__Are_you_sure_this_is_an_Nmap_output_file_
call fcn.00431e30
int3