Function at 0x180012d80
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 [0x180268080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor r14d, r14d
cmp qword [rcx + 0x10], r14
jne 0x180012dc6
xor al, al
jmp 0x18001325a
call fcn.180011ea0
test al, al
je 0x180012dd6
mov al, 1
jmp 0x18001325a
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180012de3
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180012ec6
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1801f4bb0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.18001cd90
test al, al
je 0x180012e74
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
je 0x180012e74
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x180012eb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012eaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013288
jmp 0x180012eaf
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x180012eb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012eaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800132a0
call fcn.18017ebfc
movdqa xmm0, xmmword [0x1801f4bb0]
mov word [rbp - 0x50], r14w
movdqu xmmword [rbp - 0x40], xmm0
mov rcx, rbx
call fcn.180011ea0
test al, al
jne 0x180012dcf
mov rsi, qword [rbx + 0x10]
mov rdi, r14
test rsi, rsi
je 0x1800130aa
mov r12d, 0x2f
lea r15d, [r12 + 0x2d]
mov rax, rbx
mov rcx, qword [rbx + 0x18]
cmp rcx, 8
jb 0x180012f01
mov rax, qword [rbx]
cmp r12w, word [rax + rdi*2]
je 0x180012f1f
mov rax, rbx
cmp rcx, 8
jb 0x180012f14
mov rax, qword [rbx]
cmp r15w, word [rax + rdi*2]
jne 0x18001309e
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.180011470
nop
cmp qword [rbp - 0x20], 0
jne 0x180012f81
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18001308d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001328e
jmp 0x180013088
lea rcx, [rbp - 0x30]
call fcn.180011c20
test al, al
jne 0x18001304d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18001304d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18001cd90
test al, al
je 0x18001316b
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
je 0x18001316b
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18001303c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013037
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800132a6
call fcn.18017ebfc
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18001308d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800132b2
call fcn.18017ebfc
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
inc rdi
cmp rdi, rsi
jb 0x180012ef1
mov rcx, rbx
call fcn.180011c20
test al, al
jne 0x180013252
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800130c7
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180013252
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1801f4bb0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.18001cd90
test al, al
je 0x180013204
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
je 0x180013204
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x180013240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001323b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013294
jmp 0x18001323b
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1800131ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800131a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800132ac
call fcn.18017ebfc
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18001308d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001329a
jmp 0x180013088
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x180013240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001323b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013282
call fcn.18017ebfc
movdqa xmm0, xmmword [0x1801f4bb0]
mov word [rbp - 0x50], r14w
movdqu xmmword [rbp - 0x40], xmm0
mov rcx, rbx
call fcn.180011ea0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18017e6e0
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
call fcn.18018341c
int3
call fcn.18018341c
int3
call fcn.18018341c
int3
call fcn.18018341c
int3
call fcn.18018341c
int3
call fcn.18018341c
nop
call fcn.18018341c
nop
call fcn.18018341c
nop
call fcn.18018341c
int3