Function at 0x40fac0
Capabilities:
Persist via com hijack
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cfb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x437610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0xa8158
cmp dword [eax + 0x14], 0x10
jb 0x40faf8
mov eax, dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
xor ebx, ebx
push 0x26
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.6bae6e63_df53_5e73_929e_23c470749b19
mov dword [ebp - 0x18], eax
mov byte [ecx], bl
call fcn.00401360
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 4], ebx
push 0x49
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.SoftwareClassesWow6432NodeCLSID6bae6e63_df53_5e73_929e_23c470749b19
mov byte [ecx], bl
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
call fcn.004104d0
lea ecx, [ebp - 0x14]
push ecx
push 0x2001f
push ebx
push str.SoftwareClasses
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fd67
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea edx, [ebp - 0x14]
push edx
push str.Wow6432Node
push eax
call edi
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebx
push 1
push ebx
push ebx
push ecx
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x14]
push edx
push str.CLSID
push eax
call edi
mov ecx, dword [ebp - 0x14]
push ebx
push ebx
push 1
push ebx
push ebx
push ecx
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push str.6bae6e63_df53_5e73_929e_23c470749b19
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.www.locojoy.com
call ebx
mov ecx, dword [ebp - 0x10]
push eax
push str.www.locojoy.com
push 1
push 0
push 0
push ecx
call esi
push str.B415CD14_B45D_4BCA_B552_B06175C38606
call ebx
mov edx, dword [ebp - 0x10]
push eax
push str.B415CD14_B45D_4BCA_B552_B06175C38606
push 1
push 0
push str.AppID
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.Control
push ecx
call edi
mov edx, dword [ebp + 8]
push 1
push 0
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.InprocServer32
push ecx
call edi
mov edx, dword [ebp - 0x18]
push edx
call ebx
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push eax
push 1
push 0
push 0
push ecx
call esi
push str.Apartment
call ebx
mov edx, dword [ebp + 8]
push eax
push str.Apartment
push 1
push 0
push str.ThreadingModel
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.MiscStatus
push ecx
call edi
push 0x4329cc
call ebx
mov edx, dword [ebp + 8]
push eax
push 0x4329cc
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x4325b4
push ecx
call edi
push str.131473
call ebx
mov edx, dword [ebp + 8]
push eax
push str.131473
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.ProgID
push ecx
call edi
push str.locojoymtgameplugins.MtGamePlugin.1
call ebx
mov edx, dword [ebp + 8]
push eax
push str.locojoymtgameplugins.MtGamePlugin.1
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.Programmable
push ecx
call edi
mov edx, dword [ebp + 8]
push 1
push 0
push 1
push 0
push 0
push edx
call esi
lea eax, [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push str.TypeLib
push ecx
call edi
push str.889E7066_8C96_538A_BEE3_3DF8364C8B51
call ebx
mov edx, dword [ebp + 8]
push eax
push str.889E7066_8C96_538A_BEE3_3DF8364C8B51
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.Version
push ecx
call edi
push 0x4325b4
call ebx
mov edx, dword [ebp + 8]
push eax
push 0x4325b4
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push str.VersionIndependentProgID
push ecx
call edi
push str.locojoymtgameplugins.MtGamePlugin
call ebx
mov edx, dword [ebp + 8]
push eax
push str.locojoymtgameplugins.MtGamePlugin
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4