Function at 0x10007080
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044171
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x1005d0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x88], 8
lea edx, [edi + 0x74]
jb 0x100070bd
mov edx, dword [edx]
cmp word [edx], 0
jne 0x100070c7
xor ecx, ecx
jmp 0x100070df
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100070d0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0xd4]
push edx
mov ecx, esi
call fcn.100027f0
push 0x16
push str.WindowsResetMaster.ini
mov ecx, esi
call fcn.10002370
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002e7f0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1000711a
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.resetgf
push 0x10047cb4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x1000714a
xor ecx, ecx
jmp 0x10007162
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007153
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
lea esi, [edi + 0xec]
push eax
mov ecx, esi
call fcn.100027f0
cmp dword [esi + 0x14], 8
jb 0x10007181
mov eax, dword [esi]
jmp 0x10007183
mov eax, esi
push 7
push str.resetgf
push dword [esi + 0x10]
push eax
call fcn.10001e90
add esp, 0x10
test eax, eax
jne 0x10007293
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.1002e7f0
add esp, 0xc
mov dword [ebp - 0x424], 7
xor ecx, ecx
mov dword [ebp - 0x428], 0
lea eax, [edi + 0x5c]
mov word [ebp - 0x438], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.100026d0
push 0x16
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.10002370
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push str.resetgf
push 0x10047cb4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x420], 0
jne 0x1000723f
xor ecx, ecx
jmp 0x1000725f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007250
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.100027f0
mov eax, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x10007293
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.10002940
cmp dword [esi + 0x14], 8
jb 0x1000729d
mov eax, dword [esi]
jmp 0x1000729f
mov eax, esi
push 7
push str.resetgf
push dword [esi + 0x10]
push eax
call fcn.10001e90
add esp, 0x10
test eax, eax
jne 0x10007331
push str.resetgf
push 0x10047cb4
push str.AppInfo
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.100050d0
mov edi, eax
cmp esi, edi
je 0x10007313
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x100072ec
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10002940
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10007304
mov eax, dword [esi]
jmp 0x10007306
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.100018a0
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x10007331
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.10002940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100157fc
mov esp, ebp
pop ebp
ret