joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4444d7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov edi, ecx
mov dword [ebp - 0xc], edi
je 0x44457f
cmp dword [ebp + 0xc], ebx
je 0x44457f
mov esi, 0x200
push 0x402
mov dword [ebp - 4], esi
call sub.MFC71U.DLL_SerializeElements
mov ebx, eax
mov eax, dword [ebp + 0x10]
test eax, eax
pop ecx
jne 0x44451a
mov eax, 0x4feb50
push dword [edi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
inc eax
cmp eax, esi
jb 0x44457b
mov dword [ebp - 8], 0x402
add dword [ebp - 4], esi
add dword [ebp - 8], 0x400
push ebx
call sub.MFC71U.DLL_operator_new
push dword [ebp - 8]
call sub.MFC71U.DLL_SerializeElements
mov ebx, eax
mov eax, dword [ebp + 0x10]
test eax, eax
pop ecx
pop ecx
jne 0x444562
mov eax, 0x4feb50
mov ecx, dword [ebp - 0xc]
push dword [ecx + 4]
push dword [ebp - 4]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
inc eax
cmp eax, dword [ebp - 4]
jae 0x44453a
mov eax, ebx
jmp 0x4445b7
cmp dword [ebp + 0x10], ebx
jne 0x444593
push 2
call sub.MFC71U.DLL_SerializeElements
mov esi, eax
pop ecx
mov word [esi], bx
jmp 0x4445b5
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR71.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call sub.MFC71U.DLL_SerializeElements
push dword [ebp + 0x10]
mov esi, eax
push esi
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44550d
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x4ed1fa
call fcn.004e6580
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
mov esi, dword [esi + 0x20]
and dword [ebp - 0x14], 0
mov eax, dword [esi]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [eax + 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x4455b6
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4455b6
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x10]
mov edi, eax
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push edi
call sub.MSVCR71.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4465ac
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ed3a8
call fcn.004e6580
push ecx
push esi
mov esi, ecx
call sub.MFC71U.DLL_CClientDC::CClientDC
xor eax, eax
mov dword [esi], 0x509d58
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x509a38
mov dword [esi + 0x28], 0x509a4c
mov dword [esi + 0x2c], 0x509a5c
mov dword [esi + 0x30], 0x509a6c
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x90]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x44d3c6
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4edf12
call fcn.004e6580
sub esp, 0x214
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
mov word [ebp - 0x220], dx
mov ecx, 0x82
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push dword [ebp + 0xc]
mov edi, SysReAllocStringLen
push edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x104
call esi
test eax, eax
je 0x44d439
mov ecx, dword [ebp + 8]
push 0x4feb50
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
jmp 0x44d4c2
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_9]
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp + 0xc]
push str._s_shellopencommand
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x10], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push edi
call esi
test eax, eax
mov ecx, dword [ebp + 8]
je 0x44d4ac
push 0x4feb50
jmp 0x44d4b3
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x44d823
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4edf64
call fcn.004e6580
push ecx
mov ecx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push reloc.BugReportU.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x44d8aa
cmp dword [ebp - 0x10], edi
je 0x44d8a7
push esi
mov dword [ebp + 8], edi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp + 8]
call fcn.004d3519
mov esi, dword [ebp + 8]
cmp esi, edi
jne 0x44d87a
xor eax, eax
jmp 0x44d881
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, dword [ebp + 0xc]
push eax
push esi
push 1
push edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
pop esi
jmp 0x44d8aa
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x457016
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, ecx
jl 0x45707b
lea ecx, [esi + 0x70]
call fcn.004dc73f
cmp edi, eax
jge 0x45707b
mov eax, dword [esi + 0x80]
cmp eax, edi
je 0x457076
cmp eax, 0xffffffff
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x457053
mov ecx, dword [esi + 0x74]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
push 0
push dword [eax + 0x1c]
call ebx
mov eax, dword [esi + 0x74]
mov dword [esi + 0x80], edi
lea eax, [eax + edi*4]
mov eax, dword [eax]
push 5
push dword [eax + 0x1c]
call ebx
push 0
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
xor eax, eax
inc eax
jmp 0x45707d
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x457fac
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
lea ecx, [edi + 0x70]
call fcn.004dc73f
mov ecx, dword [ebp + 8]
cmp ecx, eax
jae 0x458059
mov eax, dword [edi + 0x74]
push ebx
mov ebx, ecx
shl ebx, 2
add eax, ebx
push esi
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00456909
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov eax, dword [edi + 0x74]
pop ecx
add eax, ebx
push eax
lea eax, [ebp - 4]
lea ebx, [edi + 0x70]
push eax
mov ecx, ebx
call fcn.004e1730
mov esi, dword [edi + 0x80]
cmp esi, dword [ebp + 8]
jne 0x45802a
mov ecx, ebx
call fcn.004dc73f
test eax, eax
jbe 0x45802a
push 0
mov ecx, edi
call fcn.00457016
jmp 0x45804a
mov ecx, ebx
call fcn.004dc73f
test eax, eax
jne 0x45803e
or dword [edi + 0x80], 0xffffffff
jmp 0x45804a
cmp esi, dword [ebp + 8]
jle 0x45804a
dec esi
mov dword [edi + 0x80], esi
cmp dword [ebp + 0xc], 0
pop esi
pop ebx
je 0x458059
mov ecx, edi
call fcn.00457a51
pop edi
leave
ret 8

Function at 0x45e44e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push ebx
push 0x4510
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0x80
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x45e486
xor bl, bl
jmp 0x45e493
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2b4]
mov dword [eax], ecx
mov bl, 1
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, bl
pop ebx
leave
ret 8

Function at 0x460c85
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret
Function at 0x472c5f
Capabilities:
Create directory

