Function at 0x140021a50
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rbp + 0x498], rax
mov r12, rcx
mov qword [rbp + 0x2b0], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x1400aefb3]
call fcn.140003660
mov dword [rsp + 0x40], 1
call fcn.140021820
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x140021ae2
imul rax, r8, 0x64
jmp 0x140021b05
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7fffffff88ca6bff
movabs rsi, 0x7fffffffffffffff
cmp rax, rcx
jge 0x140021b2b
add rax, 0x77359400
mov qword [rsp + 0x48], rax
jmp 0x140021b30
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.140047bb0
mov qword [rbp + 0x380], r13
lea rax, str._F_r_
mov qword [rbp + 0x388], rax
mov rcx, qword [0x1400f1c28]
mov rax, rsi
sub rax, rcx
cmp rax, 4
jb 0x14002333a
lea r15, [0x1400f1c18]
mov r9, r15
cmp qword [0x1400f1c30], 0x10
cmovae r9, qword [0x1400f1c18]
mov qword [rsp + 0x30], 4
lea rax, str.Logs
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x418]
call fcn.140047720
mov dword [rsp + 0x40], 0x21
mov rdi, qword [rbp + 0x428]
lea rbx, [rbp + 0x418]
cmp qword [rbp + 0x430], 0x10
cmovae rbx, qword [rbp + 0x418]
call fcn.1400a3bfc
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rdi
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x170]
call fcn.14001a8f0
mov r14d, 0xe1
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x170]
call fcn.14001bc90
movzx ebx, al
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x140021c57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021c52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021c52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
test bl, bl
je 0x140021fd1
lea rcx, [rbp + 0x418]
cmp qword [rbp + 0x430], 0x10
cmovae rcx, qword [rbp + 0x418]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffc
lea rcx, [rbp + 0x418]
cmp qword [rbp + 0x430], 0x10
cmovae rcx, qword [rbp + 0x418]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdi, qword [rbp + 0x428]
lea rbx, [rbp + 0x418]
cmp qword [rbp + 0x430], 0x10
cmovae rbx, qword [rbp + 0x418]
call fcn.1400a3bfc
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], rdi
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.14001a8f0
mov dword [rsp + 0x40], 0x1800e1
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
call fcn.1400a42bc
movzx ecx, al
mov qword [rbp + 0x450], rcx
shr rax, 0x20
mov dword [rbp + 0x120], eax
lea rcx, str._F_r_
mov qword [rbp + 0x128], rcx
movaps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x380], xmm0
cmp eax, 0x91
jne 0x140021d4c
lea r8, [rbp + 0x450]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x10]
call fcn.14001bda0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140021d8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021d8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021d8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov rcx, qword [rbp + 0x388]
mov rax, qword [rcx]
mov r8d, dword [rbp + 0x380]
lea rdx, [rbp + 0x300]
call qword [rax + 0x10]
mov dword [rsp + 0x40], 0x1880e1
mov rax, rsi
mov rcx, qword [rbp + 0x428]
sub rax, rcx
cmp rax, 3
jb 0x140023340
lea r9, [rbp + 0x418]
cmp qword [rbp + 0x430], 0x10
cmovae r9, qword [rbp + 0x418]
mov qword [rsp + 0x30], 3
lea rax, [0x1400d0de8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x320]
call fcn.140047720
mov dword [rsp + 0x40], 0x1980e1
lea r9, [rbp + 0x300]
lea r8, [rbp + 0x320]
lea rcx, [rbp + 0x90]
call fcn.1400094b0
mov dword [rsp + 0x40], 0x1b80e1
mov r8d, 1
lea rdx, [0x1400d09f0]
lea rcx, [rbp + 0x90]
call fcn.140006b60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r14d, 0x1f80e1
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x190]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r12
call fcn.140006b60
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x140021eed
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ee7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021ee7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140021f31
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021f2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x338]
cmp rdx, 0x10
jb 0x140021f8d
inc rdx
mov rcx, qword [rbp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021f87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 0x10
jb 0x140021fd1
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021fcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021fcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov rcx, qword [0x1400f1c28]
mov rax, rsi
sub rax, rcx
cmp rax, 6
jb 0x140023346
cmp qword [0x1400f1c30], 0x10
cmovae r15, qword [0x1400f1c18]
mov qword [rsp + 0x30], 6
lea rax, str.Config
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, r15
lea rcx, [rbp + 0x3f0]
call fcn.140047720
bts r14d, 0xc
mov dword [rsp + 0x40], r14d
mov rdi, qword [rbp + 0x400]
lea rbx, [rbp + 0x3f0]
cmp qword [rbp + 0x408], 0x10
cmovae rbx, qword [rbp + 0x3f0]
call fcn.1400a3bfc
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rdi
lea r8, [rbp + 0x130]
mov edx, eax
lea rcx, [rbp + 0x230]
call fcn.14001a8f0
or r14d, 0x6000
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x230]
call fcn.14001bc90
movzx ebx, al
mov rdx, qword [rbp + 0x248]
cmp rdx, 8
jb 0x1400220d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400220d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400220d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
test bl, bl
je 0x140022443
lea rcx, [rbp + 0x3f0]
cmp qword [rbp + 0x408], 0x10
cmovae rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffc
lea rcx, [rbp + 0x3f0]
cmp qword [rbp + 0x408], 0x10
cmovae rcx, qword [rbp + 0x3f0]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdi, qword [rbp + 0x400]
lea rbx, [rbp + 0x3f0]
cmp qword [rbp + 0x408], 0x10
cmovae rbx, qword [rbp + 0x3f0]
call fcn.1400a3bfc
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x148], rdi
lea r8, [rbp + 0x140]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.14001a8f0
or r14d, 0x600000
mov dword [rsp + 0x40], r14d
mov dword [rbp + 0x380], r13d
lea r15, str._F_r_
mov qword [rbp + 0x388], r15
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call fcn.1400a42bc
movzx ecx, al
mov qword [rbp + 0x460], rcx
shr rax, 0x20
mov dword [rbp + 0x150], eax
mov qword [rbp + 0x158], r15
movaps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x380], xmm0
cmp eax, 0x91
jne 0x1400221dc
lea r8, [rbp + 0x460]
lea rdx, [rbp + 0x380]
lea rcx, [rbp - 0x70]
call fcn.14001bda0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14002221f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002221a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002221a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov rcx, qword [rbp + 0x388]
mov rax, qword [rcx]
mov r8d, dword [rbp + 0x380]
lea rdx, [rbp + 0x2b8]
call qword [rax + 0x10]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x400]
sub rax, rcx
cmp rax, 3
jb 0x14002334c
lea r9, [rbp + 0x3f0]
cmp qword [rbp + 0x408], 0x10
cmovae r9, qword [rbp + 0x3f0]
mov qword [rsp + 0x30], 3
lea rax, [0x1400d0de8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x2e0]
call fcn.140047720
nop
lea r9, [rbp + 0x2b8]
lea r8, [rbp + 0x2e0]
lea rcx, [rbp + 0xb0]
call fcn.1400094b0
nop
mov r8d, 1
lea rdx, [0x1400d09f0]
lea rcx, [rbp + 0xb0]
call fcn.140006b60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x210], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x220], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x210]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r12
call fcn.140006b60
nop
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x14002235d
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400223a1
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002239c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002239c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0x10
jb 0x1400223fd
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400223f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400223f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0x2d0]
cmp rdx, 0x10
jb 0x14002244a
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002243c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002243c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
jmp 0x14002244a
lea r15, str._F_r_
mov qword [rbp + 0x3b8], r13
mov qword [rbp + 0x3c8], r13
mov qword [rbp + 0x3d0], r13
mov r8d, 0x19
lea rdx, str.C:_ProgramData_Riot_Games
lea rcx, [rbp + 0x3b8]
call fcn.140003660
nop
mov rdi, qword [rbp + 0x3c8]
lea rbx, [rbp + 0x3b8]
cmp qword [rbp + 0x3d0], 0x10
cmovae rbx, qword [rbp + 0x3b8]
call fcn.1400a3bfc
mov qword [rbp + 0x160], rbx
mov qword [rbp + 0x168], rdi
lea r8, [rbp + 0x160]
mov edx, eax
lea rcx, [rbp + 0x1f0]
call fcn.14001a8f0
or r14d, 0x300
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x1f0]
call fcn.14001bc90
movzx ebx, al
mov rdx, qword [rbp + 0x208]
cmp rdx, 8
jb 0x140022523
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002251e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002251e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
test bl, bl
je 0x140022889
lea rcx, [rbp + 0x3b8]
cmp qword [rbp + 0x3d0], 0x10
cmovae rcx, qword [rbp + 0x3b8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffc
lea rcx, [rbp + 0x3b8]
cmp qword [rbp + 0x3d0], 0x10
cmovae rcx, qword [rbp + 0x3b8]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdi, qword [rbp + 0x3c8]
lea rbx, [rbp + 0x3b8]
cmp qword [rbp + 0x3d0], 0x10
cmovae rbx, qword [rbp + 0x3b8]
call fcn.1400a3bfc
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rdi
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.14001a8f0
nop
mov dword [rbp + 0x380], r13d
mov qword [rbp + 0x388], r15
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call fcn.1400a42bc
movzx ecx, al
mov qword [rbp + 0x458], rcx
shr rax, 0x20
mov dword [rbp + 0x70], eax
mov qword [rbp + 0x78], r15
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x380], xmm0
cmp eax, 0x91
jne 0x140022606
lea r8, [rbp + 0x458]
lea rdx, [rbp + 0x380]
lea rcx, [rbp - 0x50]
call fcn.14001bda0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140022649
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022644
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022644
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov rcx, qword [rbp + 0x388]
mov rax, qword [rcx]
mov r8d, dword [rbp + 0x380]
lea rdx, [rbp + 0x270]
call qword [rax + 0x10]
bts r14d, 0x1d
mov dword [rsp + 0x40], r14d
mov rax, rsi
mov rcx, qword [rbp + 0x3c8]
sub rax, rcx
cmp rax, 3
jb 0x140023352
lea r9, [rbp + 0x3b8]
cmp qword [rbp + 0x3d0], 0x10
cmovae r9, qword [rbp + 0x3b8]
mov qword [rsp + 0x30], 3
lea rax, [0x1400d0de8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x290]
call fcn.140047720
nop
lea r9, [rbp + 0x270]
lea r8, [rbp + 0x290]
lea rcx, [rbp + 0xd0]
call fcn.1400094b0
bts r14d, 0x1e
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, [0x1400d09f0]
lea rcx, [rbp + 0xd0]
call fcn.140006b60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0x80000000
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x1d0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r12
call fcn.140006b60
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x1400227a5
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002279f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002279f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1400227e9
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400227e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400227e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x140022845
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002283f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002283f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0x288]
cmp rdx, 0x10
jb 0x140022889
inc rdx
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022884
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
lea r8, str.LOCALAPPDATA
lea rdx, [rbp + 0x478]
lea rcx, [rbp + 0x370]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov qword [rbp + 0x398], r13
mov qword [rbp + 0x3a8], r13
mov qword [rbp + 0x3b0], r13
mov rdx, qword [rbp + 0x370]
mov r15, 0xffffffffffffffff
mov r8, r15
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400228d0
lea rcx, [rbp + 0x398]
call fcn.140003660
nop
mov r8d, 0xb
lea rdx, str.Riot_Games
lea rcx, [rbp + 0x398]
call fcn.140006b60
mov rdi, qword [rbp + 0x3a8]
lea rbx, [rbp + 0x398]
cmp qword [rbp + 0x3b0], 0x10
cmovae rbx, qword [rbp + 0x398]
call fcn.1400a3bfc
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rdi
lea r8, [rbp + 0x40]
mov edx, eax
lea rcx, [rbp + 0x1b0]
call fcn.14001a8f0
or r14d, 0xc00
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x1b0]
call fcn.14001bc90
movzx ebx, al
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
jb 0x1400229a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002299c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002299c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
test bl, bl
je 0x140022d08
lea rcx, [rbp + 0x398]
cmp qword [rbp + 0x3b0], 0x10
cmovae rcx, qword [rbp + 0x398]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffc
lea rcx, [rbp + 0x398]
cmp qword [rbp + 0x3b0], 0x10
cmovae rcx, qword [rbp + 0x398]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rdi, qword [rbp + 0x3a8]
lea rbx, [rbp + 0x398]
cmp qword [rbp + 0x3b0], 0x10
cmovae rbx, qword [rbp + 0x398]
call fcn.1400a3bfc
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rdi
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.14001a8f0
or r14d, 0x1800000
mov dword [rsp + 0x40], r14d
mov dword [rbp + 0x380], r13d
lea rbx, str._F_r_
mov qword [rbp + 0x388], rbx
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call fcn.1400a42bc
movzx ecx, al
mov qword [rbp + 0x390], rcx
shr rax, 0x20
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rbx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x380], xmm0
cmp eax, 0x91
jne 0x140022a99
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x380]
lea rcx, [rbp - 0x10]
call fcn.14001bda0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140022adc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022ad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022ad7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov rcx, qword [rbp + 0x388]
mov rax, qword [rcx]
mov r8d, dword [rbp + 0x380]
lea rdx, [rbp - 0x30]
call qword [rax + 0x10]
bts r14d, 0x19
mov dword [rsp + 0x40], r14d
mov rax, qword [rbp + 0x3a8]
sub rsi, rax
cmp rsi, 3
jb 0x140023358
lea r9, [rbp + 0x398]
cmp qword [rbp + 0x3b0], 0x10
cmovae r9, qword [rbp + 0x398]
mov qword [rsp + 0x30], 3
lea rcx, [0x1400d0de8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x250]
call fcn.140047720
bts r14d, 0x1a
mov dword [rsp + 0x40], r14d
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x250]
lea rcx, [rbp + 0xf0]
call fcn.1400094b0
bts r14d, 0x1b
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, [0x1400d09f0]
lea rcx, [rbp + 0xf0]
call fcn.140006b60
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0x1c
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x70]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r12
call fcn.140006b60
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140022c2a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022c24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140022c6e
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022c69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022c69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x268]
cmp rdx, 0x10
jb 0x140022cca
inc rdx
mov rcx, qword [rbp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022cc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022cc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140022d08
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022d03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022d03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov edi, r13d
lea rcx, [rbp + 0x340]
call fcn.14001bfb0
mov rbx, rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x3e0], xmm0
mov rdx, rax
lea rcx, [rbp + 0x3e0]
call fcn.140045670
test eax, eax
jne 0x140023320
mov rdx, qword [rbp + 0x358]
cmp rdx, 8
jb 0x140022d85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022d80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022d80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
xorps xmm0, xmm0
movups xmmword [rbp + 0x440], xmm0
mov rbx, qword [rbp + 0x3e8]
test rbx, rbx
je 0x140022dab
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x3e8]
mov r14d, dword [rsp + 0x40]
movaps xmm0, xmmword [rbp + 0x3e0]
movdqa xmmword [rbp + 0x440], xmm0
test rbx, rbx
je 0x140022dcf
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x3e8]
mov r14d, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x468], xmm1
test rbx, rbx
je 0x140022e26
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140022e1a
mov rbx, qword [rbp + 0x3e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140022e1a
mov rbx, qword [rbp + 0x3e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x140022e21
mov rbx, qword [rbp + 0x3e8]
mov r14d, dword [rsp + 0x40]
nop word [rax + rax]
mov rsi, qword [rbp + 0x440]
test rsi, rsi
je 0x140022ee3
mov dword [rbp + 0x380], r13d
lea rax, str._F_r_
mov qword [rbp + 0x388], rax
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 8
jb 0x140022e64
mov rcx, qword [rsi + 0x20]
call fcn.1400a42bc
movzx edx, al
mov qword [rbp + 0x410], rdx
shr rax, 0x20
mov dword [rbp + 0x60], eax
lea rcx, str._F_r_
mov qword [rbp + 0x68], rcx
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x380], xmm0
cmp eax, 0x91
jne 0x140022eb6
lea r8, [rbp + 0x410]
lea rdx, [rbp + 0x380]
lea rcx, [rsi + 0x20]
call fcn.14001bda0
mov rdx, qword [rbp + 0x410]
cmp dword [rbp + 0x380], 0
cmovne rdx, r15
mov qword [rbp + 0x410], rdx
inc edi
lea rcx, [rbp + 0x440]
call fcn.14001b760
test eax, eax
jne 0x140023332
jmp 0x140022e30
mov rcx, qword [rbp + 0x448]
test rcx, rcx
je 0x140022f31
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140022f25
mov rbx, qword [rbp + 0x448]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140022f25
mov rcx, qword [rbp + 0x448]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, dword [rsp + 0x40]
mov rbx, qword [rbp + 0x3e8]
test rbx, rbx
je 0x140022f70
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140022f6b
mov rbx, qword [rbp + 0x3e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x140022f6b
mov rcx, qword [rbp + 0x3e8]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, dword [rsp + 0x40]
lea r9, [rbp + 0x495]
test edi, edi
jns 0x140022fc0
neg edi
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x140022f80
dec r9
mov byte [r9], 0x2d
jmp 0x140022fe8
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x140022fc0
lea r8, [rbp + 0x495]
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.140009860
or r14d, 0x18
mov dword [rsp + 0x40], r14d
mov r9d, 8
lea r8, str.Deleted
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.1400096a0
mov qword [rsp + 0x50], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 4
mov dword [rsp + 0x40], r14d
mov r8d, 0x19
lea rdx, str._files_in_temp_directory_n
lea rcx, [rsp + 0x50]
call fcn.140006b60
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 2
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x70]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r12
call fcn.140006b60
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140023100
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400230fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400230fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140023140
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002313b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002313b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140023192
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002318c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002318c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
nop
mov rdx, qword [rbp + 0x3b0]
cmp rdx, 0x10
jb 0x1400231d6
inc rdx
mov rcx, qword [rbp + 0x398]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400231d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400231d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov qword [rbp + 0x3a8], r13
mov qword [rbp + 0x3b0], 0xf
mov byte [rbp + 0x398], 0
mov rdx, qword [rbp + 0x3d0]
cmp rdx, 0x10
jb 0x140023233
inc rdx
mov rcx, qword [rbp + 0x3b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002322e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002322e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov qword [rbp + 0x3c8], r13
mov qword [rbp + 0x3d0], 0xf
mov byte [rbp + 0x3b8], 0
mov rdx, qword [rbp + 0x408]
cmp rdx, 0x10
jb 0x140023290
inc rdx
mov rcx, qword [rbp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002328b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002328b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov qword [rbp + 0x400], r13
mov qword [rbp + 0x408], 0xf
mov byte [rbp + 0x3f0], 0
mov rdx, qword [rbp + 0x430]
cmp rdx, 0x10
jb 0x1400232ed
inc rdx
mov rcx, qword [rbp + 0x418]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400232e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400232e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov rax, r12
mov rcx, qword [rbp + 0x498]
xor rcx, rsp
call fcn.1400a4570
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8, rbx
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14001b530
nop
mov edx, eax
call fcn.14001b440
nop
call fcn.140001380
nop
call fcn.140001380
nop
call fcn.140001380
nop
call fcn.140001380
nop
call fcn.140001380
nop
call fcn.140001380
int3