Function at 0x1800388b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x101f0
call fcn.18004a3b0
sub rsp, rax
movaps xmmword [rsp + 0x101e0], xmm6
movaps xmmword [rsp + 0x101d0], xmm7
movaps xmmword [rsp + 0x101c0], xmm8
movaps xmmword [rsp + 0x101b0], xmm9
movaps xmmword [rsp + 0x101a0], xmm10
movaps xmmword [rsp + 0x10190], xmm11
movaps xmmword [rsp + 0x10180], xmm12
movaps xmmword [rsp + 0x10170], xmm13
movaps xmmword [rsp + 0x10160], xmm14
mov rax, qword [0x180067dc0]
xor rax, rsp
mov qword [rsp + 0x10150], rax
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov qword [rsp + 0x28], r14
lea r8, [0x18004fe24]
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jne 0x180038961
xor al, al
jmp 0x18003935f
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
lea rcx, [rbx + 1]
call fcn.18004a040
mov rdi, rax
mov qword [rsp + 0x58], rax
mov byte [rax + rbx], r14b
mov r9, qword [rsp + 0x28]
mov r8, rbx
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbx
sete sil
mov byte [rsp + 0x20], sil
jne 0x180039341
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xe0], r14
mov dword [rsp + 0xe8], r14d
mov qword [rsp + 0x10138], r14
mov qword [rsp + 0x10140], r14
lea rax, [rsp + 0x138]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x138]
neg rax
and eax, 7
lea r8, [rsp + 0x138]
add rax, r8
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x10138]
mov qword [rsp + 0x130], rax
mov r8, rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0x100], r14
cmp byte [rdi], 0xef
jne 0x180038a62
cmp byte [rdi + 1], 0xbb
jne 0x180038a62
cmp byte [rdi + 2], 0xbf
jne 0x180038a62
lea r8, [rdi + 3]
mov qword [rsp + 0x30], r8
lea rbx, [0x18004fee0]
nop dword [rax]
movzx eax, byte [r8]
cmp byte [rax + rbx], 0
je 0x180038a8d
nop word [rax + rax]
inc r8
movzx eax, byte [r8]
cmp byte [rax + rbx], 0
jne 0x180038a80
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
jne 0x1800392b4
lea r11, str.mirvInput
mov r8, r11
nop dword [rax + rax]
inc r8
cmp byte [r8], 0
jne 0x180038ab0
sub r8, r11
mov rdx, qword [rsp + 0xf0]
test rdx, rdx
je 0x180039283
lea r15, [0x18006a258]
mov rcx, qword [rdx]
test rcx, rcx
je 0x180038ae2
mov rax, qword [rdx + 0x10]
jmp 0x180038ae8
mov rax, r14
mov rcx, r15
cmp rax, r8
jne 0x1800392a5
lea r10, [rcx + rax]
cmp rcx, r10
jae 0x180038b15
mov r9, r11
sub r9, rcx
movzx eax, byte [rcx + r9]
cmp byte [rcx], al
jne 0x1800392a5
inc rcx
cmp rcx, r10
jb 0x180038b00
lea r11, str.states
mov r9, r11
nop
inc r9
cmp byte [r9], 0
jne 0x180038b20
sub r9, r11
mov r8, qword [rdx + 0x30]
test r8, r8
je 0x180039283
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180038b4e
mov rax, qword [r8 + 0x10]
jmp 0x180038b54
mov rax, r14
mov rcx, r15
cmp rax, r9
jne 0x180039296
lea r10, [rax + rcx]
cmp rcx, r10
jae 0x180038b84
mov rdx, r11
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x180039296
inc rcx
cmp rcx, r10
jb 0x180038b70
lea r10, [0x180053450]
mov rdx, r10
nop
inc rdx
cmp byte [rdx], 0
jne 0x180038b90
sub rdx, r10
mov rsi, qword [r8 + 0x30]
test rsi, rsi
je 0x180038bec
mov rcx, qword [rsi]
test rcx, rcx
je 0x180038bb2
mov rax, qword [rsi + 0x10]
jmp 0x180038bb7
xor eax, eax
mov rcx, r15
cmp rax, rdx
jne 0x180038be3
lea r9, [rax + rcx]
cmp rcx, r9
jae 0x180038bee
mov r8, r10
sub r8, rcx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
jne 0x180038be3
inc rcx
cmp rcx, r9
jb 0x180038bd0
jmp 0x180038bee
mov rsi, qword [rsi + 0x58]
test rsi, rsi
jne 0x180038ba4
xor esi, esi
lea r11, [0x18004fde8]
lea rbx, [0x18004fdec]
lea rdi, [0x18004fdf0]
lea r14, [0x18004fdf8]
xorps xmm13, xmm13
movsd xmm14, qword [0x180050990]
lea rdx, str.name
test rsi, rsi
je 0x18003927e
mov r9, rdx
nop word [rax + rax]
inc r9
cmp byte [r9], 0
jne 0x180038c30
sub r9, rdx
mov r13, qword [rsi + 0x40]
mov r10, r13
mov qword [rsp + 0x30], r13
test r13, r13
je 0x1800391f1
mov rcx, qword [r10]
test rcx, rcx
je 0x180038c5f
mov rax, qword [r10 + 0x10]
jmp 0x180038c64
xor eax, eax
mov rcx, r15
cmp rax, r9
jne 0x18003922a
lea r8, [rax + rcx]
cmp rcx, r8
jae 0x180038c94
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x180039223
inc rcx
cmp rcx, r8
jb 0x180038c80
mov rdx, r11
inc rdx
cmp byte [rdx], 0
jne 0x180038c97
sub rdx, r11
mov r10, r13
mov rcx, qword [r10]
test rcx, rcx
je 0x180038cb3
mov rax, qword [r10 + 0x10]
jmp 0x180038cb8
xor eax, eax
mov rcx, r15
cmp rax, rdx
jne 0x180038ce3
lea r9, [rax + rcx]
cmp rcx, r9
jae 0x180038cec
mov r8, r11
sub r8, rcx
nop dword [rax]
movzx eax, byte [rcx + r8]
cmp byte [rcx], al
jne 0x180038ce3
inc rcx
cmp rcx, r9
jb 0x180038cd0
jmp 0x180038cec
mov r10, qword [r10 + 0x30]
test r10, r10
jne 0x180038ca5
mov rdx, rbx
nop
inc rdx
cmp byte [rdx], 0
jne 0x180038cf0
sub rdx, rbx
mov r12, r13
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x180038d10
mov rax, qword [r12 + 0x10]
jmp 0x180038d15
xor eax, eax
mov rcx, r15
cmp rax, rdx
jne 0x180038d43
lea r9, [rax + rcx]
cmp rcx, r9
jae 0x180038d4d
mov r8, rbx
sub r8, rcx
nop dword [rax]
movzx eax, byte [rcx + r8]
cmp byte [rcx], al
jne 0x180038d43
inc rcx
cmp rcx, r9
jb 0x180038d30
jmp 0x180038d4d
mov r12, qword [r12 + 0x30]
test r12, r12
jne 0x180038d00
mov rdx, rdi
inc rdx
cmp byte [rdx], 0
jne 0x180038d50
sub rdx, rdi
mov r15, r13
nop
mov rcx, qword [r15]
lea r11, [0x18006a258]
test rcx, rcx
je 0x180038d75
mov rax, qword [r15 + 0x10]
jmp 0x180038d7a
xor eax, eax
mov rcx, r11
cmp rax, rdx
jne 0x180038da3
lea r9, [rax + rcx]
cmp rcx, r9
jae 0x180038dac
mov r8, rdi
sub r8, rcx
nop
movzx eax, byte [rcx + r8]
cmp byte [rcx], al
jne 0x180038da3
inc rcx
cmp rcx, r9
jb 0x180038d90
jmp 0x180038dac
mov r15, qword [r15 + 0x30]
test r15, r15
jne 0x180038d60
mov rdx, r14
nop
inc rdx
cmp byte [rdx], 0
jne 0x180038db0
sub rdx, r14
mov r14, r13
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x180038dce
mov rax, qword [r14 + 0x10]
jmp 0x180038dd3
xor eax, eax
mov rcx, r11
cmp rax, rdx
jne 0x180038e03
lea r9, [rcx + rax]
cmp rcx, r9
jae 0x180038e0c
lea r8, [0x18004fdf8]
sub r8, rcx
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
cmp byte [rcx], al
jne 0x180038e03
inc rcx
cmp rcx, r9
jb 0x180038df0
jmp 0x180038e0c
mov r14, qword [r14 + 0x30]
test r14, r14
jne 0x180038dc0
lea rbx, [0x18004fdfc]
mov rdx, rbx
inc rdx
cmp byte [rdx], 0
jne 0x180038e16
sub rdx, rbx
mov rdi, r13
mov rcx, qword [rdi]
test rcx, rcx
je 0x180038e32
mov rax, qword [rdi + 0x10]
jmp 0x180038e37
xor eax, eax
mov rcx, r11
cmp rax, rdx
jne 0x180038e63
lea r9, [rax + rcx]
cmp rcx, r9
jae 0x180038e6c
mov r8, rbx
sub r8, rcx
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
cmp byte [rcx], al
jne 0x180038e63
inc rcx
cmp rcx, r9
jb 0x180038e50
jmp 0x180038e6c
mov rdi, qword [rdi + 0x30]
test rdi, rdi
jne 0x180038e24
lea rax, [0x18004fe00]
mov rdx, rax
inc rdx
cmp byte [rdx], 0
jne 0x180038e76
sub rdx, rax
mov rbx, r13
mov rcx, qword [rbx]
test rcx, rcx
je 0x180038e92
mov rax, qword [rbx + 0x10]
jmp 0x180038e97
xor eax, eax
mov rcx, r11
cmp rax, rdx
jne 0x180038ec3
lea r9, [rax + rcx]
cmp rcx, r9
jae 0x180038ecc
lea r8, [0x18004fe00]
sub r8, rcx
nop
movzx eax, byte [rcx + r8]
cmp byte [rcx], al
jne 0x180038ec3
inc rcx
cmp rcx, r9
jb 0x180038eb0
jmp 0x180038ecc
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180038e84
lea rax, [0x18004fdf4]
mov rdx, rax
inc rdx
cmp byte [rdx], 0
jne 0x180038ed6
sub rdx, rax
mov rcx, qword [r13]
test rcx, rcx
je 0x180038ef0
mov rax, qword [r13 + 0x10]
jmp 0x180038ef5
xor eax, eax
mov rcx, r11
cmp rax, rdx
jne 0x180038f23
lea r9, [rcx + rax]
cmp rcx, r9
jae 0x180038f2c
lea r8, [0x18004fdf4]
sub r8, rcx
nop dword [rax]
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
jne 0x180038f23
inc rcx
cmp rcx, r9
jb 0x180038f10
jmp 0x180038f2c
mov r13, qword [r13 + 0x30]
test r13, r13
jne 0x180038ee1
test r10, r10
je 0x180038f4b
mov rax, qword [r10 + 8]
mov rcx, r11
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm12, xmm0
jmp 0x180038f4f
movaps xmm12, xmm13
test r12, r12
je 0x180038f73
mov rax, qword [r12 + 8]
lea rcx, [0x18006a258]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm11, xmm0
jmp 0x180038f77
movaps xmm11, xmm13
test r15, r15
je 0x180038f9d
mov rax, qword [r15 + 8]
lea r15, [0x18006a258]
mov rcx, r15
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm10, xmm0
jmp 0x180038fa8
movaps xmm10, xmm13
lea r15, [0x18006a258]
test r14, r14
je 0x180038fc7
mov rax, qword [r14 + 8]
mov rcx, r15
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm9, xmm0
jmp 0x180038fcb
movaps xmm9, xmm13
test rdi, rdi
je 0x180038fea
mov rax, qword [rdi + 8]
mov rcx, r15
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm8, xmm0
jmp 0x180038fee
movaps xmm8, xmm13
test rbx, rbx
je 0x18003900c
mov rax, qword [rbx + 8]
mov rcx, r15
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm7, xmm0
jmp 0x180039010
movaps xmm7, xmm13
test r13, r13
je 0x18003902e
mov rax, qword [r13 + 8]
mov rcx, r15
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm6, xmm0
jmp 0x180039032
movaps xmm6, xmm14
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov rdx, r15
test rax, rax
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
xor r14d, r14d
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], r14
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x180039070
lea rcx, [rsp + 0x98]
call fcn.1800075e0
nop
mov rdi, qword [rsp + 0x50]
add rdi, 8
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800364e0
mov rbx, qword [rsp + 0x40]
cmp byte [rbx + 0x19], 0
jne 0x1800390cc
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.180036ad0
test al, al
je 0x180039167
movabs rax, 0x222222222222222
cmp qword [rdi + 8], rax
je 0x1800393bc
mov rbx, qword [rdi]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov ecx, 0x78
call fcn.180049f4c
nop
mov qword [rax + 0x30], r14
mov qword [rax + 0x38], r14
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0xa8]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rsp + 0x68], r14
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180011080
mov rbx, rax
movsd qword [rbx + 0x40], xmm12
movsd qword [rbx + 0x48], xmm11
movsd qword [rbx + 0x50], xmm10
movsd qword [rbx + 0x58], xmm8
movsd qword [rbx + 0x60], xmm9
movsd qword [rbx + 0x68], xmm7
movsd qword [rbx + 0x70], xmm6
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0xf
jbe 0x1800391d5
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800391d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800391d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180049f88
lea r14, [0x18004fdf8]
lea rdi, [0x18004fdf0]
lea rbx, [0x18004fdec]
lea r11, [0x18004fde8]
lea r10, [0x180053450]
mov r9, r10
nop dword [rax + rax]
inc r9
cmp byte [r9], 0
jne 0x180039200
sub r9, r10
mov rsi, qword [rsi + 0x58]
test rsi, rsi
je 0x18003927e
mov rcx, qword [rsi]
test rcx, rcx
je 0x18003923e
mov rax, qword [rsi + 0x10]
jmp 0x180039243
lea rdx, str.name
mov r10, qword [r10 + 0x30]
mov qword [rsp + 0x30], r10
test r10, r10
jne 0x180038c51
jmp 0x1800391f1
xor eax, eax
mov rcx, r15
cmp rax, r9
jne 0x180039275
lea r8, [rax + rcx]
cmp rcx, r8
jae 0x180038c17
mov rdx, r10
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
cmp byte [rcx], al
jne 0x180039275
inc rcx
cmp rcx, r8
jb 0x180039260
jmp 0x180038c17
mov rsi, qword [rsi + 0x58]
test rsi, rsi
jne 0x180039215
movzx esi, byte [rsp + 0x20]
lea rcx, [rsp + 0x120]
call fcn.18001a2b0
nop
jmp 0x180039341
mov r8, qword [r8 + 0x58]
test r8, r8
jne 0x180038b40
jmp 0x180039283
mov rdx, qword [rdx + 0x58]
test rdx, rdx
jne 0x180038ad4
jmp 0x180039283
cmp al, 0x3c
jne 0x1800393c2
lea rax, [r8 + 1]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc0]
call fcn.1800161b0
mov rcx, rax
test rax, rax
jne 0x1800392e9
mov r8, qword [rsp + 0x30]
jmp 0x180038a70
cmp qword [rsp + 0xf0], 0
je 0x18003930e
mov rax, qword [rsp + 0xf8]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x58], rcx
jmp 0x18003931a
mov qword [rax + 0x50], r14
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rcx
lea rax, [rsp + 0xc0]
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x58], r14
mov r8, qword [rsp + 0x30]
jmp 0x180038a70
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.180049f88
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movzx eax, sil
mov rcx, qword [rsp + 0x10150]
xor rcx, rsp
call fcn.18004a020
lea r11, [rsp + 0x101f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180011300
nop
lea rdx, [0x18004fec8]
lea rcx, [rsp + 0x70]
call fcn.18001a210
lea rdx, [0x180062a20]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3