joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f544
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 0x18
mov eax, 0x4e1200
call fcn.004be95c
mov eax, dword [ebp + 0x444]
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 0x20], edi
test byte [0x5161bc], bl
mov dword [ebp - 0x24], eax
mov esi, 0x5161b8
jne 0x48f59c
or dword [0x5161bc], ebx
call fcn.004016f0
push 0x4e6d99
call fcn.004b9593
pop ecx
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x208
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x22e]
push edi
push eax
mov word [ebp + 0x22c], di
call fcn.004be240
push esi
mov ecx, 0x4ef7d8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
call fcn.00413b40
add esp, 0x10
test al, al
jne 0x48f710
cmp dword [ebp - 0x14], 0xffffffff
je 0x48f739
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x48f616
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x448]
je 0x48f6ef
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48f5fb
mov eax, edi
push eax
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x48f710
lea eax, [ebp - 0x18]
push eax
mov ecx, str.Psapi.dll
call fcn.00409c00
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00493187
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.004016d0
cmp dword [ebp - 0x10], edi
je 0x48f710
push str.GetModuleFileNameExW
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x48f710
push 0x104
lea ecx, [ebp + 0x22c]
push ecx
push edi
push dword [ebp - 0x1c]
call eax
lea edx, [ebp + 0x22c]
mov edi, esi
call fcn.00404a50
mov eax, dword [0x5161b8]
mov edi, dword [eax - 0xc]
call fcn.004139e0
mov ecx, eax
inc ecx
push esi
mov eax, edi
lea edx, [ebp - 0x20]
call fcn.00409b50
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
mov edi, dword [0x5161b8]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x48f702
cmp dword [edi + 0xc], 0
jl 0x48f6f7
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48f6f7
call fcn.004012e0
mov esi, eax
mov eax, edi
call fcn.004010d0
add esi, 0x10
mov dword [0x5161b8], esi
jmp 0x48f702
mov eax, dword [ebp + 0x18]
jmp 0x48f61c
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, esi
call fcn.00401470
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004016d0
xor edi, edi
cmp dword [ebp - 0x14], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x48f721
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x1c], edi
je 0x48f72b
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x10], edi
je 0x48f739
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x5161b8]
add eax, 0xfffffff0
call fcn.004012e0
mov ecx, eax
mov eax, dword [ebp - 0x24]
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.004b83ee
add ebp, 0x43c
leave
ret
Function at 0x48fb89
Capabilities:
Check os version
Create process on windows
Create process suspended

Disassembly:
push 0x3a0
mov eax, 0x4e115e
call fcn.004be9c5
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x350]
mov esi, ecx
mov dword [ebp - 0x34c], eax
call fcn.00493035
xor ebx, ebx
lea eax, [ebp - 0x350]
mov dword [ebp - 4], ebx
call fcn.004934a9
mov edx, str.Netsh.exe
lea edi, [ebp - 0x350]
call fcn.004139a0
push 0x208
lea eax, [ebp - 0x222]
push ebx
push eax
mov word [ebp - 0x224], bx
call fcn.004be240
add esp, 0xc
cmp esi, ebx
lea eax, [ebp - 0x224]
jne 0x48fc03
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x48fc0c
push esi
push eax
call fcn.004daab9
pop ecx
pop ecx
cmp dword [ebp - 0x34c], ebx
jne 0x48fc1e
mov dword [ebp - 0x34c], str.TencentDownloadProgram
lea esi, [ebp - 0x348]
call fcn.004016f0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x344]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004be240
add esp, 0xc
lea eax, [ebp - 0x344]
mov dword [ebp - 0x344], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x48fc77
lea eax, [ebp - 0x344]
push eax
mov dword [ebp - 0x344], 0x114
call esi
test eax, eax
je 0x48fdc5
cmp dword [ebp - 0x340], 5
jb 0x48fdc5
push 5
pop eax
cmp eax, dword [ebp - 0x340]
lea edi, [ebp - 0x348]
sbb eax, eax
inc eax
jne 0x48fcc9
mov edx, str.advfirewall_firewall_add_rule_name_
call fcn.00404a50
mov edx, dword [ebp - 0x34c]
call fcn.004139a0
mov edx, str.___dirin_program_
call fcn.004139a0
lea edx, [ebp - 0x224]
call fcn.004139a0
mov edx, str.__actionallow
jmp 0x48fcfe
mov edx, str.firewall_add_allowedprogram_program_
call fcn.00404a50
lea edx, [ebp - 0x224]
lea edi, [ebp - 0x348]
call fcn.004139a0
mov edx, str.__name_
call fcn.004139a0
mov edx, dword [ebp - 0x34c]
call fcn.004139a0
mov edx, str.__modeENABLE_profileALL
lea edi, [ebp - 0x348]
call fcn.004139a0
push 0x40
lea eax, [ebp - 0x3a8]
push ebx
push eax
call fcn.004be240
mov dword [ebp - 0x360], ebx
xor eax, eax
lea edi, [ebp - 0x35c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea esi, [ebp - 0x34c]
mov dword [ebp - 0x3ac], 0x44
mov dword [ebp - 0x380], 0x181
mov word [ebp - 0x37c], bx
stosd dword es:[edi], eax
call fcn.004016f0
mov byte [ebp - 4], 2
push dword [ebp - 0x348]
mov edi, esi
push dword [ebp - 0x350]
push str.__s___s
call fcn.00406130
add esp, 0xc
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x3ac]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x34c]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x48fdba
push 0xffffffffffffffff
push dword [ebp - 0x360]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x360]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x35c]
call esi
lea ecx, [ebp - 0x34c]
call fcn.004016d0
lea ecx, [ebp - 0x348]
call fcn.004016d0
lea ecx, [ebp - 0x350]
call fcn.004016d0
call fcn.004bea48
ret
Function at 0x48fde1
Capabilities:
Check os version
Create process on windows
Create process suspended

