Function at 0x140010b10
Capabilities:
Read file on windows

Disassembly:
push r15
mov eax, 0x100f8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140041200
sub rsp, rax
mov rax, rcx
mov qword [rsp + 0x10140], rcx
mov rbx, rdx
mov qword [rsp + 0x80], 0
add rax, 0x20
cmp byte [rdx], 0x2d
mov qword [rsp + 0x40], rax
jne 0x140010ca0
cmp byte [rdx + 1], 0
jne 0x140010ca0
mov r15, qword [dbg.__acrt_iob_func]
xor ecx, ecx
call r15
mov qword [rsp + 0x80], rax
mov r9, rax
lea rdx, [rsp + 0x98]
xor eax, eax
mov ecx, 0xb
mov qword [rsp + 0x90], 1
mov rdi, rdx
mov qword [rsp + 0x10148], rbx
lea rsi, [rsp + 0xf0]
lea r12, [rsp + 0x88]
rep stosq qword [rdi], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], r15
xor edi, edi
mov qword [rsp + 0x48], rax
lea r14, [rsp + 0x7c]
lea r13, [rsp + 0x78]
mov byte [rsp + 0xe9], 8
lea rbp, [rsp + 0x90]
jmp 0x140010bfe
test eax, eax
jne 0x140010d08
cmp qword [rsp + 0x88], rbx
jb 0x140010db0
mov r9, qword [rsp + 0x80]
mov r8d, 0x10000
mov edx, 1
mov rcx, rsi
call sym.fread
mov rbx, rax
test rax, rax
je 0x140010dd0
mov qword [rsp + 0x88], 0
lea r15, [rsp + 0x60]
nop
mov qword [rsp + 0x28], r14
mov r9, rbx
mov r8, r12
mov rdx, rsi
mov qword [rsp + 0x20], r13
mov rcx, rbp
call dbg._parser_next
cmp eax, 2
je 0x140010ce0
cmp eax, 3
jne 0x140010be0
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rdx, r15
add edi, 1
movdqu xmm0, xmmword [rsp + 0xb8]
movdqu xmm1, xmmword [rsp + 0xc8]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm1
call dbg.range6list_add_range
mov rax, qword [rsp + 0x88]
cmp rax, rbx
jb 0x140010c30
jmp 0x140010bf6
lea rcx, [rsp + 0x80]
lea r8, [0x1400555a2]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_fopen_s]
test eax, eax
jne 0x140010ed5
mov r9, qword [rsp + 0x80]
test r9, r9
je 0x140010ed5
mov r15, qword [dbg.__acrt_iob_func]
jmp 0x140010b76
mov r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
add edi, 1
mov rcx, qword [rsp + 0x10140]
call dbg.rangelist_add_range
mov rax, qword [rsp + 0x88]
jmp 0x140010c92
mov rsi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x38]
mov ecx, 2
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x10148]
call r15
mov qword [rsp + 0x28], rsi
mov r9, rsi
lea rdx, str._____s:_llu:_llu:_invalid_IP_address_on_line__llu_n
mov qword [rsp + 0x20], rbp
mov rcx, rax
mov r8, rbx
call sym.fprintf_8
xor ecx, ecx
call r15
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
je 0x140010d70
test rcx, rcx
je 0x140010d70
call sym.fclose
nop dword [rax + rax]
mov esi, 0xffffffff
mov r9d, edi
mov r8, rbx
mov ecx, 1
lea rdx, str.____s:__u_addresses_read_n
call dbg.LOG
mov rcx, qword [rsp + 0x10140]
call dbg.rangelist_sort
mov eax, esi
add rsp, 0x100f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x38]
mov ecx, 2
call rax
lea rdx, str.____rangeparse_next__:_unknown_coding_failure_n
mov rcx, rax
call sym.fprintf_8
jmp 0x140010c30
xor ecx, ecx
mov rbx, qword [rsp + 0x10148]
mov r15, qword [rsp + 0x38]
call r15
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
je 0x140010df9
test rcx, rcx
je 0x140010df9
call sym.fclose
mov qword [rsp + 0x28], r14
mov r9d, 1
mov r8, r12
mov rcx, rbp
mov qword [rsp + 0x20], r13
lea rdx, [0x14005560c]
mov qword [rsp + 0x88], 0
call dbg._parser_next
cmp eax, 2
je 0x140010eb5
cmp eax, 3
je 0x140010e7b
xor esi, esi
test eax, eax
je 0x140010d75
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov ecx, 2
call r15
mov r8, rbx
lea rdx, str._____s:_llu:_llu:_invalid_IP_address_on_line__llu_n
mov qword [rsp + 0x28], rsi
mov rcx, rax
mov r9, rsi
mov qword [rsp + 0x20], rbp
call sym.fprintf_8
jmp 0x140010d70
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
add edi, 1
xor esi, esi
movdqu xmm2, xmmword [rsp + 0xb8]
lea r8, [rsp + 0x50]
movdqu xmm3, xmmword [rsp + 0xc8]
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rsp + 0x50], xmm3
call dbg.range6list_add_range
jmp 0x140010d75
mov r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
add edi, 1
xor esi, esi
mov rcx, qword [rsp + 0x10140]
call dbg.rangelist_add_range
jmp 0x140010d75
mov rcx, rbx
call sym.perror
mov ecx, 1
call sym.exit
nop
nop dword [rax + rax]