Function at 0x463190
Capabilities:
Create service
Get common file path
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46406e
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x513d4c]
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 - 0x22a]
xor eax, eax
push edi
push ecx
mov dword [ebp - 4], edi
mov word [ebp - reloc.shell32.dll_ShellExecuteExA], ax
call fcn.00453db0
add esp, 0xc
push edi
push 0x1a
lea edx, [ebp - 0x22c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4636fd
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x248]
call fcn.00429790
mov edx, dword [0x514c50]
mov eax, dword [edx + 0xc]
mov ecx, 0x514c50
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x234]
push 0x513034
push ecx
mov byte [ebp - 4], 2
call fcn.00449030
add esp, 8
lea edx, [ebp - 0x24c]
push 0x513064
push edx
mov byte [ebp - 4], 3
call fcn.00449030
add esp, 8
mov eax, dword [ebp - 0x234]
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [eax - 0xc], edi
je 0x463665
mov ecx, dword [ebp - 0x24c]
cmp dword [ecx - 0xc], edi
je 0x463665
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x230]
call fcn.0044f1a0
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044e9c0
cmp eax, edi
je 0x463665
mov ecx, dword [ebp - 0x230]
push edi
push ecx
call fcn.00462f90
add esp, 8
cmp eax, edi
je 0x463665
mov edx, dword [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x230]
call fcn.0044e9c0
cmp eax, edi
je 0x463665
push edi
lea ecx, [ebp - 0x230]
call fcn.0044e5a0
cmp eax, edi
je 0x463665
mov eax, dword [ebp - 0x230]
push 0x1f7a6
push 0x465ec8
push eax
call fcn.00462550
add esp, 0xc
cmp eax, edi
je 0x463665
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0044f1a0
call fcn.00431de0
cmp eax, edi
je 0x46339a
lea edx, [ebp - 0x238]
push 0x512fbc
push edx
call fcn.00449030
add esp, 8
lea eax, [ebp - 0x23c]
push 0x512ff8
push eax
mov byte [ebp - 4], 5
call fcn.00449030
add esp, 8
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.0044e350
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x238]
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00445de0
lea ecx, [ebp - 0x23c]
call fcn.004261d0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.004261d0
lea eax, [ebp - 0x244]
push 0x5130a0
push eax
call fcn.00449030
add esp, 8
lea ecx, [ebp - 0x240]
push 0x5130e0
push ecx
mov byte [ebp - 4], 7
call fcn.00449030
add esp, 8
mov edx, dword [ebp - 0x244]
mov byte [ebp - 4], 8
cmp dword [edx - 0xc], edi
je 0x46364f
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], edi
je 0x46364f
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0044f1a0
mov edx, dword [ebp - 0x244]
push edx
lea ecx, [ebp - 0x230]
call fcn.0044e9c0
cmp eax, edi
je 0x46364f
mov eax, dword [ebp - 0x230]
push edi
push eax
call fcn.00462f90
add esp, 8
cmp eax, edi
je 0x46364f
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0044e9c0
cmp eax, edi
je 0x46364f
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x40190c
call ebx
test eax, eax
je 0x46364f
mov edx, dword [ebp - 0x230]
push 0x8d8b3
push 0x485670
push edx
call fcn.00462550
add esp, 0xc
cmp eax, edi
je 0x46364f
mov eax, dword [ebp - 0x230]
push eax
call fcn.00462420
add esp, 4
cmp eax, edi
je 0x46364f
lea ecx, [ebp - 0x238]
push 0x513108
push ecx
call fcn.00449030
add esp, 8
lea edx, [ebp - 0x23c]
push 0x513150
push edx
mov byte [ebp - 4], 9
call fcn.00449030
add esp, 8
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 0xa
cmp dword [ecx - 0xc], edi
je 0x463639
mov eax, dword [ebp - 0x23c]
cmp dword [eax - 0xc], edi
je 0x463639
cmp dword [0x514d28], edi
je 0x4634f7
push 1
push eax
mov eax, dword [ebp - 0x234]
push ecx
push edi
push eax
jmp 0x463531
push edi
push eax
push ecx
mov ecx, dword [ebp - 0x234]
push edi
push ecx
call fcn.0042c5d0
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x463543
call fcn.004237a0
cmp eax, edi
je 0x46353b
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
push 1
push edx
push eax
push edi
push ecx
call fcn.0042c5d0
mov esi, eax
add esp, 0x14
cmp esi, edi
jne 0x46362f
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x238]
push edx
push eax
call fcn.00445a90
mov ecx, dword [0x401a5c]
mov eax, dword [0x401a64]
mov edx, dword [0x401a60]
mov dword [ebp - 0x24], ecx
mov cx, word [0x401a68]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], edx
add esp, 8
mov word [ebp - 0x18], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463584
sub eax, edx
lea edx, [ebp + eax - 0x24]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00427c10
add esp, 8
lea ecx, [ebp - 0x24]
push ecx
push 0x401a44
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4635c2
mov edx, dword [ebp - 0x234]
push edi
push edi
push edi
push edx
push edi
push edi
call eax
call fcn.004237a0
test eax, eax
je 0x46362f
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x46362f
mov eax, dword [ebp - 0x234]
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [ebp - 0x238]
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 0x463615
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 0x46362f
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00447200
add esp, 4
call fcn.00453420
call fcn.00452600
lea ecx, [ebp - 0x23c]
call fcn.004261d0
lea ecx, [ebp - 0x238]
call fcn.004261d0
lea ecx, [ebp - 0x240]
call fcn.004261d0
lea ecx, [ebp - 0x244]
call fcn.004261d0
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46368b
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], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4636b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
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 0x4636d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x248]
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 0x4636fd
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.004538a0
mov esp, ebp
pop ebp
ret