Function at 0x4587a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f694b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2844
call fcn.00471f10
mov eax, dword [0x541280]
xor eax, esp
mov dword [esp + 0x2840], eax
push ebx
push esi
push edi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x2858]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
test edi, edi
je 0x458a6e
test eax, eax
je 0x458a6e
mov dword [esp + 0x10], 5
call fcn.0047e4f0
lea ecx, [eax*8 + 0x5592a0]
call fcn.004780e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x458832
push dword [esi + 8]
push eax
push 0
push 5
call ecx
add esp, 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x834], 0
mov dword [esp + 0x2c], eax
mov ebx, 1
push str.unins.000
xor eax, eax
push edi
mov word [esp + 0x38], ax
lea eax, [esp + 0x34]
push str._s_s
push eax
call fcn.00443de0
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0045f045
add esp, 0x18
cmp eax, 0xffffffff
je 0x458a20
lea ecx, [esp + 0x18]
call fcn.00452190
mov dword [esp + 0x2860], 0
lea ecx, [esp + 0x30]
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x45894a
call fcn.0047e4f0
lea ecx, [eax*8 + 0x559440]
call fcn.004780e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4588d0
push dword [esi + 8]
push eax
push ebx
push 5
call ecx
add esp, 0x10
push 0x64
mov ebx, 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
mov ecx, eax
xor edi, edi
mov dword [esp + 0x28], ecx
lea eax, [ecx + 5]
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x458946
mov eax, dword [esp + 0x1c]
mov ecx, eax
push edi
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [esp + 0x24], eax
test eax, eax
je 0x45893f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x458927
push dword [esi + 8]
add eax, 0x4e
push eax
push ebx
push dword [esp + 0x1c]
call ecx
mov eax, dword [esp + 0x34]
add esp, 0x10
add eax, 0x4e
mov ecx, esi
push eax
push dword [esp + 0x24]
inc ebx
call fcn.00458620
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, dword [esp + 0x28]
jl 0x4588f7
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x2860], 0xffffffff
mov ecx, edi
mov eax, dword [edi]
push 1
call dword [eax]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x4589b4
push 0x64
call edi
call fcn.0047e4f0
lea ecx, [eax*8 + 0x559780]
call fcn.004780e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45899e
push dword [esi + 8]
push eax
push ebx
push dword [esp + 0x1c]
call ecx
add esp, 0x10
mov ecx, dword [esp + 0x14]
inc ebx
mov eax, dword [ecx]
call dword [eax + 0x1d0]
push eax
call fcn.0047aa50
add esp, 4
push 0x64
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x50]
call fcn.0047e4f0
lea ecx, [eax*8 + 0x559580]
call fcn.004780e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4589ea
push dword [esi + 8]
push eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
call ecx
add esp, 0x10
jmp 0x4589ee
mov ebx, dword [esp + 0x10]
push 0x64
call edi
call fcn.0047e4f0
lea ecx, [eax*8 + 0x5595c0]
call fcn.004780e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x458a15
push dword [esi + 8]
push eax
push ebx
push ebx
call ecx
add esp, 0x10
push 0xc8
call edi
mov al, 1
jmp 0x458a70
lea eax, [esp + 0x840]
mov dword [esp + 0x2844], 0
mov dword [esp + 0x83c], eax
xor eax, eax
mov word [esp + 0x840], ax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x840]
push str.File_is_missing_:__n__s
push eax
call fcn.00443ed0
add esp, 0xc
lea ecx, [esp + 0x840]
mov edx, 0x10
call fcn.00446360
xor al, al
mov ecx, dword [esp + 0x2858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2840]
xor ecx, esp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 0xc