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

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x4f]
sub rsp, 0xc8
mov rdx, qword [0x1801ad870]
lea r8, [0x18016dda0]
xor r15d, r15d
mov qword [rbp - 0x21], 0xf
xorps xmm0, xmm0
mov qword [rbp - 0x29], r15
movups xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x39], r15b
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [r8 + rcx], r15b
jne 0x180041010
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1800413bb
cmp qword [0x1801ad878], 0x10
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x19]
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xf0], rdi
lea rdi, [0x1801ad860]
movaps xmmword [rsp + 0xb0], xmm6
mov r9, rdi
cmovae r9, qword [0x1801ad860]
mov qword [rsp + 0x28], r8
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0x20], rdx
call fcn.180072df0
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp - 9]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1800410cc
cmp rdx, 0x10
lea rax, [rcx + 3]
lea rbx, [rbp - 0x19]
mov qword [rbp - 9], rax
cmovae rbx, qword [rbp - 0x19]
lea rdx, [0x1801505ec]
add rbx, rcx
mov r8d, 3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbp - 0x19]
mov byte [rbx + 3], r15b
jmp 0x1800410ea
lea r9, [0x1801505ec]
mov qword [rsp + 0x20], 3
mov edx, 3
lea rcx, [rbp - 0x19]
call fcn.180072400
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180041137
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041132
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041171
call fcn.18011065c
mov rdx, qword [rbp - 1]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, 0x10
jb 0x18004117d
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041178
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011065c
cmp qword [0x1801ad878], 0x10
mov qword [rsp + 0xe8], rsi
cmovae rdi, qword [0x1801ad860]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x1801ad888]
xorps xmm0, xmm0
mov rdi, qword [0x1801ad880]
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
cmp rdi, rsi
je 0x180041223
nop
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 0x1800411df
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800411ec
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x18014f4df]
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 0x1800411c0
mov rsi, qword [0x1801ad8b8]
mov rdi, qword [0x1801ad8b0]
cmp rdi, rsi
je 0x1800412ac
nop word [rax + rax]
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 0x18004125f
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x18004126c
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x18014f4df]
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 0x180041240
mov rsi, qword [0x1801ad8a0]
mov rdi, qword [0x1801ad898]
cmp rdi, rsi
je 0x18004134a
mov qword [rsp + 0xc0], r14
mov r14d, 0x31
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 0x1800412f0
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800412fd
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 7]
lea r8, [0x18014f4df]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp + 7]
sub ecx, r14d
jne 0x18004132e
movzx ecx, byte [rbp + 8]
movzx eax, r15b
sub ecx, eax
mov rax, qword [rbx + 0x40]
test ecx, ecx
sete cl
add rdi, 8
mov byte [rax], cl
cmp rdi, rsi
jne 0x1800412d1
mov r14, qword [rsp + 0xc0]
mov rdx, qword [rbp - 0x21]
mov rsi, qword [rsp + 0xe8]
cmp rdx, 0x10
jb 0x180041390
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004138b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004138b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011065c
movaps xmm6, xmmword [rsp + 0xb0]
mov rdi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xc8
pop r15
pop rbp
ret
call fcn.18000d530
int3