Function at 0x4bde98
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004054e0
xor eax, eax
push ebp
push 0x4be183
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
xor eax, eax
push ebp
push 0x4be0dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0040a0c4
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x10]
call fcn.004092d8
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4be19c
call fcn.00405378
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x40]
mov ecx, 1
mov eax, 0x4be1a8
call fcn.0040ada0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x40]
mov ecx, 1
mov eax, 0x4be1b8
call fcn.0040ada0
mov eax, dword [ebp - 0x1c]
call fcn.004054f0
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov edx, dword [eax]
call dword [edx + 0x64]
test al, al
jne 0x4bdfad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov edx, dword [eax]
call dword [edx + 0x9c]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.004b9e80
mov eax, dword [ebp - 0x18]
call fcn.004054f0
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x10]
mov edx, 0x4be1c8
call fcn.00405488
jne 0x4be020
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4be1d8
call fcn.0040ada0
mov eax, dword [ebp - 0x44]
call fcn.004054f0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004054f0
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4be039
push 0
mov eax, dword [ebp - 0x18]
call fcn.004054f0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004054f0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x10]
mov edx, 0x4be1c8
call fcn.00405488
jne 0x4be052
mov eax, dword [ebp - 4]
mov byte [eax + 0x37a], 1
mov byte [ebp - 9], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.004a56bc
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fild qword [ebp - 0x4c]
fdiv dword [0x4be1e8]
fstp xword [ebp - 0x74]
wait
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 3
lea edx, [ebp - 0x68]
mov ecx, 2
mov eax, 0x4be1f4
call fcn.0040ada0
mov edx, dword [ebp - 0x50]
mov eax, dword [0x4c6090]
mov eax, dword [eax]
call fcn.00426398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be18a
lea eax, [ebp - 0x78]
call fcn.00405050
lea eax, [ebp - 0x50]
call fcn.00405050
lea eax, [ebp - 0x44]
call fcn.00405050
lea eax, [ebp - 0x30]
call fcn.00405050
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405074
lea eax, [ebp - 8]
call fcn.00405050
ret