Function at 0x438430
Capabilities:
Create service
Modify service
Persist via windows service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5599d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5b0070]
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, edx
mov edi, ecx
cmp dword [edi + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
je 0x438807
call fcn.00459230
test al, al
je 0x438807
push edi
lea ecx, [ebp - 0x28]
call fcn.00407aa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x4384a5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43854f
push 0x585824
push eax
call fcn.004ffaee
add esp, 8
test eax, eax
je 0x43854f
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00460560
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4384fd
mov ecx, eax
call fcn.004034b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x43853b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438827
push edx
push ecx
call fcn.004e566f
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, esi
call fcn.004388d0
test al, al
jne 0x438564
mov esi, 3
jmp 0x438710
sub esp, 8
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00438c40
add esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x43859f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x50]
mov esi, 4
mov dword [ecx], eax
jmp 0x438710
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edi, esi
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x4385ba
mov edi, dword [esi]
mov eax, esi
jb 0x4385c0
mov eax, dword [esi]
push 0
push 0
push 0
push 0
push 0x586a8c
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push edi
push eax
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x438754
push 2
mov ecx, 0x5b82b4
call fcn.004a6900
mov edi, eax
test edi, edi
je 0x4386c3
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 byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40]
push 0x586a98
push eax
call fcn.004a6f10
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, 0x5b82b4
push 0x7f
push str.RC::RCServiceInstall::InstallService
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_seviceinstall_rcseviceinstall.cpp
push eax
push 2
call fcn.004a6970
cmp edi, 1
jbe 0x438671
lea eax, [ebp - 0x40]
mov ecx, 0x5b82b4
push eax
call fcn.004a6d20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4386af
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4386a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43882c
push edx
push ecx
call fcn.004e566f
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, esi
call fcn.004388d0
sub esp, 8
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00438c40
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4386e2
mov esi, dword [esi]
push 0xf01ff
push esi
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x438754
lea esi, [eax + 5]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x54]
call edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4387ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4387e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438831
jmp 0x4387e5
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
jb 0x43875f
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x43878b
mov eax, dword [ebp - 0x40]
cmp eax, 4
je 0x4387c8
cmp eax, 2
je 0x4387c8
xor esi, esi
mov dword [ebp - 0x4c], str.__typenormal
lea eax, [ebp - 0x4c]
inc esi
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4387c8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 3
jb 0x438794
mov esi, 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
jmp 0x4387cf
mov ecx, dword [ebp - 0x50]
xor esi, esi
mov dword [ecx], esi
test edi, edi
je 0x438705
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
jmp 0x43870b
push edx
push ecx
call fcn.004e566f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x14], 7
jmp 0x43880c
mov eax, 2
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.004e562e
mov esp, ebp
pop ebp
ret
call fcn.0050ac18
call fcn.0050ac18
call fcn.0050ac18
int3