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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100dbc1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10009b50
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 0x1003d6ca
push 0x208
mov ecx, ebx
call fcn.1000a650
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 0x1003d707
push dword [ecx - 8]
push ecx
call fcn.1008ab87
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1003d9a5
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1003d9a5
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 0x1003d82c
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1003d82c
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
lea ecx, [ebp + 0x18]
call fcn.10009b50
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.10077480
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10009ac0
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 0x1003d780
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 0x1003d79e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1003d82c
push 0x100b5eb0
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.1003ccd0
push ebx
push eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.1003cc30
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10009ac0
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 0x1003d7f7
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 0x1003d815
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 0x1003d82c
mov dword [edi], 1
jmp 0x1003d974
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1008a2ec
add esp, 4
call fcn.1008a2cb
cdq
mov esi, 0x1a
idiv esi
lea edi, [edx + 0x61]
call fcn.1008a2cb
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.1008a2cb
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.1008a2cb
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.10021c80
add esp, 0x18
lea ecx, [ebp + 0x18]
push str.9ADEF4E2_CB10_451d_874E_968EBE5C671A
call fcn.10009b50
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.10077890
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 0x1003d8d7
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 0x100b5eb0
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.1003ccd0
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.1003cc30
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10009ac0
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 0x1003d938
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 0x1003d956
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 0x1003d974
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 0x1003d993
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.1000a7c0
int3