Function at 0x180014120
Capabilities:
Read .ini file

Disassembly:
test ecx, ecx
js 0x180014498
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movsxd r14, edx
movzx esi, r9b
mov ebx, r8d
mov edi, ecx
test edx, edx
js 0x18001447c
test ebx, ebx
js 0x18001447c
cmp ecx, 0x3e7
jg 0x18001447c
cmp r14d, 3
jg 0x18001447c
cmp ebx, 1
jg 0x18001447c
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 word [rbp + 0x2c], ax
mov edx, 0x20
lea rax, str.pv._03d.diff._01d.ex
movsd qword [rbp + 0x20], xmm0
cmovne r8, rax
mov dword [rsp + 0x20], r14d
call fcn.18000f120
mov r8d, ebx
mov edx, r14d
mov ecx, edi
call fcn.180012b10
test al, al
je 0x1800144d7
mov qword [rsp + 0x210], r12
lea rax, str.score
mov qword [rsp + 0x1c8], r13
lea r9, [rbp + 0x70]
lea r8, str._ls._ls
mov qword [rsp + 0x1c0], r15
mov edx, 0x20
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038470]
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 r13d, eax
lea r8, str._ls._ls
mov eax, 0x5f5e0ff
lea rcx, [rbp + 0x30]
cmp r13d, eax
cmovg r13d, eax
lea rax, str.alltimepercent
mov qword [rsp + 0x20], rax
call fcn.18000f120
lea r9, [0x180038470]
mov r8d, 0xffffffff
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r12d, eax
cmp eax, 0xffffffff
jne 0x1800142d5
lea rax, str.percent
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._ls._ls
lea edx, [r12 + 0x21]
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038470]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r12d, 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, [0x180038470]
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 0x18001435c
lea rax, str.rank
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, [0x180038470]
mov r8d, r15d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
lea rax, str.alltimemodifiers
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, [0x180038470]
mov r8d, 0xffffffff
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1800143f0
lea rax, str.modifier
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._ls._ls
lea edx, [rsi + 0x21]
lea rcx, [rbp + 0x30]
call fcn.18000f120
lea r9, [0x180038470]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jle 0x1800143ee
lea ecx, [rax - 1]
mov esi, 1
shl esi, cl
jmp 0x1800143f0
xor esi, esi
lea rcx, [r14 + r14*2]
lea rdx, [0x180038f70]
mov rax, qword [rdx + rcx*8]
lea r14, [rdx + rcx*8]
mov rcx, qword [rdx + rcx*8 + 8]
cmp rax, rcx
je 0x180014428
nop dword [rax]
cmp dword [rax], edi
jne 0x18001441d
cmp dword [rax + 4], ebx
je 0x180014499
add rax, 0xe4
cmp rax, rcx
jne 0x180014410
mov r8d, ebx
lea rcx, [rsp + 0x30]
mov edx, edi
call fcn.180012380
mov rdx, rax
mov rcx, r14
call fcn.180015140
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
cmp rax, rcx
je 0x180014464
nop
cmp dword [rax], edi
jne 0x180014459
cmp dword [rax + 4], ebx
je 0x180014499
add rax, 0xe4
cmp rax, rcx
jne 0x180014450
mov r13, qword [rsp + 0x1c8]
mov r12, qword [rsp + 0x210]
mov r15, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.180021d70
add rsp, 0x1d0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rax + 0xb0], r13d
mov dword [rax + 0xb4], r12d
mov dword [rax + 0xac], r15d
test sil, 1
je 0x1800144bb
mov byte [rax + 0xe1], 1
test sil, 2
je 0x1800144c8
mov byte [rax + 0xe2], 1
test sil, 4
je 0x180014464
mov byte [rax + 0xe3], 1
jmp 0x180014464
test sil, sil
je 0x18001447c
lea rcx, [r14 + r14*2]
lea rdx, [0x180038f70]
mov rax, qword [rdx + rcx*8]
mov rdx, qword [rdx + rcx*8 + 8]
cmp rax, rdx
je 0x18001447c
cmp dword [rax], edi
jne 0x1800144fe
cmp dword [rax + 4], ebx
je 0x18001450e
add rax, 0xe4
cmp rax, rdx
jne 0x1800144f5
jmp 0x18001447c
xor esi, esi
mov dword [rax + 0xac], 0xffffffff
mov qword [rax + 0xb0], rsi
mov word [rax + 0xe1], si
mov byte [rax + 0xe3], sil
jmp 0x18001447c