Function at 0x1000afc0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a57c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d5688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10007320
mov edi, dword [ebp + 0x18]
mov ecx, 1
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x208
or eax, ecx
jge 0x1000b02a
push 0x208
mov ecx, ebx
call fcn.10007ab0
mov edx, dword [ebx]
push dword [ebp + 8]
push 0x208
push edx
push 0
push dword [ebp - 0x10]
push str.ren_info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebx]
mov edx, eax
mov dword [ebp + 0x18], edx
test ecx, ecx
je 0x1000b067
push dword [ecx - 8]
push ecx
call fcn.10085bc2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1000b2f6
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1000b2f6
mov dword [eax - 0xc], ecx
xor esi, esi
mov eax, dword [ebx]
mov word [eax + ecx*2], si
or esi, 0xffffffff
test edx, edx
je 0x1000b18c
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1000b18c
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
lea ecx, [ebp + 0x18]
call fcn.10007320
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.100456a0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10007e40
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b0e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b0fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1000b18c
push 0x100ae938
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.1000a860
push ebx
push eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.1000a7b0
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10007e40
mov edx, dword [ebp + 0x18]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b157
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b175
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000b18c
mov dword [edi], 1
jmp 0x1000b2c5
call fcn.1008daac
cdq
mov esi, 0x1a
idiv esi
lea edi, [edx + 0x61]
call fcn.1008daac
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.1008daac
cdq
mov ecx, 0x1a
idiv ecx
movzx eax, di
push eax
movzx eax, si
add edx, 0x61
push eax
movzx eax, dx
push eax
call fcn.1008daac
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x61
movzx eax, dx
push eax
push str._c_c_c_c32.exe
push ebx
call fcn.100078e0
add esp, 0x18
lea ecx, [ebp + 0x18]
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
call fcn.10007320
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10045b60
add esp, 0xc
mov edx, dword [ebp + 0x18]
or esi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b228
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push str.ren_info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x100ae938
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.1000a860
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.1000a7b0
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10007e40
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b289
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b2a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b2c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1000b2e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10007660
int3