Function at 0x18001d7e0
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 [0x18012b038]
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.180029220
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 0x18001d856
mov qword [rsp + 0x328], rax
call fcn.1800b0398
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x180], xmm0
lea r8, [rsp + 0x180]
mov edx, eax
mov rcx, rsi
call fcn.18001ab20
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.180029220
nop
lea r13, [r15 + 0x260]
mov rcx, r13
call fcn.180029220
nop
lea rax, [r15 + 0x368]
mov qword [rsp + 0x330], rax
mov ecx, 0x20
call fcn.1800b0f10
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.18001d550
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 0x18001d934
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 0x18001d994
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.18002c130
mov rcx, rax
mov rax, qword [rdi]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
test rcx, rcx
lea rcx, [rdi + rdx]
je 0x18001d989
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 0x18001d994
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.1800309a0
mov rdx, rsi
lea rcx, [rsp + 0x340]
call fcn.18001b180
nop
lea rax, str.Backup
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 6
call fcn.1800b0398
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x190], xmm0
lea r8, [rsp + 0x190]
mov edx, eax
lea rcx, [rsp + 0x150]
call fcn.18001ab20
nop
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x340]
call fcn.18001ada0
nop
mov rdx, qword [rsp + 0x168]
cmp rdx, 8
jb 0x18001da58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001da52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001da52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
nop
mov rcx, rsi
call fcn.18001bf60
test al, al
jne 0x18001da84
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001da71
mov rcx, qword [rsi]
call fcn.1800b075c
shr rax, 0x20
test eax, eax
jne 0x18001e626
jmp 0x18001dafe
mov rdx, rsi
lea rcx, [rsp + 0x2e0]
call fcn.18001c1e0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x330]
test edx, edx
je 0x18001dabd
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x18001e637
cmp ecx, 3
je 0x18001dafe
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001dacf
mov rcx, qword [rsi]
call fcn.1800b0c08
shr rax, 0x20
test eax, eax
jne 0x18001e646
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001daed
mov rcx, qword [rsi]
call fcn.1800b075c
shr rax, 0x20
test eax, eax
jne 0x18001e657
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x310]
call fcn.18001c1e0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0xa0], ecx
lea rbx, [0x18012b068]
mov qword [rsp + 0xa8], rbx
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x3b0], xmm0
mov eax, dword [rsp + 0x330]
test eax, eax
je 0x18001dc06
cmp eax, 1
setne al
test al, al
je 0x18001dc0e
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x300]
call fcn.18001c1e0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x330], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x330]
test edx, edx
je 0x18001dba5
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x18001e668
cmp ecx, 3
je 0x18001dc39
lea rcx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rcx, qword [rsp + 0x340]
call fcn.1800b0c08
shr rax, 0x20
test eax, eax
jne 0x18001e67c
lea rcx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rcx, qword [rsp + 0x340]
call fcn.1800b075c
shr rax, 0x20
test eax, eax
jne 0x18001e692
jmp 0x18001dc39
test ecx, ecx
jne 0x18001e6a8
lea rcx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rcx, qword [rsp + 0x340]
call fcn.1800b075c
shr rax, 0x20
test eax, eax
jne 0x18001e6c4
mov rdx, rsi
mov rcx, r14
call fcn.18001afe0
lea rax, str.Main.log
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 8
call fcn.1800b0398
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x1a0], xmm0
lea r8, [rsp + 0x1a0]
mov edx, eax
lea rcx, [rsp + 0xf0]
call fcn.18001ab20
nop
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.18001ada0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x18001dce9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001dce4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001dce4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
lea rax, str.Events.log
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 0xa
call fcn.1800b0398
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x1b0], xmm0
lea r8, [rsp + 0x1b0]
mov edx, eax
lea rcx, [rsp + 0x130]
call fcn.18001ab20
nop
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.18001ada0
nop
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x18001dd8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001dd89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001dd89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
mov rdx, rsi
lea rcx, [rsp + 0x2f0]
call fcn.18001c1e0
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 0x18001e179
cmp eax, 1
setne al
test al, al
je 0x18001e488
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001ddf8
mov rcx, qword [rsi]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x480]
call fcn.1800b0888
test eax, eax
jne 0x18001e72b
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.1800afec0
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.1800afec0
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.1800b0398
movaps xmm0, xmmword [rsp + 0x320]
movdqa xmmword [rsp + 0x2c0], xmm0
lea r8, [rsp + 0x2c0]
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.18001ab20
mov dword [rsp + 0x20], 0x3dff
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x68]
call fcn.18001b180
mov dword [rsp + 0x20], 0x7dff
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x68]
call fcn.18001ada0
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001e163
mov rcx, qword [rsi]
xor r8d, r8d
call fcn.1800b04d4
shr rax, 0x20
test eax, eax
jne 0x18001e6db
jmp 0x18001e188
xor al, al
test ecx, ecx
jne 0x18001e6eb
jmp 0x18001dde3
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18001e1d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e1cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e1cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
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 0x18001e233
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e22e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e22e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
mov rcx, r14
call fcn.18001bf60
test al, al
je 0x18001e3e0
mov qword [rsp + 0x320], rbx
lea rax, [0x18012b068]
mov qword [rsp + 0x328], rax
lea rdx, [rsp + 0x320]
mov rcx, r14
call fcn.18001bff0
cmp dword [rsp + 0x320], 0
jne 0x18001e703
test al, al
jne 0x18001e3e0
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.1800b0398
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x2d0], xmm0
lea r8, [rsp + 0x2d0]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.18001ab20
mov dword [rsp + 0x20], 0x1bdff
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x48]
call fcn.18001b180
mov dword [rsp + 0x20], 0x3bdff
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x48]
call fcn.18001ada0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x18001e328
mov rcx, qword [r14]
xor r8d, r8d
call fcn.1800b04d4
shr rax, 0x20
test eax, eax
jne 0x18001e71b
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18001e381
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e37c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e37c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x18001e3e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e3da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e3da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
nop
mov rdx, qword [rsp + 0x378]
cmp rdx, 0x10
jb 0x18001e426
inc rdx
mov rcx, qword [rsp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e421
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e421
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
mov qword [rsp + 0x370], rbx
mov qword [rsp + 0x378], 0xf
mov byte [rsp + 0x360], 0
mov rdx, qword [rsp + 0x398]
cmp rdx, 0x10
jb 0x18001e488
inc rdx
mov rcx, qword [rsp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e483
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e483
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
cmp qword [rsi + 0x18], 8
jb 0x18001e492
mov rsi, qword [rsi]
lea rbx, [r15 + 0x158]
lea rcx, [rbx + 8]
mov r8d, 0x12
mov rdx, rsi
call fcn.180037660
mov rdx, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
xor r8d, r8d
test rdx, rdx
je 0x18001e4ca
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 0x18001e4d5
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 0x18001e4df
mov r14, qword [r14]
lea rcx, [r13 + 8]
mov r8d, 0x12
mov rdx, r14
call fcn.180037660
mov rdx, rax
mov rax, qword [r13]
movsxd rcx, dword [rax + 4]
add rcx, r13
xor r8d, r8d
test rdx, rdx
je 0x18001e511
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 0x18001e51c
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.1800b0f10
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rcx, rax
call fcn.180035ca0
nop
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180030a40
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18001e58f
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x18001e585
lock xadd dword [rdx + 0xc], r12d
cmp r12d, 1
jne 0x18001e580
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov edx, 0x10
call fcn.1800b12d4
mov rcx, qword [r15 + 0x368]
call fcn.1800990c0
nop
jmp 0x18001e5a3
mov qword [0x18012e8c8], r15
mov rdx, qword [rsp + 0x358]
cmp rdx, 8
jb 0x18001e5f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e5f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001e5f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b12d4
nop
mov rax, r15
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1800b0ef0
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.18001b9c0
mov r8, rsi
lea rcx, str.status
call fcn.18001b9c0
mov r8, rsi
mov edx, eax
lea rcx, str.remove
call fcn.18001b9c0
mov r8, rsi
mov edx, eax
lea rcx, str.create_directory
call fcn.18001b9c0
lea r8, [rsp + 0x340]
lea rcx, str.status
call fcn.18001b9c0
lea r8, [rsp + 0x340]
mov edx, eax
lea rcx, str.remove
call fcn.18001b9c0
lea r8, [rsp + 0x340]
mov edx, eax
lea rcx, str.create_directory
call fcn.18001b9c0
lea r8, [rsp + 0x340]
lea rdx, [rsp + 0x3b0]
lea rcx, str.exists
call fcn.18001bab0
lea r8, [rsp + 0x340]
mov edx, eax
lea rcx, str.create_directory
call fcn.18001b9c0
nop
lea r9, [rsp + 0x68]
mov r8, rsi
mov edx, eax
call fcn.18001ba30
nop
mov r8, rsi
lea rdx, [rsp + 0x3a0]
lea rcx, str.exists
call fcn.18001bab0
nop
mov r8, r14
lea rdx, [rsp + 0x320]
lea rcx, str.is_empty
call fcn.18001bab0
nop
lea r9, [rsp + 0x48]
mov r8, r14
mov edx, eax
call fcn.18001ba30
nop
mov r8, rsi
mov edx, eax
lea rcx, str.last_write_time
call fcn.18001b9c0
int3