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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524858
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x592bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test eax, eax
je 0x41a6dc
lea ecx, [ebp - 0x144]
push ecx
call fcn.00404710
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.00407140
movzx edx, al
test edx, edx
jne 0x41a6ba
lea ecx, [ebp - 0x144]
call fcn.004071b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41a6ba
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c4], esp
lea eax, [ebp - 0x144]
push eax
call fcn.004078a0
mov dword [ebp - 0x1c8], eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00404260
add esp, 0x1c
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18c]
push edx
call fcn.00403830
add esp, 4
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d0], esp
push 0x581cdc
call fcn.00407770
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x174]
push ecx
call fcn.004036b0
add esp, 0x20
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0x15c]
push eax
call fcn.00403da0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.00411670
jmp 0x41a4f4
push 0
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x1a8]
call fcn.0041bb90
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00411610
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00406fd0
movzx ecx, al
test ecx, ecx
je 0x41a67e
push 0
push 0x581d44
lea ecx, [ebp - 0x1a8]
call fcn.0040cb70
mov ecx, eax
call fcn.0041bee0
cmp eax, 0xffffffff
je 0x41a679
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x12c]
call fcn.004078a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.00407190
add eax, 1
push eax
lea ecx, [ebp - 0x12c]
call fcn.004071b0
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004fec10
add esp, 0xc
lea ecx, [ebp - 0x1a8]
call fcn.0040cb70
mov ecx, eax
call fcn.004071b0
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x41a66a
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x12c]
call fcn.004074b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e4], esp
lea eax, [ebp - 0x12c]
push eax
call fcn.004078a0
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x15c]
push edx
push str.EXT_
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040e0b0
add esp, 0xc
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], ecx
mov byte [ebp - 4], 7
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x1ec], esp
push str..dmp
mov eax, dword [ebp - 0x1b4]
push eax
push edx
call fcn.0040e270
add esp, 0xc
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 8
call fcn.004048c0
add esp, 0x30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a4]
call fcn.00407540
lea ecx, [ebp - 0x12c]
call fcn.004071b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.00407540
jmp 0x41a4e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.00406c50
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00407540
jmp 0x41a3db
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6445
mov esp, ebp
pop ebp
ret