Function at 0x18003182c
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 [0x1801b7830]
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 0x18003187c
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180031b98
cmp qword [0x1801b7838], r14
lea rbx, [0x1801b7820]
mov qword [rsp + 0x30], rcx
mov r9, rbx
cmova r9, qword [0x1801b7820]
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.1800046d4
mov rcx, qword [rbp - 9]
mov edx, 4
mov rax, qword [rbp - 1]
sub rax, rcx
cmp rax, rdx
jb 0x180031908
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 0x18003191d
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x19]
call fcn.180002870
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 0x180031967
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180031962
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003199c
call fcn.18008ee04
mov rdx, qword [rbp - 1]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, r14
jbe 0x1800319a8
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x1800319a3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800319a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ee04
cmp qword [0x1801b7838], r14
cmova rbx, qword [0x1801b7820]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x1801b7848]
xorps xmm0, xmm0
mov rdi, qword [0x1801b7840]
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
jmp 0x180031a38
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 0x1800319fa
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x180031a06
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x180118c60]
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 0x1800319dd
mov rsi, qword [0x1801b7878]
mov rdi, qword [0x1801b7870]
jmp 0x180031ab1
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 0x180031a6a
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x180031a76
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x180118c60]
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 0x180031a4d
mov rsi, qword [0x1801b7860]
mov rbx, qword [0x1801b7858]
jmp 0x180031b2f
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 0x180031ae3
mov rdx, qword [rdx]
mov rcx, rdi
cmp qword [rdi + 0x18], r14
jbe 0x180031aef
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x180118c60]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp + 7]
sub ecx, 0x31
jne 0x180031b20
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 0x180031ac6
mov rdx, qword [rbp - 0x21]
cmp rdx, r14
jbe 0x180031b6d
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180031b68
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031b68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ee04
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.1800022c4
int3