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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047358
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100632c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.100041f0
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 0x10005f4a
push 0x208
mov ecx, ebx
call fcn.10003490
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 0x10005f87
push dword [ecx - 8]
push ecx
call fcn.10031653
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10006216
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x10006216
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 0x100060ac
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x100060ac
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
lea ecx, [ebp + 0x18]
call fcn.100041f0
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.10013390
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10004eb0
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 0x10006000
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 0x1000601e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x100060ac
push 0x1004b79c
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.10005030
push ebx
push eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.10004f80
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10004eb0
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 0x10006077
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 0x10006095
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 0x100060ac
mov dword [edi], 1
jmp 0x100061e5
call fcn.1003184d
cdq
mov esi, 0x1a
idiv esi
lea edi, [edx + 0x61]
call fcn.1003184d
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.1003184d
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.1003184d
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.10005900
add esp, 0x18
lea ecx, [ebp + 0x18]
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
call fcn.100041f0
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10013850
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 0x10006148
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 0x1004b79c
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.10005030
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.10004f80
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10004eb0
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 0x100061a9
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 0x100061c7
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 0x100061e5
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 0x10006204
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.10003270
int3