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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a87b
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x814], ebx
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
push 0x7fe
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp - 0x810], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x810]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x419285
push 0x17
push 0x4373f0
push str.Assert_failed___File:_s__line:_d__operation:SHGetSpecialFolderPath_NULL__szCachePath__CSIDL_APPDATA__TRUE_
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
push 0x42d8a0
mov ecx, edi
call fcn.00401e80
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41934e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41934e
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419290
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x814]
call fcn.00401580
push 1
lea edx, [ebp - 0x818]
push edx
lea ecx, [ebp - 0x814]
call fcn.00413a70
mov eax, dword [eax]
cmp word [eax], 0x5c
mov eax, dword [ebp - 0x818]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4192f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x419305
push 0x42d8dc
lea ecx, [ebp - 0x814]
call fcn.00402630
push 0x21
push str.TencentQQMusicErrorMusicURL.xml
lea ecx, [ebp - 0x814]
call fcn.00401730
mov esi, dword [ebp - 0x814]
add esi, 0xfffffff0
push esi
call fcn.00401330
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41934e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
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.0042798a
mov esp, ebp
pop ebp
ret 4
Function at 0x41c040
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
mov esi, ecx
je 0x41c07e
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41c085
test eax, eax
jbe 0x41c085
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [esi + 0x64]
push ecx
push eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x41c07e
mov ecx, esi
call fcn.0041be60
test eax, eax
jne 0x41c0a4
xor eax, eax
pop esi
pop ebp
ret 8
push 0xe2
push str..NetworkHttp_Post.cpp
push str.Assert_failed___File:_s__line:_d__operation:pBuf__dwBufLen___0
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
mov eax, 2
pop esi
pop ebp
ret 8
Function at 0x425110
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42badb
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
mov esi, dword [ebp + 0xc]
je 0x425213
test esi, esi
je 0x425213
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425162
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
lea ecx, [ebp - 0x64]
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__::constructor_wchar_t_const__]
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 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__::constructor_wchar_t_const__]
push str._e__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
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__::constructor_wchar_t_const__]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [0x42d2a4]
push 0x43c378
lea ecx, [ebp - 0x2c]
call dword [0x42d2e0]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x2c]
call dword [0x42d2a4]
push 0x42f61c
lea ecx, [ebp - 0x2c]
call dword [0x42d2e0]
push 0
push 0
lea ecx, [ebp - 0x2c]
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
push str.regedit.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
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, [ebp - 0x48]
mov byte [ebp - 4], 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, [ebp - 0x64]
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 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.0042798a
mov esp, ebp
pop ebp
ret
Function at 0x425230
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb12
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4252ea
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4252ea
push esi
lea ecx, [ebp - 0x48]
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__::constructor_wchar_t_const__]
push str._s__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 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__::constructor_wchar_t_const__]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [0x42d2a4]
push 0x42f61c
lea ecx, [ebp - 0x2c]
call dword [0x42d2e0]
push 0
push 0
lea ecx, [ebp - 0x2c]
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
push str.regedit.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 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, [ebp - 0x48]
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 ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
Function at 0x425340
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp eax, 1
jne 0x42535a
mov dword [0x44c6f0], 0
jmp 0x42536b
cmp eax, 0x100000
jne 0x42536b
mov dword [0x44c6f4], 0
push ebx
mov ebx, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
push edi
lea eax, [ebp - 4]
push eax
push 0
push 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x800
call ebx
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x4254aa
cmp eax, 0x800
jae 0x4253ae
mov eax, 0x800
mov dword [ebp - 4], eax
push esi
push eax
call fcn.0042790a
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0x10
lea edx, [ebp - 4]
push edx
push esi
push 0
call ebx
mov edi, eax
test edi, edi
je 0x42549c
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
nop
mov eax, dword [0x44c6f0]
test eax, eax
mov eax, dword [ebp + 8]
je 0x4253f5
cmp eax, 1
je 0x425495
mov ecx, dword [0x44c6f4]
test ecx, ecx
je 0x42545e
cmp eax, 0x100000
je 0x425495
test dword [esi + 0xc], 0x300000
jne 0x42541d
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jae 0x42542c
mov eax, ecx
mov dword [ebp - 4], eax
push eax
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x4253e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42549c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jae 0x42546c
mov dword [ebp - 4], ecx
jmp 0x425483
cmp eax, 0x100000
jne 0x42540a
test dword [esi + 0xc], eax
jne 0x425413
jmp 0x42541d
push esi
mov dword [ebp - 8], eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042790a
add esp, 8
mov esi, eax
lea edx, [ebp - 4]
push edx
push esi
push edi
call ebx
test eax, eax
jne 0x4253e0
jmp 0x42549c
mov dword [ebp - 0xc], 0
test esi, esi
je 0x4254a9
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
test edi, edi
je 0x4254b5
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425550
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.ClinicResetIE_EFC016D8_0D62_4b40_A852_73E8035F97BB
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x4255a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4255a2
push str.inetcpl.cpl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4255a2
push str.ResetIEtoDefaults
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42559b
push eax
call fcn.004254e0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x4255b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1fe
lea eax, [ebp - 0x202]
push 0
push eax
mov word [ebp - 0x204], 0
call sub.MSVCR80.dll_memset
push esi
push edi
push str._s__s
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call dword [sym.imp.MSVCR80.dll_swprintf_s]
add esp, 0x20
push 0
push 0
lea edx, [ebp - 0x204]
push edx
push str.REGSVR32.EXE
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042798a
mov esp, ebp
pop ebp
ret

