joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push str.SYSTEMCurrentControlSet_servicesQPCore_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430374
push eax
push str.GetDDFConflic_setting__Open_key_failed__d_
push str.QPUPDATE
push 2
push str.CCopyFileLogic::IsDisableDetectFilesConflic
push 0x9a
push str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
call fcn.00442b40
add esp, 0x1c
jmp 0x43040c
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
push 0
push str.DDFConflic
push ecx
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
jne 0x4303e6
cmp ecx, 4
jne 0x4303e6
cmp edx, ecx
jne 0x4303e6
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x4303bf
mov esi, eax
push eax
push esi
push str.DDFConflic__d_
push str.QPUPDATE
push 2
push str.CCopyFileLogic::IsDisableDetectFilesConflic
push 0xad
push str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
call fcn.00442b40
add esp, 0x20
jmp 0x43040e
push edx
push ecx
push eax
push str.GetDDFConflic_setting__Query_value_failed__d__type__d__size__d_
push str.QPUPDATE
push 2
push str.CCopyFileLogic::IsDisableDetectFilesConflic
push 0xa5
push str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
call fcn.00442b40
add esp, 0x24
xor esi, esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x43041c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4319f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd348
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x528f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x529230]
xor esi, esi
cmp edx, esi
je 0x431a36
mov ecx, dword [0x529234]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 1
jae 0x431ab3
mov dword [ebp - 0x14], str.d_n_d_l
mov dword [ebp - 0x20], str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
mov dword [ebp - 0x1c], str.CCopyFileLogic::DoDeleteFiles
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x4c], 0x3ea
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x50], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x14]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x54]
push str.QPUPDATE
push edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, ecx
mov esi, edx
jbe 0x431acb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [0x529234]
mov edx, dword [0x529230]
mov edi, 0x52922c
cmp edx, ecx
mov ebx, ecx
jbe 0x431adc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
je 0x431ae8
cmp edi, 0x52922c
je 0x431aee
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x431aa1
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x431afe
call ebx
cmp esi, dword [edi + 8]
jb 0x431b05
call ebx
push esi
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.Delete_File:__s
push 0x4dd21c
push 2
push str.CCopyFileLogic::DoDeleteFiles
push 0x3f2
push str.F:_svn_codeQPUpd_v137SourceLogicCopyFileLogic.cpp
call fcn.0042d2a0
add esp, 0x1c
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp esi, dword [edi + 8]
jb 0x431b6c
call ebx
mov ecx, dword [0x529234]
mov edx, dword [0x529230]
add esi, 4
jmp 0x431ad0
Function at 0x438e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
add ecx, 0x108
jmp fcn.00435c00
Function at 0x43b780
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x43b7b7
mov ecx, dword [ebp + 0xc]
push str.0.0.0.1
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.004cb568
mov esi, eax
add esp, 4
test esi, esi
jne 0x43b7dd
mov ecx, dword [ebp + 0xc]
push str.0.0.0.2
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push esi
push edi
push ecx
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43b7fb
push str.0.0.0.3
jmp 0x43b85a
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0x4fed54
push esi
mov dword [ebp - 4], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43b855
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
mov edx, dword [ebp + 0xc]
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._lu._lu._lu._lu
push edx
call sym.QQProtectUpd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 0x1c
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e0aa4
mov ecx, dword [ebp + 0xc]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x528f34]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x224], ebx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x220], ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push 0x206
lea eax, [ebp - 0x216]
push ebx
mov edi, 1
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], ebx
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
push edi
push ebx
push str.SOFTWARETencentQQ2009
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x228], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x43b93a
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov dword [ebp - 0x224], edi
jmp 0x43ba19
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x22c]
push edx
push ebx
push str.Install
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x43b975
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x43ba01
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43b986
sub eax, edx
sar eax, 1
je 0x43ba01
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
push 0x5c
push 0x2f
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::Replace_wchar_t__wchar_t_
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
sub eax, 1
push eax
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_wchar_t___thiscall_CTXStringW::operator___int_const
cmp ax, 0x5c
je 0x43b9e8
push 0x4fed54
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
push str.bin_
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea edx, [ebp - 0x21c]
push edx
jmp 0x43ba08
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
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.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x43ba50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce236
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
mov dword [ebp - 0x220], ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43bb2a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t__
push str.TencentQQProtect_
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0044d92a
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x43bb36
push 0x4dcd18
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov eax, esi
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.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x43bb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce236
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
mov dword [ebp - 0x220], ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x2b
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43bc3a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t__
push str.TencentQQProtect_
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0044d92a
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x43bc46
push 0x4dcd18
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov eax, esi
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.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x43bc70
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce2b9
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x206
lea eax, [ebp - 0x216]
push 0
mov dword [ebp - 0x224], 0
push eax
mov dword [ebp - 0x238], esi
mov word [ebp - 0x218], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x230], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
mov word [ebp - 0x12], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t__
mov ebx, 1
push ebx
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push 0
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43bde7
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t__
push str.TencentQQProtectSelfAuTemp_
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
lea edx, [ebp - 0x220]
push edx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
push 0x4fed54
push eax
lea ecx, [ebp - 0x228]
push ecx
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x24
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.0044d92a
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x43bdf9
push 0x4dcd18
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov dword [ebp - 0x224], ebx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
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.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x43be30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce236
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
mov dword [ebp - 0x220], ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43bf0a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t__
push str.TencentQQProtectAuTemp_
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0044d92a
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x43bf16
push 0x4dcd18
mov ecx, esi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov eax, esi
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.004cb642
mov esp, ebp
pop ebp
ret

