joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100229ee
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x230
mov eax, 0x100be947
call fcn.1008b701
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov dword [ebp - 4], ebx
call fcn.10018ae4
add eax, 4
lea edx, [ebp - 0x238]
push 0x100d0a34
push edx
push str.NewUIurl
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], ebx
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.100055e9
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], ebx
je 0x10022b70
call fcn.10022f4f
test eax, eax
je 0x10022b70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x120], eax
cmp dword [edi + 0x9c], ebx
jne 0x10022ab5
push 0xc8
call fcn.1008ad77
pop ecx
mov ecx, eax
mov dword [ebp - 0x23c], eax
call fcn.1001be6d
mov dword [edi + 0x9c], eax
push dword [ebp - 0x220]
call fcn.10001a38
pop ecx
mov ecx, dword [edi + 0x9c]
push eax
push dword [ebp - 0x220]
call fcn.10001dcf
push 0x20a
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.UIConfig.Zip
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x21c]
push eax
call fcn.10001a38
pop ecx
mov ecx, dword [edi + 0x9c]
push eax
lea eax, [ebp - 0x21c]
add ecx, 0x18
push eax
call fcn.10001dcf
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0xa0]
push eax
push dword [edi + 0x9c]
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x10022b70
mov esi, dword [edi + 0x18]
jmp 0x10022b6b
mov ecx, dword [esi]
test ecx, ecx
je 0x10022b68
mov eax, dword [ecx]
push 0x12
push ecx
call dword [eax + 0x10]
add esi, 4
cmp esi, dword [edi + 0x1c]
jne 0x10022b5a
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push ebx
push 1
lea ecx, [ebp - 0x238]
call fcn.10001f43
xor eax, eax
call fcn.1008b6ab
ret 4
Function at 0x10023047
Capabilities:
Check if file exists

Disassembly:
push 0x1d0
mov eax, 0x100bea33
call fcn.1008b701
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov esi, 0x100d0a34
mov byte [ebp - 4], 1
push esi
lea eax, [ebp - 0x1dc]
push 0x100f2248
push eax
call fcn.10018ae4
mov ecx, eax
call fcn.10009fe8
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000283a
push ebx
push 1
lea ecx, [ebp - 0x1dc]
call fcn.10001f43
lea ecx, [ebp - 0xec]
call fcn.1001c3ae
lea ecx, [ebp - 0x1b4]
call fcn.1001be6d
push esi
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 3
push str.offline_package
push eax
mov dword [ebp - 0x14], ebx
call fcn.10018ae4
mov ecx, eax
call fcn.10009fe8
mov esi, eax
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 4
call fcn.1001c7ce
push 0x100d1cf8
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b8]
call fcn.10001464
pop ecx
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x1002311a
mov esi, dword [esi]
push esi
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.10001464
pop ecx
mov ecx, dword [ebp - 0x1b8]
lea ecx, [ecx - 0x10]
call fcn.100018e3
mov ecx, dword [ebp - 0x1bc]
lea ecx, [ecx - 0x10]
call fcn.100018e3
xor esi, esi
mov byte [ebp - 4], 0xa
push ebx
inc esi
lea ecx, [ebp - 0x1dc]
push esi
call fcn.10001f43
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002317b
push dword [ebp - 0x14]
call fcn.10001a38
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x19c]
call fcn.10001dcf
push dword [ebp - 0x14]
call fcn.10001a38
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc4]
call fcn.10001dcf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10001b7f
lea ecx, [edi + 0xc]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0xe4], 8
call fcn.100234a4
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [edi + 0xc]
call fcn.100241ea
mov ecx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1b4]
push eax
add ecx, 0xb8
call fcn.1001befa
sub esp, 0x18
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x1c0], esp
push ecx
call fcn.1006e370
pop ecx
mov byte [ebp - 4], 0xb
call fcn.1001897a
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.100268bb
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018e3
lea ecx, [ebp - 0x1b4]
call fcn.1001d880
lea ecx, [ebp - 0xec]
call fcn.1001c486
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.10001f43
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001f43
xor eax, eax
inc eax
call fcn.1008b6ab
ret 4
Function at 0x1002c3d6
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1bc], 2
mov dword [esi + 0x1d4], 1
jne 0x1002c3f8
call fcn.1001897a
mov ecx, eax
call fcn.10026920
cmp dword [esi + 0x1bc], 3
je 0x1002c41d
cmp dword [esi + 0x1f0], 0
je 0x1002c40f
call fcn.1002eb63
push ecx
mov ecx, esi
call fcn.10031546
pop esi
jmp fcn.1002c359
pop esi
ret