Function at 0x425880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x425997
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [ebp - 0x14]
push edx
push esi
push str.AutoConfigURL
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x42598c
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x42590a
cmp eax, 2
jne 0x42598c
mov esi, dword [ebp - 0x10]
shr esi, 1
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x14], esi
neg ecx
or ecx, eax
push ecx
call fcn.0042790a
mov edi, eax
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
push str.AutoConfigURL
lea ecx, [ebp - 0x18]
call fcn.00418f50
test eax, eax
jne 0x42595d
mov ecx, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
test edi, edi
je 0x42596a
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebx, ebx
je 0x425975
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
cmp ebx, esi
je 0x425997
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x425e70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x44c07c]
cmp eax, 0xffffffff
jne 0x42608e
push esi
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [0x44c07c], 0xfffffc18
mov dword [ebp - 0x118], 0x114
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x426088
cmp dword [ebp - 0x108], 2
jne 0x426088
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x425fd2
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x425f10
mov eax, 1
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x425fb0
mov esi, dword [sym.imp.MSVCR80.dll__wcsnicmp]
push 0x7f
lea edx, [ebp - 0x104]
push edx
push str.Service_Pack_1
call esi
add esp, 0xc
test eax, eax
jne 0x425f4f
mov eax, 3
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call esi
add esp, 0xc
test eax, eax
jne 0x425f7f
mov eax, 4
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
push 0x7f
lea ecx, [ebp - 0x104]
push ecx
push str.Service_Pack_3
call esi
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x426088
mov eax, 6
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x42606d
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x42604c
mov esi, dword [sym.imp.MSVCR80.dll__wcsnicmp]
push 0x7f
lea edx, [ebp - 0x104]
push edx
push str.Service_Pack_1
call esi
add esp, 0xc
test eax, eax
jne 0x42601b
mov eax, 8
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call esi
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp eax, 1
setne cl
pop esi
add ecx, 0xa
mov eax, ecx
mov dword [0x44c07c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
jbe 0x426088
mov eax, 0x3e8
mov dword [0x44c07c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44c07c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
Function at 0x426250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42be38
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.004279a0
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1018]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4262af
xor al, al
jmp 0x4263db
push 0x7fe
lea ecx, [ebp - 0x100e]
push esi
push ecx
mov word [ebp - 0x1010], si
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 0x1018]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [ebp - 0x1014]
push edx
lea eax, [ebp - 0x1010]
push eax
push esi
push esi
push str.version
push ecx
mov dword [ebp - 0x1014], 0x800
call ebx
test eax, eax
jne 0x4262a8
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1034]
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__::constructor_wchar_t_const__]
mov dword [ebp - 4], esi
push edi
lea esi, [ebp - 0x1034]
call fcn.004260a0
add esp, 4
mov ecx, esi
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_]
push 0x7fe
lea eax, [ebp - 0x80e]
push 0
push eax
mov word [ebp - 0x810], 0
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x1018]
add esp, 0xc
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x810]
push edx
push 0
push 0
push str.svcVersion
push eax
mov dword [ebp - 0x1014], 0x800
call ebx
test eax, eax
jne 0x4263b6
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x1050]
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__::constructor_wchar_t_const__]
push edi
lea esi, [ebp - 0x1050]
mov dword [ebp - 4], 1
call fcn.004260a0
add esp, 4
mov ecx, esi
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_]
cmp dword [edi], 9
jne 0x4263d9
mov eax, dword [edi + 4]
cmp eax, 0xa
je 0x4263cc
cmp dword [edi + 8], 0x203a
jl 0x4263d2
mov dword [edi], 0xa
cmp eax, 0xb
jne 0x4263d9
mov dword [edi], eax
mov al, 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.0042798a
mov esp, ebp
pop ebp
ret
Function at 0x426ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bfb5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
lea edi, [esi + 4]
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], eax
mov dword [esi + 0x28], vtable.IFixTaskCallback.0
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.TaskManager.2.0
mov dword [edi], vtable.TaskManager.1.0
mov dword [esi + 0x28], vtable.TaskManager.0
call fcn.00401500
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00401500
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [esi + 0x44], ebx
call dword [sym.imp.QQMusicCommon.dll_public:_void___thiscall_CQMPCritSec::constructor_void_]
mov byte [ebp - 4], 4
mov dword [esi + 0x60], ebx
call fcn.0040a160
mov ecx, eax
call fcn.00424e60
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0xfffffffffffffffd
mov ecx, edi
mov dword [eax], ebx
call fcn.00426d60
mov ecx, esi
call fcn.00426de0
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x426ba0
push ebx
push ebx
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4270e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x4275a9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004274e8
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4275f8
cmp dword [ebp - 0x1c], 5
jb 0x427610
jmp 0x42760c
cmp dword [ebp - 0x10], 1
jne 0x427610
cmp dword [ebp - 0x1c], 4
ja 0x42760c
jne 0x427610
cmp dword [ebp - 0x18], 0
jbe 0x427610
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43c9e8
call fcn.00404900
test eax, eax
jge 0x427631
mov byte [0x44c2d8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042798a
add ebp, 0x78
leave
ret
Function at 0x427905
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44cd0c], 0
push esi
jne 0x427878
call fcn.004277a3
test eax, eax
je 0x4278bb
mov eax, dword [0x44cd0c]
cmp eax, 1
jne 0x427899
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4278bb
pop esi
ret
push eax
call dword [0x44cd14]
test eax, eax
jne 0x427903
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4278bf
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x44cd0c]
call dword [0x44cd14]
mov edi, eax
test edi, edi
je 0x4278e6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x427902
lea edi, [esi + 0xff0]
push esi
push dword [0x44cd0c]
call dword [0x44cd10]
add esi, 0x10
cmp esi, edi
jb 0x4278ec
mov eax, esi
pop edi
pop esi
ret
jmp 0x427865

Function at 0x42798a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c264]
jne 0x427994
repz ret
jmp fcn.004280e5

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x28df6beb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data_1
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x15960a9a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219