Function at 0x180033a10
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x18008e010]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xor r12d, r12d
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r12w
mov qword [rbp + 0x40], r12
mov dword [rdx], r12d
lea r13, [0x18008e3a8]
mov qword [rdx + 8], r13
xor r15b, r15b
call fcn.180032650
add rax, qword [rdi + 0x20]
cmp qword [rdi + 0x10], rax
jbe 0x180033a9f
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180033a92
mov rcx, qword [rdi]
cmp word [rcx + rax*2], 0x5c
mov r14d, 1
je 0x180033aa2
mov r14, r12
mov rcx, rdi
call fcn.180032650
add r14, rax
add r14, qword [rdi + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8, r14
cmp qword [rdi + 0x10], r14
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180033adb
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
call fcn.18003c3e0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18003bc90
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180033b38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033b33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180033b33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800563c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, r14
jb 0x1800345b6
sub rax, r14
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 8
jb 0x180033b71
mov rdi, qword [rdi]
lea rdx, [rdi + r14*2]
lea rcx, [rsp + 0x40]
call fcn.18003c3e0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r12
mov edx, 2
lea rcx, [rbp - 0x28]
call fcn.180030200
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x50]
call fcn.180032ec0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea rcx, [rcx + rax*2]
mov qword [rbp - 0x30], rcx
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xb0]
call fcn.180032ec0
mov rax, qword [rbp + 0xd0]
cmp qword [rbp + 0x70], rax
je 0x180034455
lea rdx, [rbp + 0x78]
lea rcx, [rbp]
call fcn.18003a6d0
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov rax, qword [rbp + 0x10]
lea r9, [rdx + rax*2]
lea rdx, [rbp]
cmovae rdx, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
cmp rdx, r9
jne 0x180033c9c
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
jmp 0x180033caf
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rsp + 0x60]
call fcn.18003c3e0
mov qword [rbp - 0x80], r12
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.180030200
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1800313a0
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180033d12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033d0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800340ef
call fcn.1800563c0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r13
mov dword [rsp + 0x38], r12d
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.180031060
mov rax, qword [rbp - 0x30]
cmp dword [rbp + 0xa0], r12d
je 0x180033d4f
cmp eax, 1
jne 0x1800340f6
cmp eax, 1
jbe 0x180033f19
cmp eax, 3
je 0x180034062
mov dword [rsp + 0x40], 0xb7
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x180033db6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x180033e0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033e08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x180033e6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033e65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180033ebd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033eb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
movdqa xmm0, xmmword [0x180081660]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x18003429d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180034298
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov qword [rbp - 0x58], r12
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], r13
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov dword [rsp + 0x38], r12d
lea r8, [rbp + 0x108]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x100]
call fcn.180031060
cmp dword [rbp + 0x100], 3
je 0x180033fe2
cmp qword [rbp - 0x68], r12
je 0x180033fb1
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x180033fe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x40], r13
movups xmm0, xmmword [rbp - 0x48]
jmp 0x180033fdf
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180033fe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180034022
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003401d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800342a4
call fcn.1800563c0
cmp dword [rbx], r12d
je 0x18003405f
mov qword [rbp + 0x118], r12
mov qword [rbp + 0x120], r13
mov dword [rsp + 0x38], r12d
lea r8, [rbp + 0x118]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.180031060
cmp dword [rbp - 0x50], 3
jne 0x1800342ab
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov r15b, 1
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800340a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003409d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003444e
call fcn.1800563c0
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x50]
call fcn.180032fb0
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov rcx, qword [rbp + 0x58]
cmp rax, rcx
je 0x1800340e1
mov rdx, qword [rbp + 0x68]
cmp rax, rdx
je 0x1800340e1
cmp word [rax], 0x5c
jne 0x1800340e1
add rax, 2
cmp rax, rcx
je 0x1800340e1
mov qword [rbp + 0x70], rax
jmp 0x1800340c7
lea rcx, [rbp + 0x50]
call fcn.180033230
jmp 0x180033c37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x180034140
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003413b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x180034197
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x1800341f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800341ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18003424b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034246
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
movdqa xmm0, xmmword [0x180081660]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x18003429d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033f12
call fcn.1800563c0
xor al, al
jmp 0x18003458c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800342eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800342e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034447
call fcn.1800563c0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x180034342
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003433d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034447
call fcn.1800563c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x18003439f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003439a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034447
call fcn.1800563c0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800343f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800343ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034447
call fcn.1800563c0
movdqa xmm0, xmmword [0x180081660]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x18003429d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180034298
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x180034497
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800344eb
call fcn.1800563c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x1800344f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800344f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800344f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800563c0
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180034533
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003452e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003457c
call fcn.1800563c0
movdqa xmm0, xmmword [0x180081660]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x180034588
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034583
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180034583
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800563c0
movzx eax, r15b
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.180055e30
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003b700
int3