Function at 0x457300
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539492
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push str.EntClientFixHistory.dat
lea eax, [ebp - 0x34]
push eax
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402010
movzx ecx, al
test ecx, ecx
jne 0x45735e
lea ecx, [ebp - 0x34]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.FixHistory
lea ecx, [ebp - 0x2c]
call fcn.00401e30
mov byte [ebp - 4], 1
xor edx, edx
mov word [ebp - 0x1c], dx
xor eax, eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], ax
lea ecx, [ebp - 0x30]
call fcn.00403840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x10]
push edx
movzx eax, word [ebp - 0x12]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
movzx edx, word [ebp - 0x16]
push edx
movzx eax, word [ebp - 0x1a]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
push str._04d_02d_02d__02d:_02d:_02d
lea edx, [ebp - 0x30]
push edx
call fcn.00409170
add esp, 0x20
lea ecx, [ebp - 0x34]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x30]
call fcn.0043e290
push eax
push str.LastSaveTime
lea ecx, [ebp - 0x2c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x28]
call fcn.00403840
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x148
call fcn.0045ee00
mov dword [ebp - 0x38], 0
jmp 0x457427
lea ecx, [ebp - 0x24]
call fcn.0045a530
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x148
call fcn.00486210
push eax
lea ecx, [ebp - 0x24]
call fcn.00474e80
movzx eax, al
test eax, eax
je 0x4574b7
mov ecx, dword [ebp - 0x38]
push ecx
push 0x5442f0
lea edx, [ebp - 0x28]
push edx
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0045a620
mov ecx, eax
call fcn.004086e0
test eax, eax
jle 0x45747f
lea ecx, [ebp - 0x24]
call fcn.0045a620
cmp dword [eax + 4], 0
jne 0x457481
jmp 0x457416
lea ecx, [ebp - 0x34]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x24]
call fcn.0045a620
mov ecx, eax
call fcn.0043e290
push eax
lea ecx, [ebp - 0x28]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x457416
mov ecx, dword [ebp - 0x44]
add ecx, 0x148
call fcn.0045a410
push eax
push 0x542fc8
lea eax, [ebp - 0x28]
push eax
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x28]
call fcn.0043e290
push eax
push str.Count
lea ecx, [ebp - 0x2c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret