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

Disassembly:
sub esp, 0x358
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x4c]
add esp, 0xc
push ecx
call fcn.10006b90
add esp, 4
push 0x103
lea edx, [esp + 0x14d]
push ebx
push edx
mov byte [esp + 0x154], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x40]
mov byte [esp + eax + 0x148], cl
inc eax
cmp cl, bl
jne 0x1000e610
cmp byte [esp + 0x148], bl
je 0x1000e667
lea eax, [esp + 0x148]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1000e631
mov ecx, dword [str.LaunchMgrDONEJOB]
mov edx, dword [0x1001dffc]
mov dword [eax], ecx
mov ecx, dword [0x1001e000]
mov dword [eax + 4], edx
mov edx, dword [0x1001e004]
mov dword [eax + 8], ecx
mov cx, word [0x1001e008]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [esp + 0x148]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000e825
lea eax, [esp + 0x40]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1000e682
mov ecx, dword [str.LaunchMgr.ini]
mov edx, dword [0x1001b908]
mov dword [eax], ecx
mov ecx, dword [0x1001b90c]
mov dword [eax + 4], edx
mov dx, word [0x1001b910]
mov dword [eax + 8], ecx
push 0x103
mov word [eax + 0xc], dx
lea eax, [esp + 0x255]
push ebx
push eax
mov byte [esp + 0x25c], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
push 0x104
lea edx, [esp + 0x258]
push edx
push str.NPAV
push str.DELETEJOBFILE
push str.JOBFILE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x250]
push str.NPAV
push eax
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1000e813
xor ecx, ecx
lea edi, [esp + 0xc]
lea esi, [esp + 0x148]
mov word [esp + 0xc], cx
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
call fcn.1000e840
movzx eax, word [esp + 0xc]
cmp eax, 0x76c
movzx ecx, word [esp + 0x12]
movzx edx, word [esp + 0xe]
jge 0x1000e759
mov eax, 0x80004005
call fcn.10004b40
dec edx
cmp edx, 0xb
jbe 0x1000e769
mov eax, 0x80004005
call fcn.10004b40
lea esi, [ecx - 1]
cmp esi, 0x1e
jbe 0x1000e77b
mov eax, 0x80004005
call fcn.10004b40
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x1c]
add eax, 0xfffff894
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.MSVCR90.dll__mktime64]
mov edi, edx
mov esi, eax
and eax, edi
add esp, 4
cmp eax, 0xffffffff
jne 0x1000e7c3
mov eax, 0x80070057
call fcn.10004b40
push ebx
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push ebx
sub eax, esi
push 0x15180
sbb edx, edi
push edx
push eax
call fcn.10019dc0
cmp eax, 5
jl 0x1000e825
mov ebx, str.DELETEJOBFILE
mov edi, str.JOBFILE
lea esi, [esp + 0x40]
call fcn.1000dc60
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.100190a2
add esp, 0x358
ret
lea ecx, [esp + 0x250]
push ecx
call fcn.1000db40
add esp, 4
jmp 0x1000e7de
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100190a2
add esp, 0x358
ret