Function at 0x4290c8
Capabilities:
Create service
Modify service
Persist via run registry key
Persist via windows service

Disassembly:
mov eax, 0x4435bc
call fcn.00417a9e
sub esp, 0x11c
mov eax, dword [0x44de1c]
push esi
push edi
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x117]
xor esi, esi
push eax
mov edi, ecx
push esi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], esi
mov byte [ebp - 0x118], 0x22
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x42933c
push 0x106
lea eax, [ebp - 0x118]
push eax
call fcn.0040a5b7
call fcn.00415d8d
cmp eax, 4
jne 0x42918a
mov ecx, edi
call fcn.00426dc0
mov dword [ebp + 8], esi
mov dword [ebp - 4], esi
push esi
push esi
push 0x2001f
push esi
push esi
push 0x422840
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
call fcn.00425de7
test eax, eax
jne 0x429179
push 1
lea eax, [ebp - 0x118]
push eax
push 0x4228e4
lea ecx, [ebp + 8]
call fcn.00425e4f
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x11c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004025d3
jmp 0x4292e6
cmp dword [ebp + 8], esi
je 0x4292dc
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 0x128], eax
je 0x4292ee
push ebx
push esi
push esi
mov ebx, 0x429334
push ebx
push esi
push esi
lea edx, [ebp - 0x118]
push edx
push 1
push 2
lea eax, [edi + 0x50]
lea ecx, [edi + 0x150]
mov edi, 0x110
push edi
push 0xf01ff
push eax
push ecx
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
cmp eax, esi
mov dword [ebp - 0x124], eax
jne 0x429243
mov eax, dword [ebp - 0x120]
push 2
add eax, 0x150
push eax
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, esi
mov dword [ebp - 0x124], eax
je 0x4292c7
mov eax, dword [ebp - 0x120]
add eax, 0x50
push eax
push esi
push esi
push ebx
push esi
push esi
lea eax, [ebp - 0x118]
push eax
xor ebx, ebx
inc ebx
push ebx
push 2
push edi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
jmp 0x429246
xor ebx, ebx
inc ebx
mov dword [ebp + 8], esi
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x120]
lea eax, [ebp + 8]
push eax
push 0xfa3
add ecx, 0x30
call fcn.0040cd82
test eax, eax
jne 0x4292a8
push 0x4228d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, esi
je 0x4292a8
push 0x42931c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4292a1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
lea ecx, [ebp - 0x11c]
push ecx
push ebx
push dword [ebp - 0x124]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x124]
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [ebp - 0x120]
pop ebx
jmp 0x4292e6
mov dword [ebp - 0x11c], 1
cmp dword [ebp - 0x11c], esi
jne 0x4292fe
push esi
push 0xc0001000
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00428eb4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x11c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.00417bd0
leave
ret 8