Function at 0x180066520
Capabilities:
Query environment variable
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1801f9600]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov byte [rcx], r12b
mov qword [rcx + 8], r12
lea rdi, [rcx + 0x10]
mov edx, 1
mov rcx, rdi
call fcn.180061150
nop
lea rbx, [rsi + 0x118]
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
mov qword [rsp + 0x20], rax
mov r15, 0xffffffffffffffff
mov rax, r15
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1800665a0
mov qword [rsp + 0x28], rax
call fcn.18015371c
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
mov rcx, rbx
call fcn.180063ab0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsi + 0x138], xmm0
mov qword [rsi + 0x148], r12
mov qword [rsi + 0x150], 7
mov word [rsi + 0x138], r12w
lea rcx, [rsi + 0x158]
mov edx, 1
call fcn.180061150
nop
lea rcx, [rsi + 0x260]
mov edx, 1
call fcn.180061150
nop
lea rcx, [rsi + 0x368]
call fcn.180140470
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov ecx, eax
test eax, eax
setne al
mov byte [rsi], al
test ecx, ecx
jne 0x180066647
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsi + 8], rax
test rax, rax
je 0x1800666ba
lea rcx, str.Impulse
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, [rdi + 8]
mov r9d, 0x40
mov r8d, 0xa
lea rdx, str.CONOUT_
call fcn.18006bdf0
mov rcx, rax
mov rax, qword [rdi]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
test rcx, rcx
lea rcx, [rdi + rdx]
je 0x1800666af
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1800666ba
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call fcn.180061270
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.180062bc0
nop
lea rax, str.Backup
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 6
call fcn.18015371c
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.180063ab0
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.180063350
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x180066770
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006676a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006676a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
nop
mov rcx, rbx
call fcn.180061430
test al, al
jne 0x18006679c
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180066789
mov rcx, qword [rbx]
call fcn.180153c20
shr rax, 0x20
test eax, eax
jne 0x1800672df
jmp 0x18006680d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800614a0
vmovsd xmm0, qword [rax]
vmovsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x1800667cc
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1800672f0
cmp ecx, 3
je 0x18006680d
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1800667de
mov rcx, qword [rbx]
call fcn.1801540cc
shr rax, 0x20
test eax, eax
jne 0x1800672ff
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1800667fc
mov rcx, qword [rbx]
call fcn.180153c20
shr rax, 0x20
test eax, eax
jne 0x180067310
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1800614a0
vmovsd xmm0, qword [rax]
vmovsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x20], ecx
lea r14, [0x1801f9bc8]
mov qword [rsp + 0x28], r14
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1800668f8
cmp eax, 1
setne al
test al, al
je 0x180066900
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1800614a0
vmovsd xmm0, qword [rax]
vmovsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x180066897
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x180067321
cmp ecx, 3
je 0x18006692b
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rcx, qword [rsp + 0x80]
call fcn.1801540cc
shr rax, 0x20
test eax, eax
jne 0x180067335
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rcx, qword [rsp + 0x80]
call fcn.180153c20
shr rax, 0x20
test eax, eax
jne 0x18006734b
jmp 0x18006692b
test ecx, ecx
jne 0x180067361
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rcx, qword [rsp + 0x80]
call fcn.180153c20
shr rax, 0x20
test eax, eax
jne 0x18006737a
lea rdx, [rsi + 0x118]
lea rcx, [rsi + 0x138]
call fcn.180062f80
lea rax, str.Impulse.log
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xb
call fcn.18015371c
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.180063ab0
nop
lea rcx, [rsi + 0x118]
lea rdx, [rsp + 0xa0]
call fcn.180063350
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x1800669d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800669d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800669d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
lea rax, str.GTAEvents.log
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xd
call fcn.18015371c
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.180063ab0
nop
lea rcx, [rsi + 0x138]
lea rdx, [rsp + 0xa0]
call fcn.180063350
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x180066a74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066a6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066a6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
lea rcx, [rsi + 0x118]
call fcn.180061430
test al, al
je 0x1800671ac
lea rcx, [rsi + 0x118]
cmp qword [rsi + 0x130], 7
jbe 0x180066aa0
mov rcx, qword [rsi + 0x118]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0xe0]
call fcn.180153d4c
test eax, eax
jne 0x1800673ce
mov rdi, qword [rsp + 0xe0]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
movabs rcx, 0x19db1ded53e8000
add rax, rcx
sub rdi, rax
lea rcx, [rdi + rbx]
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rbx, rax
mov ecx, dword [rax + 0x14]
add ecx, 0x76c
mov eax, dword [rax + 0x10]
inc eax
lea rdx, str.:0_2_:0_2__:0_2_:0_2_:0_2_Impulse.log
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], 0x31
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x68], ecx
mov eax, dword [rbx + 8]
mov dword [rsp + 0x100], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0xc0], eax
mov eax, dword [rbx]
mov dword [rsp + 0xe0], eax
vmovups xmm0, xmmword [rsp + 0x20]
vmovups xmmword [rsp + 0x140], xmm0
vmovups xmm1, xmmword [rsp + 0x58]
vmovups xmmword [rsp + 0x150], xmm1
vmovups xmm0, xmmword [rsp + 0x68]
vmovups xmmword [rsp + 0x160], xmm0
vmovups xmm1, xmmword [rsp + 0x100]
vmovups xmmword [rsp + 0x170], xmm1
vmovups xmm0, xmmword [rsp + 0xc0]
vmovups xmmword [rsp + 0x180], xmm0
vmovups xmm1, xmmword [rsp + 0xe0]
vmovups xmmword [rsp + 0x190], xmm1
mov qword [rsp + 0x20], 0x111111
lea rax, [rsp + 0x140]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0xe0], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0xc0], xmm1
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.180074e40
nop
mov ecx, dword [rbx + 0x14]
add ecx, 0x76c
mov eax, dword [rbx + 0x10]
inc eax
lea rdx, str.:0_2_:0_2__:0_2_:0_2_:0_2_GTAEvents.log
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], 0x33
mov dword [rsp + 0xe0], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0x100], ecx
mov eax, dword [rbx + 8]
mov dword [rsp + 0x68], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x58], eax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
vmovups xmm0, xmmword [rsp + 0xe0]
vmovups xmmword [rsp + 0x140], xmm0
vmovups xmm1, xmmword [rsp + 0xc0]
vmovups xmmword [rsp + 0x150], xmm1
vmovups xmm0, xmmword [rsp + 0x100]
vmovups xmmword [rsp + 0x160], xmm0
vmovups xmm1, xmmword [rsp + 0x68]
vmovups xmmword [rsp + 0x170], xmm1
vmovups xmm0, xmmword [rsp + 0x58]
vmovups xmmword [rsp + 0x180], xmm0
vmovups xmm1, xmmword [rsp + 0x20]
vmovups xmmword [rsp + 0x190], xmm1
mov qword [rsp + 0x20], 0x111111
lea rax, [rsp + 0x140]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0xe0], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0xc0], xmm1
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x120]
call fcn.180074e40
nop
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0xf
cmova rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
call fcn.18015371c
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0xe0], xmm0
lea r8, [rsp + 0xe0]
mov edx, eax
lea rcx, [rsp + 0x100]
call fcn.180063ab0
nop
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
call fcn.1800635c0
mov rdi, rax
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x180066daa
mov rdx, qword [rax]
lea rcx, [rsi + 0x118]
cmp qword [rsi + 0x130], 7
jbe 0x180066dc2
mov rcx, qword [rsi + 0x118]
xor r8d, r8d
call fcn.18015397c
shr rax, 0x20
test eax, eax
jne 0x180067391
mov rdx, qword [rsp + 0xd8]
cmp rdx, 7
jbe 0x180066e21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066e1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066e1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r12w
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x180066e89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066e84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066e84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
lea rcx, [rsi + 0x138]
call fcn.180061430
test al, al
je 0x180067104
lea rcx, [rsi + 0x138]
cmp qword [rsi + 0x150], 7
jbe 0x180066eb5
mov rcx, qword [rsi + 0x138]
mov r9d, 0xffffffff
mov r8d, 0xb
lea rdx, [rsp + 0xe0]
call fcn.180153d4c
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], r14
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
test eax, eax
je 0x180066eef
xor r14b, r14b
jmp 0x180066f8b
test byte [rsp + 0xf0], 0x10
jne 0x180066f0b
cmp qword [rsp + 0xe8], 0
sete r14b
jmp 0x180066f8b
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsi + 0x138]
lea rcx, [rsp + 0x40]
call fcn.180061c20
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], r14
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
test eax, eax
jne 0x180066f4c
cmp qword [rsp + 0x40], 0
jne 0x180066f4c
mov r14b, 1
jmp 0x180066f4f
xor r14b, r14b
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180066f8b
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180066f8b
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180066f8b
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
cmp dword [rsp + 0x20], 0
jne 0x1800673a3
test r14b, r14b
jne 0x180067104
lea rax, [rsp + 0x120]
cmp qword [rsp + 0x138], 0xf
cmova rax, qword [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x28], rax
call fcn.18015371c
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0xe0], xmm0
lea r8, [rsp + 0xe0]
mov edx, eax
lea rcx, [rsp + 0x100]
call fcn.180063ab0
nop
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
call fcn.1800635c0
mov rdi, rax
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x180067024
mov rdx, qword [rax]
lea rcx, [rsi + 0x138]
cmp qword [rsi + 0x150], 7
jbe 0x18006703c
mov rcx, qword [rsi + 0x138]
xor r8d, r8d
call fcn.18015397c
shr rax, 0x20
test eax, eax
jne 0x1800673bc
mov rdx, qword [rsp + 0xd8]
cmp rdx, 7
jbe 0x18006709b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067096
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180067096
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r12w
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x180067104
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800670fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800670fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x18006714a
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067145
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180067145
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
mov qword [rsp + 0x130], r12
mov qword [rsp + 0x138], 0xf
mov byte [rsp + 0x120], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x1800671ac
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800671a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800671a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
lea rcx, [rsi + 0x158]
lea rdx, [rsi + 0x118]
call fcn.180063c20
lea rcx, [rsi + 0x260]
lea rdx, [rsi + 0x138]
call fcn.180063c20
mov rbx, qword [rsi + 0x368]
mov ecx, 0x10
call fcn.180154540
mov qword [rsp + 0x40], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rax], xmm0
mov rcx, rax
call fcn.180066270
nop
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180064a40
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180067247
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x18006723d
lock xadd dword [rdx + 0xc], r15d
cmp r15d, 1
jne 0x180067238
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov edx, 0x10
call fcn.1801548ec
mov rcx, qword [rsi + 0x368]
call fcn.1801467f0
nop
jmp 0x18006725b
mov qword [0x18020c8f8], rsi
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x1800672ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800672a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800672a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801548ec
nop
mov rax, rsi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180154520
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov r8, rbx
mov edx, eax
lea rcx, str.create_directory
call fcn.180061330
mov r8, rbx
lea rcx, str.status
call fcn.180061330
mov r8, rbx
mov edx, eax
lea rcx, str.remove
call fcn.180061330
mov r8, rbx
mov edx, eax
lea rcx, str.create_directory
call fcn.180061330
lea r8, [rsp + 0x80]
lea rcx, str.status
call fcn.180061330
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, str.remove
call fcn.180061330
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, str.create_directory
call fcn.180061330
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x20]
lea rcx, str.exists
call fcn.180062030
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, str.create_directory
call fcn.180061330
nop
mov r9, rdi
lea r8, [rsi + 0x118]
mov edx, eax
call fcn.1800629d0
nop
lea r8, [rsi + 0x138]
lea rdx, [rsp + 0x20]
lea rcx, str.is_empty
call fcn.180062030
nop
mov r9, rdi
lea r8, [rsi + 0x138]
mov edx, eax
call fcn.1800629d0
nop
lea r8, [rsi + 0x118]
mov edx, eax
lea rcx, str.last_write_time
call fcn.180061330
int3