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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a98e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100db688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10006990
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 0x1000a69a
push 0x208
mov ecx, ebx
call fcn.10007120
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 0x1000a6d7
push dword [ecx - 8]
push ecx
call fcn.100887e2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1000a966
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1000a966
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 0x1000a7fc
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1000a7fc
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
lea ecx, [ebp + 0x18]
call fcn.10006990
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.1004a320
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.100074b0
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 0x1000a750
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 0x1000a76e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1000a7fc
push 0x100b3948
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.10009ed0
push ebx
push eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.10009e20
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.100074b0
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 0x1000a7c7
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 0x1000a7e5
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 0x1000a7fc
mov dword [edi], 1
jmp 0x1000a935
call fcn.100906cc
cdq
mov esi, 0x1a
idiv esi
lea edi, [edx + 0x61]
call fcn.100906cc
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.100906cc
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.100906cc
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.10006f50
add esp, 0x18
lea ecx, [ebp + 0x18]
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
call fcn.10006990
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1004a7e0
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 0x1000a898
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 0x100b3948
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.10009ed0
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.10009e20
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.100074b0
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 0x1000a8f9
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 0x1000a917
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 0x1000a935
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 0x1000a954
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.10006cd0
int3