Function at 0x4c0af0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b702
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x28]
sar eax, 2
test eax, eax
je 0x4c0e00
mov esi, dword [ebx + 0x28]
cmp esi, dword [ebx + 0x2c]
je 0x4c0e12
lea edi, [esi + 4]
mov dword [ebp - 0x5c], edi
push 0
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4c0e12
cmp eax, 0x80
je 0x4c0e12
cmp eax, 0xffffffff
je 0x4c0e12
mov eax, dword [esi]
push 0xa
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4c0dec
mov edi, dword [0x61e774]
test edi, edi
jne 0x4c0bc3
push 0x2a8
call fcn.005120b2
mov edi, eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push edi
call fcn.0052d340
add esp, 0x10
mov ecx, edi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], edi
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax]
push 1
push 0x495
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 0
add edx, 0x206
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 2
cmp word [edx], ax
jne 0x4c0c14
xor ecx, ecx
jmp 0x4c0c2f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0c20
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404d30
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push 0x12
push str.ScreenSnapshot.exe
call fcn.0040d870
add esp, 8
test eax, eax
jne 0x4c0c96
mov eax, dword [esi]
mov edi, dword [eax]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4c0c85
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x10], 0
push 0
push edi
push 0x467
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [esi]
mov ecx, ebx
mov eax, dword [eax]
add eax, 6
push eax
call fcn.004bf320
test al, al
je 0x4c0d8f
lea eax, [ebp - 0x58]
push eax
call fcn.004c0e30
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x4c0cf1
push 0xffffffffffffffff
push 0
push eax
call fcn.004048d0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4c0d0a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [esi]
mov dword [ebp - 0x48], 0
mov edx, dword [eax]
add edx, 0x1a06
cmp word [edx], 0
jne 0x4c0d32
xor ecx, ecx
jmp 0x4c0d46
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0d37
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406f60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4c0d7b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
push dword [esi]
call fcn.00512108
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 0x5c]
sub eax, edi
push eax
push edi
push esi
call fcn.005294e0
add dword [ebx + 0x2c], 0xfffffffc
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4c0dd6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x4c0df5
add esi, 4
add edi, 4
mov dword [ebp - 0x5c], edi
cmp esi, dword [ebx + 0x2c]
jne 0x4c0b40
jmp 0x4c0e12
push dword [ebx + 0x50]
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret