Function at 0x18001d220
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r12d, r12d
mov qword [rbp + 0xf], 0xf
lea rcx, [rbp + 0x17]
mov qword [rbp + 7], r12
mov byte [rbp - 9], r12b
call fcn.1800229e0
mov rbx, rax
lea rax, [rbp - 9]
cmp rax, rbx
je 0x18001d2ae
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18001d290
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d28b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d2e0
call fcn.18005cf6c
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x18001d2ec
mov rcx, qword [rbp + 0x17]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d2e7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d2e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cf6c
cmp qword [0x180092ed8], 0x10
lea rcx, [0x180092ec0]
mov qword [rsp + 0xb0], rsi
cmovae rcx, qword [0x180092ec0]
xor edx, edx
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [0x180092ee0]
mov r14, qword [0x180092ee8]
cmp rdi, r14
je 0x18001d484
nop word [rax + rax]
cmp qword [rbp + 0xf], 0x10
lea rsi, [rbp - 9]
mov rbx, qword [rdi]
lea r9, [rbp - 0x14]
cmovae rsi, qword [rbp - 9]
mov rax, qword [rbx + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x18001d3b0
neg r8d
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18001d370
dec r9
mov byte [r9], 0x2d
jmp 0x18001d3da
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18001d3b0
lea rcx, [rbp - 0x14]
mov qword [rbp + 0x27], r12
mov byte [rbp + 0x17], r12b
mov eax, 0xf
mov qword [rbp + 0x2f], rax
cmp r9, rcx
je 0x18001d40b
lea r8, [rbp - 0x14]
mov rdx, r9
sub r8, r9
lea rcx, [rbp + 0x17]
call fcn.1800225f0
mov rax, qword [rbp + 0x2f]
cmp rax, 0x10
lea r8, [rbp + 0x17]
lea rdx, [rbx + 0x20]
cmovae r8, qword [rbp + 0x17]
cmp qword [rdx + 0x18], 0x10
jb 0x18001d426
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
jb 0x18001d430
mov rbx, qword [rbx]
mov r9, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x18001d477
mov rcx, qword [rbp + 0x17]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d472
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d643
call fcn.18005cf6c
add rdi, 8
cmp rdi, r14
jne 0x18001d340
mov rsi, qword [0x180092f10]
mov r14, qword [0x180092f18]
mov qword [rsp + 0xc8], r15
movaps xmmword [rsp + 0x80], xmm6
cmp rsi, r14
je 0x18001d59f
nop dword [rax + rax]
mov rdi, qword [rsi]
lea r15, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
lea rcx, [0x1800608d4]
cmovae r15, qword [rbp - 9]
mov rax, qword [rdi + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.180001220
movsxd rbx, eax
lea rcx, [rbp - 0x29]
mov rdx, rbx
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], r12b
call fcn.180022480
cmp qword [rbp - 0x11], 0x10
lea rcx, [rbp - 0x29]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
cmovae rcx, qword [rbp - 0x29]
lea r8, [0x1800608d4]
movq r9, xmm6
call fcn.1800011c0
cmp qword [rbp - 0x11], 0x10
lea r8, [rbp - 0x29]
lea rdx, [rdi + 0x20]
cmovae r8, qword [rbp - 0x29]
cmp qword [rdx + 0x18], 0x10
jb 0x18001d541
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
jb 0x18001d54b
mov rdi, qword [rdi]
mov r9, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x18001d592
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d58d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d64a
call fcn.18005cf6c
add rsi, 8
cmp rsi, r14
jne 0x18001d4b0
mov rdi, qword [0x180092f00]
mov rbx, qword [0x180092ef8]
cmp rbx, rdi
je 0x18001d60a
lea rsi, [0x180062174]
nop dword [rax]
cmp qword [rbp + 0xf], 0x10
lea r9, [rbp - 9]
mov rcx, qword [rbx]
lea r8, [0x180062178]
cmovae r9, qword [rbp - 9]
lea rdx, [rcx + 0x20]
mov rax, qword [rcx + 0x40]
cmp byte [rax], r12b
cmovne r8, rsi
cmp qword [rdx + 0x18], 0x10
jb 0x18001d5f1
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x18001d5fb
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x18001d5c0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18001d656
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d651
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d651
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cf6c
mov r15, qword [rsp + 0xc8]
movaps xmm6, xmmword [rsp + 0x80]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xc0]
add rsp, 0x90
pop r12
pop rbx
pop rbp
ret