Function at 0x14003b820
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 [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x588], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], r13
movaps xmm6, xmmword [0x140206780]
movaps xmmword [rsp + 0x60], xmm6
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x14003b885
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
jmp 0x14003b88b
and eax, 0x7f
mov rcx, rdx
mov r9, 0xffffffffffffffff
test rax, rax
je 0x14003b8b4
add rax, rax
test rax, rax
je 0x14003b8b4
lea r8, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, r8
jne 0x14003b89a
sar r8, 1
mov r9, r8
inc r9
lea rax, [rdx + 0x18]
mov qword [rsp + 0x20], rax
xor r14d, r14d
lea r15, [rsp + 0x60]
mov rcx, r15
xor r8d, r8d
call fcn.14008fbb0
lea r12, [rsp + 0x40]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
lea r8, [0x140206aba]
mov rcx, r12
mov rdx, r15
call fcn.14003b350
lea r15, [rsp + 0x180]
mov r8d, 0x400
mov rcx, r15
mov dl, 0xaa
call fcn.14014bec0
cmp byte [r12 + 0x17], 0
jns 0x14003b919
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 0x14003b9e0
mov rax, qword [rsp + 0x610]
lea rcx, [sym.launcher.exe_Launch]
mov qword [rax], rcx
cmp byte [rsp + 0x57], 0
jns 0x14003b9a0
mov rcx, qword [rsp + 0x40]
call fcn.14014847c
cmp byte [rsp + 0x77], 0
jns 0x14003b9b1
mov rcx, qword [rsp + 0x60]
call fcn.14014847c
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.140148f60
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.140185900
mov rcx, r15
mov rdx, r14
call fcn.14003b4a0
cmp byte [r15 + 0x17], 0
jns 0x14003ba3d
mov rcx, qword [rsp + 0x140]
call fcn.14014847c
lea r14, [rsp + 0x140]
mov qword [r14 + 0x10], r13
movaps xmmword [r14], xmm6
lea rdx, str.__subfolder_:
mov rcx, r14
call fcn.140185a00
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x160]
mov r8, r14
call fcn.14003be40
cmp byte [rbx + 0x17], 0
jns 0x14003ba82
mov rcx, qword [rbx]
call fcn.14014847c
mov rax, qword [rsp + 0x130]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rbx], xmm0
movzx r9d, byte [rbx + 0x17]
test r9b, r9b
js 0x14003baba
cmp r9b, 2
jb 0x14003bad9
cmp word [rbx], 0x22
jne 0x14003bad9
cmp word [rbx + r9*2 - 2], 0x22
jne 0x14003bad9
jmp 0x14003bb13
mov r9, qword [rbx + 8]
cmp r9, 2
jb 0x14003bad9
mov rax, qword [rbx]
cmp word [rax], 0x22
jne 0x14003bad9
mov rax, qword [rbx]
cmp word [rax + r9*2 - 2], 0x22
je 0x14003bb13
xor r14d, r14d
cmp byte [rsp + 0x157], 0
jns 0x14003baf3
mov rcx, qword [rsp + 0x140]
call fcn.14014847c
cmp byte [rsp + 0x177], 0
jns 0x14003b97d
mov rcx, qword [rsp + 0x160]
call fcn.14014847c
jmp 0x14003b97d
add r9, 0xfffffffffffffffe
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x120]
mov r8d, 1
mov rdx, rbx
call fcn.14008fbb0
cmp byte [rbx + 0x17], 0
jns 0x14003bb44
mov rcx, qword [rbx]
call fcn.14014847c
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.140185a00
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.14003be40
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 0x14003bbe1
test al, al
js 0x14003bc1b
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.14003c190
test al, al
jne 0x14003bc32
xor r14d, r14d
cmp byte [rsp + 0x117], 0
jns 0x14003bbfb
mov rcx, qword [rsp + 0x100]
call fcn.14014847c
cmp byte [rsp + 0x137], 0
jns 0x14003badc
mov rcx, qword [rsp + 0x120]
call fcn.14014847c
jmp 0x14003badc
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.14008f3a0
jmp 0x14003bbd0
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
je 0x14003bc67
test r8, r8
je 0x14003be06
cmp rdx, 4
jne 0x14003bca3
cmp word [r8], 0x74
jne 0x14003bca3
test al, al
mov rdx, rbx
cmovs rdx, rcx
cmp word [rdx + 2], 0x72
jne 0x14003bca3
test al, al
mov rdx, rbx
cmovs rdx, rcx
cmp word [rdx + 4], 0x75
jne 0x14003bca3
test al, al
cmovs rbx, rcx
mov al, 1
cmp word [rbx + 6], 0x65
je 0x14003bca5
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.140185a00
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.14003be40
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 0x14003bdaf
test cl, cl
js 0x14003bdec
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.14003c190
mov cl, byte [rsp + 0xb7]
test al, al
je 0x14003bdb8
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
je 0x14003bd73
test r8, r8
je 0x14003be06
cmp rdx, 4
jne 0x14003bdaf
cmp word [r8], 0x74
jne 0x14003bdaf
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 2], 0x72
jne 0x14003bdaf
test cl, cl
mov rdx, rdi
cmovs rdx, rax
cmp word [rdx + 4], 0x75
jne 0x14003bdaf
test cl, cl
cmovs rdi, rax
mov al, 1
cmp word [rdi + 6], 0x65
je 0x14003bdb1
xor eax, eax
mov byte [rsi], al
mov r14b, 1
jmp 0x14003bdbb
xor r14d, r14d
test cl, cl
jns 0x14003bdcc
mov rcx, qword [rsp + 0xa0]
call fcn.14014847c
cmp byte [rsp + 0xd7], 0
jns 0x14003bbe4
mov rcx, qword [rsp + 0xc0]
call fcn.14014847c
jmp 0x14003bbe4
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.14008f3a0
jmp 0x14003bd2b
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, 0x129
call fcn.140186340
int3