Function at 0x40a0c0
Capabilities:
Create process on windows
Get common file path
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf14
mov eax, dword [0x44a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x93
lea eax, [ebp - 0xc7]
push ebx
push eax
mov byte [ebp - 0xc8], bl
call fcn.00427f40
add esp, 0xc
push 0x115
lea ecx, [ebp - 0x6f7]
push ebx
push ecx
mov byte [ebp - 0x6f8], bl
call fcn.00427f40
add esp, 0xc
push 0x7fe
lea eax, [ebp - 0xef6]
xor edx, edx
push ebx
push eax
mov word [ebp - 0xef8], dx
call fcn.00427f40
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x3cf]
push ebx
push ecx
mov byte [ebp - 0x3d0], bl
call fcn.00427f40
add esp, 0xc
push 0x206
lea eax, [ebp - 0x2ce]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x2d0], dx
call fcn.00427f40
xor ecx, ecx
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov eax, 0x4861a0
mov dword [ebp - 0xf08], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 0xef9], bl
mov byte [ebp - 0xefb], bl
mov byte [ebp - 0xefa], bl
lea edx, [eax + 2]
jmp 0x40a1b0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a1b0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
sub eax, edx
sar eax, 1
cmp eax, 0xe
jne 0x40a1f6
push 0x43dcb8
call fcn.00406870
add esp, 4
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4861a0]
mov word [ebp + eax - 0x2c], cx
add eax, 2
cmp cx, bx
jne 0x40a1e0
jmp 0x40a234
push 0x4861a0
push 0x43dce0
push 0x484150
call edi
add esp, 0xc
push 0x484150
call fcn.00406870
add esp, 4
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.4901_5BVH_29ZM]
mov word [ebp + eax - 0x2c], cx
add eax, 2
cmp cx, bx
jne 0x40a220
mov eax, 0x4861c0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a240
sub eax, edx
sar eax, 1
cmp eax, 0x12a
jne 0x40a28c
push 0x43dd30
call fcn.00406870
lea edx, [ebp - 0xc8]
add esp, 4
push edx
call fcn.00406e20
add esp, 4
test eax, eax
je 0x40a27f
mov byte [ebp - 0xef9], 1
jmp 0x40a2ad
mov byte [ebp - 0xef9], bl
push 0x43dd58
jmp 0x40a2a5
push 0x4861c0
push 0x43dd7c
push 0x484150
call edi
add esp, 0xc
push 0x484150
call fcn.00406870
add esp, 4
mov eax, 0x486418
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a2b5
sub eax, edx
sar eax, 1
je 0x40a2fc
push 0x43dd98
call fcn.00406870
lea eax, [ebp - 0x6f8]
add esp, 4
push eax
call fcn.00407200
add esp, 4
test eax, eax
je 0x40a2ef
mov byte [ebp - 0xefb], 1
jmp 0x40a31d
mov byte [ebp - 0xefb], bl
push 0x43ddc0
jmp 0x40a315
push 0x486418
push 0x43dde4
push 0x484150
call edi
add esp, 0xc
push 0x484150
call fcn.00406870
add esp, 4
lea esi, [ebp - 0xef8]
call fcn.004074e0
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a330
sub eax, edx
sar eax, 1
cmp eax, 0x1f4
jbe 0x40a382
push 0x43de00
call fcn.00406870
lea ecx, [ebp - 0x3d0]
add esp, 4
push ecx
lea ecx, [ebp - 0xef8]
call fcn.00407000
add esp, 4
test eax, eax
je 0x40a375
mov byte [ebp - 0xefa], 1
jmp 0x40a3a5
mov byte [ebp - 0xefa], bl
push 0x43de38
jmp 0x40a39d
lea edx, [ebp - 0xef8]
push edx
push str._quP_n0RI
push 0x484150
call edi
add esp, 0xc
push 0x484150
call fcn.00406870
add esp, 4
lea eax, [ebp - 0xf08]
push eax
lea ecx, [ebp - 0xf00]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.systemcurrentcontrolset_servicesWin_Win7
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40a3e3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x40a3f0
movzx ecx, word [eax + str.180270007700003001900006400360000140337220455]
mov word [ebp + eax - 0x2d0], cx
add eax, 2
cmp cx, bx
jne 0x40a3f0
lea eax, [ebp - 0x2d0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a410
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea edx, [ebp - 0x2d0]
push edx
push 1
push ebx
mov dword [ebp - 0xf04], eax
mov eax, dword [ebp - 0xf00]
push str.License
push eax
call esi
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x484954]
mov word [ebp + eax - 0x2d0], cx
add eax, 2
cmp cx, bx
jne 0x40a450
lea eax, [ebp - 0x2d0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a470
sub eax, edx
mov edx, dword [ebp - 0xf00]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
push 1
push ebx
push str.Version
push edx
mov dword [ebp - 0xf04], eax
call esi
mov dword [ebp - 0xf0c], 1
xor eax, eax
mov edi, edi
movzx ecx, word [ebp + eax - 0x2c]
mov word [ebp + eax - 0x2d0], cx
add eax, 2
cmp cx, bx
jne 0x40a4b0
lea eax, [ebp - 0x2d0]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a4d0
mov ecx, dword [ebp - 0xf00]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov dword [ebp - 0xf04], eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push ebx
push str.SerialNumber
push ecx
call esi
cmp byte [ebp - 0xef9], 1
jne 0x40a532
mov eax, dword [ebp - 0xf00]
push 0x94
lea edx, [ebp - 0xc8]
push edx
push 3
push ebx
push str.ConsolePublicKey
push eax
mov dword [ebp - 0xf04], 0x94
call esi
cmp byte [ebp - 0xefb], 1
jne 0x40a562
mov edx, dword [ebp - 0xf00]
push 0x114
lea ecx, [ebp - 0x6f8]
push ecx
push 3
push ebx
push str.SignedPublicKey
push edx
mov dword [ebp - 0xf04], 0x114
call esi
cmp byte [ebp - 0xefa], 1
jne 0x40a592
mov ecx, dword [ebp - 0xf00]
push 0x100
lea eax, [ebp - 0x3d0]
push eax
push 3
push ebx
push str.ConsoleIdentify
push ecx
mov dword [ebp - 0xf04], 0x100
call esi
mov ecx, dword [ebp - 0xf00]
lea edx, [ebp - 0xf04]
push edx
push ebx
lea eax, [ebp - 0xf0c]
push eax
push ebx
push str.GUID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0xf00]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x103
lea eax, [ebp - 0x4d7]
push ebx
push eax
mov byte [ebp - 0x4d8], bl
call fcn.00427f40
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x5df]
push ebx
push ecx
mov byte [ebp - 0x5e0], bl
call fcn.00427f40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x4d8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.C:UsersPublicSMR7Debug
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x5e0]
push str._s_reg.exe_export_HKLMSYSTEMCurrentControlSetServicesWin_Win7___sWinWin7.RegDebug.log_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
lea edx, [ebp - 0x5e0]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00421294
mov esp, ebp
pop ebp
ret