Function at 0x4c2810
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540414
mov eax, dword fs:[0]
push eax
mov eax, 0xa8f4
call fcn.0052c010
mov eax, dword [0x575494]
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 edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0xa8c0], esi
cmp ecx, 0xa410
jge 0x4c2b1b
cmp ecx, 2
jne 0x4c2afc
lea ebx, [esi + 0x3740]
push ebx
call fcn.004d37a0
test al, al
je 0x4c2b2a
xor eax, eax
mov dword [ebp - 0xa8fc], eax
mov dword [ebp - method.CPipe.virtual_0], vtable.CPipe.0
mov dword [ebp - 0xa8f8], 0xffffffff
mov dword [ebp - 0xa8f4], 0x400
mov dword [ebp - 0xa8ec], eax
mov dword [ebp - method.CEvent.virtual_0], vtable.CEvent.0
mov dword [ebp - 0xa8e8], eax
mov dword [ebp - 4], eax
call fcn.00514300
push eax
lea eax, [ebp - 0xa900]
push eax
mov esi, str.ExeScanPostProcess
call fcn.004f4e10
mov ecx, dword [ebp - 0xa8c0]
mov byte [ecx + 0x373d], 1
xor edi, edi
mov dword [ebx + 0x20], 0xffffffff
cmp dword [ebx + 0xc], edi
jle 0x4c290e
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0x14]
je 0x4c290e
mov ecx, dword [ebx + 0x14]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jle 0x4c290e
mov dword [ebx + 0x20], edi
mov dword [ebp - 0xa8cc], edi
mov dword [ebp - 0xa8c8], edi
mov dword [ebp - 0xa8c4], edi
mov dword [ebp - 0xa8d8], edi
mov dword [ebp - 0xa8d4], edi
mov dword [ebp - 0xa8d0], edi
lea esi, [ebp - 0xa8e4]
mov eax, ebx
mov byte [ebp - 4], 2
call fcn.00519c50
lea ecx, [ebp - 0xa8cc]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa8e4]
cmp eax, edi
je 0x4c2969
push eax
call fcn.0051ebab
add esp, 4
lea eax, [ebp - 0xa8d8]
push eax
mov esi, ebx
call fcn.004d3a90
mov ebx, dword [ebp - 0xa8d8]
cmp dword [ebp - 0xa8c8], edi
jle 0x4c2ac1
cmp dword [ebp - 0xa8d4], edi
jle 0x4c2ac1
lea edx, [ebp - 0xa8bc]
call fcn.004f4f40
mov byte [ebp - 4], 4
call fcn.00514300
lea ecx, [ebp - 0xa8bc]
call fcn.004f5800
cmp al, 1
jne 0x4c2a52
lea ecx, [ebp - 0xa8bc]
call fcn.004f6cf0
mov ecx, eax
cmp ecx, edi
je 0x4c2a52
mov esi, dword [ebp - 0xa8c0]
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 4]
add esi, 0x2658
call fcn.004c8bc0
mov ecx, ebx
test ebx, ebx
jne 0x4c29f3
mov ecx, 0x54ee24
mov eax, dword [ebp - 0xa8cc]
test eax, eax
jne 0x4c2a02
mov eax, 0x54ee24
push ecx
push eax
mov edi, esi
call fcn.004c8c20
mov edi, dword [ebp - 0xa8c0]
push 0
lea ecx, [edi + 0x98c]
mov byte [edi + 0x3764], 1
call fcn.0050e950
push 1
lea ecx, [edi + 0x98c]
call fcn.0050e990
push 1
lea ecx, [edi + 0x98c]
call fcn.0050e9d0
mov edi, dword [edi + 0xc]
push 0
push 0
push 0x8370
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0xa8cc]
push ecx
lea ecx, [ebp - 0xa8e4]
call fcn.005072b0
mov esi, 0x54ede0
lea eax, [ebp - 0xa8e4]
mov byte [ebp - 4], 5
call fcn.00508170
mov eax, dword [ebp - 0xa8d4]
push ebx
lea edi, [ebp - 0xa8e4]
call fcn.00507dd0
mov eax, dword [ebp - 0xa8e4]
test eax, eax
jne 0x4c2a99
mov eax, 0x54ee24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xa8e4]
mov byte [ebp - 4], 4
call fcn.00507320
lea edx, [ebp - 0xa8bc]
push edx
mov byte [ebp - 4], 2
call fcn.004f53b0
xor edi, edi
mov byte [ebp - 4], 1
cmp ebx, edi
je 0x4c2ad2
push ebx
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8cc]
cmp eax, edi
je 0x4c2ae9
push eax
call fcn.0051ebab
add esp, 4
lea esi, [ebp - 0xa900]
call fcn.004f4dd0
mov esi, dword [ebp - 0xa8c0]
jmp 0x4c2b2a
cmp ecx, 1
jne 0x4c2b2a
mov byte [esi + 0x373d], 0
add esi, 0x3740
call fcn.004d39d0
mov esi, dword [ebp - 0xa8c0]
jmp 0x4c2b2a
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00427ed0
call fcn.00451b80
cmp byte [esi + 0x373d], 0
jne 0x4c2b38
call fcn.00451b80
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.0051eb9c
mov esp, ebp
pop ebp
ret 8