Function at 0x14004cce0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
mov rdi, rsp
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x150]
call fcn.140019950
mov r9d, 0x5fa
lea r8, [0x140196b20]
lea rdx, [0x140195248]
mov rcx, rax
call fcn.14002e330
mov rcx, qword [rsp + 0x150]
call fcn.14002e590
test rax, rax
je 0x14004cd46
xor eax, eax
jmp 0x14004d03b
lea rcx, [rsp + 0x30]
call fcn.140007bf0
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.14004d7d0
mov qword [rsp + 0x150], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14004ce53
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x14004cdbf
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14004ce53
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
jne 0x14004cdf2
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14004ce53
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
jne 0x14004ce3f
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x14004ce3f
mov eax, 2
imul rax, rax, 3
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14004ce53
xor edx, edx
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14004ce76
mov qword [rsp + 0x118], 1
lea rcx, [rsp + 0x30]
call fcn.140007ce0
mov rax, qword [rsp + 0x118]
jmp 0x14004d03b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0xb7
jne 0x14004ceb3
mov qword [rsp + 0x120], 1
lea rcx, [rsp + 0x30]
call fcn.140007ce0
mov rax, qword [rsp + 0x120]
jmp 0x14004d03b
cmp dword [rsp + 0x94], 3
jne 0x14004d01d
mov dx, 0x5c
mov rcx, qword [rsp + 0x150]
call fcn.1400a6fe0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14004cf6c
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x14004cf6c
mov rax, qword [rsp + 0x98]
sub rax, 2
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x150]
cmp qword [rsp + 0x98], rax
jb 0x14004cf4e
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x14004cf4e
mov rax, qword [rsp + 0x98]
sub rax, 2
mov qword [rsp + 0x98], rax
jmp 0x14004cf16
mov rax, qword [rsp + 0x150]
cmp qword [rsp + 0x98], rax
jae 0x14004cf6c
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x98], 0
je 0x14004d01d
lea rcx, [rsp + 0xb0]
call fcn.140007bf0
nop
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0xb0]
call fcn.14006ee80
lea rcx, [rsp + 0xb0]
call fcn.14006d090
mov rcx, rax
call fcn.14004cce0
test rax, rax
je 0x14004d010
xor edx, edx
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cdqe
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0xb0]
call fcn.140007ce0
nop
lea rcx, [rsp + 0x30]
call fcn.140007ce0
mov rax, qword [rsp + 0x128]
jmp 0x14004d03b
lea rcx, [rsp + 0xb0]
call fcn.140007ce0
mov qword [rsp + 0x130], 0
lea rcx, [rsp + 0x30]
call fcn.140007ce0
mov rax, qword [rsp + 0x130]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400a1e60
mov rax, rdi
add rsp, 0x140
pop rdi
ret