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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca40
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1038], ecx
mov ecx, dword [ebp + 8]
call fcn.00486270
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
push str.EntClientEntAllfixHistory.ini
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x496d62
mov byte [ebp - 0x1029], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov al, byte [ebp - 0x1029]
jmp 0x496f96
push 0x540868
lea ecx, [ebp - 0x10]
call fcn.00401e30
mov byte [ebp - 4], 1
xor edx, edx
mov word [ebp - 0x81c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.004b0ac0
add esp, 0xc
mov dword [ebp - 0x820], 0
jmp 0x496dad
mov ecx, dword [ebp - 0x820]
add ecx, 1
mov dword [ebp - 0x820], ecx
mov edx, dword [ebp - 0x820]
push edx
push str.task_d
lea eax, [ebp - 0x10]
push eax
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0x3ff
lea ecx, [ebp - 0x81c]
push ecx
push 0x540868
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
push str.EntAllfixHistory
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x496dfc
jmp 0x496f5c
lea edx, [ebp - 0x81c]
push edx
call fcn.004b0eb7
add esp, 4
test eax, eax
jne 0x496e14
jmp 0x496f5c
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x824]
call fcn.00401e30
mov byte [ebp - 4], 2
push 0x540b3c
lea ecx, [ebp - 0x824]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00486060
mov ecx, eax
call fcn.00401ed0
push 0
push str.8888
lea ecx, [ebp - 0x824]
call fcn.004282c0
cmp eax, 0xffffffff
je 0x496f48
push 0
push 0x2c
lea ecx, [ebp - 0x824]
call fcn.00408700
mov dword [ebp - 0x1028], eax
cmp dword [ebp - 0x1028], 0xffffffff
je 0x496ece
mov edx, dword [ebp - 0x1028]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x824]
call fcn.00409410
mov dword [ebp - 0x103c], eax
mov ecx, dword [ebp - 0x103c]
mov dword [ebp - 0x1040], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1040]
push edx
lea ecx, [ebp - 0x824]
call fcn.00401970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1030]
call fcn.00401eb0
xor eax, eax
mov word [ebp - 0x1024], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1022]
push ecx
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0x400
lea edx, [ebp - 0x1024]
push edx
push 0x540868
push 0x545bd0
lea ecx, [ebp - 0x824]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x824]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00486060
mov ecx, eax
call fcn.00401ed0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
sub eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x824]
call fcn.00401eb0
jmp 0x496d9e
mov ecx, dword [ebp + 8]
call fcn.0045a410
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 0x1031], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov al, byte [ebp - 0x1031]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 8