Function at 0x140008450
Capabilities:
Read file on windows
Terminate process

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xffe8]
mov eax, 0x100e8
call fcn.14004e810
sub rsp, rax
mov rax, qword [0x140068008]
xor rax, rsp
mov qword [rbp + 0xffd0], rax
xor esi, esi
mov r12, rdx
mov r14, rcx
test rdx, rdx
je 0x140008829
cmp byte [rdx], sil
je 0x140008829
cmp byte [rdx], 0x2d
mov qword [rsp + 0x10130], rbx
mov qword [rsp + 0x100e0], rdi
jne 0x1400085a9
cmp byte [rdx + 1], sil
jne 0x1400085a9
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
mov r15d, 1
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x70], r15
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x37], 8
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
nop dword [rax]
mov r9, rdi
lea rcx, [rbp - 0x30]
mov r8d, 0x10000
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
test rax, rax
je 0x1400086a4
mov qword [rsp + 0x40], 0
nop dword [rax + rax]
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x34]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140007660
test eax, eax
je 0x140008630
sub eax, r15d
je 0x140008665
sub eax, r15d
je 0x14000861b
cmp eax, r15d
jne 0x140008665
movups xmm0, xmmword [rbp - 0x58]
lea r8, [rsp + 0x50]
movups xmm1, xmmword [rbp - 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [r14 + 0x20]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.14000ade0
inc esi
jmp 0x140008655
lea rdx, [0x140055114]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
jne 0x1400084ce
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____FAIL:_parsing_IP_addresses_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea ecx, [rdi + 2]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea rdx, str._____s:__s_n
mov rcx, rax
mov r8, r12
call fcn.140001010
lea ecx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, dword [rsp + 0x30]
mov rcx, r14
mov edx, dword [rsp + 0x34]
call fcn.1400092f0
inc esi
jmp 0x140008655
cmp qword [rsp + 0x40], rbx
jae 0x140008500
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____rangeparse_next__:_unknown_coding_failure_n
call fcn.140001010
cmp qword [rsp + 0x40], rbx
jb 0x140008530
jmp 0x140008500
mov rdi, qword [rsp + 0x70]
mov ecx, 2
mov rbx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x28], rdi
lea rdx, str._____s:_llu:_llu:_invalid_IP_address_on_line__llu_n
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8, r12
call fcn.140001010
mov rdi, qword [rsp + 0x38]
movzx ebx, r15b
jmp 0x1400086a6
xor bl, bl
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x1400086c1
test rdi, rdi
je 0x1400086c1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test bl, bl
jne 0x140008803
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9, r15
lea rdx, [0x14005453c]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140007660
test eax, eax
je 0x140008803
sub eax, r15d
je 0x1400087a8
sub eax, r15d
je 0x140008745
cmp eax, r15d
jne 0x1400087a8
movups xmm0, xmmword [rbp - 0x58]
lea r8, [rsp + 0x60]
movups xmm1, xmmword [rbp - 0x68]
lea rdx, [rsp + 0x50]
lea rcx, [r14 + 0x20]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.14000ade0
jmp 0x140008756
mov r8d, dword [rsp + 0x34]
mov rcx, r14
mov edx, dword [rsp + 0x30]
call fcn.1400092f0
inc esi
lea rdx, str.____s:__u_addresses_read_n
mov r9d, esi
mov r8, r12
mov ecx, r15d
call fcn.14004d730
mov rcx, r14
call fcn.1400091e0
xor eax, eax
mov rbx, qword [rsp + 0x10130]
mov rdi, qword [rsp + 0x100e0]
mov rcx, qword [rbp + 0xffd0]
xor rcx, rsp
call fcn.14004da00
add rsp, 0x100e8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov rdi, qword [rsp + 0x70]
mov ecx, 2
mov rbx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x28], rdi
lea rdx, str._____s:_llu:_llu:_invalid_IP_address_on_line__llu_n
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8, r12
call fcn.140001010
mov r9d, esi
lea rdx, str.____s:__u_addresses_read_n
mov r8, r12
mov ecx, r15d
call fcn.14004d730
mov rcx, r14
call fcn.1400091e0
mov eax, 0xffffffff
jmp 0x140008777
mov r9d, esi
lea rdx, str.____s:__u_addresses_read_n
mov r8, r12
mov ecx, r15d
call fcn.14004d730
mov rcx, r14
call fcn.1400091e0
neg bl
sbb eax, eax
jmp 0x140008777
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____missing_filename_for_ranges_n
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3