Function at 0x14004dcc0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor r12d, r12d
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov qword [rbp - 0x58], r12
mov dword [rdx], r12d
lea r13, [0x1400c9098]
mov qword [rdx + 8], r13
xor r15b, r15b
call fcn.14004c9f0
add rax, qword [rdi + 0x20]
lea rsi, [rdi + 0x18]
cmp qword [rdi + 0x10], rax
jbe 0x14004dd3e
mov rcx, rdi
cmp qword [rsi], 7
jbe 0x14004dd31
mov rcx, qword [rdi]
cmp word [rcx + rax*2], 0x5c
mov r14d, 1
je 0x14004dd41
mov r14, r12
mov rcx, rdi
call fcn.14004c9f0
add r14, rax
add r14, qword [rdi + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8, r14
cmp qword [rdi + 0x10], r14
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rsi], 7
jbe 0x14004dd77
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call fcn.140049720
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.140053d40
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14004ddd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ddcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004df14
lea rsi, [rdi + 0x18]
call fcn.1400744bc
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, r14
jb 0x14004e850
sub rax, r14
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi], 7
jbe 0x14004de07
mov rdi, qword [rdi]
lea rdx, [rdi + r14*2]
lea rcx, [rbp - 0x50]
call fcn.140049720
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], r12
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14004a550
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov qword [rbp + 0x150], rax
lea r8, [rbp + 0x150]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14004d250
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea rcx, [rcx + rax*2]
mov qword [rbp + 0x150], rcx
lea r8, [rbp + 0x150]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14004d250
mov rax, qword [rbp + 0x50]
cmp qword [rbp - 0x10], rax
je 0x14004e3c6
nop dword [rax + rax]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x68]
call fcn.1400533f0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
lea r9, [rdx + rax*2]
lea rdx, [rsp + 0x68]
cmova rdx, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], r12
cmp rdx, r9
jne 0x14004df1b
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r12w
jmp 0x14004df30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rbp + 0x80]
call fcn.140049720
mov qword [rbp + 0xa0], r12
mov edx, 2
lea rcx, [rbp + 0x80]
call fcn.14004a550
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x78]
call fcn.14004b790
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14004df9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004df99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e45d
call fcn.1400744bc
mov dword [rbp + 0x20], r12d
mov qword [rbp + 0x28], r13
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x150]
call fcn.14004b3c0
mov rax, qword [rbp + 0x150]
cmp dword [rbp + 0x20], r12d
je 0x14004dfe2
cmp eax, 1
jne 0x14004e464
cmp eax, 1
jbe 0x14004e198
cmp eax, 3
je 0x14004e32c
mov dword [rbp - 0x50], 0xb7
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004e047
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x14004e09a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14004e0eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e0e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14004e13a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e135
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
movdqa xmm0, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004e5f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e5f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e5f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], r12w
mov qword [rbp + 0xc8], r12
mov dword [rbp + 0xd0], r12d
mov qword [rbp + 0xd8], r13
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0xd0]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x158]
call fcn.14004b3c0
cmp dword [rbp + 0x158], 3
je 0x14004e29c
cmp qword [rbp + 0xb8], r12
je 0x14004e265
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 7
cmova rcx, qword [rbp + 0xa8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x14004e29c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe0], eax
mov qword [rbp + 0xe8], r13
movups xmm0, xmmword [rbp + 0xe0]
jmp 0x14004e299
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14004e29c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xf0], eax
mov qword [rbp + 0xf8], r13
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x14004e2e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e2dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e5fe
call fcn.1400744bc
cmp dword [rbx], r12d
je 0x14004e329
mov dword [rbp - 0x50], r12d
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x160]
call fcn.14004b3c0
cmp dword [rbp + 0x160], 3
jne 0x14004e605
mov dword [rbx], r12d
mov qword [rbx + 8], r13
mov r15b, 1
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004e36d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e368
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e797
call fcn.1400744bc
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x168]
lea rcx, [rbp - 0x30]
call fcn.14004d330
mov rax, qword [rax]
mov qword [rbp - 0x10], rax
mov rcx, qword [rbp - 0x28]
cmp rax, rcx
je 0x14004e3af
mov rdx, qword [rbp - 0x18]
cmp rax, rdx
je 0x14004e3af
cmp word [rax], 0x5c
jne 0x14004e3af
add rax, 2
cmp rax, rcx
je 0x14004e3af
mov qword [rbp - 0x10], rax
jmp 0x14004e395
lea rcx, [rbp - 0x30]
call fcn.14004d590
mov rax, qword [rbp + 0x50]
cmp qword [rbp - 0x10], rax
jne 0x14004deb0
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x14004e402
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e3fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e456
call fcn.1400744bc
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14004e7a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e79e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e79e
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 + 0x20]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004e4ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e4a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x14004e4ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e4fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14004e550
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e54b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14004e5a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e59e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
movdqa xmm0, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004e5f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e5f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e191
call fcn.1400744bc
xor al, al
jmp 0x14004e83c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004e646
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e790
call fcn.1400744bc
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x14004e699
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e694
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e790
call fcn.1400744bc
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14004e6ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e6e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e790
call fcn.1400744bc
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14004e739
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e790
call fcn.1400744bc
movdqa xmm0, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004e5f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e5f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e5f2
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.1400744bc
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14004e7e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e7dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e82c
call fcn.1400744bc
movdqa xmm0, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004e838
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
movzx eax, r15b
add rsp, 0x208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140053c00
int3