Function at 0x18003129c
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
and qword [rbp - 9], 0
xorps xmm0, xmm0
mov r8, qword [0x1801b7830]
mov r15d, 0xf
movups xmmword [rbp - 0x19], xmm0
or rcx, 0xffffffffffffffff
mov byte [rbp - 0x19], 0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov qword [rbp - 1], r15
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1800312ec
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180031643
cmp qword [0x1801b7838], r15
lea rbx, [0x1801b7820]
mov qword [rsp + 0x30], rcx
mov r9, rbx
cmova r9, qword [0x1801b7820]
lea rcx, [rbp + 7]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.1800046d4
mov rcx, qword [rbp + 0x17]
mov edx, 4
mov rax, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, rdx
jb 0x180031378
cmp qword [rbp + 0x1f], r15
lea rax, [rcx + 4]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmova rax, qword [rbp + 7]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], 0
lea rax, [rbp + 7]
jmp 0x18003138d
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 7]
call fcn.180002870
movups xmm6, xmmword [rax]
mov r13d, 0x1000
movups xmm7, xmmword [rax + 0x10]
and qword [rax + 0x10], 0
mov qword [rax + 0x18], r15
mov byte [rax], 0
mov rdx, qword [rbp - 1]
cmp rdx, r15
jbe 0x1800313d8
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x1800313d3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003140d
call fcn.18008ee04
mov rdx, qword [rbp + 0x1f]
movups xmmword [rbp - 0x19], xmm6
movups xmmword [rbp - 9], xmm7
cmp rdx, r15
jbe 0x180031419
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180031414
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031414
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ee04
cmp qword [0x1801b7838], r15
cmova rbx, qword [0x1801b7820]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [0x1801b7840]
mov r14, qword [0x1801b7848]
jmp 0x1800314c9
mov rbx, qword [rdi]
lea rsi, [rbp - 0x19]
cmp qword [rbp - 1], r15
lea rcx, [rbp + 7]
cmova rsi, qword [rbp - 0x19]
mov rdx, qword [rbx + 0x40]
mov edx, dword [rdx]
call fcn.18000ae64
cmp qword [rax + 0x18], r15
jbe 0x18003146e
mov rax, qword [rax]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], r15
jbe 0x18003147b
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], r15
jbe 0x180031484
mov rbx, qword [rbx]
mov r9, rsi
mov r8, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp + 0x1f]
cmp rdx, r15
jbe 0x1800314c5
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x1800314c0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800314e5
call fcn.18008ee04
add rdi, 8
cmp rdi, r14
jne 0x180031446
mov rbx, qword [0x1801b7870]
mov rsi, qword [0x1801b7878]
jmp 0x180031571
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [rbx]
lea r14, [rbp - 0x19]
cmp qword [rbp - 1], r15
lea rcx, [rbp + 7]
cmova r14, qword [rbp - 0x19]
mov rax, qword [rdi + 0x40]
movss xmm1, dword [rax]
call fcn.18000af1c
cmp qword [rax + 0x18], r15
jbe 0x180031516
mov rax, qword [rax]
lea rdx, [rdi + 0x20]
cmp qword [rdx + 0x18], r15
jbe 0x180031523
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], r15
jbe 0x18003152c
mov rdi, qword [rdi]
mov r9, r14
mov r8, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp + 0x1f]
cmp rdx, r15
jbe 0x18003156d
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180031568
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003158a
call fcn.18008ee04
add rbx, 8
cmp rbx, rsi
jne 0x1800314ec
mov rdi, qword [0x1801b7860]
mov rbx, qword [0x1801b7858]
jmp 0x1800315da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rbp - 1], r15
lea rdx, [0x180118ca4]
mov rcx, qword [rbx]
lea r9, [rbp - 0x19]
cmova r9, qword [rbp - 0x19]
lea r8, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov rax, qword [rcx + 0x40]
cmp byte [rax], 0
cmovne r8, rdx
lea rdx, [rcx + 0x20]
cmp qword [rdx + 0x18], r15
jbe 0x1800315c7
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], r15
jbe 0x1800315d0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x180031591
mov rdx, qword [rbp - 1]
cmp rdx, r15
jbe 0x180031618
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180031613
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031613
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ee04
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800022c4
int3