Disassembly:
mov eax, 0x4f1a4c
call fcn.004e6580
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push eax
call dword [ecx + 0x98]
cmp eax, ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x472ca0
mov edi, 0x80004005
jmp 0x472dc4
push 0x4feb50
lea ecx, [ebp - 0x10]
call fcn.00402219
test al, al
je 0x472db7
push dword [ebp - 0x10]
call esi
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004021ce
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 3
call esi
mov ebx, str.I:Complete
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
jne 0x472d02
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x30]
jmp 0x472d76
push 0x5c
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_COleMessageFilter::XMessageFilter::RetryRejectedCall]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
sub eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_RFX_Text_Bulk]
lea eax, [ebp - 0x10]
push eax
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00472c5f
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0047298f
test eax, eax
je 0x472d69
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402e53
push 0x503d24
lea ecx, [ebp - 0x10]
call fcn.00402e53
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push 0
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x10]
mov edi, dword [edi + 8]
push dword [ebp + 8]
mov eax, dword [edi]
push edi
call dword [eax + 0x94]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408994
xor edi, edi
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x472ddc
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
mov eax, 0x4f1a78
call fcn.004e6580
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00472a62
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004729fa
push str.CustomCategoryIconDir_
lea ecx, [ebp - 0x14]
call fcn.00402e53
mov ebx, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472e51
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x472ea4
push edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x472ec8
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp + 8]
call fcn.004021ce
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00408994
push dword [ebp + 8]
call esi
xor edi, edi
inc edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push ebx
call esi
push dword [ebp - 0x1c]
call esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x474ac0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address

Disassembly:
mov eax, 0x4f1d52
call fcn.004e6580
sub esp, 0xc
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea edi, [esi + 0x1c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
push 0xa
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00474791
push str.xunlei.category.all_task
push str.I:All
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.downloading_task
push str.I:Runnable
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.finish_task
push str.I:Complete
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.rubish_task
push str.I:Recycle
lea ecx, [ebp - 0x18]
call fcn.00472845
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.music
push str.I:CompleteMusic
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.movie
push str.I:CompleteMovie
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.software
push str.I:CompleteSoft
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00474a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00467da5
push str.xunlei.category.game
push str.I:CompleteGame
lea ecx, [ebp - 0x18]
call fcn.00472845
push eax
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00474a00
lea ecx, [ebp - 0x18]
call fcn.00467da5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x479d48
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x4f239d
call fcn.004e6580
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
je 0x479d75
xor esi, esi
inc esi
jmp 0x479df1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x479d70
push ebx
push edi
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
mov esi, eax
lea edi, [esi + esi + 4]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x479dcb
push edi
push 0
push ebx
call sub.MSVCR71.dll_memset
add esp, 0xc
inc esi
push esi
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
pop edi
pop ebx
je 0x479d70
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor esi, esi
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4925fa
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4f4cc3
call fcn.004e6580
sub esp, 0x230
push ebx
push esi
push edi
push str.Xunlei.
lea ecx, [ebp - 0x10]
call fcn.004021ce
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00402e53
push 0x514284
lea ecx, [ebp - 0x10]
call fcn.00402e53
push dword [ebp - 0x10]
lea eax, [ebp - 0x23c]
push str.SOFTWAREClasses_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegCreateUSKeyW]
add esp, 0xc
push 8
lea eax, [ebp - 0x1c]
push eax
push edi
push 0xf003f
lea eax, [ebp - 0x23c]
push eax
call ebx
cmp eax, edi
je 0x492675
mov esi, eax
jmp 0x4927e8
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push 8
push dword [ebp + 0xc]
call esi
shl eax, 1
push eax
push dword [ebp + 0xc]
push 1
push edi
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegWriteUSValueW]
call edi
push str.Shell
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push 8
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 0xf003f
push str.Shell
call ebx
push 8
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0xf003f
push 0x514238
call ebx
push 8
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push 0xf003f
push dword [ebp + 0x14]
call ebx
push 8
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x14]
push 0xf003f
push str.command
call ebx
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push 0xf003f
push str.ddeexec
call ebx
push 8
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
push 0xf003f
push str.Application
call ebx
push 8
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push 0xf003f
push str.Topic
call ebx
cmp word [ebp + 0x2c], 0xffff
jne 0x49275a
push 8
push dword [ebp + 0x14]
call esi
shl eax, 1
push eax
push dword [ebp + 0x14]
xor ebx, ebx
push 1
push ebx
push dword [ebp - 0x20]
call edi
jmp 0x49275c
xor ebx, ebx
push 8
push dword [ebp + 0x10]
call esi
shl eax, 1
push eax
push dword [ebp + 0x10]
push 1
push ebx
push dword [ebp - 0x24]
call edi
push 8
push dword [ebp + 0x18]
call esi
shl eax, 1
push eax
push dword [ebp + 0x18]
push 1
push ebx
push dword [ebp - 0x14]
call edi
push 8
push dword [ebp + 0x1c]
call esi
shl eax, 1
push eax
push dword [ebp + 0x1c]
push 1
push ebx
push dword [ebp - 0x2c]
call edi
push 8
push dword [ebp + 0x20]
call esi
shl eax, 1
push eax
push dword [ebp + 0x20]
push 1
push ebx
push dword [ebp - 0x18]
call edi
push 8
mov ebx, str.ThunderShellBase
push ebx
call esi
shl eax, 1
push eax
push ebx
push 1
push 0
push dword [ebp - 0x34]
call edi
push 8
push dword [ebp + 0x24]
call esi
shl eax, 1
push eax
push dword [ebp + 0x24]
push 1
push 0
push dword [ebp - 0x28]
call edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x28