joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf191
mov eax, dword fs:[0]
push eax
push ecx
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 esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.QPU::UI::IUIEventCallback.0
mov dword [esi + 8], vtable.QPU::UI::ITrayiconEventCallback.0
push esi
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CUpdateController.2.0
mov dword [esi + 4], vtable.CUpdateController.1.0
mov dword [esi + 8], vtable.CUpdateController.0
call fcn.00446a50
mov dword [esi + 0xc], vtable.CTXTimerCallbackPtr_class_CUpdateController_.0
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea edi, [esi + 0x20]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042f0a0
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0043a990
mov eax, dword [esi + 0x10]
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], ebx
mov dword [esi + 0x278], 1
mov ecx, 0x4459f0
mov dword [eax + 0x28], ecx
xor edx, edx
mov dword [eax + 0x2c], edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
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 0x448370
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf512
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
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 ebx, dword [ebp + 8]
xor edi, edi
push 0x4e40a4
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], edi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_char_const__
mov dword [ebp - 4], edi
mov dword [ebp - 0x424], 1
call fcn.004482e0
mov esi, eax
cmp esi, 0xffffffff
je 0x44847d
cmp esi, edi
je 0x44847d
xor eax, eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x410]
push edi
push eax
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea ecx, [ebp - 0x420]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x448476
mov edi, dword [ebp - 0x400]
movsx ecx, byte [ebp + edi - 0x410]
lea edi, [ebp + edi - 0x410]
push ecx
call dword [sym.imp.MSVCR80.dll_isalnum]
add esp, 4
test eax, eax
je 0x448476
push edi
mov ecx, ebx
call fcn.0046cb90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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 0x4489b0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
push edi
je 0x448a73
mov edi, dword [ecx]
cmp edi, 0xffffffff
je 0x448a73
xor eax, eax
push 0x44
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVCR80.dll_memset
or dword [ebp - 0x4c], 0x101
add esp, 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
mov ecx, 8
mov esi, str._ipconfig___all
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x78]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
mov dword [ebp - 0x78], 0x44
mov word [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x448a73
mov ecx, dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x30]
push edx
call edi
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004cb642
mov esp, ebp
pop ebp
ret 8
Function at 0x448ea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x448f02
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 0x4e4364
mov ebx, eax
call sym.QQProtectUpd.exe_struct_HINSTANCE______cdecl_Util::Sys::SafeLoadLibrary_wchar_t_const__
add esp, 4
mov dword [esi + 4], eax
call edi
sub eax, ebx
push eax
push 0x4e4364
push str._s__u
push str.PerfDLL.LoadDll
push 4
push str.CMACReaderEx::LoadDLL
push 0xf9
push str.F:_svn_codeQPUpd_v137SourceCompIDMACReaderEx.cpp
call fcn.00442b40
add esp, 0x20
cmp dword [esi + 4], 0
pop edi
pop ebx
jne 0x448f02
or dword [esi + 0x1c], 1
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret

Function at 0x44b9d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf976
mov eax, dword fs:[0]
push eax
sub esp, 0x414
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]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x418], ecx
lea ecx, [ebp - 0x414]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x44ba3a
cmp eax, 0xffffffff
je 0x44ba3a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x44bb22
mov dword [edi], 0xffffffff
mov edx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push edx
call edi
test eax, eax
je 0x44bab8
lea ecx, [ecx]
mov eax, dword [ebp - 0x41c]
cmp eax, ebx
je 0x44bab8
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x420]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_char_const___int_
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_class_CTXStringA____thiscall_CTXStringA::operator_class_CTXStringA_const__
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
push eax
call edi
test eax, eax
jne 0x44ba60
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
push ecx
mov ecx, esi
call fcn.00449d60
mov ecx, esi
call fcn.0044a4d0
mov ebx, dword [ebp + 0x10]
test bl, 1
jne 0x44bae2
mov ecx, esi
call fcn.0044a920
and ebx, 2
push ebx
mov ecx, esi
call fcn.0044ae70
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, 1
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 0xc
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
xor eax, eax
jmp 0x44bb04
Function at 0x44c600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfa4e
mov eax, dword fs:[0]
push eax
sub esp, 8
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 esi, ecx
test byte [0x52938c], 1
jne 0x44c683
or dword [0x52938c], 1
xor edi, edi
mov ecx, 0x529380
mov dword [ebp - 4], edi
call fcn.004492c0
mov dword [0x529384], eax
mov byte [eax + 0x29], 1
mov eax, dword [0x529384]
mov dword [eax + 4], eax
mov eax, dword [0x529384]
mov dword [eax], eax
mov eax, dword [0x529384]
mov dword [eax + 8], eax
push 0x4db8b0
mov dword [0x529388], edi
call fcn.004cb729
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, dword [0x529384]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x529380
call fcn.004493a0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x44c6aa
cmp eax, 0x529380
je 0x44c6b0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 4], edi
je 0x44c74f
lea edx, [ebp + 8]
push edx
mov ecx, 0x529380
call fcn.0044be70
cmp dword [eax], 0
je 0x44c6ff
lea eax, [ebp + 8]
push eax
mov ecx, 0x529380
call fcn.0044be70
add eax, 8
push eax
lea ecx, [esi + 0xc]
call fcn.00449930
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x529380
call fcn.0044be70
lea edi, [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi]
cmp eax, 0x36ee80
jae 0x44c74f
lea edx, [ebp + 8]
push edx
mov ecx, 0x529380
call fcn.0044be70
add eax, 8
push eax
lea ecx, [esi + 0xc]
call fcn.00449930
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 4
xor edi, edi
cmp dword [esi + 8], edi
jne 0x44c76a
mov ecx, esi
call fcn.00449130
test eax, eax
jne 0x44c76a
or dword [esi + 0x1c], 0x4000
jmp 0x44c7be
mov ecx, esi
call fcn.0044b250
test eax, eax
jne 0x44c782
xor edi, edi
cmp dword [esi + 8], edi
je 0x44c7b9
mov eax, dword [esi + 8]
push eax
jmp 0x44c7ae
mov ecx, esi
call fcn.0044a4d0
mov ebx, dword [ebp + 8]
test bl, 1
jne 0x44c798
mov ecx, esi
call fcn.0044a920
and ebx, 2
push ebx
mov ecx, esi
call fcn.0044ae70
xor edi, edi
cmp dword [esi + 8], edi
je 0x44c7b9
mov ecx, dword [esi + 8]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 8], edi
mov edi, 1
lea edx, [ebp + 8]
push edx
mov ecx, 0x529380
call fcn.0044be70
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x529380
call fcn.0044be70
add esi, 0xc
push esi
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x529380
mov dword [eax + 4], ebx
call fcn.0044be70
mov ecx, eax
add ecx, 8
call fcn.00449930
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44cc60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov edi, ecx
je 0x44cd6e
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x44ccf2
cmp eax, 1
je 0x44ccf2
mov dword [ebp + 8], str.31_FAILED
mov dword [ebp - 0xc], str.F:_svn_codeQPUpd_v137QPUpdateLSPNetWorkLogic.cpp
mov dword [ebp - 8], str.CLSPNetWorkLogic::OnDownloadComplete
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], 0x2f
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x28], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp + 8]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x40]
push str.QPUPDATE
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
mov dword [edi + 0x20], 2
jmp 0x44cd61
mov dword [ebp + 8], str.31_SUCC
mov dword [ebp - 0xc], str.F:_svn_codeQPUpd_v137QPUpdateLSPNetWorkLogic.cpp
mov dword [ebp - 8], str.CLSPNetWorkLogic::OnDownloadComplete
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], 0x2a
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x28], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp + 8]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x40]
push str.QPUPDATE
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
mov dword [edi + 0x20], 1
mov eax, dword [edi + 0x20]
add esp, 0x14
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4521a9
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
cmp dword [eax + 8], 0xffffffff
mov dword [ebp - 0x418], eax
jne 0x452387
push ebx
push esi
push edi
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
push esi
lea eax, [ebp - 0x412]
push ebx
push eax
mov word [ebp - 0x414], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edi, [ebp + eax*2 - 0x414]
jmp 0x452244
lea eax, [edi - 2]
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x45224e
cmp cx, 0x2f
je 0x45224e
mov edi, eax
lea eax, [ebp - 0x414]
cmp edi, eax
ja 0x452230
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x414]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
lea eax, [ebp - 0x414]
push 0x2e
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 0x18
cmp eax, ebx
je 0x452281
mov word [eax], bx
cmp word [ebp - 0x414], bx
lea eax, [ebp - 0x414]
jne 0x45229e
push str.perf.tlg
push esi
push eax
call sym.QQProtectUpd.exe_wcslcpy
jmp 0x4522aa
push str..perf.tlg
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x20c]
push eax
mov word [ebp - 0x20c], bx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], bx
je 0x452303
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp word [ebp + eax*2 - 0x20e], 0x5c
pop ecx
je 0x452303
push 0x4fed54
lea eax, [ebp - 0x20c]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
add esp, 0xc
push str.Tencent_
lea eax, [ebp - 0x20c]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
push str.Logs_
lea eax, [ebp - 0x20c]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
add esp, 0xc
push ebx
push 0x80
push 2
push ebx
push 3
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x418]
pop edi
pop esi
mov dword [ecx + 8], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
leave
ret
Function at 0x452393
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.MSVCR80.dll_wcslen]
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call esi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
call esi
mov edi, dword [ebp + 8]
push dword [edi + 0x38]
mov ebx, eax
mov dword [ebp - 8], ebx
call esi
mov ecx, dword [edi + 0x18]
mov dword [ebp + 8], eax
add eax, ebx
add eax, dword [ebp - 4]
lea ebx, [ecx + eax*2 + 9]
and ebx, 0xfffffffc
lea eax, [ebx + 0xa8]
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45256b
push 0x30
push edi
push esi
call sub.MSVCR80.dll_memcpy
add ebx, 0xa8
movzx eax, bx
mov ebx, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 0xa8]
mov ecx, eax
sub ecx, esi
mov word [esi + 0x38], cx
add ebx, ebx
lea ecx, [ebx + 2]
push ecx
push dword [edi + 0x38]
push eax
call sub.MSVCR80.dll_memcpy
lea ebx, [esi + ebx + 0xaa]
mov eax, ebx
sub eax, esi
mov word [esi + 0x3a], ax
mov eax, dword [ebp - 4]
add eax, eax
push eax
push dword [ebp + 0xc]
push ebx
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add eax, eax
and ecx, 0x3f
mov cx, word [ecx*2 + 0x5285c8]
xor edx, edx
add eax, ebx
add esp, 0x24
cmp dword [ebp - 4], edx
mov word [eax], cx
mov dword [ebp + 0xc], edx
jbe 0x45247f
lea ecx, [ebx + edx*2]
and edx, 0x3f
mov dx, word [edx*2 + 0x5285c8]
xor word [ecx], dx
mov edx, dword [ebp + 0xc]
inc edx
cmp edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
jb 0x452462
lea ebx, [eax + 2]
mov eax, ebx
sub eax, esi
mov word [esi + 0x3c], ax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push dword [ebp + 0x10]
push ebx
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add eax, eax
and ecx, 0x3f
mov cx, word [ecx*2 + 0x5285c8]
xor edx, edx
add eax, ebx
add esp, 0xc
cmp dword [ebp - 8], edx
mov word [eax], cx
mov dword [ebp + 0xc], edx
jbe 0x4524db
lea ecx, [ebx + edx*2]
and edx, 0x3f
mov dx, word [edx*2 + 0x5285c8]
xor word [ecx], dx
mov edx, dword [ebp + 0xc]
inc edx
cmp edx, dword [ebp - 8]
mov dword [ebp + 0xc], edx
jb 0x4524be
add eax, 2
mov ecx, eax
sub ecx, esi
mov word [esi + 0x3e], cx
push dword [edi + 0x18]
push dword [edi + 0x30]
push eax
call sub.MSVCR80.dll_memcpy
and word [esi + 0x40], 0
mov ebx, dword [sym.imp.MSVCR80.dll_wcsrchr]
push 0x5c
push dword [edi + 0x34]
call ebx
push 0x2f
push dword [edi + 0x34]
mov dword [ebp + 0xc], eax
call ebx
add esp, 0x1c
cmp dword [ebp + 0xc], eax
ja 0x452519
mov dword [ebp + 0xc], eax
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x452528
mov eax, dword [edi + 0x34]
mov dword [ebp + 0xc], eax
jmp 0x45252c
add dword [ebp + 0xc], 2
push 0x20
push dword [ebp + 0xc]
lea eax, [esi + 0x68]
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
push ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov word [esi + 0xa6], bx
mov dword [esi + 0x30], 0x3e8
mov dword [ebp - 0xc], ebx
push dword [esi]
push esi
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45383d
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov eax, ecx
lea edi, [eax + 0x24]
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x668], eax
je 0x45392f
cmp dword [ebp - 0x648], 0
jne 0x45388c
cmp dword [ebp - 0x644], 0x500000
jbe 0x453923
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x414]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcpy
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcpy
push 0x4e4f5c
lea eax, [ebp - 0x414]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
push 0x4e4f54
lea eax, [ebp - 0x20c]
push esi
push eax
call sym.QQProtectUpd.exe_wcslcat
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x30
xor esi, esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x4538fe
cmp esi, 2
jge 0x4538f8
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x4538de
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
push edi
call esi
push edi
call ebx
pop esi
pop ebx
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004cb642
leave
ret
Function at 0x4539f2
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5294b4], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_strncpy]
push esi
push edi
mov dword [ebp - 0x314], eax
mov edi, 0x104
mov esi, 0x5293b0
jne 0x453aa9
or dword [0x5294b4], 0xffffffff
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x318], eax
je 0x453aa9
push esi
call sub.MSVCR80.dll_strlen
push dword [ebp - 0x318]
mov dword [ebp - 0x310], 0x103
sub dword [ebp - 0x310], eax
call sub.MSVCR80.dll_strlen
add eax, dword [ebp - 0x310]
push eax
push str.DataProcessFilltersconfig.ini
push dword [ebp - 0x318]
call ebx
add esp, 0x14
push esi
mov byte [0x5294b3], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x453aa9
test al, 0x10
jne 0x453aa9
mov dword [0x5294b4], 1
cmp dword [0x5294b4], 1
jne 0x453bda
push esi
push edi
lea eax, [ebp - 0x108]
push eax
push 0x4feccb
push 0x4e4f6c
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x100
lea eax, [ebp - 0x30c]
push eax
push 0x4feccb
push str.proc
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x108], 0
je 0x453bda
cmp byte [ebp - 0x30c], 0
je 0x453bda
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x453bca
lea eax, [ebp - 0x108]
push 0x2f
push eax
call dword [sym.imp.MSVCR80.dll_strchr]
test eax, eax
pop ecx
pop ecx
jne 0x453bb9
lea eax, [ebp - 0x108]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_strchr]
test eax, eax
pop ecx
pop ecx
jne 0x453bb9
push edi
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCR80.dll_memset
push 0x103
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
mov esi, dword [sym.imp.MSVCR80.dll_strrchr]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call esi
lea ecx, [ebp - 0x20c]
sub eax, ecx
add esp, 0x20
cmp eax, edi
jge 0x453bb1
mov ecx, 0x102
sub ecx, eax
push ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call esi
pop ecx
pop ecx
inc eax
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x20c]
jmp 0x453bbf
lea eax, [ebp - 0x108]
push eax
call sym.QQProtectUpd.exe_struct_HINSTANCE______cdecl_Util::Sys::SafeLoadLibrary_char_const__
test eax, eax
pop ecx
je 0x453bda
lea ecx, [ebp - 0x30c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x453bdc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb642
leave
ret