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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004a83c0
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp word [ebp - 0x210], 0
jne 0x44503e
xor ecx, ecx
jmp 0x445056
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445047
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004a578d
mov esp, ebp
pop ebp
ret

Function at 0x445080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00444fe0
test eax, eax
je 0x4450f9
push 0x11
push 0x4f0fbc
lea ecx, [ebp - 0x28]
call fcn.004402a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4450f9
mov esi, 1
jmp 0x4450fb
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x445110
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433600
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret

Function at 0x445130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.004af30d
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4451b0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4451be
push 8
lea ecx, [ebp - 0x18]
push ecx
push 0xb
push 0
push str.QQPCMgrInstallTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4451be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x445710
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
mov esi, ecx
push 0
push eax
call fcn.004a83c0
add esp, 0xc
or dword [ebp - 0x28], 0x80
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5010
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 4]
push str.TAOFrame.exe
lea ecx, [ebp - 0x2c]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x445fd2
xor ecx, ecx
jmp 0x445fe6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445fd7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439160
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44600f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x28]
je 0x446083
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004460d0
mov esi, eax
test esi, esi
je 0x44606f
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x446054
push str.InstallTAOFrameService::reg_service_suc
jmp 0x446059
push str.InstallTAOFrameService::wait_reg_process_failed
push 0x515488
call fcn.0048d1f0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44609e
push str.InstallTAOFrameService::reg_service_failed
push 0x515488
call fcn.0048d1f0
add esp, 8
jmp 0x44609e
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.InstallTAOFrameService::can_not_find_taoframe.exe:_s
push 0x515488
call fcn.0048d1f0
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4460b3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x4460d0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0x3c
push 0
push eax
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x124]
push 0x118
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jae 0x446148
push ecx
push esi
call fcn.004461c0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], 0x3c
push eax
mov dword [ebp - 0x160], 0xc440
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], str.RunAs
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x150], str._Service
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 0x12c]
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8

Function at 0x4461c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x70], 0x44
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc], 0xc
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push str._Service
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x446246
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4463c0
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.qmswitches.dat
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x40]
call fcn.0044bc80
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4464cc
push str.qmswitches.dat
lea edx, [esi + 4]
lea ecx, [ebp - 0x44]
call fcn.0041c010
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.00438600
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44645f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4464a3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4464b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4464e1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret

Function at 0x446500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CubePatch_
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x28]
call fcn.0044bc80
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44656e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004465a0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x446583
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x446b90
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5e1e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
xor edx, edx
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x446c21
mov edi, dword [esi + 0x14]
lea eax, [ebx + ebx]
nop word [eax + eax]
cmp edi, 8
jb 0x446bf9
mov ecx, dword [esi]
jmp 0x446bfb
mov ecx, esi
cmp word [eax + ecx - 2], 0x5c
je 0x446c32
cmp edi, 8
jb 0x446c0c
mov ecx, dword [esi]
jmp 0x446c0e
mov ecx, esi
cmp word [eax + ecx - 2], 0x2f
je 0x446c32
inc edx
sub eax, 2
cmp edx, ebx
jb 0x446bf0
mov edi, dword [ebp - 0x44]
cmp dword [esi + 0x14], 8
jb 0x446cb8
mov eax, dword [esi]
jmp 0x446cba
sub ebx, edx
lea eax, [ebp - 0x40]
push ebx
push 0
push eax
mov ecx, esi
call fcn.0044e1d0
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x446c7d
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x446c60
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0044e210
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x446c96
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
cmp dword [ebp - 0x18], 0
je 0x446c1e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00489ee0
test eax, eax
jne 0x446c1e
xor bl, bl
jmp 0x446cf0
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x446cc4
mov ecx, dword [edi]
jmp 0x446cc6
mov ecx, edi
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x446cee
cmp dword [esi + 0x14], 8
jb 0x446cdc
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x446ce4
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x446d05
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433600
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8
Function at 0x446df0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.Start64HelperProcess_Enter
push 0x515488
call fcn.0048d1f0
add esp, 8
test esi, esi
jne 0x446e42
push str.Start64HelperProcess::lpstrDir__NULL
push 0x515488
call fcn.0048d1f0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.QMProxyHelper64.exe
push esi
push 0x4ed424
push 0x104
push eax
call fcn.004448b0
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446eb4
lea eax, [ebp - 0x218]
push eax
push str.Start64HelperProcess::tszExeName___s
push 0x515488
call fcn.0048d1f0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8
push 0x38
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 0x3c
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x250], 0x440
lea eax, [ebp - 0x218]
mov dword [ebp - 0x240], str._Uninstall
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x248], str.runas
push eax
mov dword [ebp - 0x238], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x446f3b
push str.Start64HelperProcess::ShellExecuteExW_Failed
push 0x515488
call fcn.0048d1f0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x446f55
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004a578d
mov esp, ebp
pop ebp
ret 8

Function at 0x44aa30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6096
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004a57cf
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004a45c3
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44eba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b68
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x515428], ebx
setne bl
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44ec3c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 1
test ebx, ebx
je 0x44ec22
test eax, eax
je 0x44ec4a
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.ConvertInstall
jmp 0x44ec35
test eax, eax
je 0x44ec4a
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.NewInstall
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44ec4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ec60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x44ec71
mov eax, dword [esi]
jmp 0x44ec73
mov eax, esi
push 0
push eax
call fcn.004af37c
add esp, 8
cmp eax, 0xffffffff
je 0x44ecd2
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x44ec91
mov ecx, dword [edi]
jmp 0x44ec93
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x44ec9d
mov eax, dword [esi]
jmp 0x44ec9f
mov eax, esi
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44ecc7
cmp dword [edi + 0x14], 8
jb 0x44ecb5
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x44ecbd
mov esi, dword [esi]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x453c00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
jne 0x453c16
xor edx, edx
jmp 0x453c2f
mov edx, ecx
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x453c20
sub edx, edi
sar edx, 1
push edx
push ecx
lea ecx, [esi + 4]
call fcn.0041ccd0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x453c44
xor ecx, ecx
jmp 0x453c5f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453c50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 8]
call fcn.0041ccd0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x453c74
xor ecx, ecx
jmp 0x453c8f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453c80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xc]
call fcn.0041ccd0
push ecx
mov dword [esi + 0x48], 1
call fcn.004548b0
neg eax
push str.GetNativeSystemInfo
sbb eax, eax
neg eax
push str.kernel32
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453cd2
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x453cdc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x24]
mov ecx, 9
cmp cx, ax
je 0x453d06
mov ecx, 6
cmp cx, ax
je 0x453d06
pop edi
mov dword [esi + 0x14], 0x20
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov dword [esi + 0x14], 0x40
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x454370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d38e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
lea ebx, [edi + 4]
sub ecx, 0x10
call fcn.0041c670
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x17
push str.TSClinicWebListener.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0041c490
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4543d7
mov ecx, esi
call fcn.00437970
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041c6d0
cmp dword [edi + 0x14], 0x40
lea ecx, [ebp - 0x10]
jne 0x4543f2
push 0x18
push str.QMContextUninstall64.dll
jmp 0x4543f9
push 0x16
push str.QMContextUninstall.dll
call fcn.0041c490
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454413
mov ecx, esi
call fcn.00437970
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x454432
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454450
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4544b5
cmp dword [ebp - 0x118], 2
jae 0x4544b5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret

Function at 0x4544d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x454536
jne 0x454526
cmp dword [ebp - 0x118], 2
jae 0x454536
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret