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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100816f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10002e60
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 0x100053ba
push 0x208
mov ecx, ebx
call fcn.100035f0
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 0x100053f7
push dword [ecx - 8]
push ecx
call fcn.1003c692
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10005686
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x10005686
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 0x1000551c
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1000551c
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
lea ecx, [ebp + 0x18]
call fcn.10002e60
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.10026950
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10003980
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 0x10005470
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 0x1000548e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1000551c
push 0x10061744
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.10004fc0
push ebx
push eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.10004f10
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10003980
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 0x100054e7
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 0x10005505
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 0x1000551c
mov dword [edi], 1
jmp 0x10005655
call fcn.100445cc
cdq
mov esi, 0x1a
idiv esi
lea edi, [edx + 0x61]
call fcn.100445cc
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.100445cc
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.100445cc
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.10003420
add esp, 0x18
lea ecx, [ebp + 0x18]
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
call fcn.10002e60
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10026e10
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 0x100055b8
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 0x10061744
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.10004fc0
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.10004f10
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10003980
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 0x10005619
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 0x10005637
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 0x10005655
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 0x10005674
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.100031a0
int3