Function at 0x425750
Capabilities:
Create process on windows
Create service
Persist via run registry key
Persist via windows service
Set registry value

Disassembly:
mov eax, 0x1858
call fcn.004277d0
push ebx
push ebp
push esi
push edi
mov edi, 0x42c0a8
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x7fe
sub eax, ecx
lea ecx, [esp + 0x68]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4257a7
push 0x30
push 0x4313d8
push 0x4338bc
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1858
ret
mov edi, 0x42c0a8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x68]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 4]
cmp eax, 0x800
jae 0x425a84
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x68]
push 0x42c0a8
push ecx
lea edx, [esp + 0x870]
push str.__s___s
push edx
call ebx
mov eax, dword [0x4343ec]
add esp, 0x10
dec eax
je 0x425979
dec eax
jne 0x425a84
push 0xf003f
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebp
jne 0x42583b
push 0x30
push 0x4313d8
push 0x433884
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1858
ret
mov edi, dword [esp + 0x186c]
xor eax, eax
push ebp
cmp edi, ebp
push ebp
push 0x433ae8
setne al
push ebp
lea ecx, [esp + 0x878]
push ebp
add eax, 2
push ecx
push 1
push eax
push 0x110
push 0xf01ff
push str.WiseNetbladeIf
push str.WiseNetbladeIf
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
cmp edi, ebp
je 0x42588d
push edi
call esi
lea edx, [esp + 0x10]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4258be
push 0x30
push 0x4313d8
push 0x433834
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x425958
mov edi, str._servicehelper
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x68]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 4]
cmp eax, 0x800
jae 0x425a84
lea ecx, [esp + 0x68]
push str._servicehelper
push ecx
lea edx, [esp + 0x1070]
push str.__s___s
push edx
call ebx
add esp, 0x10
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [eax + 0x10]
lea edi, [esp + 0x1068]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x1068]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push ebp
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42594d
push 0x30
push 0x4313d8
push 0x433834
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
push 0x4313d8
push str.
call fcn.004262c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1858
ret
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4259b2
push 0x30
push 0x4313d8
push 0x433884
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1858
ret
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [eax + 0x10]
lea edi, [esp + 0x868]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x86c]
push ecx
push 1
push ebp
push edx
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x425a11
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x30
push 0x4313d8
push 0x433788
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1858
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
push 0x4313d8
push 0x433724
call fcn.004262c0
add esp, 0xc
lea edx, [esp + 0x58]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x868]
push edx
push eax
push ebp
push ebp
push 0x20
push ebp
push ebp
push ebp
push ecx
push ebp
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6e], bp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x425a84
push 0x10
push 0x4313d8
push 0x433708
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1858
ret