Disassembly:
push 0x3a0
mov eax, 0x4e115e
call fcn.004be9c5
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x350]
mov esi, ecx
mov dword [ebp - 0x34c], eax
call fcn.00493035
xor ebx, ebx
lea eax, [ebp - 0x350]
mov dword [ebp - 4], ebx
call fcn.004934a9
mov edx, str.Netsh.exe
lea edi, [ebp - 0x350]
call fcn.004139a0
push 0x208
lea eax, [ebp - 0x222]
push ebx
push eax
mov word [ebp - 0x224], bx
call fcn.004be240
add esp, 0xc
cmp esi, ebx
lea eax, [ebp - 0x224]
jne 0x48fe5b
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x48fe64
push esi
push eax
call fcn.004daab9
pop ecx
pop ecx
cmp dword [ebp - 0x34c], ebx
jne 0x48fe76
mov dword [ebp - 0x34c], str.TencentDownloadProgram
lea esi, [ebp - 0x348]
call fcn.004016f0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x344]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004be240
add esp, 0xc
lea eax, [ebp - 0x344]
mov dword [ebp - 0x344], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x48fecf
lea eax, [ebp - 0x344]
push eax
mov dword [ebp - 0x344], 0x114
call esi
test eax, eax
je 0x48ffd5
cmp dword [ebp - 0x340], 5
jb 0x48ffd5
push 5
pop eax
cmp eax, dword [ebp - 0x340]
lea edi, [ebp - 0x348]
sbb eax, eax
inc eax
jne 0x48ff02
mov edx, str.advfirewall_firewall_delete_rule_name_
call fcn.00404a50
mov edx, dword [ebp - 0x34c]
jmp 0x48ff12
mov edx, str.firewall_delete_allowedprogram_program_
call fcn.00404a50
lea edx, [ebp - 0x224]
lea edi, [ebp - 0x348]
call fcn.004139a0
mov edx, 0x4f0b70
call fcn.004139a0
push 0x40
lea eax, [ebp - 0x3a8]
push ebx
push eax
call fcn.004be240
mov dword [ebp - 0x360], ebx
xor eax, eax
lea edi, [ebp - 0x35c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea esi, [ebp - 0x34c]
mov dword [ebp - 0x3ac], 0x44
mov dword [ebp - 0x380], 0x181
mov word [ebp - 0x37c], bx
stosd dword es:[edi], eax
call fcn.004016f0
mov byte [ebp - 4], 2
push dword [ebp - 0x348]
mov edi, esi
push dword [ebp - 0x350]
push str.__s___s
call fcn.00406130
add esp, 0xc
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x3ac]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x34c]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x48ffca
push dword [ebp - 0x360]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x35c]
call esi
lea ecx, [ebp - 0x34c]
call fcn.004016d0
lea ecx, [ebp - 0x348]
call fcn.004016d0
lea ecx, [ebp - 0x350]
call fcn.004016d0
call fcn.004bea48
ret
Function at 0x48fff1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x24
mov eax, 0x4deef0
call fcn.004be95c
xor edi, edi
push 0x208
lea eax, [ebp + 2]
mov dword [ebp - 0x28], edi
push edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov word [ebp], di
call fcn.004be240
add esp, 0xc
lea esi, [ebp - 0x14]
call fcn.004016f0
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push str.SoftwareTencentQQPCMgr
mov dword [ebp - 4], edi
push reloc.OLEAUT32.dll_SysReAllocString
add byte [eax + 0xae045c7], al
add al, byte [eax]
add bh, bh
adc eax, sym.imp.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
jne 0x490125
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
push 0x4f1408
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49011c
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp]
mov edi, esi
call fcn.00404a50
mov eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
mov ebx, str.QQPCtray.exe
call fcn.00413a60
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x28], ebx
call esi
test eax, eax
je 0x4900ee
mov eax, edi
push eax
lea eax, [ebp - 0x2c]
push eax
mov ebx, str.QQPCMgr.exe
call fcn.00413a60
pop ecx
pop ecx
push 3
pop ebx
push dword [eax]
call esi
test eax, eax
mov byte [ebp - 0xd], 1
jne 0x4900f2
mov byte [ebp - 0xd], 0
test bl, 2
je 0x490102
lea ecx, [ebp - 0x2c]
and ebx, 0xfffffffd
call fcn.004016d0
test bl, 1
je 0x49010f
lea ecx, [ebp - 0x24]
call fcn.004016d0
cmp byte [ebp - 0xd], 0
je 0x49011c
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.004016d0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004b83ee
add ebp, 0x210
leave
ret
Function at 0x490153
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x20
mov eax, 0x4deea7
call fcn.004be95c
xor edi, edi
push 0x208
lea eax, [ebp + 2]
mov dword [ebp - 0x10], edi
push edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov word [ebp], di
call fcn.004be240
add esp, 0xc
lea esi, [ebp - 0x14]
call fcn.004016f0
lea eax, [ebp - 0x20]
push eax
push 0x20019
push edi
push str.SOFTWAREkingsoftAntivirus
mov dword [ebp - 4], edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x490308
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push str.ProgramPath
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4902ff
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp]
mov edi, esi
call fcn.00404a50
mov eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
mov ebx, str.kismain.exe
call fcn.00413a60
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x10], 1
call esi
test eax, eax
je 0x490255
mov eax, edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov ebx, str.kisuisp.exe
call fcn.00413a60
pop ecx
pop ecx
push dword [eax]
mov dword [ebp - 0x10], 3
call esi
test eax, eax
je 0x490255
mov bl, 1
jmp 0x490257
xor bl, bl
test byte [ebp - 0x10], 2
je 0x490269
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1c]
call fcn.004016d0
and dword [ebp - 4], 0
test byte [ebp - 0x10], 1
je 0x49027f
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x24]
call fcn.004016d0
test bl, bl
je 0x49028a
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ebx, str.kxetray.exe
call fcn.00413a60
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
or dword [ebp - 0x10], 4
call esi
test eax, eax
je 0x4902d2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov ebx, str.kislive.exe
call fcn.00413a60
or dword [ebp - 0x10], 8
pop ecx
pop ecx
push dword [eax]
call esi
test eax, eax
je 0x4902d2
mov bl, 1
jmp 0x4902d4
xor bl, bl
test byte [ebp - 0x10], 8
je 0x4902e6
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp - 0x24]
call fcn.004016d0
test byte [ebp - 0x10], 4
je 0x4902f4
lea ecx, [ebp - 0x1c]
call fcn.004016d0
test bl, bl
je 0x4902ff
mov dword [ebp - 0x18], 1
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.004016d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004b83ee
add ebp, 0x210
leave
ret
Function at 0x490e53
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x24], 0
push edi
push 7
pop ecx
push dword [edx]
xor eax, eax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
push 0xf
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
push 0
push str.LastFailTime
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
pop edi
je 0x490ea5
push 0xa
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004c1d67
add esp, 0xc
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor ecx, ebp
call fcn.004b83ee
leave
ret 4
Function at 0x491287
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x6a]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x6c], di
call fcn.004be240
push esi
lea eax, [ebp + 0x19e]
push edi
push eax
mov word [ebp + 0x19c], di
call fcn.004be240
add esi, 2
add esp, 0x18
cmp ebx, edi
mov dword [ebp - 0x78], esi
je 0x491456
push esi
push edi
push ebx
call fcn.004be240
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
mov dword [ebp - 0x7c], 1
push dword [ebp - 0x7c]
lea edx, [ebp - 0x6c]
push str.SOFTWARETencentPlatForm_Type_List_d
call fcn.00409860
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
push 1
push edi
lea eax, [ebp - 0x6c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4913b1
cmp dword [ebp - 0x70], edi
je 0x4913b1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x19c]
push eax
push edi
push edi
push str.TypePath
push dword [ebp - 0x70]
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4913a3
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x49137a
push str.BinQQ.exe
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4913a3
lea eax, [ebp + 0x19c]
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x74], 1
call fcn.004daab9
pop ecx
pop ecx
cmp dword [ebp - 0x70], edi
je 0x4913b4
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], edi
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], 5
jle 0x491304
cmp dword [ebp - 0x74], edi
jne 0x491451
lea eax, [ebp - 0x70]
push eax
push 1
push edi
push str.SOFTWARETencentQQ2009
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
cmp eax, edi
jne 0x491443
cmp dword [ebp - 0x70], edi
je 0x491408
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x19c]
push eax
push edi
push edi
push str.Install
push dword [ebp - 0x70]
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x491443
push str.BinQQ.exe
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x491443
lea eax, [ebp + 0x19c]
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x74], 1
call fcn.004daab9
pop ecx
pop ecx
cmp dword [ebp - 0x70], edi
je 0x491451
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
jmp 0x491458
xor eax, eax
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b83ee
add ebp, 0x3a8
leave
ret
Function at 0x491d3b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x491d4e
push 0x80004005
call fcn.00401350
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 1
push 0
push dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebp
ret 0xc

