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 [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x588], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], r13
movaps xmm6, xmmword [0x140215460]
movaps xmmword [rsp + 0x60], xmm6
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x140039f93
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov r9, 0xffffffffffffffff
test rax, rax
je 0x140039fbc
add rax, rax
test rax, rax
je 0x140039fbc
lea r8, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, r8
jne 0x140039fa2
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.140099a00
lea r12, [rsp + 0x40]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
lea r8, [0x140215864]
mov rcx, r12
mov rdx, r15
call fcn.140039a50
lea r15, [rsp + 0x180]
mov r8d, 0x400
mov rcx, r15
mov dl, 0xaa
call fcn.140154340
cmp byte [r12 + 0x17], 0
jns 0x14003a025
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 0x14003a0ec
mov rax, qword [rsp + 0x610]
lea rcx, [sym.launcher.exe_Launch]
mov qword [rax], rcx
cmp byte [rsp + 0x57], 0
jns 0x14003a0ac
mov rcx, qword [rsp + 0x40]
call fcn.14015082c
cmp byte [rsp + 0x77], 0
jns 0x14003a0bd
mov rcx, qword [rsp + 0x60]
call fcn.14015082c
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.1401513b0
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.14018ef40
mov rcx, r15
mov rdx, r14
call fcn.140039bb0
cmp byte [r15 + 0x17], 0
jns 0x14003a149
mov rcx, qword [rsp + 0x140]
call fcn.14015082c
lea r14, [rsp + 0x140]
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rdx, str.__subfolder_:
mov rcx, r14
call fcn.14018f050
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x160]
mov r8, r14
call fcn.14003a590
cmp byte [rbx + 0x17], 0
jns 0x14003a18e
mov rcx, qword [rbx]
call fcn.14015082c
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 0x14003a1b1
mov rax, qword [rbx + 8]
cmp rax, 2
jae 0x14003a1f1
xor r14d, r14d
cmp byte [rsp + 0x157], 0
jns 0x14003a1d1
mov rcx, qword [rsp + 0x140]
call fcn.14015082c
cmp byte [rsp + 0x177], 0
jns 0x14003a089
mov rcx, qword [rsp + 0x160]
call fcn.14015082c
jmp 0x14003a089
xor r14d, r14d
mov rcx, rbx
xor edx, edx
call fcn.1401b6c20
cmp word [rax], 0x22
jne 0x14003a1ba
movzx edx, byte [rbx + 0x17]
test dl, dl
jns 0x14003a210
mov rdx, qword [rbx + 8]
dec rdx
mov rcx, rbx
call fcn.1401b6c20
cmp word [rax], 0x22
jne 0x14003a1b7
movzx r9d, byte [rbx + 0x17]
test r9b, r9b
jns 0x14003a22f
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.140099a00
cmp byte [rbx + 0x17], 0
jns 0x14003a264
mov rcx, qword [rbx]
call fcn.14015082c
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.14018f050
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.14003a590
movzx eax, byte [rbx + 0x17]
test al, al
mov r8, qword [rbx + 8]
mov rcx, rax
cmovs rcx, r8
test rcx, rcx
je 0x14003a2ff
test al, al
js 0x14003a339
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.14003a820
test al, al
jne 0x14003a350
xor r14d, r14d
cmp byte [rsp + 0x117], 0
jns 0x14003a319
mov rcx, qword [rsp + 0x100]
call fcn.14015082c
cmp byte [rsp + 0x137], 0
jns 0x14003a1ba
mov rcx, qword [rsp + 0x120]
call fcn.14015082c
jmp 0x14003a1ba
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.1400991f0
jmp 0x14003a2ee
movzx eax, byte [rsp + 0x117]
test al, al
mov rdx, rax
cmovs rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov r8, rbx
cmovs r8, rcx
test rdx, rdx
js 0x14003a52a
je 0x14003a389
test r8, r8
je 0x14003a556
cmp rdx, 4
jne 0x14003a3c5
cmp word [r8], 0x74
jne 0x14003a3c5
test al, al
mov rdx, rbx
cmovs rdx, rcx
cmp word [rdx + 2], 0x72
jne 0x14003a3c5
test al, al
mov rdx, rbx
cmovs rdx, rcx
cmp word [rdx + 4], 0x75
jne 0x14003a3c5
test al, al
cmovs rbx, rcx
mov al, 1
cmp word [rbx + 6], 0x65
je 0x14003a3c7
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.14018f050
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.14003a590
movzx ecx, byte [rdi + 0x17]
test cl, cl
mov r8, qword [rdi + 8]
mov rax, rcx
cmovs rax, r8
test rax, rax
je 0x14003a4d3
test cl, cl
js 0x14003a510
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.14003a820
mov cl, byte [rsp + 0xb7]
test al, al
je 0x14003a4dc
movzx eax, cl
test al, al
mov rdx, qword [rsp + 0xa8]
cmovns rdx, rax
mov rax, qword [rsp + 0xa0]
mov r8, rdi
cmovs r8, rax
test rdx, rdx
js 0x14003a52a
je 0x14003a497
test r8, r8
je 0x14003a556
cmp rdx, 4
jne 0x14003a4d3
cmp word [r8], 0x74
jne 0x14003a4d3
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 2], 0x72
jne 0x14003a4d3
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 4], 0x75
jne 0x14003a4d3
test cl, cl
cmovs rdi, rax
mov al, 1
cmp word [rdi + 6], 0x65
je 0x14003a4d5
xor eax, eax
mov byte [rsi], al
mov r14b, 1
jmp 0x14003a4df
xor r14d, r14d
test cl, cl
jns 0x14003a4f0
mov rcx, qword [rsp + 0xa0]
call fcn.14015082c
cmp byte [rsp + 0xd7], 0
jns 0x14003a302
mov rcx, qword [rsp + 0xc0]
call fcn.14015082c
jmp 0x14003a302
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.1400991f0
jmp 0x14003a44b
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.140191960
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.140191960
int3