Function at 0x180057968
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 [0x180168dd0]
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 0x1800579ad
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180057cd4
cmp qword [0x180168dd8], 0x10
lea rbx, [0x180168dc0]
mov qword [rsp + 0x30], rcx
mov r9, rbx
cmovae r9, qword [0x180168dc0]
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.1800030a8
mov rcx, qword [rbp - 9]
mov edx, 4
mov rax, qword [rbp - 1]
sub rax, rcx
cmp rax, rdx
jb 0x180057a3b
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 0x180057a50
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x19]
call fcn.180001f54
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 0x180057a9b
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180057a96
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057ad1
call fcn.1800652bc
mov rdx, qword [rbp - 1]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, 0x10
jb 0x180057add
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180057ad8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057ad8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800652bc
cmp qword [0x180168dd8], 0x10
cmovae rbx, qword [0x180168dc0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x180168de8]
xorps xmm0, xmm0
mov rdi, qword [0x180168de0]
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
jmp 0x180057b71
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 0x180057b32
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180057b3f
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x1800eeb18]
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 0x180057b13
mov rsi, qword [0x180168e18]
mov rdi, qword [0x180168e10]
jmp 0x180057bed
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 0x180057ba5
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180057bb2
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x1800eeb18]
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 0x180057b86
mov rsi, qword [0x180168e00]
mov rbx, qword [0x180168df8]
jmp 0x180057c6e
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 0x180057c21
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x180057c2e
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x1800eeb18]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp + 7]
sub ecx, 0x31
jne 0x180057c5f
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 0x180057c02
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180057cad
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x180057ca8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057ca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800652bc
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.180001894
int3