Function at 0x1002cd3d
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x100bfb2e
call fcn.1008b701
xor edi, edi
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
call fcn.1002cb75
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
mov bl, byte [ebp - 0x60]
lea ecx, [ebp - 0x78]
push eax
call fcn.100028e1
mov byte [ebp - 4], 2
call fcn.10018ae4
add eax, 4
lea edx, [ebp - 0x2c]
push 0x100d0a34
push edx
push str.RunExe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test eax, eax
js 0x1002cea7
test bl, bl
je 0x1002cdbe
mov esi, str.QQPCSoftMgr.exe
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001dcf
cmp dword [ebp - 0x1c], 0
jbe 0x1002cea7
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 3
call fcn.10018ae4
add eax, 4
lea edx, [ebp - 0x44]
push 0x100d0a34
push edx
push str.RunExeParam
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], edi
call fcn.1001b114
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x1002ce1d
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.1001c84b
pop ecx
push edi
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.10001f43
test bl, bl
je 0x1002ce6b
lea eax, [ebp - 0x78]
mov edx, str._parentuser3001__actiondownload__pagetaskmgr__softdetailid
push eax
lea ecx, [ebp - 0xa8]
call fcn.10016962
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.1000283a
push edi
push 1
lea ecx, [ebp - 0xa8]
call fcn.10001f43
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002ce91
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
push ecx
cmovae edx, dword [ebp - 0x44]
push edi
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001afb6
add esp, 0xc
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push edi
push 1
lea ecx, [ebp - 0x44]
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x5c]
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001f43
call fcn.1008b6ab
ret
Function at 0x1002eb63
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, 0x20a
lea eax, [ebp - 0x210]
push ebx
push 0
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push str._AppData_TencentQQ_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x214]
call fcn.1001b2df
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [eax]
lea eax, [ebp - 0x210]
push eax
call edi
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.100018e3
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x210]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.TencentQQ_
lea eax, [ebp - 0x210]
push eax
call edi
lea ecx, [ebp - 0x214]
call fcn.1001b2df
push dword [eax]
lea eax, [ebp - 0x210]
push eax
call edi
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.100018e3
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x1002ed08
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x100bfe2a
call fcn.1008b701
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
call fcn.1001b114
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1002ed2c
mov eax, dword [eax]
push str.QQPCTray.exe
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.1001c84b
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001f43
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002ed6d
push ecx
push 1
push ecx
mov ecx, dword [ebp - 0x14]
mov edx, str._showui__setup
call fcn.1001afb6
add esp, 0xc
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018e3
call fcn.1008b6ab
ret

Function at 0x1002ed7e
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x100bfe2a
call fcn.1008b701
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
call fcn.1001b114
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1002eda2
mov eax, dword [eax]
push str.QMPersonalCenter.exe
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.1001c84b
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001f43
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002ede3
push ecx
push 1
push ecx
mov ecx, dword [ebp - 0x14]
mov edx, str.wndtype3__supplyid200
call fcn.1001afb6
add esp, 0xc
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018e3
call fcn.1008b6ab
ret
Function at 0x1003003d
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
push 0x1002fa5d
push ebx
push ebx
call fcn.100963ac
add esp, 0x18
test eax, eax
je 0x10030061
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10018ae4
add eax, 4
push ebx
push str.target
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
call fcn.1001bddc
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
test eax, eax
je 0x10030096
mov ecx, esi
call fcn.1003001e
push 1
mov ecx, esi
jmp 0x100300c9
cmp dword [esi + 0x1a8], ebx
jne 0x100300d0
cmp edi, 1
jne 0x100300d0
mov ecx, esi
call fcn.1003001e
call fcn.10018ae4
add eax, 4
push ebx
push 0x100f6238
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, esi
cmp eax, 3
jne 0x100300c8
push edi
jmp 0x100300c9
push ebx
call fcn.10031582
jmp 0x100300de
push ebx
mov ecx, esi
call fcn.10031582
mov dword [esi + 0x1bc], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x1003028f
Capabilities:
Create process on windows

