Function at 0x180022dd0
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
mov rcx, qword [0x180169dc0]
xorps xmm0, xmm0
and qword [rbp - 9], 0
mov edi, 0xf
mov rdx, qword [0x180169940]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movabs rax, 0x7fffffffffffffff
sub rax, rcx
mov qword [rbp - 1], rdi
movups xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x19], 0
cmp rax, rdx
jb 0x180023188
mov qword [rsp + 0x30], rdx
lea r15d, [rdi + 1]
cmp qword [0x180169dc8], r15
lea rbx, [0x180169db0]
mov r9, rbx
lea rax, [0x180169930]
cmovae r9, qword [0x180169db0]
cmp qword [0x180169948], r15
cmovae rax, qword [0x180169930]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 7]
call fcn.180003dd0
mov rcx, qword [rbp + 0x17]
lea edx, [rdi - 0xb]
mov rax, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, rdx
jb 0x180022ebd
cmp qword [rbp + 0x1f], r15
lea rax, [rcx + 4]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmovae rax, qword [rbp + 7]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], 0
lea rax, [rbp + 7]
jmp 0x180022ed2
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 7]
call fcn.180001e90
movups xmm6, xmmword [rax]
mov r13d, 0x1000
movups xmm7, xmmword [rax + 0x10]
and qword [rax + 0x10], 0
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rdx, qword [rbp - 1]
cmp rdx, r15
jb 0x180022f1d
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180022f18
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022f52
call fcn.1800666b4
mov rdx, qword [rbp + 0x1f]
movups xmmword [rbp - 0x19], xmm6
movups xmmword [rbp - 9], xmm7
cmp rdx, r15
jb 0x180022f5e
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180022f59
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022f59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800666b4
cmp qword [0x180169dc8], r15
cmovae rbx, qword [0x180169db0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [0x180169dd0]
mov r14, qword [0x180169dd8]
cmp rdi, r14
je 0x18002301e
mov rbx, qword [rdi]
lea rsi, [rbp - 0x19]
cmp qword [rbp - 1], r15
lea rcx, [rbp + 7]
cmovae rsi, qword [rbp - 0x19]
mov rdx, qword [rbx + 0x40]
mov edx, dword [rdx]
call fcn.180005284
cmp qword [rax + 0x18], r15
jb 0x180022fb7
mov rax, qword [rax]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], r15
jb 0x180022fc4
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], r15
jb 0x180022fcd
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
jb 0x18002300e
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180023009
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180023017
call fcn.1800666b4
add rdi, 8
jmp 0x180022f86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [0x180169e00]
mov rsi, qword [0x180169e08]
cmp rbx, rsi
je 0x1800230c6
mov rdi, qword [rbx]
lea r14, [rbp - 0x19]
cmp qword [rbp - 1], r15
lea rcx, [rbp + 7]
cmovae r14, qword [rbp - 0x19]
mov rax, qword [rdi + 0x40]
movss xmm1, dword [rax]
call fcn.18000533c
cmp qword [rax + 0x18], r15
jb 0x18002305f
mov rax, qword [rax]
lea rdx, [rdi + 0x20]
cmp qword [rdx + 0x18], r15
jb 0x18002306c
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], r15
jb 0x180023075
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
jb 0x1800230b6
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x1800230b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800230bf
call fcn.1800666b4
add rbx, 8
jmp 0x18002302c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [0x180169df0]
mov rbx, qword [0x180169de8]
jmp 0x18002311f
cmp qword [rbp - 1], r15
lea rdx, [0x1800efaf4]
mov rcx, qword [rbx]
lea r9, [rbp - 0x19]
cmovae 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
jb 0x18002310c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], r15
jb 0x180023115
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x1800230d6
mov rdx, qword [rbp - 1]
cmp rdx, r15
jb 0x18002315d
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x180023158
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180023158
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800666b4
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.1800018d4
int3