Function at 0x14011ba14
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e8]
sub rsp, 0x3f8
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r13d, r13d
mov r14d, r9d
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14011bd45
mov rcx, qword [rcx + 0x20]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14011ba71
mov qword [rbx + 0x20], r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14011ba94
mov rcx, rbx
call fcn.14011b99c
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.14011bec4
test eax, eax
js 0x14011bd45
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14011bd45
cmp word [rax], r13w
je 0x14011bd45
or esi, 0xffffffff
xorps xmm0, xmm0
mov edi, esi
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
test r14d, r14d
je 0x14011bad6
lfence
mov r8d, r14d
lea rdx, [0x1401af620]
lea rcx, [rbp - 0x60]
call fcn.14000c788
xorps xmm0, xmm0
lea r12, [0x1401759d0]
mov rdx, r12
lea rcx, [rbp - 0x70]
mov r8d, 8
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp word [rbp - 0x70], r13w
je 0x14011bb16
lea r14, [0x140175b8c]
cmp word [rbp - 0x6e], r13w
jne 0x14011bb19
mov r14, r12
movzx ecx, word [rbx + 0x34]
lea r15, [rbp - 0x60]
movzx edx, word [rbx + 0x32]
movzx eax, word [rbx + 0x36]
movzx r10d, word [rbx + 0x30]
movzx r11d, word [rbx + 0x2e]
movzx r9d, word [rbx + 0x2a]
movzx r8d, word [rbx + 0x28]
mov qword [rsp + 0x80], r15
lea r15, [0x14017fe6c]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r15
lea r15, [rbp - 0x70]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x58], 0xd
mov dword [rsp + 0x50], 7
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
lea rcx, [rbp + 0x1d0]
mov dword [rsp + 0x30], edx
lea rdx, str._i__02i__02i__i:_02i:_02i._03i_ConEmu__u_02u_02u_s_s__s_s__log_s
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.1400011f8
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x14011be25
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x20], r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 0x18]
mov r15d, 2
movsxd r12, eax
test rcx, rcx
je 0x14011bc9c
cmp word [rcx], r13w
je 0x14011bc9c
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
mov edx, r15d
add r14, 3
add r14, r12
mov rcx, r14
call fcn.140113de8
mov qword [rbx + 8], rax
test rax, rax
je 0x14011bd45
mov r8, qword [rbx + 0x18]
mov rdx, r14
mov rcx, rax
call fcn.14000a8a0
mov rax, qword [rbx + 0x18]
cmp word [rax + r14*2 - 2], 0x5c
je 0x14011bc37
mov rcx, qword [rbx + 8]
lea r8, [0x1401792e8]
mov rdx, r14
call fcn.140001e48
mov r8, qword [rbx + 0x10]
mov rdx, r14
mov rcx, qword [rbx + 8]
call fcn.140001e48
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r15d
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x20], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14011bc9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 8]
mov edi, eax
mov qword [rbx + 0x20], r13
test rcx, rcx
je 0x14011bc9c
call fcn.140113e18
mov qword [rbx + 8], r13
mov rax, qword [rbx + 0x20]
test rax, rax
jne 0x14011be65
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x20a
call fcn.14012d4b0
lea rdx, str.Shell32.dll
lea rcx, [rbp - 0x80]
call fcn.140116be8
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14011be11
lea rdx, [0x1401c2128]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011be11
lea rcx, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
mov edx, 0x8010
call rax
test eax, eax
jne 0x14011be11
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r15, eax
lea r14, [r12 + 0x20]
add r14, r15
mov r12d, 2
mov rcx, r14
mov edx, r12d
call fcn.140113de8
mov qword [rbx + 8], rax
test rax, rax
jne 0x14011bd6b
lea rcx, [rbp - 0x80]
call fcn.140116c14
or eax, 0xffffffff
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14012bda0
add rsp, 0x3f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rbp - 0x40]
mov rdx, r14
mov rcx, rax
call fcn.14000a8a0
cmp word [rbp + r15*2 - 0x42], 0x5c
lea rax, [0x1401c2140]
mov rcx, qword [rbx + 8]
lea r8, str.ConEmuLogs
cmovne r8, rax
mov rdx, r14
call fcn.140001e48
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rbx + 8]
lea r8, [0x1401792e8]
mov rdx, r14
call fcn.140001e48
mov r8, qword [rbx + 0x10]
mov rdx, r14
mov rcx, qword [rbx + 8]
call fcn.140001e48
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r12d
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x20], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14011be11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rbx + 0x20], r13
lea rcx, [rbp - 0x80]
call fcn.140116c14
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14011be94
jmp 0x14011be65
cmp word [rcx], r13w
je 0x14011bd45
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14011be8c
cmp rax, 0xffffffffffffffff
je 0x14011be8c
cmp rax, 0xffffffffffffffff
je 0x14011be94
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.14011c0a8
xor eax, eax
jmp 0x14011bd48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
mov qword [rbx + 0x20], r13
cmovne esi, edi
mov eax, esi
jmp 0x14011bd48