Function at 0x10046240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015983f
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 0x10046284
xor al, al
jmp 0x100469da
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x10046296
mov al, 1
jmp 0x100469da
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 0x10046384
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.10003600
sub esp, 8
mov dword [ebp - 0xa4], 1
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x60]
push eax
call fcn.100907c0
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 0x10046370
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100469f6
push edx
push ecx
call fcn.1010a295
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 0x100463b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1007e940
test al, al
sete al
mov byte [ebp - 0x9d], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046424
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046414
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100469fb
push edx
push ecx
call fcn.1010a295
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 0x1004653f
cmp dword [0x101be120], ecx
je 0x10046533
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10046533
cmp dword [eax + 0x58], 2
jb 0x10046533
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.10003600
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.100abe60
cmp byte [ebp - 0x9d], 0
je 0x100464e1
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1004651f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046515
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046a00
push edx
push ecx
call fcn.1010a295
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 0x100469a9
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 0x100466a4
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x100466a4
cmp dword [eax + 0x58], 3
jb 0x100466a4
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.10003600
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.100abe60
cmp byte [ebp - 0x9d], 0
je 0x10046652
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046690
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046a05
push edx
push ecx
call fcn.1010a295
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 0x10046790
push 2
mov ecx, 0x101be120
call fcn.100abe20
mov esi, eax
test esi, esi
je 0x100467ac
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.10003600
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.100abe60
cmp esi, 1
jbe 0x10046733
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046771
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046767
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046a0a
push edx
push ecx
call fcn.1010a295
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 0x10046957
cmp byte [ebp + 0xc], 0
je 0x10046884
push 0x2710
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100467b8
mov byte [ebp - 0x9d], 0
jmp 0x10046957
push 3
mov ecx, 0x101be120
call fcn.100abe20
mov esi, eax
test esi, esi
je 0x10046884
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.10003600
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.100abe60
cmp esi, 1
jbe 0x10046832
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10046870
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046866
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046a0f
push edx
push ecx
call fcn.1010a295
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.100abe20
mov esi, eax
test esi, esi
je 0x10046950
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 0x1018beac
call fcn.10003600
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.100abe60
cmp esi, 1
jbe 0x100468fe
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1004693c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046a14
push edx
push ecx
call fcn.1010a295
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 0x10046995
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004698b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046a19
push edx
push ecx
call fcn.1010a295
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 0x100469c5
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.10003590
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.10109ef1
mov esp, ebp
pop ebp
ret 8
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
int3