Function at 0x180014540
Capabilities:
Read .ini file

Disassembly:
test ecx, ecx
js 0x18001481d
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
lea rbp, [r11 - 0xe8]
sub rsp, 0x1c8
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movsxd rsi, edx
mov ebx, r8d
mov edi, ecx
test edx, edx
js 0x180014803
test ebx, ebx
js 0x180014803
cmp ecx, 0x3e7
jg 0x180014803
cmp esi, 3
jg 0x180014803
cmp ebx, 1
jg 0x180014803
mov eax, dword [0x18002b118]
lea r8, str.pv._03d.diff._01d
movsd xmm0, qword [str.scores]
mov r9d, ecx
mov dword [rbp + 0x28], eax
lea rcx, [rbp + 0x70]
movzx eax, word [0x18002b11c]
test ebx, ebx
mov qword [r11 + 0x18], r12
mov edx, 0x20
mov word [rbp + 0x2c], ax
lea rax, str.pv._03d.diff._01d.ex
mov qword [r11 + 0x20], r14
cmovne r8, rax
mov qword [r11 - 0x28], r15
movsd qword [rbp + 0x20], xmm0
mov dword [rsp + 0x20], esi
call fcn.18000f120
lea rax, str.score
mov edx, 0x20
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._ls._ls
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038a70]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r9, [rbp + 0x70]
mov edx, 0x20
mov r12d, eax
lea r8, str._ls._ls
mov eax, 0x5f5e0ff
lea rcx, [rbp + 0x30]
cmp r12d, eax
cmovg r12d, eax
lea rax, str.alltimepercent
mov qword [rsp + 0x20], rax
call fcn.18000f120
lea r9, [0x180038a70]
mov r8d, 0xffffffff
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x1800146cd
lea rax, str.percent
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._ls._ls
lea edx, [r15 + 0x21]
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038a70]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
lea rax, str.alltimerank
mov edx, 0x20
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._ls._ls
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038a70]
mov r8d, 0xffffffff
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x180014754
lea rax, str.rank
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._ls._ls
lea edx, [r14 + 0x21]
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038a70]
mov r8d, r14d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
test r12d, r12d
jg 0x180014762
test r15d, r15d
jle 0x1800147eb
lea rcx, [rsi + rsi*2]
lea rax, [0x180038f70]
lea rsi, [rax + rcx*8]
mov rax, qword [rax + rcx*8]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x180014794
nop
cmp dword [rax], edi
jne 0x180014789
cmp dword [rax + 4], ebx
je 0x1800147d6
add rax, 0xe4
cmp rax, rcx
jne 0x180014780
mov r8d, ebx
lea rcx, [rsp + 0x30]
mov edx, edi
call fcn.180012380
mov rdx, rax
mov rcx, rsi
call fcn.180015140
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x1800147eb
nop word [rax + rax]
cmp dword [rax], edi
jne 0x1800147c9
cmp dword [rax + 4], ebx
je 0x1800147d6
add rax, 0xe4
cmp rax, rcx
jne 0x1800147c0
jmp 0x1800147eb
mov dword [rax + 0xcc], r14d
mov dword [rax + 0xd0], r12d
mov dword [rax + 0xd4], r15d
mov r14, qword [rsp + 0x208]
mov r12, qword [rsp + 0x200]
mov r15, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.180021d70
add rsp, 0x1c8
pop rdi
pop rsi
pop rbx
pop rbp
ret