Function at 0x1000d520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021ec4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1002e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], edx
mov esi, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.10016380
test al, al
je 0x1000dba2
lea ecx, [ebp - 0x80]
call fcn.1000e410
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
jne 0x1000d588
mov byte [ebp - 0x229], 0
jmp 0x1000db45
lea ecx, [ebp - 0xc8]
call fcn.10017b80
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc8]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x58]
call fcn.100173d0
add esp, 4
mov byte [ebp - 4], 2
xor eax, eax
push 3
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x10026538
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10006290
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
lea edx, [ebp - 0x58]
mov ecx, esi
push dword [ebp + 8]
call fcn.1000df60
add esp, 0xc
test al, al
sete al
mov byte [ebp - 0x229], al
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000d64d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d63d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d63d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
mov al, byte [ebp - 0x229]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 0x229], cl
test al, al
jne 0x1000da8f
lea ecx, [ebp - 0x228]
call fcn.10017780
lea eax, [ebp - 0x228]
push eax
call fcn.100178e0
xorps xmm0, xmm0
lea ecx, [ebp - 0x68]
mov esi, eax
movups xmmword [ebp - 0x68], xmm0
call fcn.1000e690
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1000d6ae
cmp dword [ebp - 0x5c], 0
jne 0x1000d6ae
lea ecx, [ebp - 0x5c]
push ecx
call eax
push dword [ebp - 0x230]
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.100173d0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x30], 0
je 0x1000da11
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10006be0
mov byte [ebp - 4], 6
cmp esi, 1
jne 0x1000d6f4
push str..DTMP
lea ecx, [ebp - 0x40]
call fcn.100063e0
push 0x44
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10c]
call fcn.10010170
mov byte [ebp - 4], 7
sub esp, 0x10
call fcn.10010280
lea ecx, [ebp - 0x40]
call fcn.100164b0
test al, al
je 0x1000d84d
lea ecx, [ebp - 0x98]
call fcn.10017b80
mov byte [ebp - 4], 8
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.100173d0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
push eax
call fcn.10010490
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x10c]
push 0
push eax
call fcn.10010490
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000d7d6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d7cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d7cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x1000d830
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d826
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x10c]
call fcn.10010420
cmp eax, 1
sete byte [ebp - 0x229]
jne 0x1000d8ae
lea ecx, [ebp - 0x10c]
call fcn.100103f0
test al, al
je 0x1000d8ae
cmp esi, 1
jne 0x1000d99f
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x40]
call fcn.1001aba0
mov byte [ebp - 0x229], al
jmp 0x1000d99f
push 2
mov ecx, 0x1002e7d4
call fcn.1001c870
mov esi, eax
test esi, esi
je 0x1000d994
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 byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push eax
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push ecx
push 0x10026b88
push eax
call fcn.1001ce20
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, 0x1002e7d4
push 0x153
push str.RC::RCDriverSysFile::InstallSysFileToDesPathByRid
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectdriverinstall_srcutils_rcdriversysfile.cpp
push eax
push 2
call fcn.1001c8b0
cmp esi, 1
jbe 0x1000d940
lea eax, [ebp - 0x28]
mov ecx, 0x1002e7d4
push eax
call fcn.1001cc50
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000d980
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d976
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d976
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x10c]
call fcn.100103c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.100101f0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x1000d9f4
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d9ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d9ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000da51
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000da47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000da47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], 7
test eax, eax
je 0x1000da71
push dword [ebp - 0x5c]
call eax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.1000e8f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000dacf
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dac5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000dac5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x1000db28
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000db1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000db1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x1000db88
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000db7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000db7e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov al, byte [ebp - 0x229]
mov dword [ebp - 0x6c], 7
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.1001f349
mov esp, ebp
pop ebp
ret