Function at 0x4c27a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5401e4
mov eax, dword fs:[0]
push eax
mov eax, 0xa8f4
call fcn.0052bf00
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 0x4c2aab
cmp ecx, 2
jne 0x4c2a8c
lea ebx, [esi + 0x3740]
push ebx
call fcn.004d37b0
test al, al
je 0x4c2aba
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.005141d0
push eax
lea eax, [ebp - 0xa900]
push eax
mov esi, str.ExeScanPostProcess
call fcn.004f4e80
mov ecx, dword [ebp - 0xa8c0]
mov byte [ecx + 0x373d], 1
xor edi, edi
mov dword [ebx + 0x20], 0xffffffff
cmp dword [ebx + 0xc], edi
jle 0x4c289e
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 0x14]
je 0x4c289e
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 0x4c289e
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.00519b30
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 0x4c28f9
push eax
call fcn.0051eadb
add esp, 4
lea eax, [ebp - 0xa8d8]
push eax
mov esi, ebx
call fcn.004d3b20
mov ebx, dword [ebp - 0xa8d8]
cmp dword [ebp - 0xa8c8], edi
jle 0x4c2a51
cmp dword [ebp - 0xa8d4], edi
jle 0x4c2a51
lea edx, [ebp - 0xa8bc]
call fcn.004f4fb0
mov byte [ebp - 4], 4
call fcn.005141d0
lea ecx, [ebp - 0xa8bc]
call fcn.004f5870
cmp al, 1
jne 0x4c29e2
lea ecx, [ebp - 0xa8bc]
call fcn.004f6d60
mov ecx, eax
cmp ecx, edi
je 0x4c29e2
mov esi, dword [ebp - 0xa8c0]
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 4]
add esi, 0x2658
call fcn.004c8b50
mov ecx, ebx
test ebx, ebx
jne 0x4c2983
mov ecx, 0x54ee24
mov eax, dword [ebp - 0xa8cc]
test eax, eax
jne 0x4c2992
mov eax, 0x54ee24
push ecx
push eax
mov edi, esi
call fcn.004c8bb0
mov edi, dword [ebp - 0xa8c0]
push 0
lea ecx, [edi + 0x98c]
mov byte [edi + 0x3764], 1
call fcn.0050e890
push 1
lea ecx, [edi + 0x98c]
call fcn.0050e8d0
push 1
lea ecx, [edi + 0x98c]
call fcn.0050e910
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.005072e0
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 0x4c2a29
mov eax, 0x54ee24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xa8e4]
mov byte [ebp - 4], 4
call fcn.00445e70
lea edx, [ebp - 0xa8bc]
push edx
mov byte [ebp - 4], 2
call fcn.004f5420
xor edi, edi
mov byte [ebp - 4], 1
cmp ebx, edi
je 0x4c2a62
push ebx
call fcn.0051eadb
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8cc]
cmp eax, edi
je 0x4c2a79
push eax
call fcn.0051eadb
add esp, 4
lea esi, [ebp - 0xa900]
call fcn.004f4e40
mov esi, dword [ebp - 0xa8c0]
jmp 0x4c2aba
cmp ecx, 1
jne 0x4c2aba
mov byte [esi + 0x373d], 0
add esi, 0x3740
call fcn.004d3a60
mov esi, dword [ebp - 0xa8c0]
jmp 0x4c2aba
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00427dc0
call fcn.00451a60
cmp byte [esi + 0x373d], 0
jne 0x4c2ac8
call fcn.00451a60
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.0051eacc
mov esp, ebp
pop ebp
ret 8