Function at 0x18004fd00
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 [0x1800d9040]
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, [0x1800d94c8]
mov qword [rdx + 8], r13
xor r15b, r15b
call fcn.18004e950
add rax, qword [rdi + 0x20]
cmp qword [rdi + 0x10], rax
jbe 0x18004fd8f
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x18004fd82
mov rcx, qword [rdi]
cmp word [rcx + rax*2], 0x5c
mov r14d, 1
je 0x18004fd92
mov r14, r12
mov rcx, rdi
call fcn.18004e950
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], 7
jbe 0x18004fdcb
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
call fcn.180060930
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18005f130
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x18004fe28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fe23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004fe23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a9c0
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 0x1800508c7
sub rax, r14
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 7
jbe 0x18004fe61
mov rdi, qword [rdi]
lea rdx, [rdi + r14*2]
lea rcx, [rsp + 0x40]
call fcn.180060930
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.18004c520
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], 7
cmova rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x50]
call fcn.18004f1d0
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], 7
cmova 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.18004f1d0
mov rax, qword [rbp + 0xd0]
cmp qword [rbp + 0x70], rax
je 0x1800503f4
nop dword [rax + rax]
lea rdx, [rbp + 0x78]
lea rcx, [rbp]
call fcn.18005d810
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
mov rax, qword [rbp + 0x10]
lea r9, [rdx + rax*2]
lea rdx, [rbp]
cmova 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 0x18004ff94
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
jmp 0x18004ffa7
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rsp + 0x60]
call fcn.180060930
mov qword [rbp - 0x80], r12
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.18004c520
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.18004d6b0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x18005000a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050005
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005049d
call fcn.18007a9c0
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.18004d370
mov rax, qword [rbp - 0x30]
cmp dword [rbp + 0xa0], r12d
je 0x180050047
cmp eax, 1
jne 0x1800504a4
cmp eax, 1
jbe 0x180050211
cmp eax, 3
je 0x18005035a
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, 7
jbe 0x1800500ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800500a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 7
jbe 0x180050105
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x180050162
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005015d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1800501b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800501b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
movdqa xmm0, xmmword [0x1800ca950]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x18005064b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050646
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050646
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.18004d370
cmp dword [rbp + 0x100], 3
je 0x1800502da
cmp qword [rbp - 0x68], r12
je 0x1800502a9
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x1800502da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x40], r13
movups xmm0, xmmword [rbp - 0x48]
jmp 0x1800502d7
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rcx, qword [rbp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1800502da
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, 7
jbe 0x18005031a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050652
call fcn.18007a9c0
cmp dword [rbx], r12d
je 0x180050357
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.18004d370
cmp dword [rbp - 0x50], 3
jne 0x180050659
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov r15b, 1
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x18005039a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050395
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800507fc
call fcn.18007a9c0
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x50]
call fcn.18004f2c0
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov rcx, qword [rbp + 0x58]
cmp rax, rcx
je 0x1800503da
mov rdx, qword [rbp + 0x68]
nop
cmp rax, rdx
je 0x1800503da
cmp word [rax], 0x5c
jne 0x1800503da
add rax, 2
cmp rax, rcx
je 0x1800503da
mov qword [rbp + 0x70], rax
jmp 0x1800503c0
lea rcx, [rbp + 0x50]
call fcn.18004f540
mov rax, qword [rbp + 0xd0]
cmp qword [rbp + 0x70], rax
jne 0x18004ff40
mov rdx, qword [rbp + 0xf0]
cmp rdx, 7
jbe 0x180050436
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050431
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050496
call fcn.18007a9c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x180050808
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050803
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050803
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 [rbp + 0xa0]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x1800504ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800504e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 7
jbe 0x180050545
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050540
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x1800505a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005059d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1800505f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800505f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
movdqa xmm0, xmmword [0x1800ca950]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x18005064b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050646
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005020a
call fcn.18007a9c0
xor al, al
jmp 0x18005089d
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, 7
jbe 0x180050699
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050694
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800507f5
call fcn.18007a9c0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
mov rdx, qword [rbp + 0xf0]
cmp rdx, 7
jbe 0x1800506f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800506eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800507f5
call fcn.18007a9c0
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r12w
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x18005074d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050748
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800507f5
call fcn.18007a9c0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1800507a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005079b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800507f5
call fcn.18007a9c0
movdqa xmm0, xmmword [0x1800ca950]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x18005064b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050646
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050646
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.18007a9c0
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x180050844
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005083f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005088d
call fcn.18007a9c0
movdqa xmm0, xmmword [0x1800ca950]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x180050899
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050894
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a9c0
movzx eax, r15b
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.18007a8d0
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.18005ea00
int3