Function at 0x43c2a0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c2c5
test al, 7
je 0x43c2c5
and eax, 0xfffffff8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x43e5a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], str......in_n
mov dword [ebp - 0x14], str.F:_svn_codeQPUpd_v137SourceUtilAppUitl.cpp
mov dword [ebp - 0x10], str.GlobalInfo::UpdateQPCoreState
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x40], 0x511
mov dword [ebp - 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x30], edi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 8]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x48]
push str.PerCounter
push edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
add esp, 0x14
lea eax, [ebp - 4]
push eax
push 2
push edi
push str.SYSTEMCurrentControlSet_servicesQPCore_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x43e65b
push eax
push str.RegOpenKeyEx_faild_d_n
push str.PerCounter
push 2
push str.GlobalInfo::UpdateQPCoreState
push 0x51b
push str.F:_svn_codeQPUpd_v137SourceUtilAppUitl.cpp
mov esi, eax
call fcn.00442b40
add esp, 0x1c
jmp 0x43e6a7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push 4
lea edx, [ebp - 8]
push edx
push 4
push edi
push str.PerfCounter
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x43e6a5
push eax
push str.RegSetValueEx_faild_d_n
push str.PerCounter
push 2
push str.GlobalInfo::UpdateQPCoreState
push 0x527
push str.F:_svn_codeQPUpd_v137SourceUtilAppUitl.cpp
mov esi, eax
call fcn.00442b40
add esp, 0x1c
jmp 0x43e6a7
xor esi, esi
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x43e6b5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push str......out_d_n
push str.PerCounter
push 2
push str.GlobalInfo::UpdateQPCoreState
push 0x53c
push str.F:_svn_codeQPUpd_v137SourceUtilAppUitl.cpp
call fcn.00442b40
add esp, 0x1c
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43ec80
Capabilities:
Check for time delay via gettickcount
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce8d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x52925c], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x43ecc9
or dword [0x52925c], 1
call esi
mov dword [0x529258], eax
cmp dword [0x529254], 0
jne 0x43edc4
call esi
mov edx, dword [0x529250]
mov ecx, eax
sub ecx, dword [0x529258]
add edx, 1
cmp edx, 1
mov dword [0x529250], edx
jle 0x43ed03
cmp ecx, 0x1b7740
jge 0x43ed03
xor eax, eax
jmp 0x43edc9
mov dword [0x529258], eax
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43ecfc
push str.qdun_data.qq.com
lea ecx, [ebp - 0x1a8]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push 0xffffffffffffffff
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 4], 0
mov byte [ebp - 0x1ac], 0
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [ebp - 0x1ac]
push eax
push ecx
lea ecx, [ebp - 0x1a4]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_struct_tagUTF8__wchar_t_const___int_
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_char____thiscall_CTXStringA::GetBuffer_void_
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1a4]
mov esi, eax
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::ReleaseBuffer_int_
test esi, esi
je 0x43ed9d
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push edx
push ecx
push 0x529254
call sub.MSVCR80.dll_memcpy
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [0x529254]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x4401b0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi], esi
je 0x44021a
cmp dword [0x529290], esi
mov dword [0x529284], 1
jne 0x44021a
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, esi
je 0x4401e1
mov dword [eax], esi
mov dword [eax + 4], esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push esi
push 0x440130
mov dword [esi], eax
mov eax, dword [edi]
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [0x529290], 1
je 0x44021a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret