joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492804
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, 0x4f4cc3
call fcn.004e6580
sub esp, 0x414
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_s
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push reloc.BugReportU.dll_Ordinal_1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.Xunlei.
lea ecx, [ebp - 0x10]
call fcn.004021ce
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402e53
push 0x514284
lea ecx, [ebp - 0x10]
call fcn.00402e53
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push str.SOFTWAREClasses_s
push eax
call esi
add esp, 0xc
push 8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x420]
push 1
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4933ae
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4f4ebb
call fcn.004e6580
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
xor esi, esi
xor edi, edi
add ecx, 4
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], ecx
add esi, 0x800
add ebx, 0x1000
test edi, edi
je 0x4933ea
push edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
pop ecx
push ebx
call sub.MFC71U.DLL_SerializeElements
push ebx
mov edi, eax
push 0
push edi
call sub.MSVCR71.dll_memset
mov ecx, dword [ebp - 0x14]
add esp, 0x10
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
push edi
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 2]
cmp eax, ecx
je 0x4933d3
push edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push edi
mov byte [ebp - 4], 3
call sub.MFC71U.DLL_CNoTrackObject::operator_new
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x495e68
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
push edi
jne 0x495e7a
xor edi, edi
jmp 0x495e7d
mov edi, dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
je 0x495fa5
call fcn.004010c5
cmp eax, ebx
jne 0x495e9a
mov dword [esp + 0xc], ebx
jmp 0x495ea1
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc], eax
cmp esi, ebx
jne 0x495ea9
xor eax, eax
jmp 0x495eac
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebp
push ebx
push eax
call edi
mov ebp, eax
push ebx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call edi
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x495ed9
push 1
push eax
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push 0x2000
call edi
push 2
push ebx
push ebx
push 0x2001
call edi
push dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
call ebx
push dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
call ebp
test esi, esi
jne 0x495f18
xor eax, eax
jmp 0x495f1b
mov eax, dword [esi + 0x20]
push eax
call ebp
test esi, esi
jne 0x495f26
xor eax, eax
jmp 0x495f29
mov eax, dword [esi + 0x20]
push eax
call ebx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
je 0x495f43
push 0
push dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 2
lea eax, [esp + 0x20]
push eax
push 0
push 0x2001
call edi
test esi, esi
jne 0x495f5b
xor edi, edi
jmp 0x495f5e
mov edi, dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
je 0x495f88
test esi, esi
jne 0x495f70
xor eax, eax
jmp 0x495f73
mov eax, dword [esi + 0x20]
push eax
call ebp
push dword [esp + 0x10]
call ebx
test esi, esi
je 0x495f83
mov esi, dword [esi + 0x20]
push esi
call ebx
jmp 0x495fa4
test esi, esi
jne 0x495f90
xor eax, eax
jmp 0x495f93
mov eax, dword [esi + 0x20]
push eax
call ebx
test esi, esi
je 0x495f9d
mov esi, dword [esi + 0x20]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop ebp
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
add esp, 0x10
ret
Function at 0x496ad5
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x4f538d
call fcn.004e6580
sub esp, 0xe4
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xf0]
push str.ThunderAgent
push str._s_TaskData__08x
push eax
mov ebx, ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0xf0]
push eax
xor esi, esi
push esi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x496b26
xor eax, eax
jmp 0x496be2
push edi
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
jne 0x496b49
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x496be1
mov dword [ebp - 0x10], esi
mov eax, dword [0x54f8ec]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x4fd660
push eax
mov dword [ebp - 4], esi
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x18]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.0049665d
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
cmp dword [ebp - 0x18], esi
je 0x496bce
cmp dword [ebp - 0x1c], esi
push esi
push dword [ebp + 8]
push 0x1401
push dword [ebx + 4]
jne 0x496bc5
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
jmp 0x496bce
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
inc edi
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x496bdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x496bf2
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov eax, 0x4f539f
call fcn.004e6580
sub esp, 0x2c
push edi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
xor edi, edi
push edi
push str.SOFTWAREThunder_NetworkThunderOem_thunder_backwnd
push reloc.BugReportU.dll_Ordinal_2
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x496d29
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push edi
mov esi, str.ThunderAgent.TaskList2
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jne 0x496d1e
cmp dword [ebp - 0x14], edi
je 0x496d1e
push dword [ebp - 0x14]
call sub.MFC71U.DLL_SerializeElements
pop ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push edi
push esi
push dword [ebp - 0x10]
call ebx
push esi
push dword [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x496ca5
push dword [ebp - 0x18]
call sub.MFC71U.DLL_operator_new
pop ecx
jmp 0x496d27
mov dword [ebp - 0x1c], edi
mov eax, dword [0x54f8ec]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4fd660
push eax
mov dword [ebp - 4], edi
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x18]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.0049665d
push dword [ebp - 0x18]
call sub.MFC71U.DLL_operator_new
pop ecx
push edi
push dword [ebp - 0x24]
push 0x1401
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x496d27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x496d27
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret
Function at 0x496d36
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4f53c1
call fcn.004e6580
sub esp, 0x40
push ebx
push esi
push edi
mov edi, str._AgentFile
push edi
push dword [0x54f590]
mov ebx, ecx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], eax
jne 0x496d78
push 0x5247b8
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], str.Never_Can__Reach_here___
call sub.MSVCR71.dll__CxxThrowException
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
lea edi, [ecx + eax*2 + 2]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x496def
mov dword [ebp - 0x10], esi
push esi
push esi
push 0x80
push 3
push 1
push 1
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00496499
cmp eax, esi
je 0x496dbb
cmp dword [ebp - 0x10], esi
je 0x496def
push dword [ebp - 0x10]
jmp 0x496de9
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov edi, dword [ebp - 0x10]
push 4
push 2
push esi
push esi
push esi
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004964cf
cmp eax, esi
je 0x496df7
lea ecx, [ebp - 0x4c]
call fcn.0049657c
cmp edi, esi
je 0x496def
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x496e78
mov dword [ebp - 0x14], esi
mov eax, dword [0x54f8ec]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4fd660
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x4c]
call fcn.0049665d
push esi
push dword [ebp - 0x18]
push 0x1401
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x496e63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4c]
call fcn.0049657c
cmp edi, esi
je 0x496e76
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x496ed0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
mov esi, ecx
and dword [esi], 0
push 0x208
lea edi, [esi + 4]
push 0
push edi
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x44
pop ecx
xor eax, eax
mov dword [ebp - 0x114], 0x114
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
pop edi
sbb eax, eax
inc eax
mov dword [esi + 0x20c], eax
mov eax, esi
pop esi
leave
ret
Function at 0x496f87
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x4f53dd
call fcn.004e6580
sub esp, 0x22c
push esi
push edi
xor esi, esi
mov word [ebp - 0x238], si
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x236]
rep stosd dword es:[edi], eax
push str.CLSID_
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
stosw word es:[edi], ax
mov dword [ebp - 0x14], 0x208
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCP71.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 + 0xc]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [0x4fcb00]
push str.InprocServer32
lea ecx, [ebp - 0x30]
call dword [0x4fcb0c]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x496ffd
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x497041
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x497041
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCP71.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__]
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.MSVCP71.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]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x49706b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
and word [ebp - 0x210], 0
push edi
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
push 0x515488
push eax
mov dword [ebp - 8], 0x208
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCR71.dll_wcscpy]
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
push reloc.BugReportU.dll_Ordinal_1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
je 0x4970ed
xor eax, eax
jmp 0x497100
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
leave
ret 4
Function at 0x497104
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, 0x54eca0
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
shl eax, 1
push eax
push esi
push 1
push 0x54ec84
push 0x54ec38
push dword [esp + 0x1c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
ret 4

Function at 0x497130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x88
and word [ebp - 0x14], 0
push edi
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x70]
push eax
push str.DownloadUI
push str.SoftwareMicrosoftInternet_Explorer_
push dword [ebp + 0x7c]
mov dword [ebp + 0x6c], 0x80
mov dword [ebp + 0x70], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
je 0x497183
xor al, al
jmp 0x4971af
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push str.802F530B_A8F6_4631_AE49_6BACAAC6373E
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
je 0x4971ac
push str.15BD4A12_BEDA_4A4D_8FB1_04553F1FD1CB
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
je 0x4971ac
xor al, al
jmp 0x4971ae
mov al, 1
pop esi
add ebp, 0x74
leave
ret 4

