Function at 0x14005c670
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x1a0
mov qword [rsp + 0x148], 0xfffffffffffffffe
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
lea rcx, [rsp + 0x20]
call fcn.14005c330
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x30], rax
lea r8, str._m_d_Y
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14005b6d0
nop
lea r8, str._m__d__Y._X
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14005b6d0
nop
lea rdx, str.logs
lea rcx, [rsp + 0x38]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.14000ba30
mov qword [rsp + 0x150], rax
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov qword [rsp + 0x158], rcx
mov rdi, qword [rsp + 0x20]
add rdi, 0xffffffffffffffe8
mov qword [rsp + 0x70], rdi
cmp rcx, rdi
je 0x14005c79b
cmp dword [rdi + 0x10], 0
jl 0x14005c77d
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14005c77d
call fcn.14000d070
mov qword [rsp + 0x78], rax
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14005c76d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x78]
add rax, 0x18
mov qword [rsp + 0x20], rax
jmp 0x14005c7a0
mov r8d, dword [rdx - 0x10]
mov dword [rsp + 0x1e8], r8d
mov qword [rsp + 0x160], rdx
lea rcx, [rsp + 0x20]
call fcn.14000d160
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x80]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x88], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005c7d2
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x90], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005c800
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14005c82c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14005c82c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14005cc1e
lea rdx, str..log
lea rcx, [rsp + 0x28]
call fcn.14000c6f0
nop
lea rdx, str.iAssistHelper_
lea rcx, [rsp + 0x40]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xc8]
call fcn.14000ba30
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14000ba30
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14000ba30
mov qword [rsp + 0x168], rax
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov qword [rsp + 0x170], rcx
mov rdi, qword [rsp + 0x20]
add rdi, 0xffffffffffffffe8
mov qword [rsp + 0x98], rdi
cmp rcx, rdi
je 0x14005c927
cmp dword [rdi + 0x10], 0
jl 0x14005c90b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14005c90b
call fcn.14000d070
mov qword [rsp + 0xa0], rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14005c8f8
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov qword [rsp + 0x20], rax
jmp 0x14005c927
mov r8d, dword [rdx - 0x10]
mov dword [rsp + 0x68], r8d
mov qword [rsp + 0x178], rdx
lea rcx, [rsp + 0x20]
call fcn.14000d160
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xb0], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005c959
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xb8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xc0], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005c98b
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xc8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd0], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005c9bd
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd8], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005c9ec
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xe0], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005ca1a
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [0x1400a7368]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rdi, rax
mov qword [rsp + 0x128], rax
test rax, rax
je 0x14005cc1e
lea rdx, [0x1400a7384]
lea rcx, [rsp + 0x58]
call fcn.14000c6f0
nop
lea rdx, [0x140099090]
lea rcx, [rsp + 0x50]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x108]
call fcn.14000ba30
nop
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.14000ba30
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14000ba30
mov qword [rsp + 0x180], rax
mov rdx, qword [rax]
mov qword [rsp + 0x188], rdx
mov rcx, rdi
call fcn.140068f50
nop
mov rcx, qword [rsp + 0xe8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xf0], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005caf3
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xf8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x100], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005cb25
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x108]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x110], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005cb57
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x118], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005cb86
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x120], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005cbb4
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsi]
mov qword [rsp + 0x190], rdx
mov rdi, qword [rsp + 0x128]
mov rcx, rdi
call fcn.140068f50
cmp r15d, 0xffffffff
je 0x14005cbf6
lea rdx, [0x1400a7380]
mov rcx, rdi
call fcn.140068f00
mov r8d, r15d
lea rdx, [0x1400a739c]
mov rcx, rdi
call fcn.140068f00
lea rdx, [0x140099090]
mov rcx, rdi
call fcn.140068f00
lea rdx, [0x140098d50]
mov rcx, rdi
call fcn.140068f00
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x130], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005cc4d
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x138], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005cc7c
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x140], rcx
mov eax, ebx
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14005ccab
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14005ccc2
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005ccdf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14005ccf9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret