Function at 0x458dd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x458dd9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 8]
call fcn.00404c58
xor eax, eax
push ebp
push 0x459042
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x459006
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4128d8]
call fcn.00403960
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00403078
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409054
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00409088
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
pop edx
call fcn.004585e0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x458fbc
push dword [0x460604]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00409088
push dword [ebp - 0x24]
push 0x45905c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b28
mov eax, dword [ebp - 0xc]
call fcn.00408dc0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409088
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
call fcn.00404ab4
mov eax, dword [ebp - 0x28]
call fcn.00408d78
test al, al
je 0x458eed
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00409088
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0xc]
call fcn.00404ab4
mov eax, dword [ebp - 0x30]
call fcn.00404c68
push eax
call sub.kernel32.dll_DeleteFileA
push 1
lea ecx, [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x3c]
call fcn.00404c68
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.0040499c
mov eax, dword [ebp - 0x38]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00409088
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0xc]
call fcn.00404ab4
mov eax, dword [ebp - 0x44]
call fcn.00404c68
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.0040499c
mov ecx, dword [ebp - 0x40]
mov eax, ebx
pop edx
call fcn.004590c4
test al, al
je 0x458f7c
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x45906c
call fcn.004098a4
mov edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.00458ac8
jmp 0x458fea
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x459088
call fcn.004098a4
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x407634]
call fcn.0040c1d0
call fcn.004041ec
jmp 0x458fea
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x4590a4
call fcn.004098a4
mov edx, dword [ebp - 0x60]
mov eax, ebx
call fcn.00458ac8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45900d
cmp dword [ebp - 0x14], 0
je 0x459005
mov eax, dword [ebp - 0x14]
call fcn.00403990
ret