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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4578b1
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push esi
push edi
mov eax, dword [0x46f940]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
lea ecx, [esp + 0x64]
call fcn.004056f0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
push dword [esp + 0x10]
xor edx, edx
push ecx
xor ecx, ecx
call fcn.00403170
add esp, 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
push 0x4f5ce8
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 2
call fcn.00408020
lea eax, [esp + 0x2c]
mov byte [esp + 0xe8], 3
push eax
lea ecx, [esp + 0x4c]
call fcn.00401bf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 2
call fcn.00402370
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00452bf0
lea ecx, [esp + 0x14]
call fcn.00407e80
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0xe8], 5
xor edx, edx
push dword [esp + 0x10]
push ecx
xor ecx, ecx
call fcn.00403170
add esp, 8
mov dword [esp + 0x30], 0
lea eax, [esp + 0x2c]
mov byte [esp + 0x23], 1
lea ecx, [esp + 0x14]
push eax
call fcn.004080c0
lea eax, [esp + 0x3c]
mov byte [esp + 0xe8], 6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x27], 1
call fcn.004080c0
push dword [0x4f5ce4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453cbc
push dword [0x4f5ce4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x453cbc
push dword [0x4f5ce4]
push str.Can_not_delete_file:__s_n
call fcn.004226ce
add esp, 8
lea ecx, [esp + 0x54]
call fcn.004531e0
push 0x4f5ce4
push ecx
mov edi, esp
mov byte [esp + 0xf0], 7
sub esp, 0x18
lea eax, [esp + 0x34]
mov esi, esp
mov ecx, esi
mov dword [esp + 0x30], esi
push eax
call fcn.00407f40
mov byte [esp + 0x108], 8
movzx eax, byte [esp + 0x40]
mov byte [esi + 0xc], al
movzx eax, byte [esp + 0x41]
mov byte [esi + 0xd], al
movzx eax, byte [esp + 0x42]
mov byte [esi + 0xe], al
movzx eax, byte [esp + 0x43]
mov byte [esi + 0xf], al
movzx eax, byte [esp + 0x44]
mov byte [esi + 0x10], al
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
push eax
call fcn.00403690
add esp, 4
mov byte [esp + 0x108], 7
add eax, 0x10
mov dword [esi + 0x14], eax
push edi
call fcn.00453a10
call fcn.00452e50
push dword [0x4f5ce4]
test eax, eax
je 0x453d54
push str.Export_file__s_success_n
jmp 0x453d59
push str.Export_file__s_failed_n
call fcn.004226ce
add esp, 8
lea ecx, [esp + 0x54]
call fcn.00453160
mov byte [esp + 0xe8], 2
or ecx, 0xffffffff
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x453d90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x453dca
push dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
call fcn.00403170
push dword [esp + 0x1c]
call fcn.00413987
add esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x48]
call fcn.00402370
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x453df4
push dword [esp + 0x10]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00403170
push esi
call fcn.00413987
add esp, 0xc
lea ecx, [esp + 0x64]
call fcn.00405830
mov eax, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4