Function at 0x5aa998
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5aabcc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x610ed0], 0
jne 0x5aaba9
mov dword [0x610ed0], 1
xor edx, edx
push ebp
push 0x5aaba2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
je 0x5aab70
lea eax, [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00406a5c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
call fcn.004082d0
dec eax
test eax, eax
jl 0x5aab70
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0xc]
cmp dword [eax + edx*4], 0
je 0x5aab64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [eax + 0x3c8]
add edx, dword [eax + 0x3b0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [eax + 0x3b0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4 + 4]
mov eax, dword [ecx + 0x3b8]
mov edx, dword [ecx + 0x3bc]
sub eax, dword [ecx + 0x3b0]
sbb edx, dword [ecx + 0x3b4]
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
call fcn.0048d6dc
xor edx, edx
push ebp
push 0x5aab47
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0040437c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [eax + edx*4], ecx
push dword [ebp - 4]
push 0x5aabe8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
inc eax
call fcn.00470c58
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406fc0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x1c]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5aab51
push 0xa
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x61308c]
mov eax, dword [eax]
call fcn.004d12ec
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x5aaa20
push 0
mov eax, dword [ebp - 8]
add eax, 0xa0
mov ecx, 1
mov edx, dword [0x5a529c]
call fcn.00408498
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aaba9
xor eax, eax
mov dword [0x610ed0], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aabd3
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406a00
lea eax, [ebp - 4]
call fcn.004069f8
ret