Function at 0x10017e90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a82e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10221008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x100180dc
mov edi, dword [ecx + 8]
test edi, edi
je 0x100180dc
cmp dword [esi + 0x1c], 3
jne 0x10017ef3
cmp dword [esi + 0x74], 1
jne 0x100180d8
lea edx, [esi + 0x98]
lea ecx, [esi + 0x3c]
call fcn.1000cab0
jmp 0x10017fbe
cmp dword [esi + 0x14], 8
mov ecx, esi
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x2c], eax
jb 0x10017f03
mov ecx, dword [esi]
xor edx, edx
call fcn.1009ed40
mov edx, dword [edi]
mov ecx, edi
push dword [ebp - 0x2c]
push eax
mov eax, dword [edx + 0x44]
call eax
test al, al
jne 0x10017fbe
push 2
mov ecx, 0x10227688
call fcn.100c1e30
mov edi, eax
test edi, edi
je 0x10017fbe
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x10017f64
mov ecx, dword [esi]
xor edx, edx
call fcn.1009ed40
push eax
lea eax, [ebp - 0x28]
push str.DVRMON:_DvrApi_action_error.EventId:_d
push eax
call fcn.100c2310
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10227688
push 0xb8
push str.RC::RCDvrMonHandler::DoInterceptAction
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sddefencelogic_srcdrivermonitor_rcdvrmonhandler.cpp
push eax
push 2
call fcn.100c1e70
cmp edi, 1
jbe 0x10017faf
lea eax, [ebp - 0x28]
mov ecx, 0x10227688
push eax
call fcn.100c2190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004a00
cmp dword [esi + 0x74], 1
jne 0x100180d8
cmp byte [esi + 0x3dc], 0
je 0x10018058
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10018058
cmp edi, 4
je 0x10018058
mov ecx, edi
call fcn.100319d0
test al, al
jne 0x10018058
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.100a3870
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x44]
call fcn.100a2340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.100047c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10004a00
lea ecx, [ebp - 0x28]
call fcn.1009f300
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, str.services.exe
cmovae ecx, dword [ebp - 0x28]
call fcn.1009efb0
test al, al
jne 0x10018049
mov ecx, edi
call fcn.100a7930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004a00
cmp byte [esi + 0x3dd], 0
je 0x100180bd
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.1002f690
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001808a
cmp dword [ebp - 0x14], 0
jne 0x1001808a
lea ecx, [ebp - 0x14]
push ecx
call eax
cmp dword [esi + 0x94], 8
lea eax, [esi + 0x80]
jb 0x1001809b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100180ae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1002f850
mov eax, dword [esi + 0x1c]
cmp eax, 1
je 0x100180ca
cmp eax, 2
jne 0x100180d8
lea edx, [esi + 0x98]
lea ecx, [esi + 0x3c]
call fcn.1000cab0
mov al, 1
jmp 0x100180de
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018b6f4
mov esp, ebp
pop ebp
ret 4