joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e190
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5210
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], 0
call esi
test eax, eax
jne 0x44e213
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44e221
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.autostart
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44e221
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x44e312
cmp dword [ebp + 0xc], eax
jne 0x44e270
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44e320
push str._QQPCTray
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x44e312
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
add eax, 4
mov edx, 0x4edd30
push eax
call fcn.00438690
push str.QQPCTray.exe___regrun
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0041c030
add esp, 8
mov esi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44e2d9
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp + 8], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x44e2b0
sub edx, dword [ebp + 8]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str._QQPCTray
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp + 0xc]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44e2f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44e312
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44e320
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x451a10
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 0x451a26
xor edx, edx
jmp 0x451a3f
mov edx, ecx
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x451a30
sub edx, edi
sar edx, 1
push edx
push ecx
lea ecx, [esi + 4]
call fcn.0041cd40
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x451a54
xor ecx, ecx
jmp 0x451a6f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451a60
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 8]
call fcn.0041cd40
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x451a84
xor ecx, ecx
jmp 0x451a9f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451a90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xc]
call fcn.0041cd40
push ecx
mov dword [esi + 0x48], 1
call fcn.00452750
neg eax
push 0x4f349c
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 0x451ae2
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x451aec
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 0x451b16
mov ecx, 6
cmp cx, ax
je 0x451b16
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 0x451bb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5650
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
sub ecx, 0x10
call fcn.0041c6e0
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x1f
push str.libraryWin_msvc2015x86System
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0041c4b0
push 0x4f2e20
push 0x515408
call fcn.0048be90
push dword [esi + 4]
add esi, 4
push dword [ebp - 0x10]
push 0x4f2e58
push 0x515408
call fcn.0048be90
add esp, 0x14
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00453280
push 0x4f2ea0
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.0041c030
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push 0x4f2eb8
push 0x515408
call fcn.0048be90
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00453280
push 0x4f2f04
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.0041c030
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x4f2f28
push 0x515408
call fcn.0048be90
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00453280
push 0x4f2f7c
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.0041c030
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x451cd0
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0041cb00
mov eax, dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x4f2fa8
push 0x515408
call fcn.0048be90
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x4f2ff0
push 0x515408
call fcn.0048be90
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00453280
push 0x4f3048
push 0x515408
call fcn.0048be90
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451d4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451d68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451d86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x451da5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x452210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2718
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.0041c6e0
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.0041c4b0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452277
mov ecx, esi
call fcn.00437bf0
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041c740
cmp dword [edi + 0x14], 0x40
lea ecx, [ebp - 0x10]
jne 0x452292
push 0x18
push str.QMContextUninstall64.dll
jmp 0x452299
push 0x16
push str.QMContextUninstall.dll
call fcn.0041c4b0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4522b3
mov ecx, esi
call fcn.00437bf0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4522d2
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 0x4522f0
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.004a73c0
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 0x452355
cmp dword [ebp - 0x118], 2
jae 0x452355
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x452370
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.004a73c0
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 0x4523d6
jne 0x4523c6
cmp dword [ebp - 0x118], 2
jae 0x4523d6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x4524b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d56f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x2c4], eax
xor eax, eax
push 0x10
push str.QQPCFileOpen.exe
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x288], 7
mov dword [ebp - 0x28c], 0
mov word [ebp - 0x29c], ax
call fcn.004393e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x29c]
mov edi, dword [ebp - 0x288]
lea ebx, [ebp - 0x29c]
mov esi, dword [ebp - 0x29c]
cmp edi, 8
mov eax, dword [ebp - 0x28c]
cmovae ecx, esi
mov dword [ebp - 0x2bc], fcn.004b4b93
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x29c]
cmovae ecx, esi
push ebx
call fcn.00453e60
push 0x26c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004a73c0
add esp, 0x14
mov dword [ebp - 0x2c8], 0x136
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push dword [ebp - 0x2c4]
mov dword [ebp - 0x2b8], 0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4526f2
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x4525f0
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x2bc]
push ecx
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00438880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b4]
mov edi, dword [ebp - 0x2a0]
lea ebx, [ebp - 0x2b4]
mov esi, dword [ebp - 0x2b4]
cmp edi, 8
mov eax, dword [ebp - 0x2a4]
cmovae ecx, esi
mov dword [ebp - 0x2bc], fcn.004b4b93
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2b4]
cmovae ecx, esi
push ebx
call fcn.00453e60
add esp, 8
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x288], 8
lea ecx, [ebp - 0x2b4]
cmovae eax, dword [ebp - 0x29c]
push dword [ebp - 0x28c]
push 0
push eax
call fcn.0044b4c0
cmp eax, 0xffffffff
je 0x45268c
mov dword [ebp - 0x2c0], 1
jmp 0x4526b9
cmp dword [ebp - 0x288], 8
lea eax, [ebp - 0x29c]
cmovae eax, dword [ebp - 0x29c]
push eax
push dword [ebp - 0x2c4]
push str.CheckRegValue__s_not_find__s
push 0x515408
call fcn.0048c0f0
add esp, 0x10
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x4526ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b8], 0
cmp eax, 8
jb 0x452703
inc eax
lea ecx, [ebp - 0x2b4]
push eax
push dword [ebp - 0x2b4]
call fcn.00433850
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x452703
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x2b8], 0
cmp ecx, 8
jb 0x45272b
inc ecx
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x29c]
call fcn.00433850
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4
Function at 0x452f00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d57b0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0041c9e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push eax
call fcn.0041c4b0
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push dword [ebp + 8]
push SysReAllocString
call esi
neg eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
sbb esi, esi
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452f8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x452faa
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4537d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jb 0x4537f0
mov eax, dword [esi]
jmp 0x4537f2
mov eax, esi
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push 0xf003f
push eax
push ebx
call fcn.00454030
test eax, eax
je 0x453822
cmp dword [esi + 0x14], 8
jb 0x453811
mov esi, dword [esi]
sub esp, 0x14
lea ecx, [ebp - 0xc]
push esi
push ebx
call fcn.00453f40
test eax, eax
jne 0x453874
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x14], 8
jb 0x45382d
mov edx, dword [edx]
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x14], 8
jb 0x453838
mov esi, dword [esi]
test edx, edx
je 0x453874
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453841
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
jmp 0x453877
mov esi, dword [ebp - 0xc]
pop ebx
test esi, esi
je 0x453883
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4540c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d59a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4f3fd0
lea ecx, [ebp - 0x28]
call fcn.00438880
push 0x26
push str.7C260B4B_F7A0_40B5_B403_BEFCDC6A4C3B
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0043f580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
cmovae eax, dword [ebp - 0x28]
sub esp, 0x14
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
push SysReAllocString
call fcn.00453f40
mov esi, dword [ebp - 0x38]
test eax, eax
jne 0x454169
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
push 4
push 0
push str.Flags
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x45416b
xor bl, bl
test esi, esi
je 0x454176
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x45418b
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433850
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x455af0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5c40
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x455be1
cmp edi, 5
je 0x455be1
push ecx
lea ecx, [ebp - 0x34]
call fcn.00455820
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push esi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [0x5153dc]
mov esi, eax
test ecx, ecx
je 0x455b77
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.GlobalQQPCMgrUninst
push 0
push 0x1f0003
mov dword [0x5153dc], esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x455bbc
cmp edi, 5
je 0x455bbc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x5153b8], 0
jne 0x455bd9
push 0
push 0x4f21fc
push 0x4f4334
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x83
jmp 0x455c04
cmp dword [0x5153b8], 0
jne 0x455bfe
push 0
push 0x4f21fc
push 0x4f42c8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x82
mov ecx, dword [0x5153cc]
mov eax, dword [ecx]
call dword [eax + 0x20]
test esi, esi
je 0x455c1a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x457160
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5db8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4571b7
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 4
test al, 8
mov eax, 8
cmovne ecx, eax
push ecx
mov ecx, dword [0x5153cc]
call fcn.004623d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45726b
lea eax, [ebp + 0xc]
push eax
push str.ExtendQQNavigation
lea ecx, [ebp + 8]
call fcn.00433b10
mov eax, dword [ebp + 8]
test eax, eax
je 0x457217
push str.ExtendQQNavigation
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp + 0xc]
cmp eax, 0xb
jne 0x45723a
mov ecx, dword [0x5153cc]
push 8
call fcn.004623d0
mov eax, dword [0x5153cc]
mov dword [eax + 0x2c], 0
jmp 0x45726b
cmp eax, 0xc
jne 0x45725a
mov ecx, dword [0x5153cc]
push 8
call fcn.004623d0
mov eax, dword [0x5153cc]
mov dword [eax + 0x2c], 1
jmp 0x45726b
cmp eax, 0xd
jne 0x45726b
mov eax, dword [0x5153cc]
mov dword [eax + 0x30], 1
mov eax, dword [ebp + 8]
test eax, eax
je 0x457279
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 8
Function at 0x457800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5e8b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x20a
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x220]
push 0xffffffffffffffff
push dword [esi]
push 0x105
push eax
call fcn.004b586c
push 0x208
lea eax, [ebp - 0x220]
mov edx, 0x26
push eax
push 0x208
push eax
mov ecx, str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.00475d90
add esp, 0x20
test eax, eax
jne 0x457942
lea ecx, [ebp - 0x228]
call fcn.004899c0
push str.QMPacket.dat
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.0041c030
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x228]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4578df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x457927
push 0
lea eax, [ebp - 0x22c]
push eax
push 0x208
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x457942
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4