Function at 0x10018950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166658
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10200854]
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 esi, ecx
cmp dword [esi + 0x1a0], 2
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
jne 0x10018a44
cmp dword [0x10208ecc], 0
je 0x10018be3
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
cmp byte [eax + 0x54], 0
je 0x10018be3
cmp dword [eax + 0x58], 5
jb 0x10018be3
mov bl, byte [eax + 0x5c]
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
lea ecx, [ebp - 0x28]
push 7
push 0x101b026c
call fcn.10004820
push 0x2ae
push str.RC::RCBootProcessBlock::RespondDataRealtimeSendNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipslogic_src_bootblock_rcbootprocessblock.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
push 5
call fcn.10126060
test bl, bl
je 0x10018a30
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
jmp 0x10018be3
cmp dword [esi + 0x1a0], 0
jne 0x10018b26
cmp dword [esi + 0x1d8], 8
lea eax, [esi + 0x1c4]
jb 0x10018a62
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x10208ecc], 0
mov edi, eax
je 0x10018b23
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov ecx, dword [0x10208ecc]
cmp byte [ecx + 0x54], 0
je 0x10018b23
cmp dword [ecx + 0x58], 5
jb 0x10018b23
mov bl, byte [ecx + 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x40]
push 0x101b02f0
push eax
call fcn.100620d0
add esp, 0x10
lea eax, [ebp - 0x40]
mov ecx, 0x10208ecc
push 0x2b7
push str.RC::RCBootProcessBlock::RespondDataRealtimeSendNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipslogic_src_bootblock_rcbootprocessblock.cpp
push eax
push 5
call fcn.10126060
test bl, bl
je 0x10018b14
lea eax, [ebp - 0x40]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100047b0
mov edi, dword [ebp - 0x5c]
cmp dword [esi], 0
je 0x10018be3
cmp dword [0x10208ecc], 0
je 0x10018bd8
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
cmp byte [eax + 0x54], 0
je 0x10018bd8
cmp dword [eax + 0x58], 5
jb 0x10018bd8
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0x11
push 0x101b0344
call fcn.10004820
push 0x2bd
push str.RC::RCBootProcessBlock::RespondDataRealtimeSendNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipslogic_src_bootblock_rcbootprocessblock.cpp
lea eax, [ebp - 0x58]
mov ecx, 0x10208ecc
push eax
push 5
call fcn.10126060
test bl, bl
je 0x10018bc9
lea eax, [ebp - 0x58]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100047b0
push dword [ebp - 0x60]
mov ecx, dword [esi]
push edi
call fcn.10062970
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.101611d3
mov esp, ebp
pop ebp
ret 8