Disassembly:
push 0x244
mov eax, 0x100bfff2
call fcn.1008b701
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], ebx
call fcn.10018ae4
add eax, 4
push ebx
push str.bShowPacketInstallProgross
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
call fcn.1001bddc
add eax, 4
lea edx, [ebp - 0x220]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ecx, dword [ebp - 0x220]
cmp ecx, 1
jne 0x10030414
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1008df10
lea eax, [ebp - 0x21c]
mov edx, str.InstallDir
push eax
mov ecx, str.SOFTWARETencentQQPCMgr
call fcn.1001aa1e
add esp, 0x10
test eax, eax
je 0x100303f2
call fcn.10018ae4
add eax, 4
lea edx, [ebp - 0x238]
mov ebx, 0x100d0a34
push ebx
push edx
mov ecx, dword [eax]
push str.NewVersionRunExe
push eax
call dword [ecx + 8]
call fcn.10018ae4
add eax, 4
lea edx, [ebp - 0x250]
push ebx
push edx
push str.NewVersionRunExeParam
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x228], 0
je 0x100303f0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.1009600a
add esp, 0xc
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
cmovae eax, dword [ebp - 0x250]
xor ebx, ebx
push 1
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100303f2
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.10001f43
push ebx
push 1
lea ecx, [ebp - 0x238]
call fcn.10001f43
mov ecx, dword [ebp - 0x220]
cmp dword [esi + 0x1a8], ebx
jne 0x10030436
cmp dword [esi + 0x1d4], ebx
jne 0x10030436
test edi, edi
je 0x1003042d
cmp ecx, 1
jne 0x10030436
push 1
mov ecx, esi
call fcn.10031582
call fcn.1008b6ab
ret
Function at 0x1003043c
Capabilities:
Get disk size

