Function at 0x14001fb20
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x368], rbx
mov rax, qword [0x1402aa8c0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, r9
mov r14d, r8d
mov ebx, edx
mov rdi, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r9d, word [rsp + 0x62]
movzx r11d, word [rsp + 0x66]
movzx r10d, word [rsp + 0x68]
movzx r8d, word [rsp + 0x6a]
movzx edx, word [rsp + 0x6c]
imul eax, r9d, 0x64
add eax, r11d
imul ecx, eax, 0x64
add ecx, r10d
imul eax, ecx, 0x64
add eax, r8d
imul r13d, eax, 0x64
add r13d, edx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str._02d__02d__02d:_02d:_02d
lea edx, [rax + 0x32]
lea rcx, [rbp - 0x70]
call fcn.14000a5e0
xor r15d, r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x3e8
jl 0x14001fc30
mov r15d, 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1008
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
lea r9, [rbp - 0x70]
mov r8d, eax
lea edx, [rcx + 1]
lea rcx, [rdi + 0x140]
call fcn.140036950
call fcn.1400347dc
mov rcx, rax
test rax, rax
je 0x140020180
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8d, r14d
lea rcx, [rsp + 0x50]
call fcn.14000ef10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], eax
test ebx, ebx
jne 0x14001fd05
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14001fcdf
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
lea rdx, [rbp - 0x70]
sub rdx, rbx
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001fcf0
jmp 0x14001fe6c
cmp ebx, 1
jne 0x14001fd3b
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14001fd27
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000a640
jmp 0x14001fe6c
cmp ebx, 2
jne 0x14001fd75
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14001fd5d
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rbp + 0x280]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000a640
jmp 0x14001fe6c
cmp ebx, 3
jne 0x14001fdb2
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14001fd97
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov r9d, dword [rbp + 0x280]
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000a640
jmp 0x14001fe6c
cmp ebx, 4
jne 0x14001fdf0
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14001fdd4
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov r9d, dword [rbp + 0x288]
mov r8d, dword [rbp + 0x280]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000a640
jmp 0x14001fe6c
cmp ebx, 5
jne 0x14001fe34
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14001fe12
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x280]
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000a640
jmp 0x14001fe6c
cmp ebx, 6
mov rbx, qword [rsp + 0x50]
jne 0x14001fe6c
cmp dword [rbx - 8], 1
jle 0x14001fe56
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b5a0
mov rbx, qword [rsp + 0x50]
mov r9, rsi
mov r8d, dword [rbp + 0x280]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14000a640
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rax - 1]
lea r9, [rbp - 0x70]
mov r8d, 1
lea rcx, [rdi + 0x140]
call fcn.140036c6c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rax - 1]
mov ecx, r13d
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 4]
xor r8d, r8d
lea rcx, [rdi + 0x140]
call fcn.140036b74
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], eax
lea r9d, [rsi + 0x17]
lea r8, [rsp + 0x70]
lea edx, [rsi + 1]
lea rcx, [rdi + 0x140]
call fcn.14002c85c
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rbp - 0x80]
cmp ecx, eax
jl 0x14001ff3c
sub ecx, eax
mov eax, dword [rbp - 0x7c]
cmp eax, ecx
je 0x14001ff3c
test r15d, r15d
je 0x14001ff71
test eax, eax
jle 0x14001ff71
mov rcx, qword [rdi + 0x180]
cmp eax, 1
je 0x14001ff43
dec eax
jmp 0x14001ff5d
mov rcx, qword [rdi + 0x180]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
dec eax
mov rcx, qword [rdi + 0x180]
mov r9d, 1
movsxd r8, eax
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [rsp + 0x62]
imul ecx, eax, 0x64
movzx eax, word [rsp + 0x66]
add ecx, eax
cmp dword [rdi + 0x138], ecx
je 0x14002006c
mov rcx, qword [rdi + 0x130]
test rcx, rcx
je 0x14001ff9d
call fcn.1401d192c
mov qword [rdi + 0x130], rsi
lea r9, [0x1402bf7e0]
lea r8, str._sLog
mov edx, 0x104
lea rcx, [rbp]
call fcn.14000a5e0
lea rcx, [rbp]
call fcn.1401d404c
mov eax, dword [0x1402c0c3c]
mov dword [rsp + 0x20], eax
lea r9, [0x1402bf7e0]
lea r8, str._sLog_d
mov edx, 0x104
lea rcx, [rbp]
call fcn.14000a5e0
lea rcx, [rbp]
call fcn.1401d404c
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r8d
mov eax, dword [0x1402c0c3c]
mov dword [rsp + 0x20], eax
lea r9, [0x1402bf7e0]
lea r8, str._sLog_dLog__d__02d__02d_.txt
mov edx, 0x104
lea rcx, [rbp]
call fcn.14000a5e0
lea rdx, str.a_ccsutf_8
lea rcx, [rbp]
call fcn.1401d1788
mov qword [rdi + 0x130], rax
test rax, rax
je 0x14002006c
movzx eax, word [rsp + 0x62]
imul ecx, eax, 0x64
movzx eax, word [rsp + 0x66]
add ecx, eax
mov dword [rdi + 0x138], ecx
mov rcx, qword [rdi + 0x130]
test rcx, rcx
je 0x1400200a2
movzx eax, word [rsp + 0x6c]
movzx r9d, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
lea rdx, str.__02d__02d__02d___s_n
call fcn.140020790
lea rcx, [0x1402c0c08]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x1402c0c30]
test rdi, rdi
je 0x14002012c
mov rsi, qword [0x1402c0c00]
test rsi, rsi
je 0x14002012c
mov eax, SafeArrayGetDim
mov word [rdi], ax
mov dword [rdi + 4], 1
lea rcx, [rdi + 8]
xor edx, edx
mov r8d, 0x190
call fcn.1401cafc0
lea rdx, [rbp - 0x70]
lea rax, [rbp - 0x70]
sub rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx]
mov word [rdi + rdx + 8], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140020100
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0xffffffff
mov rcx, qword [0x1402c0bf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1402c0c08]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140020156
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1401c8d10
mov rbx, qword [rsp + 0x368]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000bb00
int3