Function at 0x1800597e0
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 r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1800b7040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], r15b
mov rdx, qword [0x1803d9d68]
lea r8, [0x180338d10]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180059844
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x180059b72
lea rbx, [0x1803d9d58]
mov r9, rbx
cmp qword [0x1803d9d70], 0xf
cmova r9, qword [0x1803d9d58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x41]
call fcn.180088a00
nop
mov r8d, 4
lea rdx, str..cfg
lea rcx, [rbp - 0x41]
call fcn.18000a6f0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x180059901
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800598fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800598fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009145c
movups xmmword [rbp - 0x21], xmm6
movups xmmword [rbp - 0x11], xmm7
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x180059947
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180059942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180059942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009145c
cmp qword [0x1803d9d70], 0xf
cmova rbx, qword [0x1803d9d58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
mov rsi, qword [0x1803d9d10]
mov rdi, qword [0x1803d9d08]
cmp rdi, rsi
je 0x1800599e3
mov rbx, qword [rdi]
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rax, qword [rbp - 0x21]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005999f
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800599ac
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
lea r9, [rbp - 1]
lea r8, [0x180096ef1]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp - 1]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rbx + 0x40]
mov dword [rcx], eax
add rdi, 8
cmp rdi, rsi
jne 0x180059980
mov rsi, qword [0x1803d9d48]
mov rdi, qword [0x1803d9d40]
cmp rdi, rsi
je 0x180059a6c
nop word [rax + rax]
mov rbx, qword [rdi]
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rax, qword [rbp - 0x21]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x180059a1f
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180059a2c
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
lea r9, [rbp - 1]
lea r8, [0x180096ef1]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp - 1]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mov rax, qword [rbx + 0x40]
movss dword [rax], xmm1
add rdi, 8
cmp rdi, rsi
jne 0x180059a00
mov rsi, qword [0x1803d9d88]
mov rdi, qword [0x1803d9d80]
cmp rdi, rsi
je 0x180059b01
mov r14d, 0x31
nop dword [rax]
mov rbx, qword [rdi]
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rax, qword [rbp - 0x21]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x180059aaf
mov rdx, qword [rdx]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180059abc
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
lea r9, [rbp - 1]
lea r8, [0x180096ef1]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp - 1]
sub ecx, r14d
jne 0x180059aed
movzx ecx, byte [rbp]
movzx eax, r15b
sub ecx, eax
test ecx, ecx
sete cl
mov rax, qword [rbx + 0x40]
mov byte [rax], cl
add rdi, 8
cmp rdi, rsi
jne 0x180059a90
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x180059b3f
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180059b3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180059b3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009145c
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180090f70
lea r11, [rsp + 0xd0]
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 r14
pop rbp
ret
call fcn.180002390
nop
int3