Function at 0x1800ab3f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x50
mov rbp, rdx
mov rsi, r8
xor edx, edx
mov r14, rcx
test r8, r8
jne 0x1800ab431
mov dword [rcx + 0x10], edx
mov rax, rcx
mov dword [rcx], 1
mov qword [rcx + 8], rdx
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov r8d, 2
mov qword [rsp + 0x60], rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test rbx, rbx
jns 0x1800ab47a
xor edx, edx
mov dword [r14], 2
mov dword [r14 + 0x10], edx
mov qword [r14 + 8], rdx
jmp 0x1800ab897
lea rcx, [rbx + 1]
mov qword [rsp + 0x68], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800ab4a7
xor edx, edx
mov dword [r14], 3
mov dword [r14 + 0x10], edx
mov qword [r14 + 8], rdx
jmp 0x1800ab892
mov r9, rsi
mov r8, rbx
mov esi, 1
mov rcx, rdi
mov edx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbx
je 0x1800ab4e1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edx, edx
mov dword [r14], 2
mov dword [r14 + 0x10], edx
mov qword [r14 + 8], rdx
jmp 0x1800ab892
cmp rbx, 4
jb 0x1800ab861
movzx r9d, byte [rdi]
mov rdx, rbx
movzx r8d, byte [rdi + 1]
movzx eax, byte [rdi + 2]
movzx ecx, byte [rdi + 3]
test r9b, r9b
jne 0x1800ab533
test r8b, r8b
jne 0x1800ab52d
cmp al, 0xfe
jne 0x1800ab520
cmp cl, 0xff
jne 0x1800ab864
mov esi, 6
jmp 0x1800ab86b
test al, al
jne 0x1800ab864
cmp cl, 0x3c
jmp 0x1800ab510
cmp r8b, 0x3c
jmp 0x1800ab55f
cmp r9b, 0xff
jne 0x1800ab555
cmp r8b, 0xfe
jne 0x1800ab864
test al, al
jne 0x1800ab54b
test cl, cl
je 0x1800ab590
mov esi, 2
jmp 0x1800ab86b
cmp r9b, 0xfe
jne 0x1800ab56f
cmp r8b, 0xff
jne 0x1800ab864
mov esi, 3
jmp 0x1800ab86b
cmp r9b, 0xef
je 0x1800ab864
cmp r9b, 0x3c
jne 0x1800ab864
test r8b, r8b
jne 0x1800ab59a
test al, al
jne 0x1800ab54b
test cl, cl
jne 0x1800ab54b
mov esi, 5
jmp 0x1800ab86b
cmp r8b, 0x3f
jne 0x1800ab864
cmp al, 0x78
jne 0x1800ab864
cmp cl, 0x6d
jne 0x1800ab864
cmp rbx, 6
jb 0x1800ab861
xor edx, edx
cmp byte [rdi + 4], 0x6c
mov eax, edx
sete al
cmp r9b, 0x3c
cmove edx, eax
test edx, edx
je 0x1800ab861
movzx eax, byte [rdi + 5]
lea r11, [0x180116920]
test byte [rax + r11], 8
je 0x1800ab861
mov r8d, 6
mov rdx, rbx
cmp rbx, 7
jbe 0x1800ab864
mov r9, rsi
lea rcx, [rdi + 6]
sub r9, rdi
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x3f
je 0x1800ab864
inc rcx
cmp al, 0x65
jne 0x1800ab627
cmp byte [rcx], 0x6e
je 0x1800ab638
inc r8
lea rax, [r9 + rcx]
cmp rax, rbx
jb 0x1800ab610
jmp 0x1800ab864
cmp r8, rbx
jae 0x1800ab864
lea rcx, [r8 + 1]
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x6e
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x63
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x6f
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x64
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x69
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x6e
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
cmp byte [rcx + rdi], 0x67
jne 0x1800ab864
inc rcx
cmp rcx, rbx
jae 0x1800ab864
nop dword [rax + rax]
movzx r8d, byte [rcx + rdi]
mov rax, rbx
test byte [r8 + r11], 8
je 0x1800ab70c
inc rcx
cmp rcx, rbx
jb 0x1800ab6f0
jmp 0x1800ab864
cmp r8b, 0x3d
jne 0x1800ab864
inc rcx
cmp rcx, rax
jae 0x1800ab737
nop
movzx eax, byte [rcx + rdi]
test byte [rax + r11], 8
je 0x1800ab806
inc rcx
cmp rcx, rdx
jb 0x1800ab720
mov r9b, 0x27
cmp rcx, rdx
jae 0x1800ab864
cmp byte [rcx + rdi], r9b
jne 0x1800ab864
inc rcx
mov r10, rcx
lea r8, [rcx + rdi]
cmp rcx, rdx
jae 0x1800ab773
nop dword [rax]
movzx eax, byte [rcx + rdi]
test byte [rax + r11], 0x40
je 0x1800ab773
inc rcx
cmp rcx, rdx
jb 0x1800ab760
mov rax, rcx
sub rax, r10
cmp rcx, rdx
jae 0x1800ab864
cmp byte [rcx + rdi], r9b
jne 0x1800ab864
cmp rax, 0xa
jne 0x1800ab817
movzx eax, byte [r8]
or al, 0x20
cmp al, 0x69
jne 0x1800ab864
movzx eax, byte [r8 + 1]
or al, 0x20
cmp al, 0x73
jne 0x1800ab864
movzx eax, byte [r8 + 2]
or al, 0x20
cmp al, 0x6f
jne 0x1800ab864
cmp byte [r8 + 3], 0x2d
jne 0x1800ab864
cmp byte [r8 + 4], 0x38
jne 0x1800ab864
cmp byte [r8 + 5], 0x38
jne 0x1800ab864
cmp byte [r8 + 6], 0x35
jne 0x1800ab864
cmp byte [r8 + 7], 0x39
jne 0x1800ab864
cmp byte [r8 + 8], 0x2d
jne 0x1800ab864
cmp byte [r8 + 9], 0x31
jne 0x1800ab864
mov esi, 9
jmp 0x1800ab86b
cmp al, 0x22
jne 0x1800ab737
movzx r9d, al
jmp 0x1800ab743
cmp rax, 6
jne 0x1800ab864
movzx eax, byte [r8]
or al, 0x20
cmp al, 0x6c
jne 0x1800ab864
movzx eax, byte [r8 + 1]
or al, 0x20
cmp al, 0x61
jne 0x1800ab864
movzx eax, byte [r8 + 2]
or al, 0x20
cmp al, 0x74
jne 0x1800ab864
movzx eax, byte [r8 + 3]
or al, 0x20
cmp al, 0x69
jne 0x1800ab864
movzx eax, byte [r8 + 4]
or al, 0x20
cmp al, 0x6e
jne 0x1800ab864
cmp byte [r8 + 5], 0x31
jne 0x1800ab864
mov esi, 9
jmp 0x1800ab86b
mov rdx, rbx
mov byte [rdi + rdx], 0
inc rdx
mov rax, qword [rsp + 0x88]
mov r9, rdi
mov qword [rsp + 0x48], rax
mov r8, rbp
mov dword [rsp + 0x30], esi
mov rcx, r14
mov qword [rsp + 0x20], rdx
mov rdx, rbp
call fcn.1800ab180
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rax, r14
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret