Function at 0x4117c0
Capabilities:
Create service
Persist via windows service
Set registry value

Disassembly:
mov eax, 0x2810
call fcn.0041e190
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
mov dword [esp + 0x10], ebp
call fcn.00411a30
lea esi, [ebx + 0x304]
push esi
call fcn.004148e0
add esp, 4
test al, al
jne 0x4117fe
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x2810
ret 0xc
push edi
push esi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x420]
push str.__s_
push eax
call esi
mov cl, byte [0x42a800]
xor eax, eax
mov byte [esp + 0x28], cl
mov ecx, 0xff
lea edi, [esp + 0x29]
add esp, 0xc
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2824]
stosw word es:[edi], ax
cmp ecx, ebp
stosb byte es:[edi], al
je 0x411868
cmp byte [ecx], 0
je 0x411868
mov eax, dword [esp + 0x282c]
cmp eax, ebp
je 0x411852
cmp byte [eax], 0
jne 0x411857
mov eax, 0x425350
push ecx
push eax
lea edx, [esp + 0x24]
push 0x424fe8
push edx
call esi
add esp, 0x10
push 0xf003f
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x411a14
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x820]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x770]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
test eax, eax
je 0x4118de
push 0x80
lea edx, [esp + esi + 0x824]
push eax
push edx
call fcn.00411fe0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
inc ebp
lea esi, [esi + ecx + 1]
mov ecx, dword [esp + 0x18]
add ecx, 4
cmp ebp, 0x20
mov dword [esp + 0x18], ecx
jl 0x41189d
mov al, byte [esp + 0x1c]
test al, al
je 0x4118f6
mov ecx, dword [esp + 0x2828]
test ecx, ecx
je 0x4118f6
cmp byte [ecx], 0
jne 0x4118f8
xor ecx, ecx
mov dl, byte [esp + 0x820]
push ecx
neg al
sbb eax, eax
lea ecx, [esp + 0x20]
and eax, ecx
mov ecx, dword [ebx + 0x74c]
neg dl
push eax
lea eax, [esp + 0x828]
sbb edx, edx
lea esi, [ebx + 4]
and edx, eax
mov eax, dword [ebx + 0x744]
push edx
push 0
lea edx, [esp + 0x42c]
push ecx
mov ecx, dword [ebx + 0x740]
push edx
mov edx, dword [ebx + 0x73c]
push eax
mov eax, dword [ebx + 0x738]
push ecx
push edx
mov edx, dword [esp + 0x34]
lea ecx, [ebx + 0x104]
push eax
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
test edi, edi
jne 0x411970
push 0xffffffffffffffff
call fcn.00413530
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call ebp
test edi, edi
je 0x411a1c
mov al, byte [ebx + 0x204]
add ebx, 0x204
test al, al
je 0x411a00
push esi
lea ecx, [esp + 0x1824]
push str.SYSTEMCurrentControlSetServices_s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x1820]
mov dword [esp + 0x10], 0
push edx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411a00
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [esp + 0x10]
inc eax
push eax
push ebx
push 1
push 0
push str.Description
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x411a00
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call ebp
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2810
ret 0xc
mov dword [esp + 0x14], 0x54
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2810
ret 0xc