Disassembly:
push 0x44c
mov eax, 0x100bfeb3
call fcn.1008b701
mov ebx, ecx
mov esi, 0x20a
lea eax, [ebp - 0x428]
push esi
xor edi, edi
push edi
push eax
call fcn.1008df10
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.1008df10
add esp, 0x18
jmp 0x1002f78d
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1002f8e6
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x42c], edi
push eax
lea ecx, [ebp - 0x42c]
call fcn.100055e9
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x42c]
cmp dword [eax - 0xc], 2
jl 0x1002f761
push 2
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], edi
push eax
lea ecx, [ebp - 0x42c]
call fcn.10005534
mov esi, dword [ebp - 0x430]
lea eax, [ebp - 0x438]
push edi
push edi
push eax
push esi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0x434], edi
ja 0x1002f7ef
jb 0x1002f759
cmp dword [ebp - 0x438], 0x6400000
jae 0x1002f7ef
lea ecx, [esi - 0x10]
call fcn.100018e3
push 0x40
push 0x100f4bb0
push 0x100f61ec
mov ecx, ebx
call fcn.10051f70
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push 7
mov dword [ebp - 0x458], edi
xor eax, eax
pop ecx
lea edi, [ebp - 0x454]
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.10051f70
mov dword [ebp - 0x458], eax
xor edi, edi
lea eax, [ebp - 0x428]
mov dword [ebp - 0x454], edi
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0x44c], 0x100f61dc
mov dword [ebp - 0x448], 0x43
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
jne 0x1002f6c2
jmp 0x1002f8e6
lea ecx, [esi - 0x10]
call fcn.100018e3
mov dword [ebp - 0x430], edi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.1001b3d6
push eax
lea ecx, [ebp - 0x42c]
call fcn.1000559b
push edi
push str.qqpcmgr
lea ecx, [ebp - 0x42c]
call fcn.1000afe0
cmp eax, 0xffffffff
lea eax, [ebp - 0x21c]
push eax
jne 0x1002f87e
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1002f844
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10005bd6
push 7
push str.QQPCMgr
lea ecx, [ebp - 0x42c]
call fcn.10003930
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x430]
call fcn.1003090d
call fcn.1001bddc
push dword [ebp - 0x430]
add eax, 4
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
push edi
push 0x1010d758
push 0x1010d524
push edi
push 0x68
mov ecx, ebx
call fcn.10051f80
push eax
call fcn.100baaad
add esp, 0x14
test eax, eax
je 0x1002f8cc
push dword [ebp - 0x430]
mov ecx, eax
call fcn.10054470
push dword [ebp - 0x430]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.100018e3
call fcn.1008b6ab
ret
mov dword [ecx + 0x1d4], 1
jmp 0x1002f686
Function at 0x10032c28
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x100c0420
call fcn.1008b701
mov esi, 0x1010fd40
mov dword [ebp - 0x28], 3
mov ebx, 0x1010bc84
push 0x40
call fcn.1008ad77
pop ecx
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
mov ecx, eax
push dword [ebx + 4]
push dword [ebx]
push dword [ebx - 4]
call fcn.1003b75c
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [esi]
cmp edi, ecx
je 0x10032c7b
test ecx, ecx
je 0x10032c79
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], edi
and dword [ebp - 0x24], 0
lea edi, [ebp - 0x20]
mov ecx, dword [esi]
lea edx, [ebp - 0x24]
xor eax, eax
stosd dword es:[edi], eax
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x10032ccf
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.10032b0f
mov dword [ebp - 4], 1
lea ecx, [esi + 0x10]
push dword [eax]
call fcn.10032e1e
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10032cc9
lea ecx, [eax + 4]
call fcn.100080c2
or dword [ebp - 4], 0xffffffff
jmp 0x10032cde
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add ebx, 0xc
add esi, 4
sub dword [ebp - 0x28], 1
jne 0x10032c45
xor eax, eax
inc eax
call fcn.1008b6ab
ret
Function at 0x10036580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push str.DebugBeacon
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x10036a40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101100f0]
test eax, eax
jne 0x10036bd0
push 0x114
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x108]
cmp eax, 2
jne 0x10036ba1
call fcn.100369c0
test eax, eax
je 0x10036abc
mov eax, 9
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x10036b23
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10036ae9
mov eax, 2
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10036b06
mov eax, 3
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10036b89
mov eax, 4
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10036b89
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10036b4a
mov eax, 5
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10036b67
mov eax, 6
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x10036b71
cmp eax, 3
jne 0x10036b89
mov eax, 7
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
mov eax, 0x14
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10036bcb
cmp dword [ebp - 0x114], 4
jne 0x10036b89
cmp dword [ebp - 0x110], 0
jne 0x10036b89
mov dword [0x101100f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101100f0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x1003ade8
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
mov dword [esi], vtable.qmbase::MessageLoopForIO.0
test eax, eax
je 0x1003ae09
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x88], 0
lea ecx, [esi + 0x94]
call fcn.1003b048
lea ecx, [esi + 0x8c]
call fcn.1003b085
mov ecx, esi
pop esi
jmp fcn.1003a32f
Function at 0x1003b870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor eax, eax
mov edi, ecx
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov dword [edi + 0x38], eax
test esi, esi
je 0x1003b896
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi], ecx
push ebx
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x1003b8bb
xor eax, eax
push eax
push eax
push edi
push 0x1003b6e4
push eax
push eax
call fcn.100963ac
add esp, 0x18
mov dword [ebx], eax
test eax, eax
setne al
jmp 0x1003b8bd
xor al, al
pop ebx
test al, al
jne 0x1003b8f1
test esi, esi
je 0x1003b8e0
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
call fcn.10095778
mov eax, dword [eax]
mov dword [esi + 0x10], eax
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x38], 0
xor al, al
jmp 0x1003b928
test esi, esi
je 0x1003b8f9
and dword [esi + 4], 0
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x1003b912
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 8], ecx
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x38], 0
mov al, 1
mov dword [edi + 4], 1
pop edi
pop esi
pop ebp
ret 4

Function at 0x100402f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x20], eax
push dword [esi]
call ebx
push dword [esi + 4]
mov dword [ebp - 0x1c], eax
call ebx
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x14]
xor esi, esi
sub edi, eax
nop dword [eax]
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x14]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x10040330
mov edi, dword [ebp - 0x1c]
xor edx, edx
lea esi, [edx + 0x10]
nop
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x14]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x10040350
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp - 0x20]
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret