Function at 0x140026520
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 [0x1401e8038]
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 0x140026584
and eax, 0x7f
mov rcx, rdx
jmp 0x14002658b
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov r9, 0xffffffffffffffff
test rax, rax
je 0x1400265b4
add rax, rax
test rax, rax
je 0x1400265b4
lea r8, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, r8
jne 0x14002659a
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.14007e3c0
lea r12, [rsp + 0x40]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
lea r8, [0x1401c05fa]
mov rcx, r12
mov rdx, r15
call fcn.140026b90
lea r15, [rsp + 0x180]
mov r8d, 0x400
mov rcx, r15
mov dl, 0xaa
call fcn.1401298e0
cmp byte [r12 + 0x17], 0
jns 0x14002661d
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 0x1400266e4
mov rax, qword [rsp + 0x610]
lea rcx, [sym.launcher.exe_Launch]
mov qword [rax], rcx
cmp byte [rsp + 0x57], 0
jns 0x1400266a4
mov rcx, qword [rsp + 0x40]
call fcn.140125ddc
cmp byte [rsp + 0x77], 0
jns 0x1400266b5
mov rcx, qword [rsp + 0x60]
call fcn.140125ddc
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.140126950
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.140161440
mov rcx, r15
mov rdx, r14
call fcn.140026260
cmp byte [r15 + 0x17], 0
jns 0x140026741
mov rcx, qword [rsp + 0x140]
call fcn.140125ddc
lea r14, [rsp + 0x140]
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rdx, str.__subfolder_:
mov rcx, r14
call fcn.140161540
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x160]
mov r8, r14
call fcn.140026d00
cmp byte [rbx + 0x17], 0
jns 0x140026786
mov rcx, qword [rbx]
call fcn.140125ddc
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 0x1400267a9
mov rax, qword [rbx + 8]
cmp rax, 2
jae 0x1400267e9
xor r14d, r14d
cmp byte [rsp + 0x157], 0
jns 0x1400267c9
mov rcx, qword [rsp + 0x140]
call fcn.140125ddc
cmp byte [rsp + 0x177], 0
jns 0x140026681
mov rcx, qword [rsp + 0x160]
call fcn.140125ddc
jmp 0x140026681
xor r14d, r14d
mov rcx, rbx
xor edx, edx
call fcn.1401864b0
cmp word [rax], 0x22
jne 0x1400267b2
movzx edx, byte [rbx + 0x17]
test dl, dl
jns 0x140026808
mov rdx, qword [rbx + 8]
dec rdx
mov rcx, rbx
call fcn.1401864b0
cmp word [rax], 0x22
jne 0x1400267af
movzx r9d, byte [rbx + 0x17]
test r9b, r9b
jns 0x140026827
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.14007e3c0
cmp byte [rbx + 0x17], 0
jns 0x14002685c
mov rcx, qword [rbx]
call fcn.140125ddc
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.140161540
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.140026d00
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 0x140026900
test cl, cl
js 0x140026934
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.140026fb0
mov cl, byte [rsp + 0x117]
test al, al
jne 0x14002694b
xor r14d, r14d
test cl, cl
jns 0x140026914
mov rcx, qword [rsp + 0x100]
call fcn.140125ddc
cmp byte [rsp + 0x137], 0
jns 0x1400267b2
mov rcx, qword [rsp + 0x120]
call fcn.140125ddc
jmp 0x1400267b2
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.14007ddd0
jmp 0x1400268e8
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 0x140026b31
test r8, r8
jne 0x140026984
test rdx, rdx
jne 0x140026b5d
cmp rdx, 4
jne 0x1400269c0
cmp word [r8], 0x74
jne 0x1400269c0
test cl, cl
mov rdx, rbx
cmovs rdx, rax
cmp word [rdx + 2], 0x72
jne 0x1400269c0
test cl, cl
mov rdx, rbx
cmovs rdx, rax
cmp word [rdx + 4], 0x75
jne 0x1400269c0
test cl, cl
cmovs rbx, rax
mov al, 1
cmp word [rbx + 6], 0x65
je 0x1400269c2
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.140161540
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.140026d00
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 0x140026abb
test cl, cl
js 0x140026af6
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.140026fb0
mov cl, byte [rsp + 0xb7]
test al, al
jne 0x140026a65
xor r14d, r14d
jmp 0x140026ac2
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 0x140026b31
test r8, r8
jne 0x140026a9e
test rdx, rdx
jne 0x140026b5d
cmp rdx, 4
jne 0x140026abb
cmp word [r8], 0x74
jne 0x140026abb
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 2], 0x72
je 0x140026b10
xor eax, eax
mov byte [rsi], al
mov r14b, 1
test cl, cl
jns 0x140026ad3
mov rcx, qword [rsp + 0xa0]
call fcn.140125ddc
cmp byte [rsp + 0xd7], 0
jns 0x140026aea
mov rcx, qword [rsp + 0xc0]
call fcn.140125ddc
mov cl, byte [rsp + 0x117]
jmp 0x140026903
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.14007ddd0
jmp 0x140026a48
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 4], 0x75
jne 0x140026abb
test cl, cl
cmovs rdi, rax
mov al, 1
cmp word [rdi + 6], 0x65
je 0x140026abd
jmp 0x140026abb
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.1401623d0
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.1401623d0
int3