Function at 0x140014eb0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r9
mov edi, r8d
mov r14, rdx
mov r13, qword [0x14003da78]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, [0x140040ea0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
test rax, rax
je 0x1400151a9
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov ebp, 6
test eax, eax
jne 0x14001519f
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
test eax, eax
jle 0x14001519f
mov r12d, eax
lea rcx, [r12 + 1]
call fcn.140017740
mov r15, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov ebp, 6
test eax, eax
jne 0x140015197
mov edx, 1
mov rcx, r15
mov r8, r12
mov r9, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rax, r12
jne 0x140015197
mov byte [r15 + r12], 0
lea rcx, [0x140040ea9]
lea rdx, [rsp + 0x48]
lea r10, [0x140040eb3]
xor r11d, r11d
xor r9d, r9d
mov qword [rsp + 0x40], r15
lea r12, [r15 + 1]
mov rax, r15
jmp 0x140014fa6
inc rax
inc r12
movzx r8d, byte [rax]
cmp r8d, 0xa
je 0x140014fa0
cmp r8d, 0xd
je 0x140014fa0
mov r15, r12
test r8d, r8d
je 0x140015187
nop word cs:[rax + rax]
cmp r8b, 0xa
je 0x140014ff1
movzx r8d, r8b
cmp r8d, 0xd
je 0x140014ff1
movzx r8d, byte [r15]
inc r15
test r8b, r8b
jne 0x140014fd0
xor r15d, r15d
jmp 0x140014ff6
mov byte [r15 - 1], 0
mov qword [rsp + 0x48], rax
movzx eax, byte [rax]
cmp eax, 0x23
je 0x14001517e
cmp eax, 0x3b
je 0x14001517e
jmp 0x140015028
movzx eax, byte [r12]
inc r12
cmp al, 9
je 0x140015020
movzx eax, al
cmp eax, 0x20
je 0x140015020
lea rbp, [r12 - 1]
mov qword [rsp + 0x48], rbp
movzx eax, byte [r12 - 1]
test eax, eax
je 0x14001517e
cmp eax, 0x5b
jne 0x140015088
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x48], r12
mov rbp, rdx
call fcn.1400151e0
test rax, rax
je 0x140015080
lea rcx, [0x140040ea6]
mov rdx, rbp
call fcn.1400151e0
test rax, rax
je 0x140015144
xor r11d, r11d
jmp 0x140015166
test r11b, 1
je 0x14001517e
mov dword [rsp + 0x2c], r11d
mov dword [rsp + 0x28], r9d
mov rcx, r10
call fcn.1400151e0
test rax, rax
je 0x140015125
mov rcx, r14
mov rdx, rbp
call fcn.140015290
test eax, eax
js 0x140015125
mov r12d, eax
cmp eax, edi
jae 0x140015125
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rcx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + 1]
mov qword [rsp + 0x30], rcx
call fcn.140017740
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r12d, r12d
mov rcx, qword [rbx + r12*8]
mov qword [rbx + r12*8], rbp
test rcx, rcx
je 0x140015107
call fcn.1400177b0
mov rbp, qword [rbx + r12*8]
mov rcx, rbp
mov rdx, qword [rsp + 0x38]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov r9d, dword [rsp + 0x28]
inc r9d
lea rcx, [0x140040ea9]
jmp 0x140015131
lea rcx, [0x140040ea9]
mov r9d, dword [rsp + 0x28]
lea rdx, [rsp + 0x48]
lea r10, [0x140040eb3]
mov r11d, dword [rsp + 0x2c]
jmp 0x14001517e
mov rdx, qword [rsp + 0xc0]
mov rcx, r12
test rdx, rdx
jne 0x14001515b
lea rdx, str.Strings
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
sete r11b
lea rcx, [0x140040ea9]
mov r9d, dword [rsp + 0x28]
lea rdx, [rsp + 0x48]
lea r10, [0x140040eb3]
test r15, r15
jne 0x140014f8b
xor eax, eax
cmp r9d, edi
setne al
lea ebp, [rax + rax*4]
mov r15, qword [rsp + 0x40]
mov rcx, r15
call fcn.1400177b0
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
jmp 0x1400151ae
mov ebp, 6
mov rax, qword [rsp + 0x50]
xor rax, rsp
mov rcx, qword [r13]
cmp rcx, rax
jne 0x1400151d2
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140018700
int3