Function at 0x4529e5
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x69c24c]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x48
mov eax, 0x5f05da
call fcn.005bb14d
mov ebx, ecx
mov edi, dword [ebp + 0x25c]
lea eax, [ebp - 0x54]
and dword [ebp - 0x14], 0
push 0x7d
push 0x12
push str.ReleaseModeDeb.cpp
push eax
mov dword [ebp - 0x3c], edi
call fcn.00408f4f
add esp, 0x10
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.00452de7
call fcn.004887ac
push eax
lea ecx, [ebp - 0x10]
call fcn.0040654d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0045a3ec
mov byte [ebp - 4], 4
mov eax, dword [0x699020]
mov eax, dword [eax + 0x104]
test byte [eax + 0x141], 2
je 0x452a75
mov eax, dword [eax + 0x148]
jmp 0x452a77
xor eax, eax
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x452aac
push 0x60bba8
mov ecx, edi
call fcn.00408edd
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0045a4aa
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x452c91
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00452d59
mov byte [ebp - 4], 6
lea esi, [ebx + 0x30]
push eax
mov ecx, esi
call fcn.004067de
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406e44
lea eax, [ebp]
push eax
push dword [esi]
call fcn.004596d5
pop ecx
pop ecx
test eax, eax
je 0x452b92
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x452b92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp eax, 2
je 0x452b92
push dword [esi]
lea eax, [ebp - 0x18]
push str.DeleteFile__s_
push eax
call fcn.00459852
mov byte [ebp - 4], 8
push 0
push dword [eax]
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
push eax
call fcn.0042928a
add esp, 0x1c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov ecx, ebx
call fcn.00452de7
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00408eaa
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0045a4aa
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
jmp 0x452c91
push dword [esi]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00452cc1
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x452bf3
mov ecx, ebx
call fcn.00452de7
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00408eaa
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0045a4aa
jmp 0x452c8a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0045a6f0
mov byte [ebp - 4], 0x10
lea ecx, [ebx + 0x30]
push eax
call fcn.004067de
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406e44
lea ecx, [ebp - 0x38]
call fcn.0045a672
push 0
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
mov eax, dword [0x699020]
push dword [eax + 0x108]
call fcn.00452e33
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x452c6b
mov ecx, ebx
call fcn.00452de7
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00408eaa
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0045a4aa
jmp 0x452c8a
push 0x60bba8
mov ecx, edi
call fcn.00408edd
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0045a4aa
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.005bb105
lea esp, [ebp + 0x254]
pop ebp
ret 4