Function at 0x457b08
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x457edb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x66b664], 1
jne 0x457ea8
mov eax, dword [0x669720]
cmp byte [eax], 1
jne 0x457b59
mov eax, dword [0x66b694]
call fcn.006522b8
mov eax, dword [0x669720]
cmp byte [eax], 3
sete al
mov edx, dword [0x669720]
mov byte [edx], 0
test al, al
je 0x457ea1
mov byte [0x66b664], 3
push 0
push 0
mov ecx, dword [0x66b668]
mov dl, 1
mov eax, dword [0x613d6c]
call fcn.00617c74
mov ebx, eax
mov edx, 0x457ef0
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, 0x457f00
mov eax, ebx
call fcn.006173f0
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x6694bc]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x65d3b4]
mov eax, ebx
call fcn.00617530
mov edx, dword [ebp - 0x28]
mov eax, 0x66b66c
call fcn.004032c8
mov eax, 0x66b670
call fcn.00403274
lea ecx, [ebp - 0x28]
mov edx, 0x457f18
mov eax, ebx
call fcn.00617530
mov edx, dword [ebp - 0x28]
mov eax, 0x66b674
call fcn.004032c8
lea ecx, [ebp - 0x28]
mov edx, 0x457f30
mov eax, ebx
call fcn.00617530
mov edx, dword [ebp - 0x28]
mov eax, 0x66b678
call fcn.004032c8
xor eax, eax
mov dword [0x66b67c], eax
mov byte [0x66b680], 0
mov eax, 0x66b684
call fcn.00403274
mov eax, 0x66b688
call fcn.00403274
mov edx, 0x457f44
mov eax, ebx
call fcn.006173f0
mov dword [0x66b68c], eax
test esi, esi
jle 0x457e8d
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x28]
mov eax, 0x457f50
mov edx, dword [ebp - 0x20]
call fcn.00655344
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [ebp - 4]
mov edx, 0x457f64
mov eax, ebx
call fcn.00617530
lea ecx, [ebp - 8]
mov edx, 0x457f74
mov eax, ebx
call fcn.00617530
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.006553dc
mov ecx, eax
mov eax, ecx
mov esi, 0x64
cdq
idiv esi
mov esi, 0x64
cdq
idiv esi
push edx
mov eax, ecx
mov esi, 0x2710
cdq
idiv esi
push eax
mov eax, ecx
mov ecx, 0x64
cdq
idiv ecx
mov ecx, edx
pop eax
pop edx
call fcn.006554c0
fstp qword [ebp - 0x1c]
wait
lea ecx, [ebp - 0xc]
mov edx, 0x457f8c
mov eax, ebx
call fcn.00617530
lea ecx, [ebp - 0x10]
mov edx, 0x457f9c
mov eax, ebx
call fcn.00617530
lea ecx, [ebp - 0x14]
mov edx, 0x457fa8
mov eax, ebx
call fcn.00617530
mov eax, dword [ebp - 4]
call fcn.006297b8
mov esi, eax
mov dword [0x66b67c], esi
test esi, esi
je 0x457dba
cmp esi, 0x268786c
jle 0x457d28
mov byte [0x66b680], 1
cmp byte [0x66b680], 0
je 0x457e81
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
call fcn.00655cfc
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.006542f4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov eax, 0x457fac
mov ecx, 1
call fcn.006550e0
push dword [ebp - 0x28]
push 0x457fd0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0061980c
push dword [ebp - 0x3c]
push 0x457fe4
push dword [0x66b670]
mov eax, 0x66b670
mov edx, 5
call fcn.004035dc
mov eax, 0x66b684
mov edx, dword [ebp - 4]
call fcn.004032c8
jmp 0x457e81
cmp dword [ebp - 0x10], 0
je 0x457e81
cmp dword [ebp - 0x14], 0
je 0x457e81
call fcn.006557f0
fsub qword [ebp - 0x1c]
fcomp dword [0x457fec]
fnstsw ax
sahf
ja 0x457e39
mov eax, dword [0x669800]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
jne 0x457e81
cmp dword [0x66b688], 0
je 0x457e0f
mov eax, 0x66b688
mov edx, 0x457ff8
call fcn.00403524
push dword [0x66b688]
push dword [ebp - 0xc]
push 0x457ff8
push dword [ebp - 0x10]
push 0x457ff8
push dword [ebp - 0x14]
mov eax, 0x66b688
mov edx, 6
call fcn.004035dc
jmp 0x457e81
mov eax, dword [0x6694c0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov esi, eax
cmp esi, 0xffffffff
je 0x457e5d
mov eax, dword [0x6694c0]
mov eax, dword [eax]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x669800]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov esi, eax
cmp esi, 0xffffffff
je 0x457e81
mov eax, dword [0x669800]
mov eax, dword [eax]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x457c5b
mov eax, ebx
call fcn.004028c0
mov eax, dword [0x66b668]
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x457ea8
mov byte [0x66b664], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457ee2
lea eax, [ebp - 0x40]
call fcn.00403880
lea eax, [ebp - 0x3c]
call fcn.00403274
lea eax, [ebp - 0x28]
call fcn.00403274
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403298
ret