Function at 0x425ba0
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.00427c20
push ebx
push ebp
push esi
push edi
mov edi, 0x42c0c0
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 0x425bf7
push 0x30
push 0x4313d8
push 0x4338d4
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, 0x42c0c0
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 0x425ed4
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x68]
push 0x42c0c0
push ecx
lea edx, [esp + 0x870]
push str.__s___s
push edx
call ebx
mov eax, dword [0x43440c]
add esp, 0x10
dec eax
je 0x425dc9
dec eax
jne 0x425ed4
push 0xf003f
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebp
jne 0x425c8b
push 0x30
push 0x4313d8
push 0x43389c
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 0x433b08
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 0x425cdd
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 0x425d0e
push 0x30
push 0x4313d8
push 0x43384c
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x425da8
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 0x425ed4
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 0x425d9d
push 0x30
push 0x4313d8
push 0x43384c
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 0x4337bc
call fcn.00426710
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 0x425e02
push 0x30
push 0x4313d8
push 0x43389c
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 0x425e61
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x30
push 0x4313d8
push 0x4337a0
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 0x43373c
call fcn.00426710
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 0x425ed4
push 0x10
push 0x4313d8
push 0x433720
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1858
ret