Function at 0x140039f30
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5a8
movaps xmmword [rsp + 0x590], xmm6
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov rdx, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x588], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], r13
movaps xmm6, xmmword [0x1402184a0]
movaps xmmword [rsp + 0x60], xmm6
movzx eax, byte [rcx + 0x17]
test al, al
js 0x140039f94
and eax, 0x7f
mov rcx, rdx
jmp 0x140039f9b
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov r9, 0xffffffffffffffff
test rax, rax
je 0x140039fc4
add rax, rax
test rax, rax
je 0x140039fc4
lea r8, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, r8
jne 0x140039faa
sar r8, 1
mov r9, r8
inc r9
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
xor r14d, r14d
lea r15, [rsp + 0x60]
mov rcx, r15
xor r8d, r8d
call fcn.14009ad90
lea r12, [rsp + 0x40]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
lea r8, [0x1402188a4]
mov rcx, r12
mov rdx, r15
call fcn.140039a50
lea r15, [rsp + 0x180]
mov r8d, 0x400
mov rcx, r15
mov dl, 0xaa
call fcn.140157270
cmp byte [r12 + 0x17], 0
jns 0x14003a02d
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov rcx, r12
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
lea r9, [rsp + 0x17c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, r15
mov r8d, 0x3ff
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x14003a0f4
mov rax, qword [rsp + 0x610]
lea rcx, [sym.launcher.exe_Launch]
mov qword [rax], rcx
cmp byte [rsp + 0x57], 0
jns 0x14003a0b4
mov rcx, qword [rsp + 0x40]
call fcn.1401536dc
cmp byte [rsp + 0x77], 0
jns 0x14003a0c5
mov rcx, qword [rsp + 0x60]
call fcn.1401536dc
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.1401542e0
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x590]
add rsp, 0x5a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x17c]
mov byte [rsp + rax + 0x180], 0
xorps xmm0, xmm0
lea r14, [rsp + 0x160]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
lea r15, [rsp + 0x140]
lea rdx, [rsp + 0x180]
mov rcx, r15
call fcn.140191c90
mov rcx, r15
mov rdx, r14
call fcn.140039bb0
cmp byte [r15 + 0x17], 0
jns 0x14003a151
mov rcx, qword [rsp + 0x140]
call fcn.1401536dc
lea r14, [rsp + 0x140]
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rdx, str.__subfolder_:
mov rcx, r14
call fcn.140191da0
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x160]
mov r8, r14
call fcn.14003a5a0
cmp byte [rbx + 0x17], 0
jns 0x14003a196
mov rcx, qword [rbx]
call fcn.1401536dc
mov rax, qword [rsp + 0x130]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rbx], xmm0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14003a1b9
mov rax, qword [rbx + 8]
cmp rax, 2
jae 0x14003a1f9
xor r14d, r14d
cmp byte [rsp + 0x157], 0
jns 0x14003a1d9
mov rcx, qword [rsp + 0x140]
call fcn.1401536dc
cmp byte [rsp + 0x177], 0
jns 0x14003a091
mov rcx, qword [rsp + 0x160]
call fcn.1401536dc
jmp 0x14003a091
xor r14d, r14d
mov rcx, rbx
xor edx, edx
call fcn.1401ba090
cmp word [rax], 0x22
jne 0x14003a1c2
movzx edx, byte [rbx + 0x17]
test dl, dl
jns 0x14003a218
mov rdx, qword [rbx + 8]
dec rdx
mov rcx, rbx
call fcn.1401ba090
cmp word [rax], 0x22
jne 0x14003a1bf
movzx r9d, byte [rbx + 0x17]
test r9b, r9b
jns 0x14003a237
mov r9, qword [rbx + 8]
add r9, 0xfffffffffffffffe
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x120]
mov r8d, 1
mov rdx, rbx
call fcn.14009ad90
cmp byte [rbx + 0x17], 0
jns 0x14003a26c
mov rcx, qword [rbx]
call fcn.1401536dc
lea r14, [rsp + 0x120]
mov rax, qword [r14 + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rdx, str.__all_users_:
mov rcx, r14
call fcn.140191da0
lea rbx, [rsp + 0x100]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rdx, [rsp + 0x160]
mov rcx, rbx
mov r8, r14
call fcn.14003a5a0
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov r8, qword [rbx + 8]
cmovs rcx, r8
test rcx, rcx
je 0x14003a309
test al, al
js 0x14003a343
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rax
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0xe0]
call fcn.14003a850
test al, al
jne 0x14003a35a
xor r14d, r14d
cmp byte [rsp + 0x117], 0
jns 0x14003a323
mov rcx, qword [rsp + 0x100]
call fcn.1401536dc
cmp byte [rsp + 0x137], 0
jns 0x14003a1c2
mov rcx, qword [rsp + 0x120]
call fcn.1401536dc
jmp 0x14003a1c2
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.14009a550
jmp 0x14003a2f8
movzx eax, byte [rsp + 0x117]
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov r8, rbx
cmovs r8, rcx
test rdx, rdx
js 0x14003a542
test r8, r8
jne 0x14003a398
test rdx, rdx
jne 0x14003a56e
cmp rdx, 4
jne 0x14003a3d4
cmp word [r8], 0x74
jne 0x14003a3d4
test al, al
mov rdx, rbx
cmovs rdx, rcx
cmp word [rdx + 2], 0x72
jne 0x14003a3d4
test al, al
mov rdx, rbx
cmovs rdx, rcx
cmp word [rdx + 4], 0x75
jne 0x14003a3d4
test al, al
cmovs rbx, rcx
mov al, 1
cmp word [rbx + 6], 0x65
je 0x14003a3d6
xor eax, eax
mov byte [rdi], al
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rdx, str.__launch_from_install_dir_:
mov rcx, rbx
call fcn.140191da0
lea rdi, [rsp + 0xa0]
mov qword [rdi + 0x10], r13
movaps xmmword [rdi], xmm6
lea rdx, [rsp + 0x160]
mov rcx, rdi
mov r8, rbx
call fcn.14003a5a0
movzx ecx, byte [rdi + 0x17]
mov eax, ecx
and eax, 0x7f
test cl, cl
mov r8, qword [rdi + 8]
cmovs rax, r8
test rax, rax
je 0x14003a4cf
test cl, cl
js 0x14003a507
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x80]
call fcn.14003a850
mov cl, byte [rsp + 0xb7]
test al, al
jne 0x14003a479
xor r14d, r14d
jmp 0x14003a4d6
movzx eax, cl
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
mov r8, rdi
cmovs r8, rax
test rdx, rdx
js 0x14003a542
test r8, r8
jne 0x14003a4b2
test rdx, rdx
jne 0x14003a56e
cmp rdx, 4
jne 0x14003a4cf
cmp word [r8], 0x74
jne 0x14003a4cf
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 2], 0x72
je 0x14003a521
xor eax, eax
mov byte [rsi], al
mov r14b, 1
test cl, cl
jns 0x14003a4e7
mov rcx, qword [rsp + 0xa0]
call fcn.1401536dc
cmp byte [rsp + 0xd7], 0
jns 0x14003a30c
mov rcx, qword [rsp + 0xc0]
call fcn.1401536dc
jmp 0x14003a30c
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.14009a550
jmp 0x14003a45c
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 4], 0x75
jne 0x14003a4cf
test cl, cl
cmovs rdi, rax
mov al, 1
cmp word [rdi + 6], 0x65
je 0x14003a4d1
jmp 0x14003a4cf
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x135
call fcn.140194730
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x136
call fcn.140194730
int3