Function at 0x491d74
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004be240
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x491dc8
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x491dd9
cmp dword [ebp - 0x7c], 6
jne 0x491dd9
cmp dword [ebp - 0x78], 0
jne 0x491dd9
xor eax, eax
inc eax
jmp 0x491ddb
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.004b83ee
add ebp, 0xa0
leave
ret

Function at 0x491df1
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004be240
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x491e45
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x491e53
cmp dword [ebp - 0x7c], 6
jne 0x491e53
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x491e55
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.004b83ee
add ebp, 0xa0
leave
ret
Function at 0x4921f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x1c
mov eax, 0x4e2bc1
call fcn.004be95c
mov eax, dword [ebp + 0x218]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x21c]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
push 0x20a
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.004be240
mov esi, 0x104
add esp, 0xc
mov dword [ebp - 0x28], esi
call fcn.00491d74
test eax, eax
jne 0x492257
call fcn.00491df1
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push str.SOFTWARETencentQQPCMgrDownloader
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4922a2
lea esi, [ebp - 0x10]
call fcn.0041bc00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004b83ee
add ebp, 0x210
leave
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x24]
xor ebx, ebx
push dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4922df
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x10]
call fcn.0041bc00
mov eax, ebx
jmp 0x49227f
cmp dword [ebp - 0x14], edi
je 0x4922c8
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call fcn.004b848e
add esp, 0xc
jmp 0x4922ca
Function at 0x49239c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4c
mov eax, 0x4e2b67
call fcn.004be9c5
mov esi, edx
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
call fcn.00491d74
test eax, eax
jne 0x4923cd
call fcn.00491df1
test eax, eax
je 0x49248e
cmp byte [ebp + 8], bl
je 0x49248e
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.004024d0
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call fcn.00491e6b
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004020f0
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040c0b0
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x4f09a4
call fcn.00403550
lea eax, [ebp - 0x2c]
push eax
mov edx, str.SOFTWARETencentQQPCMgrDownloader
call fcn.00403550
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x492438
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x34]
push ecx
push 0x2001f
push ebx
push eax
push SysStringLen
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x492484
lea esi, [ebp - 0x30]
call fcn.0041bc00
cmp eax, ebx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
jne 0x492484
push edi
push dword [ebp - 0x38]
mov eax, esi
push eax
call fcn.00491ce0
mov edi, eax
call fcn.0041bc00
lea esi, [ebp - 0x2c]
call fcn.0040c0b0
jmp 0x4924e0
lea esi, [ebp - 0x2c]
call fcn.0040c0b0
jmp 0x4924ac
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
push str.SOFTWARETencentQQPCMgrDownloader
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4924b8
lea esi, [ebp - 0x30]
call fcn.0041bc00
xor eax, eax
jmp 0x4924ef
push 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push ebx
push edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x34]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x30]
call fcn.0041bc00
xor eax, eax
cmp edi, ebx
sete al
call fcn.004bea48
ret

Function at 0x492592
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x4e2afd
call fcn.004be9c5
and dword [ebp - 0x14], 0
mov edi, ecx
call fcn.00491d74
test eax, eax
jne 0x4925b2
call fcn.00491df1
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push str.SOFTWARETencentQQPCMgrDownloader
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x492604
lea esi, [ebp - 0x14]
call fcn.0041bc00
test eax, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
jne 0x492604
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
call fcn.0041bc00
call fcn.0041bc00
xor eax, eax
test edi, edi
sete al
jmp 0x49260e
lea esi, [ebp - 0x14]
call fcn.0041bc00
xor eax, eax
call fcn.004bea48
ret