Function at 0x180023840
Capabilities:
Create directory
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov r8, qword [0x180169e30]
xor r15d, r15d
xorps xmm0, xmm0
movaps xmmword [rax - 0x28], xmm6
movups xmmword [rbp - 0x39], xmm0
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x29], r15
lea r14d, [r15 + 0xf]
movaps xmmword [rax - 0x38], xmm7
mov qword [rbp - 0x21], r14
mov byte [rbp - 0x39], r15b
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x180023890
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180023bac
cmp qword [0x180169e38], r14
lea rbx, [0x180169e20]
mov qword [rsp + 0x30], rcx
mov r9, rbx
cmova r9, qword [0x180169e20]
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.180003df8
mov rcx, qword [rbp - 9]
mov edx, 4
mov rax, qword [rbp - 1]
sub rax, rcx
cmp rax, rdx
jb 0x18002391c
cmp qword [rbp - 1], r14
lea rax, [rcx + 4]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
cmova rax, qword [rbp - 0x19]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], r15b
lea rax, [rbp - 0x19]
jmp 0x180023931
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x19]
call fcn.180001ea4
movups xmm6, xmmword [rax]
mov r12d, 0x1000
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r14
mov byte [rax], r15b
mov rdx, qword [rbp - 0x21]
cmp rdx, r14
jbe 0x18002397b
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180023976
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800239b0
call fcn.1800cfa84
mov rdx, qword [rbp - 1]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, r14
jbe 0x1800239bc
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x1800239b7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800239b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cfa84
cmp qword [0x180169e38], r14
cmova rbx, qword [0x180169e20]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x180169e48]
xorps xmm0, xmm0
mov rdi, qword [0x180169e40]
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
jmp 0x180023a4c
cmp qword [rbp - 0x21], r14
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmova rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], r14
jbe 0x180023a0e
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x180023a1a
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x1800efaa8]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rbx + 0x40]
add rdi, 8
mov dword [rcx], eax
cmp rdi, rsi
jne 0x1800239f1
mov rsi, qword [0x180169e78]
mov rdi, qword [0x180169e70]
jmp 0x180023ac5
cmp qword [rbp - 0x21], r14
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmova rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], r14
jbe 0x180023a7e
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x180023a8a
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x1800efaa8]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov rax, qword [rbx + 0x40]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
add rdi, 8
movss dword [rax], xmm1
cmp rdi, rsi
jne 0x180023a61
mov rsi, qword [0x180169e60]
mov rbx, qword [0x180169e58]
jmp 0x180023b43
cmp qword [rbp - 0x21], r14
lea rax, [rbp - 0x39]
mov rdi, qword [rbx]
cmova rax, qword [rbp - 0x39]
lea rdx, [rdi + 0x20]
cmp qword [rdx + 0x18], r14
jbe 0x180023af7
mov rdx, qword [rdx]
mov rcx, rdi
cmp qword [rdi + 0x18], r14
jbe 0x180023b03
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x1800efaa8]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp + 7]
sub ecx, 0x31
jne 0x180023b34
movzx ecx, byte [rbp + 8]
movzx eax, r15b
sub ecx, eax
mov rax, qword [rdi + 0x40]
test ecx, ecx
sete cl
add rbx, 8
mov byte [rax], cl
cmp rbx, rsi
jne 0x180023ada
mov rdx, qword [rbp - 0x21]
cmp rdx, r14
jbe 0x180023b81
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180023b7c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180023b7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cfa84
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, 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