Function at 0x18004b940
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 [0x1800ca040]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xor r12d, r12d
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov qword [rbp + 8], r12
mov dword [rdx], r12d
lea r13, [0x1800ca438]
mov qword [rdx + 8], r13
xor r15b, r15b
call fcn.18004a550
add rax, qword [rdi + 0x20]
cmp qword [rdi + 0x10], rax
jbe 0x18004b9cf
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x18004b9c2
mov rcx, qword [rdi]
cmp word [rcx + rax*2], 0x5c
mov r14d, 1
je 0x18004b9d2
mov r14, r12
mov rcx, rdi
call fcn.18004a550
add r14, rax
add r14, qword [rdi + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8, r14
cmp qword [rdi + 0x10], r14
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x18004ba09
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call fcn.1800517a0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x18]
call fcn.180050e30
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x18004ba62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ba5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004ba5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006ae8c
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, r14
jb 0x18004c4b3
sub rax, r14
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 7
jbe 0x18004ba99
mov rdi, qword [rdi]
lea rdx, [rdi + r14*2]
lea rcx, [rbp + 0x10]
call fcn.1800517a0
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], r12
mov edx, 2
lea rcx, [rbp - 0x60]
call fcn.180048290
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x30]
call fcn.18004aee0
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x40], rcx
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x80]
call fcn.18004aee0
mov rax, qword [rbp + 0xa0]
cmp qword [rbp + 0x50], rax
je 0x18004bff7
nop
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x38]
call fcn.18004fda0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
lea r9, [rdx + rax*2]
lea rdx, [rbp - 0x38]
cmova rdx, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
cmp rdx, r9
jne 0x18004bb8e
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], r12w
jmp 0x18004bba3
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rbp + 0xd0]
call fcn.1800517a0
mov qword [rbp + 0xf0], r12
mov edx, 2
lea rcx, [rbp + 0xd0]
call fcn.180048290
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x18]
call fcn.180049470
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x18004bc11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bc0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c09d
call fcn.18006ae8c
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x38], r12d
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.180049130
mov rax, qword [rsp + 0x40]
cmp dword [rsp + 0x48], r12d
je 0x18004bc48
cmp eax, 1
jne 0x18004c0a4
cmp eax, 1
jbe 0x18004be06
cmp eax, 3
je 0x18004bf5e
mov dword [rbp + 0x10], 0xb7
mov qword [rbp + 0x18], r13
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18004bcac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x18004bd03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bcfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x18004bd5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bd58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x18004bdaa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bda5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
movdqa xmm0, xmmword [0x1800bc7c0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18004c240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c23b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c23b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], 7
mov word [rbp + 0xf8], r12w
mov qword [rbp + 0x118], r12
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], r13
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov dword [rsp + 0x38], r12d
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x58]
call fcn.180049130
cmp dword [rsp + 0x58], 3
je 0x18004bedf
cmp qword [rbp + 0x108], r12
je 0x18004beb1
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea rcx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 7
cmova rcx, qword [rbp + 0xf8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x18004bedf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], r13
movups xmm0, xmmword [rsp + 0x78]
jmp 0x18004bedc
lea rcx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rcx, qword [rbp - 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18004bedf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x78], eax
mov qword [rbp - 0x70], r13
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp + 0x110]
cmp rdx, 7
jbe 0x18004bf25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bf20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c247
call fcn.18006ae8c
cmp dword [rbx], r12d
je 0x18004bf5b
mov dword [rbp + 0x10], r12d
mov qword [rbp + 0x18], r13
mov dword [rsp + 0x38], r12d
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.180049130
cmp dword [rsp + 0x60], 3
jne 0x18004c24e
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov r15b, 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18004bf9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bf99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3e8
call fcn.18006ae8c
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x30]
call fcn.18004afc0
mov rax, qword [rax]
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x38]
cmp rax, rcx
je 0x18004bfdd
mov rdx, qword [rbp + 0x48]
cmp rax, rdx
je 0x18004bfdd
cmp word [rax], 0x5c
jne 0x18004bfdd
add rax, 2
cmp rax, rcx
je 0x18004bfdd
mov qword [rbp + 0x50], rax
jmp 0x18004bfc3
lea rcx, [rbp + 0x30]
call fcn.18004b220
mov rax, qword [rbp + 0xa0]
cmp qword [rbp + 0x50], rax
jne 0x18004bb30
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x18004c039
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c096
call fcn.18006ae8c
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x18004c3f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c3ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c3ef
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
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18004c0ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c0e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x18004c143
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c13e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x18004c19d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c198
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x18004c1ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c1e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
movdqa xmm0, xmmword [0x1800bc7c0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18004c240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c23b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bdff
call fcn.18006ae8c
xor al, al
jmp 0x18004c489
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18004c28e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c289
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3e1
call fcn.18006ae8c
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x18004c2e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c2e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3e1
call fcn.18006ae8c
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x18004c33f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c33a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3e1
call fcn.18006ae8c
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x18004c38c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3e1
call fcn.18006ae8c
movdqa xmm0, xmmword [0x1800bc7c0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18004c240
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c23b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c23b
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
call fcn.18006ae8c
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x18004c430
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c42b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c479
call fcn.18006ae8c
movdqa xmm0, xmmword [0x1800bc7c0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18004c485
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c480
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c480
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006ae8c
movzx eax, r15b
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18006aac0
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.1800098a0
int3