Function at 0x49727d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4f53f0
call fcn.004e6580
sub esp, 0x228
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and word [ebp - 0x234], 0
and dword [ebp - 4], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x232]
rep stosd dword es:[edi], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.889D2FEB_5411_4565_8998_1DD2C5261283
stosw word es:[edi], ax
call dword [sym.imp.MSVCP71.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 - 0x28]
push eax
call fcn.00496f87
add esp, 0x20
test eax, eax
je 0x497314
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4972e6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49733a
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4972fd
lea eax, [ebp - 0x24]
push str.XunLeiBHO_Now.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x49733a
push str...ComDllsXunLeiBHO.dll
add esi, 4
push esi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x234]
push 1
push eax
call fcn.00496f42
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP71.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]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x49728d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4f53f0
call fcn.004e6580
sub esp, 0x228
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and word [ebp - 0x234], 0
and dword [ebp - 4], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x232]
rep stosd dword es:[edi], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.889D2FEB_5411_4565_8998_1DD2C5261283
stosw word es:[edi], ax
call dword [sym.imp.MSVCP71.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 - 0x28]
push eax
call fcn.00496f87
add esp, 0x20
test eax, eax
je 0x497314
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4972e6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49733a
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4972fd
lea eax, [ebp - 0x24]
push str.XunLeiBHO_Now.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x49733a
push str...ComDllsXunLeiBHO.dll
add esi, 4
push esi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x234]
push 1
push eax
call fcn.00496f42
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP71.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]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4975ad
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x4f541e
call fcn.004e6580
sub esp, 0x23c
push ebx
lea eax, [ebp - 0x10]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMenuExt
push reloc.BugReportU.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4976af
push esi
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x208
xor edi, edi
push ebx
jmp 0x497663
push dword [ebp + 8]
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.MSVCR71.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x497656
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.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 - 0x40]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00417b62
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x248]
inc edi
push eax
push edi
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x49760d
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x497698
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x497681
mov eax, dword [esi]
jmp 0x497683
mov eax, esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esi, 0x1c
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x1c]
jne 0x497677
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00417b30
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4