Function at 0x18001c280
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor r14d, r14d
cmp qword [rcx + 0x10], r14
jne 0x18001c2c6
xor al, al
jmp 0x18001c4e6
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1800052b0
nop
mov edx, 4
lea rcx, [rbp - 0x50]
call fcn.18001db30
lea rcx, [rbp - 0x50]
call fcn.180023490
cmp eax, 0xffffffff
je 0x18001c303
test al, 0x10
je 0x18001c303
lea rcx, [rbp - 0x50]
call fcn.180003440
mov al, 1
jmp 0x18001c4e6
lea rcx, [rbp - 0x50]
call fcn.180003440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001c319
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18001c36f
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.180023940
test al, al
je 0x18001c366
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rbp - 0x50]
call fcn.180003440
mov rcx, rbx
call fcn.18001c0b0
test al, al
jne 0x18001c2fc
mov rsi, qword [rbx + 0x10]
mov rdi, r14
test rsi, rsi
je 0x18001c46f
mov r12d, 0x2f
lea r15d, [r12 + 0x2d]
nop word [rax + rax]
mov rax, rbx
mov rcx, qword [rbx + 0x18]
cmp rcx, 8
jb 0x18001c3b0
mov rax, qword [rbx]
cmp r12w, word [rax + rdi*2]
je 0x18001c3ce
mov rax, rbx
cmp rcx, 8
jb 0x18001c3c3
mov rax, qword [rbx]
cmp r15w, word [rax + rdi*2]
jne 0x18001c463
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.180005150
nop
cmp qword [rbp - 0x40], 0
je 0x18001c45a
lea rcx, [rbp - 0x50]
call fcn.18001bec0
test al, al
jne 0x18001c45a
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18001c45a
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180023940
test al, al
je 0x18001c450
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rbp - 0x30]
call fcn.180003440
nop
lea rcx, [rbp - 0x50]
call fcn.180003440
inc rdi
cmp rdi, rsi
jb 0x18001c3a0
mov rcx, rbx
call fcn.18001bec0
test al, al
jne 0x18001c4de
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001c488
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18001c4de
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.180023940
test al, al
je 0x18001c4d5
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rbp - 0x50]
call fcn.180003440
mov rcx, rbx
call fcn.18001c0b0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret