Function at 0x4058b0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562f90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x62f018]
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]
mov ecx, 0x6355a1
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
call fcn.00561ea5
lea eax, [ebp - 0x50]
push eax
call fcn.00409ce0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x50]
push esi
lea ecx, [ebp - 0x28]
call fcn.00490590
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x405947
mov ecx, eax
call fcn.00404570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0048e520
test al, al
jne 0x405a1c
cmp dword [0x6321a8], 0
je 0x405dd3
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x405dd3
cmp dword [eax + 0x58], 2
jb 0x405dd3
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x55], al
call fcn.00403f80
mov byte [ebp - 4], 6
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push 0x5c8248
push eax
call fcn.004d29e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push 0x26
push str.RC::RCProcExcute::RunSafeProcess
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rcprocexcute.cpp
push eax
push 2
call fcn.004d2490
cmp byte [ebp - 0x55], 0
je 0x405a01
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x68], eax
jmp 0x405dcf
cmp dword [0x6321a8], 0
je 0x405ad1
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x405ad1
cmp dword [eax + 0x58], 2
jb 0x405ad1
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x55], al
call fcn.00403f80
mov byte [ebp - 4], 0xf
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x405a69
mov ecx, dword [edi]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push ecx
cmovae eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push str.run_path___s__cmdline___s
push eax
call fcn.004d29e0
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push 0x2a
push str.RC::RCProcExcute::RunSafeProcess
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rcprocexcute.cpp
push eax
push 2
call fcn.004d2490
cmp byte [ebp - 0x55], 0
je 0x405ab7
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.004947d0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x54], 0
push eax
mov dword [ebp - 0x60], 0
call fcn.00495810
test al, al
je 0x405d33
push 0x631ba0
push 0x400
mov dword [ebp - 0x38], 0
mov word [ebp - 0x34], 0x500
mov byte [ebp - 0x55], 0
call fcn.0052fc7d
mov esi, dword [ebp - 0x60]
mov edi, eax
add esp, 8
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x405d2c
lea eax, [ebp - 0x30]
push eax
push 0x400
push edi
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x405bb0
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x405bb0
xor esi, esi
cmp dword [edi], esi
jbe 0x405ba4
add edi, 4
push dword [edi]
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x405b9d
mov eax, dword [ebp - 0x5c]
inc esi
add edi, 8
cmp esi, dword [eax]
jb 0x405b81
jmp 0x405ba1
mov byte [ebp - 0x55], 1
mov edi, dword [ebp - 0x5c]
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov esi, dword [ebp - 0x60]
push edi
call fcn.0052fc78
add esp, 4
cmp byte [ebp - 0x55], 0
je 0x405d2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00494890
mov esi, dword [ebp - 0x64]
mov ecx, esi
call fcn.00491dc0
test al, al
je 0x405c72
push 2
mov ecx, 0x6321a8
call fcn.004d2400
mov edi, eax
test edi, edi
je 0x405c69
lea ecx, [ebp - 0x28]
call fcn.00403f80
mov byte [ebp - 4], 0x1e
cmp dword [esi + 0x14], 8
jb 0x405c0e
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x28]
push str.process_is_running:__s
push eax
call fcn.004d29e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push 0x35
push str.RC::RCProcExcute::RunSafeProcess
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rcprocexcute.cpp
push eax
push 2
call fcn.004d2490
cmp edi, 1
jbe 0x405c4f
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x28]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
mov byte [ebp - 0x55], 1
jmp 0x405dd7
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
push ecx
mov edx, esi
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x50]
call fcn.00490fb0
add esp, 8
mov byte [ebp - 0x55], al
mov ecx, 0x6321a8
push 2
call fcn.004d2400
mov edi, eax
test edi, edi
je 0x405dd7
lea ecx, [ebp - 0x28]
call fcn.00403f80
mov byte [ebp - 4], 0x27
cmp dword [esi + 0x14], 8
jb 0x405cbb
mov esi, dword [esi]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push esi
cmovae eax, dword [ebp - 0x50]
push eax
movzx eax, byte [ebp - 0x55]
push eax
lea eax, [ebp - 0x28]
push str.create_process__d__path___s__cmdline___s
push eax
call fcn.004d29e0
add esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push 0x3a
push str.RC::RCProcExcute::RunSafeProcess
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rcprocexcute.cpp
push eax
push 2
call fcn.004d2490
cmp edi, 1
jbe 0x405d0d
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x28]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
jmp 0x405dd7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00494890
cmp dword [0x6321a8], 0
je 0x405dd3
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x405dd3
cmp dword [eax + 0x58], 2
jb 0x405dd3
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x55], al
call fcn.00403f80
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push 0x16
push str.current_not_admin_user
call fcn.00404640
push 0x2f
push str.RC::RCProcExcute::RunSafeProcess
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rcprocexcute.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
push 2
call fcn.004d2490
cmp byte [ebp - 0x55], 0
je 0x405db9
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0x2c
lea ecx, [ebp - 0x50]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x55]
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.0052f553
mov esp, ebp
pop ebp
ret 8