Function at 0x18002cff0
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0xd8
mov rdx, qword [0x1802be2d0]
lea r8, [0x1802862b0]
xor edi, edi
mov qword [rbp - 0x11], 0xf
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
movups xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x29], dil
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], dil
jne 0x18002d030
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x18002d5e3
cmp qword [0x1802be2d8], 0xf
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x49]
mov qword [rsp + 0xf0], rbx
lea rbx, [0x1802be2c0]
movaps xmmword [rsp + 0xb0], xmm6
mov r9, rbx
cmova r9, qword [0x1802be2c0]
mov qword [rsp + 0x28], r8
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0x20], rdx
call fcn.1800432e0
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x18002d0d4
lea rax, [rcx + 4]
cmp rdx, 0xf
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
cmova rax, qword [rbp - 0x49]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], dil
lea rax, [rbp - 0x49]
jmp 0x18002d0f2
lea r9, str..cfg
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rbp - 0x49]
call fcn.1800428a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18002d13f
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d13a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d179
call fcn.18008145c
mov rdx, qword [rbp - 0x31]
movups xmmword [rbp - 0x29], xmm6
movups xmmword [rbp - 0x19], xmm7
cmp rdx, 0xf
jbe 0x18002d185
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d180
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002d180
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008145c
cmp qword [0x1802be2d8], 0xf
mov qword [rsp + 0xf8], rsi
cmova rbx, qword [0x1802be2c0]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0xc8], r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [0x1802be2e0]
mov r14, qword [0x1802be2e8]
cmp rdi, r14
je 0x18002d2f4
nop word [rax + rax]
cmp qword [rbp - 0x11], 0xf
lea rsi, [rbp - 0x29]
mov rbx, qword [rdi]
lea r9, [rbp - 0x34]
cmova rsi, qword [rbp - 0x29]
mov rax, qword [rbx + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x18002d240
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 0x18002d200
dec r9
mov byte [r9], 0x2d
jmp 0x18002d26a
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 0x18002d240
lea r8, [rbp - 0x34]
mov rdx, r9
lea rcx, [rbp - 9]
call fcn.180043450
cmp qword [rbp + 0xf], 0xf
lea r8, [rbp - 9]
lea rdx, [rbx + 0x20]
cmova r8, qword [rbp - 9]
cmp qword [rdx + 0x18], 0xf
jbe 0x18002d296
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0xf
jbe 0x18002d2a0
mov rbx, qword [rbx]
mov r9, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x18002d2e7
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d2e2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d3af
call fcn.18008145c
add rdi, 8
cmp rdi, r14
jne 0x18002d1d0
mov qword [rsp + 0x100], r12
mov qword [rsp + 0xd0], r13
mov r13, qword [0x1802be318]
mov qword [rsp + 0xc0], r15
mov r15, qword [0x1802be310]
cmp r15, r13
je 0x18002d4ea
movabs rdi, 0x8000000000000000
nop dword [rax]
mov r14, qword [r15]
lea r12, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
lea rcx, [0x18026d588]
cmova r12, qword [rbp - 0x29]
mov rax, qword [r14 + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.18000b140
xor edx, edx
movsxd rsi, eax
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x31], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
cmp rsi, rax
ja 0x18002d5dd
cmp rsi, 0xf
ja 0x18002d3b6
mov r8, rsi
mov qword [rbp - 0x39], rsi
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x31], 0xf
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + rsi - 0x49], 0
jmp 0x18002d44a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x18002d3cb
mov rbx, rax
lea rax, [rdi + 0x27]
jmp 0x18002d3fc
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x18002d3e6
mov rdi, rdx
jmp 0x18002d423
cmp rcx, 0x1000
jb 0x18002d41b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002d5e9
mov rcx, rax
call fcn.180081420
test rax, rax
je 0x18002d587
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18002d423
call fcn.180081420
mov rdi, rax
mov r8, rsi
mov qword [rbp - 0x49], rdi
xor edx, edx
mov qword [rbp - 0x39], rsi
mov rcx, rdi
mov qword [rbp - 0x31], rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + rsi], 0
movabs rdi, 0x8000000000000000
cmp qword [rbp - 0x31], 0xf
lea rcx, [rbp - 0x49]
lea rdx, [rsi + 1]
movaps xmm3, xmm6
cmova rcx, qword [rbp - 0x49]
lea r8, [0x18026d588]
movq r9, xmm6
call fcn.18000b0e0
cmp qword [rbp - 0x31], 0xf
lea r8, [rbp - 0x49]
lea rdx, [r14 + 0x20]
cmova r8, qword [rbp - 0x49]
cmp qword [rdx + 0x18], 0xf
jbe 0x18002d48c
mov rdx, qword [rdx]
cmp qword [r14 + 0x18], 0xf
jbe 0x18002d496
mov r14, qword [r14]
mov r9, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x18002d4dd
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d4d8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d587
call fcn.18008145c
add r15, 8
cmp r15, r13
jne 0x18002d330
mov rdi, qword [0x1802be300]
mov rbx, qword [0x1802be2f8]
cmp rbx, rdi
je 0x18002d54e
lea rsi, [0x18026e230]
cmp qword [rbp - 0x11], 0xf
lea r9, [rbp - 0x29]
mov rcx, qword [rbx]
lea r8, [0x18026e234]
cmova r9, qword [rbp - 0x29]
lea rdx, [rcx + 0x20]
mov rax, qword [rcx + 0x40]
cmp byte [rax], 0
cmovne r8, rsi
cmp qword [rdx + 0x18], 0xf
jbe 0x18002d535
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x18002d53f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x18002d504
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18002d593
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d58e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002d58e
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.18008145c
mov r12, qword [rsp + 0x100]
mov r15, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xf8]
movaps xmm6, xmmword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop rdi
pop rbp
ret
call fcn.18000b1a0
int3
call fcn.18000b1a0
int3
call fcn.180003ff0
int3