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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x18012c038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov byte [rcx], bl
mov qword [rcx + 8], rbx
lea rdi, [rcx + 0x10]
mov rcx, rdi
call fcn.180029a00
nop
lea rsi, [r15 + 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 + 0x320], rax
mov r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x18001df36
mov qword [rsp + 0x328], rax
call fcn.1800b1ba8
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x180], xmm0
lea r8, [rsp + 0x180]
mov edx, eax
mov rcx, rsi
call fcn.18001b200
nop
lea r14, [r15 + 0x138]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 7
mov word [r14], bx
lea rcx, [r15 + 0x158]
call fcn.180029a00
nop
lea r13, [r15 + 0x260]
mov rcx, r13
call fcn.180029a00
nop
lea rax, [r15 + 0x368]
mov qword [rsp + 0x330], rax
mov ecx, 0x20
call fcn.1800b2720
mov rbx, rax
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
lea rcx, [rbx + 0x18]
call fcn.18001dc30
nop
mov qword [r15 + 0x368], rbx
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 [r15], al
test ecx, ecx
jne 0x18001e014
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r15 + 8], rax
test rax, rax
je 0x18001e074
lea rcx, str.Spankerfield
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, [rdi + 8]
call fcn.18002c910
mov rcx, rax
mov rax, qword [rdi]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
test rcx, rcx
lea rcx, [rdi + rdx]
je 0x18001e069
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 0x18001e074
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, rsi
call fcn.180031180
mov rdx, rsi
lea rcx, [rsp + 0x340]
call fcn.18001b860
nop
lea rax, str.Backup
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 6
call fcn.1800b1ba8
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x190], xmm0
lea r8, [rsp + 0x190]
mov edx, eax
lea rcx, [rsp + 0x150]
call fcn.18001b200
nop
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x340]
call fcn.18001b480
nop
mov rdx, qword [rsp + 0x168]
cmp rdx, 8
jb 0x18001e138
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e132
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e132
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
nop
mov rcx, rsi
call fcn.18001c640
test al, al
jne 0x18001e164
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001e151
mov rcx, qword [rsi]
call fcn.1800b1f6c
shr rax, 0x20
test eax, eax
jne 0x18001ed06
jmp 0x18001e1de
mov rdx, rsi
lea rcx, [rsp + 0x2e0]
call fcn.18001c8c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x330]
test edx, edx
je 0x18001e19d
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x18001ed17
cmp ecx, 3
je 0x18001e1de
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001e1af
mov rcx, qword [rsi]
call fcn.1800b2418
shr rax, 0x20
test eax, eax
jne 0x18001ed26
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001e1cd
mov rcx, qword [rsi]
call fcn.1800b1f6c
shr rax, 0x20
test eax, eax
jne 0x18001ed37
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x310]
call fcn.18001c8c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0xa0], ecx
lea rbx, [0x18012c068]
mov qword [rsp + 0xa8], rbx
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x3b0], xmm0
mov eax, dword [rsp + 0x330]
test eax, eax
je 0x18001e2e6
cmp eax, 1
setne al
test al, al
je 0x18001e2ee
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x300]
call fcn.18001c8c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x330]
test edx, edx
je 0x18001e285
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x18001ed48
cmp ecx, 3
je 0x18001e319
lea rcx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rcx, qword [rsp + 0x340]
call fcn.1800b2418
shr rax, 0x20
test eax, eax
jne 0x18001ed5c
lea rcx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rcx, qword [rsp + 0x340]
call fcn.1800b1f6c
shr rax, 0x20
test eax, eax
jne 0x18001ed72
jmp 0x18001e319
test ecx, ecx
jne 0x18001ed88
lea rcx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rcx, qword [rsp + 0x340]
call fcn.1800b1f6c
shr rax, 0x20
test eax, eax
jne 0x18001eda4
mov rdx, rsi
mov rcx, r14
call fcn.18001b6c0
lea rax, str.Main.log
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 8
call fcn.1800b1ba8
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x1a0], xmm0
lea r8, [rsp + 0x1a0]
mov edx, eax
lea rcx, [rsp + 0xf0]
call fcn.18001b200
nop
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.18001b480
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x18001e3c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e3c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e3c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
lea rax, str.Events.log
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 0xa
call fcn.1800b1ba8
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x1b0], xmm0
lea r8, [rsp + 0x1b0]
mov edx, eax
lea rcx, [rsp + 0x130]
call fcn.18001b200
nop
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.18001b480
nop
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x18001e46e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e469
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e469
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
mov rdx, rsi
lea rcx, [rsp + 0x2f0]
call fcn.18001c8c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x90], ecx
mov qword [rsp + 0x98], rbx
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x3a0], xmm0
mov eax, dword [rsp + 0x330]
test eax, eax
je 0x18001e859
cmp eax, 1
setne al
test al, al
je 0x18001eb68
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001e4d8
mov rcx, qword [rsi]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x480]
call fcn.1800b2098
test eax, eax
jne 0x18001ee0b
mov rdi, qword [rsp + 0x480]
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 + 0x330], rdx
lea rcx, [rsp + 0x330]
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
mov dword [rsp + 0x1d0], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x1e0], eax
mov dword [rsp + 0x1f0], ecx
mov eax, dword [rbx + 8]
mov dword [rsp + 0x200], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x210], eax
mov eax, dword [rbx]
mov dword [rsp + 0x1c0], eax
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x3c0], xmm0
movups xmm1, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x3d0], xmm1
movups xmm0, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x3e0], xmm0
movups xmm1, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x3f0], xmm1
movups xmm0, xmmword [rsp + 0x210]
movaps xmmword [rsp + 0x400], xmm0
movups xmm1, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x410], xmm1
mov qword [rsp + 0xb0], 0x111111
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0xb8], rax
lea rax, str.:0_2_:0_2__:0_2_:0_2_:0_2.log
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 0x29
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x230], xmm0
movaps xmm1, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x240], xmm1
lea r8, [rsp + 0x230]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x380]
call fcn.1800b16d0
nop
mov ecx, dword [rbx + 0x14]
add ecx, 0x76c
mov eax, dword [rbx + 0x10]
inc eax
mov dword [rsp + 0x250], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x260], eax
mov dword [rsp + 0x270], ecx
mov eax, dword [rbx + 8]
mov dword [rsp + 0x220], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x280], eax
mov eax, dword [rbx]
mov dword [rsp + 0x290], eax
movups xmm0, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0x420], xmm0
movups xmm1, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0x430], xmm1
movups xmm0, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0x440], xmm0
movups xmm1, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x450], xmm1
movups xmm0, xmmword [rsp + 0x280]
movaps xmmword [rsp + 0x460], xmm0
movups xmm1, xmmword [rsp + 0x290]
movaps xmmword [rsp + 0x470], xmm1
mov qword [rsp + 0xc0], 0x111111
lea rax, [rsp + 0x420]
mov qword [rsp + 0xc8], rax
lea rax, str.:0_2_:0_2__:0_2_:0_2_:0_2_events.log
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 0x30
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x2a0], xmm0
movaps xmm1, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x2b0], xmm1
lea r8, [rsp + 0x2a0]
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x360]
call fcn.1800b16d0
nop
lea rax, [rsp + 0x380]
cmp qword [rsp + 0x398], 0x10
cmovae rax, qword [rsp + 0x380]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x390]
mov qword [rsp + 0x328], rax
call fcn.1800b1ba8
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x2c0], xmm0
lea r8, [rsp + 0x2c0]
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.18001b200
mov dword [rsp + 0x20], 0x3dff
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x68]
call fcn.18001b860
mov dword [rsp + 0x20], 0x7dff
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x68]
call fcn.18001b480
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001e843
mov rcx, qword [rsi]
xor r8d, r8d
call fcn.1800b1ce4
shr rax, 0x20
test eax, eax
jne 0x18001edbb
jmp 0x18001e868
xor al, al
test ecx, ecx
jne 0x18001edcb
jmp 0x18001e4c3
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001e8b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e8ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e8ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], bx
mov rdx, qword [rsp + 0x128]
cmp rdx, 8
jb 0x18001e913
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e90e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e90e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
mov rcx, r14
call fcn.18001c640
test al, al
je 0x18001eac0
mov qword [rsp + 0x320], rbx
lea rax, [0x18012c068]
mov qword [rsp + 0x328], rax
lea rdx, [rsp + 0x320]
mov rcx, r14
call fcn.18001c6d0
cmp dword [rsp + 0x320], 0
jne 0x18001ede3
test al, al
jne 0x18001eac0
lea rax, [rsp + 0x360]
cmp qword [rsp + 0x378], 0x10
cmovae rax, qword [rsp + 0x360]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x38], rax
call fcn.1800b1ba8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x2d0], xmm0
lea r8, [rsp + 0x2d0]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.18001b200
mov dword [rsp + 0x20], 0x1bdff
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x48]
call fcn.18001b860
mov dword [rsp + 0x20], 0x3bdff
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x48]
call fcn.18001b480
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x18001ea08
mov rcx, qword [r14]
xor r8d, r8d
call fcn.1800b1ce4
shr rax, 0x20
test eax, eax
jne 0x18001edfb
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18001ea61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ea5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001ea5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x18001eac0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001eaba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001eaba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
nop
mov rdx, qword [rsp + 0x378]
cmp rdx, 0x10
jb 0x18001eb06
inc rdx
mov rcx, qword [rsp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001eb01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001eb01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
mov qword [rsp + 0x370], rbx
mov qword [rsp + 0x378], 0xf
mov byte [rsp + 0x360], 0
mov rdx, qword [rsp + 0x398]
cmp rdx, 0x10
jb 0x18001eb68
inc rdx
mov rcx, qword [rsp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001eb63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001eb63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
cmp qword [rsi + 0x18], 8
jb 0x18001eb72
mov rsi, qword [rsi]
lea rbx, [r15 + 0x158]
lea rcx, [rbx + 8]
mov r8d, 0x12
mov rdx, rsi
call fcn.180037e40
mov rdx, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
xor r8d, r8d
test rdx, rdx
je 0x18001ebaa
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 0x18001ebb5
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]
cmp qword [r14 + 0x18], 8
jb 0x18001ebbf
mov r14, qword [r14]
lea rcx, [r13 + 8]
mov r8d, 0x12
mov rdx, r14
call fcn.180037e40
mov rdx, rax
mov rax, qword [r13]
movsxd rcx, dword [rax + 4]
add rcx, r13
xor r8d, r8d
test rdx, rdx
je 0x18001ebf1
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 0x18001ebfc
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 rbx, qword [r15 + 0x368]
mov ecx, 0x10
call fcn.1800b2720
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rcx, rax
call fcn.180036480
nop
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180031220
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18001ec6f
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x18001ec65
lock xadd dword [rdx + 0xc], r12d
cmp r12d, 1
jne 0x18001ec60
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov edx, 0x10
call fcn.1800b2ae4
mov rcx, qword [r15 + 0x368]
call fcn.18009a8e0
nop
jmp 0x18001ec83
mov qword [0x18012f8d8], r15
mov rdx, qword [rsp + 0x358]
cmp rdx, 8
jb 0x18001ecd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ecd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001ecd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2ae4
nop
mov rax, r15
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1800b2700
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, rsi
mov edx, eax
lea rcx, str.create_directory
call fcn.18001c0a0
mov r8, rsi
lea rcx, str.status
call fcn.18001c0a0
mov r8, rsi
mov edx, eax
lea rcx, str.remove
call fcn.18001c0a0
mov r8, rsi
mov edx, eax
lea rcx, str.create_directory
call fcn.18001c0a0
lea r8, [rsp + 0x340]
lea rcx, str.status
call fcn.18001c0a0
lea r8, [rsp + 0x340]
mov edx, eax
lea rcx, str.remove
call fcn.18001c0a0
lea r8, [rsp + 0x340]
mov edx, eax
lea rcx, str.create_directory
call fcn.18001c0a0
lea r8, [rsp + 0x340]
lea rdx, [rsp + 0x3b0]
lea rcx, str.exists
call fcn.18001c190
lea r8, [rsp + 0x340]
mov edx, eax
lea rcx, str.create_directory
call fcn.18001c0a0
nop
lea r9, [rsp + 0x68]
mov r8, rsi
mov edx, eax
call fcn.18001c110
nop
mov r8, rsi
lea rdx, [rsp + 0x3a0]
lea rcx, str.exists
call fcn.18001c190
nop
mov r8, r14
lea rdx, [rsp + 0x320]
lea rcx, str.is_empty
call fcn.18001c190
nop
lea r9, [rsp + 0x48]
mov r8, r14
mov edx, eax
call fcn.18001c110
nop
mov r8, rsi
mov edx, eax
lea rcx, str.last_write_time
call fcn.18001c0a0
int3