Function at 0x14000a720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x14027c920]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r12, r8
mov qword [rsp + 0x30], r8
mov rbx, rdx
xor r14d, r14d
mov dword [rsp + 0x78], r14d
cmp qword [rdx + 0x18], 8
jb 0x14000a769
mov rdx, qword [rdx]
lea r8, [0x1402453a8]
lea rcx, [rsp + 0x70]
call fcn.1401b8eac
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x14000aa24
mov ecx, 4
call fcn.1401ba634
mov rdi, rax
test rax, rax
je 0x14000aa24
xor eax, eax
mov dword [rdi], eax
mov r9, rsi
lea edx, [rax + 1]
lea r8d, [rax + 4]
mov rcx, rdi
call fcn.1401ba47c
mov rcx, rsi
call fcn.1401ba5c8
movzx eax, word [rdi]
mov ecx, 0xeffe
cmp ax, cx
jne 0x14000a7ea
cmp word [rdi + 2], 0
jne 0x14000aa1c
mov rcx, rdi
call fcn.1401b8d84
mov r15d, 0xfeff
mov r12d, 0xfffe
jmp 0x14000a83e
mov r15d, 0xfeff
test ax, ax
jne 0x14000a810
cmp word [rdi + 2], r15w
jne 0x14000aa1c
mov rcx, rdi
call fcn.1401b8d84
mov r12d, 0xfffe
jmp 0x14000a83e
cmp ax, r15w
jne 0x14000a826
mov rcx, rdi
call fcn.1401b8d84
mov r12d, 0xfffe
jmp 0x14000a83e
mov r12d, 0xfffe
cmp ax, r12w
jne 0x14000aa17
mov rcx, rdi
call fcn.1401b8d84
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x14000a84b
mov rbx, qword [rbx]
lea r8, [0x1402453a8]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1401b8eac
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14000aa10
mov edi, 2
mov r8d, edi
xor edx, edx
mov rcx, rbx
call fcn.1401ba8b0
mov rcx, rbx
call fcn.1401bad94
movsxd r13, eax
mov rcx, rbx
call fcn.1401bad9c
mov ecx, r13d
add ecx, edi
mov rbx, 0xffffffffffffffff
cmovb rcx, rbx
call fcn.1401ba634
mov rsi, rax
test rax, rax
je 0x14000aa10
lea ecx, [r13 + 2]
movsxd r8, ecx
xor edx, edx
mov rcx, rax
call fcn.1401b17b0
mov r8, r13
mov r9, qword [rsp + 0x70]
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.1401ba47c
mov rcx, qword [rsp + 0x70]
call fcn.1401ba5c8
xor cl, cl
mov r9, rsi
cmp r13d, 4
jle 0x14000a93a
movzx eax, word [rsi]
mov edx, 0xeffe
cmp ax, dx
jne 0x14000a909
cmp word [rsi + 2], 0
jne 0x14000a928
mov cl, 1
jmp 0x14000a980
test ax, ax
jne 0x14000a919
cmp word [rsi + 2], r15w
jne 0x14000a928
mov cl, 1
jmp 0x14000a980
cmp ax, r15w
jne 0x14000a928
mov cl, 1
mov edi, 1
jmp 0x14000a980
mov rdi, r14
cmp ax, r12w
jne 0x14000a980
mov cl, 1
mov edi, 1
jmp 0x14000a980
cmp r13d, 3
jle 0x14000a99e
movzx r8d, word [rsi]
mov eax, 0xefbb
cmp r8w, ax
jne 0x14000a986
mov eax, 0xbf
cmp word [rsi + 2], ax
jne 0x14000a962
mov r14d, 3
jmp 0x14000a97b
mov edx, 0xfe
mov eax, 0xff
cmp r8w, ax
jne 0x14000a97d
cmp word [rsi + 2], dx
jne 0x14000a97d
mov r14, rdi
mov cl, 1
mov rdi, r14
test cl, cl
je 0x14000a9d0
jmp 0x14000a9c4
mov edx, 0xfe
cmp r8w, dx
jne 0x14000a967
mov eax, 0xff
cmp word [rsi + 2], ax
jne 0x14000a96c
jmp 0x14000a978
cmp r13d, edi
jle 0x14000a9d0
movzx ecx, word [rsi]
mov edx, 0xfe
lea eax, [rdx + 1]
cmp cx, dx
jne 0x14000a9b9
cmp word [rsi + 2], ax
jmp 0x14000a9c2
cmp cx, ax
jne 0x14000a9d0
cmp word [rsi + 2], dx
jne 0x14000a9d0
lea r9, [rsi + rdi*2]
nop dword [rax + rax]
inc rbx
cmp word [r9 + rbx*2], 0
jne 0x14000a9d0
mov r8, rbx
mov rdx, r9
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140003e40
xor r8d, r8d
lea rdx, [0x140244e94]
mov rcx, rbx
call fcn.14000bd10
mov rcx, rsi
call fcn.1401b8d84
nop
mov al, 1
jmp 0x14000aea1
xor al, al
jmp 0x14000aea1
mov r12, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1401b8d84
mov rdx, rbx
lea rcx, [rsp + 0xb0]
call fcn.140003d40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rcx, qword [rsp + 0xb0]
lea rdx, [rsp + 0x80]
call fcn.1401ba1f4
cmp dword [rsp + 0x94], 0
jne 0x14000aad0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14000aac9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aac4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aed4
call fcn.1400042e0
xor al, al
jmp 0x14000aea1
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rdx, qword [rsp + 0xb0]
lea r8, [0x1402453a8]
lea rcx, [rsp + 0x70]
call fcn.1401b8eac
cmp qword [rsp + 0x70], 0
jne 0x14000ab52
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14000ab4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ab46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aed4
call fcn.1400042e0
xor al, al
jmp 0x14000aea1
mov eax, dword [rsp + 0x94]
inc eax
movsxd rcx, eax
call fcn.1400042d0
mov rsi, rax
test rax, rax
jne 0x14000abba
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14000abb3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000abae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aed4
call fcn.1400042e0
xor al, al
jmp 0x14000aea1
mov eax, dword [rsp + 0x94]
inc eax
movsxd r8, eax
xor edx, edx
mov rcx, rsi
call fcn.1401b17b0
movsxd rdx, dword [rsp + 0x94]
mov r9, qword [rsp + 0x70]
mov r8d, 1
mov rcx, rsi
call fcn.1401ba47c
movsxd rax, dword [rsp + 0x94]
mov byte [rax + rsi], 0
mov eax, dword [rsp + 0x94]
inc eax
movsxd rdx, eax
mov edi, 2
mov eax, edi
mul rdx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1400042d0
mov r15, rax
test rax, rax
jne 0x14000ac80
mov rcx, rsi
call fcn.140011dac
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14000ac79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aed4
call fcn.1400042e0
xor al, al
jmp 0x14000aea1
mov eax, dword [rsp + 0x94]
inc eax
movsxd r8, eax
add r8, r8
xor edx, edx
mov rcx, r15
call fcn.1401b17b0
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14000aca0
mov r9, rbx
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rax, dword [rsp + 0x94]
mov word [r15 + rax*2], r14w
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0xd0]
call fcn.1401b17b0
lea rcx, [rsp + 0xd0]
call fcn.14000b810
nop
mov rdx, r15
lea rcx, [rsp + 0xe0]
call fcn.14000ef10
lea rdx, [0x140244e94]
mov rcx, rax
call fcn.14000ef10
nop
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x78], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov rcx, qword [rsp + 0x158]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000ad82
mov rax, qword [rsp + 0x128]
mov r8, qword [rax]
test r8, r8
je 0x14000ad82
mov rax, qword [rsp + 0x108]
mov rdx, qword [rax]
cmp r8, qword [rsp + 0x150]
cmovb r8, qword [rsp + 0x150]
sub r8, rdx
sar r8, 1
jmp 0x14000adc5
test cl, 4
jne 0x14000adbb
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000adbb
mov rax, qword [rsp + 0x100]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x138]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x14000adc5
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000add5
lea rcx, [rsp + 0x38]
call fcn.140003e40
nop
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.140003ca0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000ae24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aece
call fcn.1400042e0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000ae38
call fcn.1401ba5c8
mov qword [rsp + 0x70], r14
mov rcx, r15
call fcn.140011dac
mov rcx, rsi
call fcn.140011dac
nop
lea rcx, [rsp + 0xd0]
call fcn.1400068c0
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14000ae9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aed4
call fcn.1400042e0
mov al, 1
jmp 0x14000aea1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401ad490
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1401b488c
nop
call fcn.1401b488c
int3