Function at 0x40a324
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x41e31c
call fcn.00415180
sub esp, 0x128
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov eax, dword [eax]
push edi
cmp dword [eax - 8], ebx
je 0x40a532
push 5
call dword [0x420628]
mov edi, dword [0x42062c]
push eax
call edi
mov esi, eax
push esi
call dword [0x420630]
test eax, eax
je 0x40a3b9
push str.COMMERCE_QBOX
push esi
call dword [0x420634]
test eax, eax
jne 0x40a37a
push 2
push esi
jmp 0x40a356
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov eax, dword [eax]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
push eax
push ebx
push 0x4a
push esi
call dword [0x420674]
push esi
call dword [0x420650]
test eax, eax
je 0x40a3ad
push 9
push esi
call dword [0x420660]
push esi
call dword [0x420678]
jmp 0x40a532
mov dword [ebp - 0x14], ebx
push 0x20019
push str.SOFTWARETencentQQQBox
push 0x80000002
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040a558
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], bl
mov edx, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
mov esi, 0x104
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Install
push edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], 1
call dword [0x420008]
cmp dword [ebp - 0x14], ebx
mov edi, dword [section..rdata]
je 0x40a430
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 1
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x40a4e3
push esi
push esi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [0x42013c]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00414db2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
push 6
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 3
call fcn.00414db8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString____cdecl_GetQQStorePath_class_CString___class_CString__enum__emQQPath_]
add esp, 0xc
lea ecx, [ebp - 0x10]
push str.QBoxHDRoom.exe
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x40a4ff
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x10]
push eax
call fcn.00414dd0
push str.HDRoom.exe
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 8]
push 5
push ebx
mov eax, dword [eax]
push eax
push dword [ebp - 0x10]
push str.open
call dword [0x420628]
push eax
call dword [0x420614]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x14], ebx
je 0x40a532
push dword [ebp - 0x14]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4