Function at 0x180031940
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
push rbp
push r12
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov r8, qword [0x1801b7790]
xor r15d, r15d
movaps xmmword [rax - 0x28], xmm6
or rcx, 0xffffffffffffffff
movaps xmmword [rax - 0x38], xmm7
mov qword [rbp - 0x39], r15
lea edi, [r15 + 0xf]
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rdi
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x180031985
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180031cac
cmp qword [0x1801b7798], 0x10
lea rbx, [0x1801b7780]
mov qword [rsp + 0x30], rcx
mov r9, rbx
cmovae r9, qword [0x1801b7780]
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.180004630
mov rcx, qword [rbp - 9]
mov edx, 4
mov rax, qword [rbp - 1]
sub rax, rcx
cmp rax, rdx
jb 0x180031a13
cmp qword [rbp - 1], 0x10
lea rax, [rcx + 4]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
cmovae rax, qword [rbp - 0x19]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], r15b
lea rax, [rbp - 0x19]
jmp 0x180031a28
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x19]
call fcn.1800027e0
movups xmm6, xmmword [rax]
mov r12d, 0x1000
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rdi
mov byte [rax], r15b
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180031a73
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180031a6e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031aa9
call fcn.18008ead4
mov rdx, qword [rbp - 1]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, 0x10
jb 0x180031ab5
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180031ab0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031ab0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ead4
cmp qword [0x1801b7798], 0x10
cmovae rbx, qword [0x1801b7780]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x1801b77a8]
xorps xmm0, xmm0
mov rdi, qword [0x1801b77a0]
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
jmp 0x180031b49
cmp qword [rbp - 0x21], 0x10
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x180031b0a
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180031b17
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x180118cf0]
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 0x180031aeb
mov rsi, qword [0x1801b77d8]
mov rdi, qword [0x1801b77d0]
jmp 0x180031bc5
cmp qword [rbp - 0x21], 0x10
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x180031b7d
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180031b8a
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x180118cf0]
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 0x180031b5e
mov rsi, qword [0x1801b77c0]
mov rbx, qword [0x1801b77b8]
jmp 0x180031c46
cmp qword [rbp - 0x21], 0x10
lea rax, [rbp - 0x39]
mov rdi, qword [rbx]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rdi + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x180031bf9
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x180031c06
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x180118cf0]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp + 7]
sub ecx, 0x31
jne 0x180031c37
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 0x180031bda
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180031c85
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180031c80
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031c80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ead4
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
call fcn.180002234
int3