Function at 0x140026420
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 [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x588], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], r13
movaps xmm6, xmmword [0x1401bc9e0]
movaps xmmword [rsp + 0x60], xmm6
movzx eax, byte [rcx + 0x17]
test al, al
js 0x14002648c
and eax, 0x7f
mov rcx, rdx
jmp 0x140026493
sar r8, 1
mov r9, r8
jmp 0x1400264a3
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov r9, 0xffffffffffffffff
test rax, rax
jne 0x1400266d8
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.140079e60
lea r12, [rsp + 0x40]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
lea r8, [0x1401c098a]
mov rcx, r12
mov rdx, r15
call fcn.140026ab0
lea r15, [rsp + 0x180]
mov r8d, 0x400
mov rcx, r15
mov dl, 0xaa
call fcn.14012ae40
cmp byte [r12 + 0x17], 0
jns 0x14002650c
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 0x1400265d3
mov rax, qword [rsp + 0x610]
lea rcx, [sym.launcher.exe_Launch]
mov qword [rax], rcx
cmp byte [rsp + 0x57], 0
jns 0x140026593
mov rcx, qword [rsp + 0x40]
call fcn.14012733c
cmp byte [rsp + 0x77], 0
jns 0x1400265a4
mov rcx, qword [rsp + 0x60]
call fcn.14012733c
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.140127eb0
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.140162800
mov rcx, r15
mov rdx, r14
call fcn.140026320
cmp byte [r15 + 0x17], 0
jns 0x140026630
mov rcx, qword [rsp + 0x140]
call fcn.14012733c
lea r14, [rsp + 0x140]
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rdx, str.__subfolder_:
mov rcx, r14
call fcn.140162920
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x160]
mov r8, r14
call fcn.140026c30
cmp byte [rbx + 0x17], 0
jns 0x140026675
mov rcx, qword [rbx]
call fcn.14012733c
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 0x140026698
mov rax, qword [rbx + 8]
cmp rax, 2
jae 0x1400266f8
xor r14d, r14d
cmp byte [rsp + 0x157], 0
jns 0x1400266b8
mov rcx, qword [rsp + 0x140]
call fcn.14012733c
cmp byte [rsp + 0x177], 0
jns 0x140026570
mov rcx, qword [rsp + 0x160]
call fcn.14012733c
jmp 0x140026570
add rax, rax
test rax, rax
je 0x1400264a3
lea r8, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, r8
jne 0x1400266db
jmp 0x140026484
xor r14d, r14d
mov rcx, rbx
xor edx, edx
call fcn.14017e320
cmp word [rax], 0x22
jne 0x1400266a1
movzx edx, byte [rbx + 0x17]
test dl, dl
jns 0x140026717
mov rdx, qword [rbx + 8]
dec rdx
mov rcx, rbx
call fcn.14017e320
cmp word [rax], 0x22
jne 0x14002669e
movzx r9d, byte [rbx + 0x17]
test r9b, r9b
jns 0x14002673a
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.140079e60
cmp byte [rbx + 0x17], 0
jns 0x14002676f
mov rcx, qword [rbx]
call fcn.14012733c
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.140162920
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.140026c30
movzx ecx, byte [rbx + 0x17]
mov eax, ecx
and eax, 0x7f
test cl, cl
mov r8, qword [rbx + 8]
cmovs rax, r8
test rax, rax
je 0x140026813
test cl, cl
js 0x140026847
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.140026ec0
mov cl, byte [rsp + 0x117]
test al, al
jne 0x14002685e
xor r14d, r14d
test cl, cl
jns 0x140026827
mov rcx, qword [rsp + 0x100]
call fcn.14012733c
cmp byte [rsp + 0x137], 0
jns 0x1400266a1
mov rcx, qword [rsp + 0x120]
call fcn.14012733c
jmp 0x1400266a1
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.1400798b0
jmp 0x1400267fb
movzx eax, cl
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x100]
mov r8, rbx
cmovs r8, rax
test rdx, rdx
js 0x140026a4a
test r8, r8
jne 0x140026897
test rdx, rdx
jne 0x140026a76
cmp rdx, 4
jne 0x1400268c8
cmp word [r8], 0x74
jne 0x1400268c8
test cl, cl
mov rdx, rbx
cmovs rdx, rax
cmp word [rdx + 2], 0x72
jne 0x1400268c8
test cl, cl
mov rdx, rbx
cmovs rdx, rax
cmp word [rdx + 4], 0x75
je 0x140026a11
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.140162920
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.140026c30
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 0x1400269d6
test cl, cl
js 0x140026969
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.140026ec0
mov cl, byte [rsp + 0xb7]
test al, al
jne 0x140026980
xor r14d, r14d
jmp 0x1400269dd
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.1400798b0
jmp 0x14002694c
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 0x140026a4a
test r8, r8
jne 0x1400269b9
test rdx, rdx
jne 0x140026a76
cmp rdx, 4
jne 0x1400269d6
cmp word [r8], 0x74
jne 0x1400269d6
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 2], 0x72
je 0x140026a29
xor eax, eax
mov byte [rsi], al
mov r14b, 1
test cl, cl
jns 0x1400269ee
mov rcx, qword [rsp + 0xa0]
call fcn.14012733c
cmp byte [rsp + 0xd7], 0
jns 0x140026a05
mov rcx, qword [rsp + 0xc0]
call fcn.14012733c
mov cl, byte [rsp + 0x117]
jmp 0x140026816
test cl, cl
cmovs rbx, rax
mov al, 1
cmp word [rbx + 6], 0x65
je 0x1400268ca
jmp 0x1400268c8
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 4], 0x75
jne 0x1400269d6
test cl, cl
cmovs rdi, rax
mov al, 1
cmp word [rdi + 6], 0x65
je 0x1400269d8
jmp 0x1400269d6
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_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140163bd0
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_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140163bd0
int3