Function at 0x1801878b0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
cmp qword [rcx + 0x10], r12
jne 0x1801878fe
jmp 0x180187c43
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x180291a30]
movdqu xmmword [rbp + 0x17], xmm1
mov byte [rbp + 7], 0
cmp qword [rcx + 0x10], 0
je 0x1801879d4
cmp qword [rcx + 0x18], 0x10
jb 0x180187930
mov rcx, qword [rcx]
nop dword [rax]
mov rax, rdi
mov r8, qword [rdi + 0x18]
cmp r8, 0x10
jb 0x180187940
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x10]
add rax, rdx
cmp rcx, rax
je 0x180187959
cmp byte [rcx], 0x5c
jne 0x180187954
mov byte [rcx], 0x2f
inc rcx
jmp 0x180187930
lea rax, [rdx - 1]
cmp rdx, rax
jbe 0x180187c77
mov rcx, rdi
cmp r8, 0x10
jb 0x180187972
mov rcx, qword [rdi]
cmp byte [rax + rcx], 0x2f
je 0x1801879d4
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1801879b7
lea rax, [rdx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r8, 0x10
jb 0x180187998
mov rax, qword [rdi]
lea rbx, [rax + rdx]
mov r8d, 1
lea rdx, [0x18028a180]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 1], 0
jmp 0x1801879d4
mov qword [rsp + 0x20], 1
lea r9, [0x18028a180]
mov edx, 1
mov rcx, rdi
call fcn.18011fd00
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1801879e1
mov rbx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov r13, 0xffffffffffffffff
test r8, r8
je 0x180187a0a
lea edx, [r13 + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x180187a0a
sub rsi, rbx
jmp 0x180187a0d
mov rsi, r13
cmp rsi, r13
je 0x180187c2f
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.180104f60
nop
mov rbx, qword [rbp - 9]
test rbx, rbx
je 0x180187b28
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], r12
lea r15, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae r15, qword [rbp - 0x19]
cmp rbx, 0x10
jae 0x180187a64
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x41], InitCommonControls
jmp 0x180187adb
mov r14, rbx
or r14, 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
cmova r14, rax
lea rax, [r14 + 1]
cmp rax, 0x1000
jb 0x180187ab2
lea rcx, [rax + 0x27]
cmp rcx, rax
cmovbe rcx, r13
call fcn.18022a7fc
mov rcx, rax
test rax, rax
je 0x180187bb6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180187ac4
test rax, rax
je 0x180187ac1
mov rcx, rax
call fcn.18022a7fc
jmp 0x180187ac4
mov rax, r12
mov qword [rbp - 0x59], rax
lea r8, [rbx + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x59]
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rcx, qword [rbp - 0x59]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
mov ebx, eax
lea rcx, [rbp - 0x59]
call fcn.1800072a0
test ebx, ebx
jne 0x180187b28
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x180187bbd
inc rsi
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180187b38
mov rbx, qword [rdi]
mov r8, qword [rdi + 0x10]
cmp rsi, r8
jae 0x180187b5f
sub r8, rsi
lea rcx, [rbx + rsi]
mov edx, 0x2f
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x180187b5f
sub rsi, rbx
jmp 0x180187b62
mov rsi, r13
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x180187b9d
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180187b98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180187c28
call fcn.18022acec
mov qword [rbp - 9], r12
mov qword [rbp - 1], InitCommonControls
mov byte [rbp - 0x19], 0
cmp rsi, 0xffffffffffffffff
jmp 0x180187a10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x180187bfb
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180187bf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180187bf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rbp - 9], r12
mov qword [rbp - 1], InitCommonControls
mov byte [rbp - 0x19], 0
movdqa xmm0, xmmword [0x180291a30]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rcx, rdi
call fcn.1800072a0
xor al, al
jmp 0x180187c4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movdqa xmm0, xmmword [0x180291a30]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rcx, rdi
call fcn.1800072a0
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18022a7d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800094e0
nop
int3