Function at 0x140009060
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov ebx, edx
mov esi, ecx
test ecx, ecx
jne 0x1400091a8
cmp edx, 1
jne 0x1400090b9
lea r8d, [rdx - 2]
lea rdx, str.force
lea r9, [0x14007d128]
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
xor edi, edi
cmp eax, ebx
setne dil
mov ecx, edi
call fcn.140008f00
jmp 0x14000953a
cmp ebx, 2
jne 0x14000953a
mov esi, 1
cmp dword [0x140079934], esi
jne 0x1400090d5
xor edi, edi
mov ebx, edi
jmp 0x140009124
call fcn.14000d470
xor edi, edi
test eax, eax
je 0x1400090e4
mov ebx, edi
jmp 0x140009124
mov eax, dword [0x140079930]
cmp eax, 2
jne 0x140009115
lea rcx, str.937A7BC8_5258_448A_bE9A_C54BCDCA47B9
mov dword [0x140079930], edi
call fcn.14000d3c0
test eax, eax
je 0x14000910f
mov dword [0x140079930], esi
mov ebx, edi
jmp 0x140009124
mov eax, dword [0x140079930]
cmp eax, esi
jne 0x14000911d
mov ebx, edi
jmp 0x140009124
call fcn.14000e0b0
mov ebx, eax
call fcn.14002af30
mov ecx, dword [0x140079920]
test eax, eax
jne 0x14000913a
mov r14d, esi
test ecx, ecx
jne 0x14000913d
mov r14d, edi
mov eax, dword [0x1400799b8]
cmp ecx, 2
cmove ecx, edi
mov dword [0x140079920], ecx
cmp eax, 2
jne 0x14000915f
call fcn.14002aa70
mov eax, dword [0x1400799b8]
cmp eax, esi
je 0x14000916e
call fcn.14000e1a0
test eax, eax
jne 0x14000916e
mov esi, edi
test bl, 1
jne 0x140009180
test r14d, r14d
jne 0x140009180
test esi, esi
je 0x14000953a
lea r8d, [r14 + rsi*2]
mov qword [rsp + 0x28], rdi
shl r8d, 8
xor r9d, r9d
add r8d, ebx
mov dword [rsp + 0x20], edi
xor edx, edx
mov ecx, 0xc1
call fcn.1400242b0
jmp 0x14000953a
lea r9, [0x14007d128]
mov qword [rsp + 0x98], r15
mov r8d, 0xffffffff
lea rdx, str.force
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
xor edi, edi
cmp eax, 1
mov r15d, edi
setne r15b
cmp esi, 1
jne 0x1400092c9
mov r8, qword [0x14007d0b0]
movdqa xmm0, xmmword [0x14006e060]
mov qword [rbp - 0x30], 0xffffffffffffffff
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
movdqu xmmword [rbp - 0x40], xmm0
test r8, r8
je 0x140009241
mov eax, ebx
mov ecx, ebx
shr eax, 1
and eax, esi
shr ecx, 2
mov dword [rbp - 0x18], eax
mov eax, ecx
and eax, 2
and ecx, esi
add eax, ecx
mov dword [rbp - 0x14], eax
test r8, r8
mov edx, edi
mov ecx, edi
mov r9d, r15d
sete dl
test r8, r8
lea r8, [rbp - 0x40]
setne cl
call fcn.140007d20
mov rax, qword [0x14007d0b0]
movdqa xmm0, xmmword [0x14006e070]
mov qword [rbp - 0x30], 0xffffffffffffffff
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
movdqu xmmword [rbp - 0x40], xmm0
test rax, rax
je 0x1400092a7
shr ebx, 4
and ebx, 1
mov dword [rbp - 0x3c], ebx
test rax, rax
lea r8, [rbp - 0x40]
mov edx, edi
mov r9d, r15d
sete dl
test rax, rax
setne dil
mov ecx, edi
call fcn.140007d20
jmp 0x140009532
cmp esi, 2
jne 0x14000933c
movdqa xmm0, xmmword [0x14006e0a0]
mov eax, ebx
sar eax, 0x1c
mov ecx, edi
cmp eax, 1
mov qword [rbp - 0x30], 0xffffffffffffffff
movdqu xmmword [rbp - 0x40], xmm0
sete cl
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
jne 0x140009325
sar ebx, 4
and ebx, 0xf
mov dword [rbp - 0x28], 3
mov dword [rbp - 0x3c], ebx
cmp eax, 1
setne dil
lea r8, [rbp - 0x40]
mov edx, edi
mov r9d, r15d
call fcn.140007d20
jmp 0x140009532
cmp esi, 3
jne 0x14000944d
mov ecx, dword [0x140079920]
mov esi, 1
test ecx, ecx
jne 0x140009366
mov eax, ebx
shr eax, 0x1c
dec eax
cmp eax, esi
cmovbe ecx, esi
mov dword [0x140079920], ecx
movdqa xmm0, xmmword [0x14006e040]
mov r14d, ebx
sar r14d, 0x1c
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 0xffffffffffffffff
mov qword [rbp - 0x28], 0xffffffffffffffff
lea eax, [r14 - 1]
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
cmp eax, esi
jbe 0x1400093ae
mov ecx, edi
jmp 0x1400093d4
mov eax, ebx
mov dword [rbp - 0x28], r14d
sar eax, 4
mov ecx, esi
and eax, 0xf
mov dword [rbp - 0x3c], eax
cmp r14d, esi
jne 0x1400093d4
bt ebx, 0xa
jae 0x1400093d4
mov eax, ebx
sar eax, 9
and eax, ecx
mov dword [rbp - 0xc], eax
mov edx, ecx
lea r8, [rbp - 0x40]
xor edx, esi
mov r9d, r15d
call fcn.140007d20
movdqa xmm0, xmmword [0x14006e050]
lea eax, [r14 - 1]
mov qword [rbp - 0x30], 0xffffffffffffffff
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
movdqu xmmword [rbp - 0x40], xmm0
cmp eax, esi
ja 0x140009433
test bl, 4
je 0x140009433
shr ebx, 1
and ebx, esi
mov dword [rbp - 0x28], r14d
mov dword [rbp - 0x3c], ebx
jmp 0x140009435
mov esi, edi
mov edx, esi
lea r8, [rbp - 0x40]
xor edx, 1
mov r9d, r15d
mov ecx, esi
call fcn.140007d20
jmp 0x140009532
cmp esi, 4
jne 0x140009532
movdqa xmm0, xmmword [0x14006e140]
cmp ebx, 0xffffffff
mov r14d, edi
mov qword [rsp + 0x90], r12
setne r14b
mov qword [rbp - 0x30], 0xffffffffffffffff
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
call fcn.140036f00
test eax, eax
mov r12d, edi
sete r12b
cmp ebx, 0xffffffff
je 0x140009518
mov eax, dword [0x1400799b8]
cmp eax, 2
jne 0x1400094c6
call fcn.14002aa70
mov eax, dword [0x1400799b8]
cmp eax, 1
jne 0x1400094d2
mov esi, eax
mov dword [rbp - 0x28], eax
jmp 0x140009512
mov eax, dword [0x140079930]
cmp eax, 2
jne 0x140009506
lea rcx, str.937A7BC8_5258_448A_bE9A_C54BCDCA47B9
mov dword [0x140079930], edi
call fcn.14000d3c0
test eax, eax
je 0x140009500
mov esi, 1
mov dword [0x140079930], esi
jmp 0x14000950b
mov eax, dword [0x140079930]
cmp eax, 1
jne 0x140009512
mov dword [rbp - 0x28], 2
and ebx, 7
mov dword [rbp - 0x3c], ebx
mov r9d, r15d
lea r8, [rbp - 0x40]
mov edx, r12d
mov ecx, r14d
call fcn.140007d20
mov r12, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret