Function at 0x10065c70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009f48b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x50], 0
mov dword [esp + 0x1c], edi
jne 0x10065edd
lea eax, [esp + 0x18]
push eax
mov byte [edi + 0x50], 1
call fcn.1000ffe0
mov dword [esp + 0x838], 0
lea ecx, [esp + 0x18]
push ecx
push 0x66
call fcn.1006bcb0
push str.optconfig.ini
lea esi, [esp + 0x24]
call fcn.1006c300
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push ecx
call fcn.1006c580
add esp, 4
push eax
call fcn.1006c900
mov ebx, eax
test ebx, ebx
je 0x10065ec9
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.10079c60
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x10065d53
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 0x3ff
lea ecx, [esp + 0x30]
push ecx
push 0x100a6f30
push str.nocheck
push str.Win10Opt
push eax
call edx
jmp 0x10065d75
mov eax, dword [ebx]
push eax
push 0x3ff
lea eax, [esp + 0x34]
push eax
push 0x100a6f30
push str.nocheck
push str.Win10Opt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x2c]
push 0x100a7134
push ecx
call fcn.10079833
add esp, 8
test eax, eax
je 0x10065dfb
add edi, 0x20
push eax
call fcn.100760cf
mov edx, dword [edi + 0xc]
add esp, 4
mov dword [esp + 0x20], eax
test edx, edx
jne 0x10065da6
xor ecx, ecx
jmp 0x10065dae
mov ecx, dword [edi + 0x14]
sub ecx, edx
sar ecx, 2
mov esi, dword [edi + 0x10]
mov ebp, esi
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x10065dc6
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x10065de4
cmp edx, esi
jbe 0x10065dcf
call fcn.100759ec
mov eax, dword [edi]
push esi
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, edi
call fcn.100664f0
push 0x100a7134
push 0
call fcn.10079833
add esp, 8
test eax, eax
jne 0x10065d8e
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10065e25
mov ecx, dword [eax]
push 0x3ff
lea edx, [esp + 0x30]
push edx
push 0x100a6f30
push str.hide
push str.Win10Opt
push eax
mov eax, dword [ecx + 0x18]
call eax
jmp 0x10065e47
mov eax, dword [ebx]
push eax
push 0x3ff
lea ecx, [esp + 0x34]
push ecx
push 0x100a6f30
push str.hide
push str.Win10Opt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x2c]
push 0x100a7134
push edx
call fcn.10079833
add esp, 8
test eax, eax
je 0x10065ec9
add edi, 0x38
push eax
call fcn.100760cf
mov edx, dword [edi + 0xc]
add esp, 4
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x10065e78
xor ecx, ecx
jmp 0x10065e80
mov ecx, dword [edi + 0x14]
sub ecx, edx
sar ecx, 2
mov esi, dword [edi + 0x10]
mov ebx, esi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x10065e98
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x10065eb6
cmp edx, esi
jbe 0x10065ea1
call fcn.100759ec
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.100664f0
push 0x100a7134
push 0
call fcn.10079833
add esp, 8
test eax, eax
jne 0x10065e60
mov dword [esp + 0x838], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.100025b0
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.100755ed
add esp, 0x828
ret