Function at 0x140008bd0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov ebx, edx
mov esi, ecx
test ecx, ecx
jne 0x140008cee
cmp edx, 1
jne 0x140008c29
lea r8d, [rdx - 2]
lea rdx, str.force
lea r9, [0x14006aef8]
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.140008a10
jmp 0x140008fdf
cmp ebx, 2
jne 0x140008fdf
mov eax, dword [0x14006797c]
cmp eax, ebx
jne 0x140008c47
call fcn.140021d70
mov eax, dword [0x14006797c]
xor edi, edi
cmp eax, 1
je 0x140008c5a
call fcn.14000d9a0
mov r14d, edi
test eax, eax
je 0x140008c60
mov r14d, 0x200
cmp dword [0x140067928], 1
jne 0x140008c6d
mov ebx, edi
jmp 0x140008cb8
call fcn.14000cef0
test eax, eax
jne 0x140008c69
mov eax, dword [0x140067924]
cmp eax, 2
jne 0x140008cac
lea rcx, str.937A7BC8_5258_448A_bE9A_C54BCDCA47B9
mov dword [0x140067924], edi
call fcn.14000ce40
test eax, eax
je 0x140008ca6
mov esi, 1
mov ebx, edi
mov dword [0x140067924], esi
jmp 0x140008cb8
mov eax, dword [0x140067924]
cmp eax, 1
je 0x140008c69
call fcn.14000d8b0
mov ebx, eax
call fcn.1400221e0
mov ecx, 0x100
mov qword [rsp + 0x28], rdi
test eax, eax
mov dword [rsp + 0x20], edi
mov r8d, edi
cmove r8d, ecx
xor r9d, r9d
add r8d, r14d
xor edx, edx
add r8d, ebx
mov ecx, 0xc1
call fcn.14001c210
jmp 0x140008fdf
lea r9, [0x14006aef8]
mov qword [rsp + 0x80], 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 0x140008df3
mov r8, qword [0x14006ae90]
movdqa xmm0, xmmword [0x14005df90]
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rbp - 8], 0xffffffffffffffff
movdqu xmmword [rbp - 0x30], xmm0
test r8, r8
je 0x140008d7f
mov eax, ebx
mov ecx, ebx
shr eax, 1
and eax, esi
shr ecx, 2
mov dword [rbp - 8], eax
mov eax, ecx
and eax, 2
and ecx, esi
add eax, ecx
mov dword [rbp - 4], eax
test r8, r8
mov edx, edi
mov ecx, edi
mov r9d, r15d
sete dl
test r8, r8
lea r8, [rbp - 0x30]
setne cl
call fcn.140007850
mov rax, qword [0x14006ae90]
movdqa xmm0, xmmword [0x14005dfb0]
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rbp - 8], 0xffffffffffffffff
movdqu xmmword [rbp - 0x30], xmm0
test rax, rax
je 0x140008ddd
shr ebx, 4
and ebx, 1
mov dword [rbp - 0x2c], ebx
test rax, rax
mov edx, edi
sete dl
test rax, rax
setne dil
mov ecx, edi
jmp 0x140008fcb
cmp esi, 2
jne 0x140008e52
movdqa xmm0, xmmword [0x14005dfe0]
mov eax, ebx
sar eax, 0x1c
mov ecx, edi
cmp eax, 1
mov qword [rbp - 0x20], 0xffffffffffffffff
movdqu xmmword [rbp - 0x30], xmm0
sete cl
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rbp - 8], 0xffffffffffffffff
jne 0x140008e47
sar ebx, 4
and ebx, 0xf
mov dword [rbp - 0x18], 3
mov dword [rbp - 0x2c], ebx
cmp eax, 1
setne dil
mov edx, edi
jmp 0x140008fcb
cmp esi, 3
jne 0x140008f20
movdqa xmm0, xmmword [0x14005df70]
mov r14d, ebx
sar r14d, 0x1c
mov esi, 1
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
lea eax, [r14 - 1]
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rbp - 8], 0xffffffffffffffff
cmp eax, esi
jbe 0x140008ea0
mov ecx, edi
jmp 0x140008eb1
mov eax, ebx
mov dword [rbp - 0x18], r14d
sar eax, 4
mov ecx, esi
and eax, 0xf
mov dword [rbp - 0x2c], eax
mov edx, ecx
lea r8, [rbp - 0x30]
xor edx, esi
mov r9d, r15d
call fcn.140007850
movdqa xmm0, xmmword [0x14005df80]
lea eax, [r14 - 1]
mov qword [rbp - 0x20], 0xffffffffffffffff
mov qword [rbp - 0x18], 0xffffffffffffffff
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rbp - 8], 0xffffffffffffffff
movdqu xmmword [rbp - 0x30], xmm0
cmp eax, esi
ja 0x140008f12
test bl, 4
je 0x140008f12
shr ebx, 1
mov edx, esi
and ebx, esi
mov dword [rbp - 0x18], r14d
mov dword [rbp - 0x2c], ebx
xor edx, 1
mov ecx, esi
jmp 0x140008fcb
mov edx, edi
mov esi, edi
xor edx, 1
mov ecx, edi
jmp 0x140008fcb
cmp esi, 4
jne 0x140008fd7
movdqa xmm0, xmmword [0x14005e070]
cmp ebx, 0xffffffff
mov r14d, edi
mov qword [rbp - 0x20], 0xffffffffffffffff
setne r14b
mov qword [rbp - 0x18], 0xffffffffffffffff
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x10], 0xffffffffffffffff
mov esi, 1
mov qword [rbp - 8], 0xffffffffffffffff
je 0x140008fc6
mov eax, dword [0x14006797c]
cmp eax, 2
jne 0x140008f7d
call fcn.140021d70
mov eax, dword [0x14006797c]
cmp eax, esi
jne 0x140008f86
mov dword [rbp - 0x18], esi
jmp 0x140008fc0
mov eax, dword [0x140067924]
cmp eax, 2
jne 0x140008fb5
lea rcx, str.937A7BC8_5258_448A_bE9A_C54BCDCA47B9
mov dword [0x140067924], edi
call fcn.14000ce40
test eax, eax
je 0x140008faf
mov dword [0x140067924], esi
jmp 0x140008fb9
mov eax, dword [0x140067924]
cmp eax, esi
jne 0x140008fc0
mov dword [rbp - 0x18], 2
and ebx, 7
mov dword [rbp - 0x2c], ebx
mov edx, esi
mov ecx, r14d
mov r9d, r15d
lea r8, [rbp - 0x30]
call fcn.140007850
mov r15, qword [rsp + 0x80]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret