joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bd70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4db408
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x528f34]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp dword [esi + 0xc], 0
jne 0x41be47
cmp dword [esi + 0x60], 0
mov dword [esi + 0xb4], 0x5dc
jne 0x41bdfd
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x64], eax
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x68], eax
call edi
mov dword [esi + 0x6c], eax
lea eax, [esi + 0x70]
push eax
push 0
push esi
push 0x41d940
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x60], eax
lea eax, [esi + 0x88]
lea edi, [eax + 4]
push edi
mov dword [esp + 0x10], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
push ecx
lea eax, [esi + 0x74]
mov dword [esp + 0x18], 1
call fcn.0041dd00
mov edx, dword [esi + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41bf00
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4db408
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x528f34]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea edi, [esi + 0x88]
mov dword [esp + 0x10], edi
add edi, 4
push edi
mov dword [esp + 0x10], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], 0
lea eax, [esi + 0x74]
mov dword [esp + 0x18], 2
call fcn.0041dd00
mov ecx, dword [esi + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push ecx
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi + 0x64]
push edx
call ebx
mov eax, dword [esi + 0x6c]
push eax
call ebx
cmp dword [esi + 0x60], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41bfc9
mov ecx, dword [esi + 0x68]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41bfbc
mov edx, dword [esi + 0x60]
push 0x3ff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.Uninit::TerminateThread
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 0x60]
push eax
call edi
mov dword [esi + 0x60], 0
mov ecx, dword [esi + 0x6c]
push ecx
call edi
mov edx, dword [esi + 0x64]
push edx
call edi
mov eax, dword [esi + 0x68]
push eax
call edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f2c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4db23b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x528f34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CDownloadDispatcher.0
push esi
mov dword [esp + 0x18], 7
call fcn.004201c0
mov eax, esi
call fcn.0041f5a0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi + 0x1254]
mov byte [esp + 0x14], 6
call fcn.00422e20
lea eax, [esi + 0x123c]
push eax
mov dword [esi + 0x1238], 0x4fedbc
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x121c]
mov dword [esi + 0x1238], 0x4fedb4
mov byte [esp + 0x14], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x1200]
mov byte [esp + 0x14], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esi + 0x11f4]
mov byte [esp + 0x14], 2
call fcn.0041e960
lea eax, [esi + 0x11e8]
mov byte [esp + 0x14], 1
call fcn.004228b0
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x420bd0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4db178
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528f34]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x70], 0
je 0x420c06
xor eax, eax
jmp 0x420d94
mov eax, edi
call fcn.0041f5a0
cmp byte [esp + 0x74], 0
jne 0x420c31
mov eax, dword [edi + 0x84]
cmp eax, 1
ja 0x420c31
add eax, 1
mov ecx, edi
mov dword [edi + 0x84], eax
call fcn.0041f3b0
jmp 0x420c3c
call fcn.00421640
mov dword [edi + 0x70], eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x88]
push eax
mov eax, edi
call fcn.00420840
mov ecx, dword [edi + 0x8c]
push ecx
mov eax, edi
call fcn.00420910
cmp dword [edi + 0x98], 0
je 0x420c6f
lea edx, [edi + 0x9c]
push edx
mov eax, edi
call fcn.00420ac0
cmp dword [edi + 0x90], 0
je 0x420c85
mov ebx, dword [edi + 0x94]
mov eax, edi
call fcn.004209e0
push 0x4feea8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi + 0x11e8]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00421a70
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov edx, dword [edi + 0x11f8]
mov eax, dword [edx + 4]
lea esi, [edi + 0x11f4]
push eax
mov ecx, esi
call fcn.0041ed30
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
test ebx, ebx
mov ebp, dword [esp + 0x20]
je 0x420cf4
lea edx, [esp + 0x1c]
cmp ebx, edx
je 0x420cfa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebp
je 0x420d73
test ebx, ebx
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x420d0a
call ebp
cmp esi, dword [ebx + 4]
jne 0x420d18
call ebp
cmp esi, dword [ebx + 4]
jne 0x420d18
call ebp
mov eax, dword [esi + 0xc]
push eax
push 0
lea ecx, [esi + 0x10]
push ecx
push edi
call fcn.0041f670
test eax, eax
jne 0x420d5d
push 0x38
push eax
lea edx, [esp + 0x30]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x28], 0xffffffff
cmp esi, dword [ebx + 4]
jne 0x420d4b
call ebp
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + 0x7c]
lea eax, [esp + 0x28]
push eax
push 0x59
call fcn.0041d150
lea esi, [esp + 0x14]
call fcn.00423a10
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x420ce4
push str.ReloadDownloadtask_end
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 0x1c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004228b0
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
Function at 0x4214e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2f0
mov eax, dword [0x528f34]
xor eax, esp
mov dword [esp + 0x2ec], eax
mov eax, dword [esp + 0x2fc]
push ebx
mov ebx, dword [esp + 0x304]
push ebp
mov ebp, dword [esp + 0x30c]
push esi
mov esi, dword [esp + 0x304]
push edi
mov edi, dword [esp + 0x304]
push 0x64
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x30], eax
call sub.MSVCR80.dll_memset
mov edx, ebx
shr edx, 8
movzx eax, dl
movzx ecx, bl
shl ecx, 8
or eax, ecx
shl eax, 8
mov edx, ebx
shr edx, 0x10
movzx ecx, dl
or eax, ecx
shl eax, 8
shr ebx, 0x18
or eax, ebx
push eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, eax
shr edx, 0x10
mov ch, dl
mov edx, eax
shr edx, 0x18
mov cl, dl
push ecx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx edx, cl
shl eax, 8
or edx, eax
push edx
mov ecx, esi
movzx edx, si
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
shr ecx, 0x10
push ecx
push edx
push edi
push str._X__X__X__X__X_X
lea eax, [esp + 0x54]
push 0x63
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
push str.CLSID_sLocalServer32
lea edx, [esp + 0x12c]
push 0x103
push edx
call esi
add esp, 0x40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xf8]
push ecx
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x421609
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42160d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42161d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cb642
add esp, 0x2f0
ret 0x14
Function at 0x424f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
sub esp, 8
push ebx
push edi
mov edi, dword [0x56d2f8]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x424fba
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x424fda
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 4]
push 0x10
mov dword [ebp - 8], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x42503c
mov edx, dword [ebp - 8]
lea ecx, [ebp + 8]
push ecx
push edx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x42503e
xor esi, esi
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425e70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc4fc
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x58
lea eax, [ebp - 0x68]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x6c], edi
call sub.MSVCR80.dll_memset
call fcn.004290a0
lea ecx, [ebp - 0x88]
neg eax
push ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 0x190
call fcn.00429010
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea edx, [ebp - 0x50]
push 0x20
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea eax, [ebp - 0x6c]
push eax
call edi
lea ecx, [ebp - 0x6c]
push ecx
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x5c], 0x2bc
call edi
lea edx, [esi + 0x38]
push edx
push 0x4dcacc
push 0xca
mov dword [esi + 0x30], eax
call fcn.00424f90
lea eax, [esi + 0x3c]
push eax
push 0x4dcacc
push 0xd2
call fcn.00424f90
lea ecx, [esi + 0x4c]
push ecx
push 0x4dcacc
push 0xcc
call fcn.00424f90
lea edx, [esi + 0x40]
push edx
push 0x4dcacc
push 0xcf
call fcn.00424f90
lea eax, [esi + 0x44]
push eax
push 0x4dcacc
push 0xce
call fcn.00424f90
lea ecx, [esi + 0x48]
push ecx
push 0x4dcacc
push 0xcd
call fcn.00424f90
add esp, 0x48
lea edx, [esi + 0x50]
push edx
push 0x4dcacc
push 0xd8
call fcn.00424f90
lea eax, [esi + 0x54]
push eax
push 0x4dcacc
push 0xd7
call fcn.00424f90
lea ecx, [esi + 0x58]
push ecx
push 0x4dcacc
push 0xd5
call fcn.00424f90
lea edx, [esi + 0x5c]
push edx
push 0x4dcacc
push 0xd9
call fcn.00424f90
lea eax, [esi + 0x60]
push eax
push 0x4dcacc
push 0xe3
call fcn.00424f90
lea ecx, [esi + 0x64]
push ecx
push 0x4dcacc
push 0xe4
call fcn.00424f90
add esp, 0x48
add esi, 0x68
push esi
push 0x4dcacc
push 0xe5
call fcn.00424f90
add esp, 0xc
mov eax, 1
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.004cb642
mov esp, ebp
pop ebp
ret
Function at 0x4275b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x33c]
shr eax, 0x10
cmp esi, dword [ecx + 0x340]
push edi
lea edi, [ecx + 0x338]
movsx edx, ax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov byte [ebp - 1], 0
jbe 0x4275e5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x4275f4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, edi
je 0x4275fe
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x42766e
cmp esi, dword [edi + 8]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x42760f
call ebx
cmp byte [esi + 8], 0
je 0x42765f
cmp esi, dword [edi + 8]
jb 0x42761c
call ebx
mov eax, dword [ebp - 0xc]
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42765f
cmp esi, dword [edi + 8]
jb 0x42763a
call ebx
push 1
push 0
push 0
lea ecx, [esi + 4]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov edx, dword [ebp - 8]
push eax
mov eax, dword [edx + 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 1], 1
cmp esi, dword [edi + 8]
jb 0x427666
call ebx
add esi, 0x1c
jmp 0x4275e6
cmp byte [ebp - 1], 0
pop ebx
jne 0x4276a5
push 0
push 0
push 1
push 0x25
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 4]
push edx
push 2
push 0xa1
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x427fb0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc7d7
mov eax, dword fs:[0]
push eax
push ecx
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
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x24], vtable.WTL::CIdleHandler.0
mov dword [esi], vtable.QPU::UI::CErrorDlg.2.0
mov dword [esi + 0x20], vtable.QPU::UI::CErrorDlg.1.0
mov dword [esi + 0x24], vtable.QPU::UI::CErrorDlg.0
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
call fcn.00429e90
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 3
call fcn.00429e90
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 4
call fcn.00429e90
lea ecx, [esi + 0x1cc]
mov byte [ebp - 4], 5
call fcn.00429e90
lea ecx, [esi + 0x240]
mov byte [ebp - 4], 6
call fcn.00429e90
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 7
call fcn.00429e90
lea ecx, [esi + 0x32c]
mov byte [ebp - 4], 8
mov dword [esi + 0x328], edi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [esi + 0x330]
mov byte [ebp - 4], 9
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [esi + 0x334]
mov byte [ebp - 4], 0xa
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
mov dword [esi + 0x33c], edi
mov dword [esi + 0x340], edi
mov dword [esi + 0x344], edi
push esi
lea ecx, [esi + 0x350]
mov byte [ebp - 4], 0xc
mov dword [esi + 0x348], edi
call fcn.004274c0
mov dword [esi + method.ATL::CComObjectNoLock_class_CTXTimerCallback_class_QPU::UI::CErrorDlg__.virtual_16], vtable.CTXTimerCallbackPtr_class_QPU::UI::CErrorDlg_.0
mov eax, dword [esi + 0x350]
mov ecx, 0x425d30
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a4e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x42a4f9
mov eax, dword [eax + 4]
push 0
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42a508
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42a517
mov edx, dword [eax + 4]
push 0
push edx
call edi
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.0042af90
test eax, eax
je 0x42a53b
mov esi, dword [esi + 4]
cmp esi, 4
je 0x42a53b
cmp esi, 3
je 0x42a53b
push 0
mov ecx, edi
call fcn.0042b9a0
pop edi
pop esi
ret

Function at 0x42a7c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc9eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x528f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x42a83a
push 0x354
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x42a810
mov ecx, eax
call fcn.00427fb0
jmp 0x42a812
xor eax, eax
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
je 0x42a83a
push 0
push 0
mov ecx, eax
call fcn.0042a700
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42b180
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push str.Shell_TrayWnd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x42b1e8
push esi
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [ebp - 4]
push ecx
push 0x42afa0
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x42b1e3
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b1e0
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x42b0e0
push eax
mov dword [ebp - 8], 0
call esi
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42b1e3
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x42b1f0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push str.Shell_TrayWnd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x42b258
push esi
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [ebp - 4]
push ecx
push 0x42afa0
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x42b253
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b250
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x42b040
push eax
mov dword [ebp - 8], 0
call esi
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42b253
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42b2f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x528f34]
xor eax, esp
mov dword [esp + 0x114], eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42b35a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x42b343
cmp eax, 4
jne 0x42b35a
cmp dword [esp + 8], 0x5a
jb 0x42b35a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004cb642
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.004cb642
add esp, 0x118
ret
Function at 0x42d130
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x42d146
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp eax, edi
je 0x42d158
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
push edi
push 0x80
push 3
push edi
push 1
push accept
push esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42d1fa
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x42d1f3
cmp esi, 0x100000
ja 0x42d1f3
cmp esi, 0xffffffff
je 0x42d1f3
mov eax, dword [ebx]
test eax, eax
je 0x42d1a6
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
push esi
mov ecx, ebx
call fcn.0042cf20
mov ecx, ebx
call fcn.0042cf60
push esi
mov ebx, eax
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
lea eax, [ebp + 8]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d1f3
cmp dword [ebp + 8], esi
jne 0x42d1f3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov dword [ebp + 0xc], 1
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret 8