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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ccc7
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2094], ecx
mov ecx, dword [ebp - 0x2094]
call fcn.00402010
movzx eax, al
test eax, eax
jne 0x498b7d
mov ecx, dword [ebp - 0x2094]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x498b84
xor eax, eax
jmp 0x49912d
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x60]
call fcn.00403840
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00403840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00403840
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00403840
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00403840
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2070]
call fcn.00403840
mov byte [ebp - 4], 7
xor ecx, ecx
mov word [ebp - 0x206c], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x206a]
push edx
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.00449170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00459ac0
mov byte [ebp - 4], 9
mov dword [ebp - 0x2074], 0
jmp 0x498c43
mov eax, dword [ebp - 0x2074]
add eax, 1
mov dword [ebp - 0x2074], eax
mov ecx, dword [ebp - 0x2074]
push ecx
push str.task_d
lea edx, [ebp - 0x60]
push edx
call fcn.00409170
add esp, 0xc
mov ecx, dword [ebp - 0x2094]
call fcn.0043e290
push eax
push 0xfff
lea eax, [ebp - 0x206c]
push eax
push 0x540868
lea ecx, [ebp - 0x60]
call fcn.0043e290
push eax
push str.Task
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x498c95
jmp 0x498f29
lea ecx, [ebp - 0x206c]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
jne 0x498cad
jmp 0x498f29
lea edx, [ebp - 0x206c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
lea ecx, [ebp - 0x1c]
call fcn.00428bb0
push 0
push 0x543270
lea ecx, [ebp - 0x1c]
call fcn.004282c0
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x498ce1
jmp 0x498c34
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2080]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00409410
mov dword [ebp - 0x2098], eax
mov edx, dword [ebp - 0x2098]
mov dword [ebp - 0x209c], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401970
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2080]
call fcn.00401eb0
mov ecx, dword [ebp - 0x64]
add ecx, 1
push ecx
lea edx, [ebp - 0x2084]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00408770
mov dword [ebp - 0x20a0], eax
mov eax, dword [ebp - 0x20a0]
mov dword [ebp - 0x20a4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20a4]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00401970
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2084]
call fcn.00401eb0
lea ecx, [ebp - 0x5c]
call fcn.00428bb0
lea ecx, [ebp - 0x5c]
call fcn.00402010
movzx edx, al
test edx, edx
je 0x498d8e
jmp 0x498c34
lea ecx, [ebp - 0x18]
call fcn.00428bb0
push 0x540ba4
lea ecx, [ebp - 0x18]
call fcn.00401ef0
test eax, eax
je 0x498db6
lea ecx, [ebp - 0x18]
call fcn.00402010
movzx eax, al
test eax, eax
je 0x498dc7
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00404d00
jmp 0x498c34
lea ecx, [ebp - 0x10]
call fcn.00402010
movzx edx, al
test edx, edx
jne 0x498de3
push 0x543620
lea ecx, [ebp - 0x10]
call fcn.00401990
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.004049a0
lea ecx, [ebp - 0x58]
call fcn.00402010
movzx ecx, al
test ecx, ecx
jne 0x498e0b
push 0x549cd8
lea ecx, [ebp - 0x58]
call fcn.00401990
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x58]
call fcn.004049a0
push 0x54ad50
lea ecx, [ebp - 0x58]
call fcn.00401990
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00486060
mov ecx, eax
call fcn.00401970
cmp dword [ebp - 0x2074], 0
jle 0x498f24
mov eax, dword [ebp - 0x2074]
cdq
mov ecx, 0x1e
idiv ecx
test edx, edx
jne 0x498f24
lea edx, [ebp - 0x2070]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2094]
call fcn.00496730
test eax, eax
je 0x498e91
lea ecx, [ebp - 0x58]
call fcn.00401f80
lea ecx, [ebp - 0x10]
call fcn.00401f80
jmp 0x498f24
mov dword [ebp - 0x2088], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00486040
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00404b20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2070]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00401eb0
mov eax, dword [ebp - 0x2088]
jmp 0x49912d
jmp 0x498c34
lea ecx, [ebp - 0x58]
call fcn.00402010
movzx edx, al
test edx, edx
jne 0x499002
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x2094]
call fcn.00496730
test eax, eax
je 0x498f6f
lea ecx, [ebp - 0x58]
call fcn.00401f80
lea ecx, [ebp - 0x10]
call fcn.00401f80
jmp 0x499002
mov dword [ebp - 0x208c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00486040
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00404b20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2070]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00401eb0
mov eax, dword [ebp - 0x208c]
jmp 0x49912d
lea ecx, [ebp - 0x2070]
call fcn.00402010
movzx eax, al
test eax, eax
je 0x499077
lea ecx, [ebp - 0x207c]
push ecx
call fcn.004b539d
add esp, 4
mov dword [ebp - 0x20ac], eax
mov dword [ebp - 0x20a8], edx
cmp dword [ebp - 0x20ac], 0xffffffff
jne 0x499055
cmp dword [ebp - 0x20a8], 0xffffffff
jne 0x499055
mov dword [ebp - 0x207c], 0
mov dword [ebp - 0x2078], 0
mov edx, dword [ebp - 0x2078]
push edx
mov eax, dword [ebp - 0x207c]
push eax
push str._I64d
lea ecx, [ebp - 0x2070]
push ecx
call fcn.00409170
add esp, 0x10
lea edx, [ebp - 0x2070]
push edx
mov ecx, dword [ebp - 0x2094]
add ecx, 4
call fcn.00401970
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x2094]
call fcn.00496fc0
mov dword [ebp - 0x2090], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00486040
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00404b20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2070]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00401eb0
mov eax, dword [ebp - 0x2090]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret