Function at 0x18002c330
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0xd8
mov rdx, qword [0x1802841a0]
lea r8, [0x1802801b0]
xor edi, edi
mov qword [rbp + 7], 0xf
xorps xmm0, xmm0
mov qword [rbp - 1], rdi
movups xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x11], dil
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], dil
jne 0x18002c371
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x18002c96f
cmp qword [0x1802841a8], 0x10
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x31]
mov qword [rsp + 0xf8], rbx
lea rbx, [0x180284190]
movaps xmmword [rsp + 0xb0], xmm6
mov r9, rbx
cmovae r9, qword [0x180284190]
mov qword [rsp + 0x28], r8
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0x20], rdx
call fcn.180042f00
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x18002c415
lea rax, [rcx + 4]
cmp rdx, 0x10
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x31]
cmovae rax, qword [rbp - 0x31]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], dil
lea rax, [rbp - 0x31]
jmp 0x18002c433
lea r9, str..cfg
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rbp - 0x31]
call fcn.1800425a0
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 + 7]
cmp rdx, 0x10
jb 0x18002c480
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c47b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c4ba
call fcn.180083a8c
mov rdx, qword [rbp - 0x19]
movups xmmword [rbp - 0x11], xmm6
movups xmmword [rbp - 1], xmm7
cmp rdx, 0x10
jb 0x18002c4c6
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c4c1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002c4c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083a8c
cmp qword [0x1802841a8], 0x10
mov qword [rsp + 0x100], rsi
cmovae rbx, qword [0x180284190]
xor edx, edx
mov qword [rsp + 0x108], r12
mov rcx, rbx
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rbx, qword [0x1802841b8]
mov r9d, 0x16
mov r12, qword [0x1802841b0]
mov qword [rbp + 0x67], rbx
cmp r12, rbx
je 0x18002c6fa
nop word [rax + rax]
cmp qword [rbp + 7], 0x10
lea r13, [rbp - 0x11]
mov r15, qword [r12]
lea rdi, [rbp - 0x34]
cmovae r13, qword [rbp - 0x11]
mov rax, qword [r15 + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x18002c592
neg r8d
nop word [rax + rax]
dec rdi
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 [rdi], r8b
mov r8d, edx
test edx, edx
jne 0x18002c560
dec rdi
mov byte [rdi], 0x2d
jmp 0x18002c5bc
dec rdi
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 [rdi], r8b
mov r8d, edx
test edx, edx
jne 0x18002c592
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x34]
movups xmmword [rbp - 0x31], xmm0
cmp rdi, rax
jne 0x18002c5eb
mov qword [rbp - 0x19], 0xf
lea r8, [rbp - 0x31]
mov byte [rbp - 0x31], 0
jmp 0x18002c682
lea rsi, [rbp - 0x34]
movabs rax, 0x7fffffffffffffff
sub rsi, rdi
cmp rsi, rax
ja 0x18002c975
mov qword [rbp - 0x19], 0xf
cmp rsi, 0x10
jae 0x18002c62d
mov r8, rsi
mov qword [rbp - 0x21], rsi
mov rdx, rdi
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rsi - 0x31], 0
jmp 0x18002c674
mov r14, rsi
or r14, 0xf
cmp r14, rax
jbe 0x18002c63e
mov r14, rax
jmp 0x18002c646
cmp r14, 0x16
cmovb r14, r9
lea rdx, [r14 + 1]
call fcn.180040ef0
mov r8, rsi
mov qword [rbp - 0x31], rax
mov rdx, rdi
mov qword [rbp - 0x21], rsi
mov rcx, rax
mov qword [rbp - 0x19], r14
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rbx, qword [rbp + 0x67]
cmp qword [rbp - 0x19], 0x10
lea r8, [rbp - 0x31]
cmovae r8, qword [rbp - 0x31]
cmp qword [r15 + 0x38], 0x10
lea rdx, [r15 + 0x20]
jb 0x18002c690
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
jb 0x18002c69a
mov r15, qword [r15]
mov r9, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x18002c6dd
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c6d8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c6f1
call fcn.180083a8c
add r12, 8
cmp r12, rbx
je 0x18002c6f8
mov r9d, 0x16
jmp 0x18002c530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edi, edi
mov r15, qword [0x1802841e0]
mov r13, qword [0x1802841e8]
cmp r15, r13
je 0x18002c876
mov r14, qword [r15]
lea r12, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
lea rcx, [0x1802607c8]
cmovae r12, qword [rbp - 0x11]
mov rax, qword [r14 + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.18000af90
movsxd rsi, eax
xorps xmm0, xmm0
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], rdi
movups xmmword [rbp - 0x31], xmm0
cmp rsi, rax
ja 0x18002c969
mov qword [rbp - 0x19], 0xf
cmp rsi, 0x10
jae 0x18002c78d
mov r8, rsi
mov qword [rbp - 0x21], rsi
xor edx, edx
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + rsi - 0x31], 0
jmp 0x18002c7d6
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x18002c79e
mov rdi, rax
jmp 0x18002c7ab
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.180040ef0
mov r8, rsi
mov qword [rbp - 0x31], rax
xor edx, edx
mov qword [rbp - 0x21], rsi
mov rcx, rax
mov qword [rbp - 0x19], rdi
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov byte [rbx + rsi], 0
cmp qword [rbp - 0x19], 0x10
lea rcx, [rbp - 0x31]
lea rdx, [rsi + 1]
movaps xmm3, xmm6
cmovae rcx, qword [rbp - 0x31]
lea r8, [0x1802607c8]
movq r9, xmm6
call fcn.18000af30
cmp qword [rbp - 0x19], 0x10
lea r8, [rbp - 0x31]
lea rdx, [r14 + 0x20]
cmovae r8, qword [rbp - 0x31]
cmp qword [rdx + 0x18], 0x10
jb 0x18002c818
mov rdx, qword [rdx]
cmp qword [r14 + 0x18], 0x10
jb 0x18002c822
mov r14, qword [r14]
mov r9, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x18002c869
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c864
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c913
call fcn.180083a8c
add r15, 8
cmp r15, r13
jne 0x18002c711
mov rdi, qword [0x1802841d0]
mov rbx, qword [0x1802841c8]
cmp rbx, rdi
je 0x18002c8da
lea rsi, [0x18025f788]
cmp qword [rbp + 7], 0x10
lea r9, [rbp - 0x11]
mov rcx, qword [rbx]
lea r8, [0x180261484]
cmovae r9, qword [rbp - 0x11]
lea rdx, [rcx + 0x20]
mov rax, qword [rcx + 0x40]
cmp byte [rax], 0
cmovne r8, rsi
cmp qword [rdx + 0x18], 0x10
jb 0x18002c8c1
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x18002c8cb
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x18002c890
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x18002c91f
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c91a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002c91a
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.180083a8c
mov r12, qword [rsp + 0x108]
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf8]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop rdi
pop rbp
ret
call fcn.18000aff0
int3
call fcn.18000aff0
int3
call fcn.18000aff0
int3