Function at 0x180012b10
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r9d, r8d
movsd xmm0, qword [str.scores]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x18002b108]
mov dword [rbp - 0x50], eax
movzx eax, word [0x18002b10c]
mov word [rbp - 0x4c], ax
lea rax, str.pv._03d.diff._01d.ex
lea r8, str.pv._03d.diff._01d
test r9d, r9d
cmovne r8, rax
mov dword [rsp + 0x20], edx
mov r9d, ecx
mov edx, 0x20
lea rcx, [rbp]
call fcn.18000f120
lea rax, str.score
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
lea rdi, [0x180038470]
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r13d, eax
lea rax, str.notecounts
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x60]
lea r8, [0x18002b1a0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rbx - 1]
lea r8, [rbp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], al
lea r8d, [rbx + 1]
lea rdx, [0x18002ae5c]
lea rcx, [rsp + 0x68]
call fcn.180005430
nop
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], bl
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180012cc0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180005430
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.180020e20
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180012d2d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012d28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012d28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002214c
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180012d7f
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012d7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012d7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002214c
mov rax, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
sub rax, rcx
sar rax, 5
cmp rax, 2
jb 0x180012dc4
cmp qword [rcx + 0x18], 0x10
jb 0x180012d9e
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x40], eax
mov rcx, qword [rbp - 0x70]
add rcx, 0x20
cmp qword [rcx + 0x18], 0x10
jb 0x180012dba
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x44], eax
lea rax, str.percent
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r12d, eax
lea rax, str.combo
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
lea rax, str.rank
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
lea rax, str.alltimerank
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea rax, str.alltimemodifiers
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea rax, str.alltimepercent
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
lea r9, [0x180038470]
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
lea rax, str.check
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, str._ls._ls
mov edx, 0x20
lea rcx, [rbp - 0x40]
call fcn.18000f120
lea r9, [0x180038470]
mov r8d, 0xffffffff
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movsx edx, r12w
movsx ecx, word [rsp + 0x40]
xor edx, ecx
shl edx, 0x10
movsx ecx, r13w
xor edx, ecx
movsx ecx, r15w
xor edx, ecx
movsx ecx, word [rsp + 0x44]
xor edx, ecx
add edx, esi
imul edx, r14d
imul ebx, edi
xor edx, ebx
cmp eax, edx
sete bl
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180012fec
mov rdx, qword [rbp - 0x68]
call fcn.180009cf0
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012fe7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012fe7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002214c
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.180021d70
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret