Function at 0x10046110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015971f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101b900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa4], 0
test esi, esi
jne 0x10046154
xor al, al
jmp 0x100468aa
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x10046166
mov al, 1
jmp 0x100468aa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 1
cmp byte [ebp + 0xc], al
je 0x10046254
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0x46
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.GlobalRCAV7E47DA93_AF41_4450_90CD_31C78125287D_RTPROTECT_INITIALEVENT
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10003610
sub esp, 8
mov dword [ebp - 0xa4], 1
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x60]
push eax
call fcn.10090700
mov eax, 1
mov dword [ebp - 0xa4], eax
and eax, 0xfffffffe
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046240
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046236
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468c6
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046280
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1007e870
test al, al
sete al
mov byte [ebp - 0x9d], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100462f4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100462e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468cb
push edx
push ecx
call fcn.1010a1d5
mov al, byte [ebp - 0x9d]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
test al, al
je 0x1004640f
cmp dword [0x101be120], ecx
je 0x10046403
push ecx
mov ecx, 0x101be120
call fcn.100ab390
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10046403
cmp dword [eax + 0x58], 2
jb 0x10046403
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x9d], al
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], 4
lea ecx, [ebp - 0x28]
push 0x10
push str.RTProtect_missed
call fcn.10003610
push 0x31
push str.RC::RCRTProtectCtrl::DirectStart
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtloader_rcrtprotectctrl.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 2
call fcn.100abda0
cmp byte [ebp - 0x9d], 0
je 0x100463b1
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac0c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100463ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100463e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468d0
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 0x9d], 0
jmp 0x10046879
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
cmp dword [0x101be120], 0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x9c], 0x3c
mov dword [ebp - 0x98], 0x100
mov dword [ebp - 0x90], str.Open
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 1
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x64], 0
movq qword [ebp - 0x6c], xmm0
je 0x10046574
push ecx
mov ecx, 0x101be120
call fcn.100ab390
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10046574
cmp dword [eax + 0x58], 3
jb 0x10046574
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x9d], al
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], 6
lea ecx, [ebp - 0x28]
push 0xe
push str.Call_RTProtect
call fcn.10003610
push 0x3f
push str.RC::RCRTProtectCtrl::DirectStart
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtloader_rcrtprotectctrl.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 3
call fcn.100abda0
cmp byte [ebp - 0x9d], 0
je 0x10046522
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac0c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046560
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468d5
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10046660
push 2
mov ecx, 0x101be120
call fcn.100abd60
mov esi, eax
test esi, esi
je 0x1004667c
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], 7
lea ecx, [ebp - 0x28]
push 0x14
push str.Start_service_failed
call fcn.10003610
push 0x42
push str.RC::RCRTProtectCtrl::DirectStart
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtloader_rcrtprotectctrl.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 2
call fcn.100abda0
cmp esi, 1
jbe 0x10046603
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac0c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046641
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468da
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 0x9d], al
jmp 0x10046827
cmp byte [ebp + 0xc], 0
je 0x10046754
push 0x2710
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10046688
mov byte [ebp - 0x9d], 0
jmp 0x10046827
push 3
mov ecx, 0x101be120
call fcn.100abd60
mov esi, eax
test esi, esi
je 0x10046754
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], 8
lea ecx, [ebp - 0x28]
push 0x12
push str.Got_initial_events
call fcn.10003610
push 0x4d
push str.RC::RCRTProtectCtrl::DirectStart
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtloader_rcrtprotectctrl.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 3
call fcn.100abda0
cmp esi, 1
jbe 0x10046702
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac0c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046740
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046736
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468df
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 3
mov ecx, 0x101be120
call fcn.100abd60
mov esi, eax
test esi, esi
je 0x10046820
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], 9
lea ecx, [ebp - 0x28]
push 0xa
push str.Call_leave
call fcn.10003610
push 0x4f
push str.RC::RCRTProtectCtrl::DirectStart
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtloader_rcrtprotectctrl.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 3
call fcn.100abda0
cmp esi, 1
jbe 0x100467ce
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac0c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1004680c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046802
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468e4
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 0x9d], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10046865
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004685b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100468e9
push edx
push ecx
call fcn.1010a1d5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x10046895
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100035a0
mov al, byte [ebp - 0x9d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109e31
mov esp, ebp
pop ebp
ret 8
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
call fcn.10129d79
int3