Function at 0x180149c10
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x18025cbc0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
xor r15d, r15d
cmp qword [rcx + 0x18], 0xf
jbe 0x180149c58
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x180149e5e
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x180149ec9
mov r12, r15
lea r13, [0x180220bbc]
movzx ebx, byte [rsp + 0x20]
nop word [rax + rax]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rdi + r13], 0
jne 0x180149ca0
mov r15, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180149cb7
mov r15, qword [rsi]
test rdi, rdi
je 0x180149d1d
cmp r12, r14
jae 0x180149d1d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov rcx, r13
lea rdx, [rdi + r13]
cmp r13, rdx
je 0x180149cf0
nop
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x80], 1
inc rcx
cmp rcx, rdx
jne 0x180149ce0
lea rcx, [r14 + r15]
lea rdi, [r15 + r12]
cmp rdi, rcx
jae 0x180149d1d
nop dword [rax]
movzx eax, byte [rdi]
cmp byte [rbp + rax - 0x80], 0
jne 0x180149d14
inc rdi
cmp rdi, rcx
jb 0x180149d00
jmp 0x180149d1d
sub rdi, r15
cmp rdi, 0xffffffffffffffff
jne 0x180149d21
mov rdi, qword [rsi + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov r8, rdi
cmp qword [rsi + 0x10], rdi
cmovb r8, qword [rsi + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180149d4f
mov rdx, qword [rsi]
lea rcx, [rsp + 0x28]
call fcn.180002e60
nop
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rcx, 2
jne 0x180149dcd
lea rax, [rsp + 0x28]
cmp rdx, 0xf
cmova rax, r8
cmp byte [rax + 1], 0x3a
jne 0x180149dcd
cmp rdx, rcx
jbe 0x180149da5
mov qword [rsp + 0x38], 3
lea rax, [rsp + 0x28]
cmp rdx, 0xf
cmova rax, r8
mov word [rax + 2], 0x5c
jmp 0x180149dbb
mov r9b, 0x5c
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.180003bc0
inc rdi
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
test rcx, rcx
je 0x180149e17
lea rcx, [rsp + 0x28]
cmp rdx, 0xf
cmova rcx, r8
lea rdx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x180149e0d
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
jne 0x180149e90
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
lea r12, [rdi + 1]
cmp rdx, 0xf
jbe 0x180149e51
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x180149e49
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180149ecd
mov rcx, r8
call fcn.180150e98
mov r14, qword [rsi + 0x10]
cmp r12, r14
jb 0x180149c90
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180151320
lea r11, [rsp + 0x190]
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
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180149ec9
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180149ec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180149ecd
call fcn.180150e98
xor al, al
jmp 0x180149e60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3