joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b060
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429170
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
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4308d8
call fcn.00401e80
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.0040a5d0
mov eax, dword [esi + 0x34]
test eax, eax
lea edi, [esi + 0x30]
je 0x40b0b9
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
jne 0x40b0cd
push 0xbd
push str..FixWnd.cpp
push str.Assert_failed___File:_s__line:_d__operation:m_vtSeqIds.size__
jmp 0x40b1dd
mov edx, dword [esi + 0xc]
test edx, edx
je 0x40b1ce
cmp dword [esi + 8], 0
je 0x40b1ce
test edx, edx
je 0x40b1ce
add dword [esi + 0x40], 1
mov ecx, dword [edi + 4]
test ecx, ecx
mov ebx, dword [esi + 0x40]
jne 0x40b0fc
xor eax, eax
jmp 0x40b104
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jne 0x40b153
mov eax, dword [edx]
mov ecx, dword [eax + 0x104]
push 1
push edx
call ecx
mov eax, dword [esi + 8]
mov edx, dword [eax]
push 0
push eax
mov eax, dword [edx + 0x104]
call eax
mov esi, dword [esi + 0x10]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x32c]
push 0x4308b4
push esi
call edx
mov ecx, edi
call fcn.0040ab00
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]
call fcn.004014e0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004127f0
mov ecx, eax
mov eax, dword [esi + 0x40]
imul eax, eax, 0x64
xor edx, edx
div ecx
lea edx, [ebp + 8]
push eax
push 0x4307f4
push edx
call fcn.004017c0
mov eax, dword [ebp + 8]
mov esi, dword [esi + 0x10]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00401220
mov edx, dword [eax]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x32c]
push edx
push esi
mov byte [ebp - 4], 1
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp + 8]
call fcn.00412f60
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
push 0xbe
push str..FixWnd.cpp
push str.Assert_failed___File:_s__line:_d__operation:m_pRepairBtnm_pRestartBtnm_pRepairBtn
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
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 0x40c720
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429723
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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
xor edi, edi
mov dword [esi], vtable.CNewFixWnd.0
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
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
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
push esi
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 0x2e
call fcn.0040c450
mov dword [esi + 0xc0], vtable.CGFMessageListenerPtr_class_CNewFixWnd_.0
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
mov byte [ebp - 4], 0x2f
call edx
add eax, 0x10
mov dword [esi + 0xdc], eax
mov eax, 1
mov dword [esi + 0xe4], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x44c618
mov dword [esi + 0xd8], edi
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xe8], 0x7df
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call sub.gdiplus.dll_GdiplusStartup
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 0x40ce10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4297e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push str.QQMusic_Daemon_Wnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40cf8f
mov ecx, dword [ebp + 8]
sub ecx, 1
je 0x40cf6c
sub ecx, 2
je 0x40cf5f
sub ecx, 1
jne 0x40cf8f
lea edx, [ebp - 0x20]
push edx
mov ecx, 4
push 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
push 0x4a
lea ecx, [ebp + 8]
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, esi
call fcn.0040b630
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetExeFolder_void_]
push str.QQMusic.exe
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 0
call fcn.00401af0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cedd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0x70]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 0x10]
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cf8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, 3
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
jmp 0x40cf7a
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
lea edx, [ebp - 0x20]
push edx
push 0
push 0x4a
lea ecx, [ebp + 8]
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x400
lea eax, [ebp - 0x612]
push edi
push eax
mov dword [ebp - 0x618], edi
mov word [ebp - 0x614], di
call sub.MSVCR80.dll_memset
push 0x208
lea ecx, [ebp - 0x20e]
push edi
push ecx
mov dword [ebp - 0x620], 0x200
mov word [ebp - 0x210], di
call sub.MSVCR80.dll_memset
add esp, 0x18
cmp word [ebp - 0x210], di
je 0x40d5d4
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40d5a1
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
mov ecx, esi
call fcn.00401580
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00401270
xor eax, eax
cmp dword [0x44c614], edi
mov dword [ebp - 0x61c], eax
je 0x40d605
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x44c614]
mov eax, dword [ebp - 0x61c]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x618]
push ecx
and eax, 0x200
add eax, 1
push eax
push edi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d68e
mov ecx, dword [ebp - 0x618]
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x614]
push eax
push edi
push edi
push str.InstallDir
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d681
push 0x104
lea edx, [ebp - 0x614]
lea edi, [eax + 1]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
mov ecx, esi
call fcn.00401e30
mov edx, dword [ebp - 0x618]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042798a
mov esp, ebp
pop ebp
ret
Function at 0x40d750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4298e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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
push 0x42d8a0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00401e80
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.0040d530
add esp, 4
test eax, eax
je 0x40d851
push str.QQPCClinic.exe
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00401af0
add esp, 0xc
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push str._autorepairs__s_
push ecx
mov byte [ebp - 4], 3
call fcn.004017c0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add esp, 0xc
push 0
push 0
push esi
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40d8dc
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 0
push eax
call edx
mov esi, dword [esi + 0xbc]
push 0x42eba8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x40d8c5
push 0x8007000e
call fcn.00401000
mov eax, dword [esi]
mov ecx, dword [eax + 0x390]
push edi
push esi
mov byte [ebp - 4], 4
call ecx
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d8ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429930
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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
push 0x42d8a0
lea ecx, [ebp - 0x10]
call fcn.00401e80
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.0040d530
add esp, 4
test eax, eax
je 0x40da3d
push str.QQPCClinic.exe
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00401af0
add esp, 0xc
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push str._autorepair_d
push ecx
mov byte [ebp - 4], 2
call fcn.004017c0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add esp, 0xc
push 0
push 0
push esi
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dac8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40dac8
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 1
push eax
call edx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x104]
push 0
push eax
call edx
mov esi, dword [esi + 0xbc]
push 0x42eba8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
mov dword [ebp + 8], edi
jne 0x40dab1
push 0x8007000e
call fcn.00401000
mov eax, dword [esi]
mov ecx, dword [eax + 0x390]
push edi
push esi
mov byte [ebp - 4], 3
call ecx
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40daee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40dc50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4299c2
mov eax, dword fs:[0]
push eax
sub esp, 0x418
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
xor edi, edi
push 0x3fe
lea eax, [ebp - 0x40e]
push edi
push eax
mov word [ebp - 0x410], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.batang.ttc
lea ecx, [ebp - 0x424]
call fcn.00401e80
push str.gulim.ttc
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], edi
call fcn.00401e80
push str.malgun.ttf
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 1
call fcn.00401e80
push str.malgunbd.ttf
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00401e80
mov edx, dword [0x44cc60]
mov eax, dword [edx + 0xc]
mov ecx, 0x44cc60
mov dword [ebp - 4], 3
call eax
add eax, 0x10
mov dword [ebp - 0x414], eax
mov byte [ebp - 4], 4
lea esi, [ebp - 0x424]
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x414]
push str._lsFonts_ls
push eax
call fcn.004017c0
mov ebx, dword [ebp - 0x414]
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ddba
add edi, 1
add esi, 4
cmp edi, 4
jl 0x40dd23
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00412f60
push 4
push 4
lea ecx, [ebp - 0x424]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00427b5b
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.0042798a
mov esp, ebp
pop ebp
ret
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00412f60
push 4
push 4
lea ecx, [ebp - 0x424]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00427b5b
xor eax, eax
jmp 0x40dd9e
Function at 0x4115c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429e66
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 - 0x14], esi
call dword [sym.imp.QQMusic_GFWrapper.DLL_public:_void___thiscall_IUnknownEventImpl_struct_ITXTimerCallback__struct__GUID_const_IID_ITXTimerCallback_::constructor_void_]
mov dword [esi], vtable.CDiagToolsDlg.0
mov eax, 0x23232323
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 4
xor ebx, ebx
push esi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], ebx
call fcn.00411190
mov dword [esi + 0x18], vtable.CGFMessageListenerPtr_class_CDiagToolsDlg_.0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0x16
call fcn.00418fd0
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x17
call fcn.004196f0
lea edi, [esi + 0x18c]
mov ecx, edi
mov byte [ebp - 4], 0x18
call fcn.00423a70
lea ecx, [esi + 0x1cc]
mov byte [ebp - 4], 0x19
call fcn.00410d30
lea ecx, [esi + 0x208]
mov byte [ebp - 4], 0x1a
call fcn.0040b2b0
lea eax, [edi + 0x24]
push eax
mov byte [ebp - 4], 0x1b
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x180], 1
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x411708
mov dword [eax], vtable.._AU___handler_Callback_VCDiagToolsDlg__P81_AEXXZ_CProtocol_Config__.0
jmp 0x41170a
xor eax, eax
mov dword [eax + 0xc], esi
mov ecx, dword [esi + 0x14]
add ecx, esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], fcn.004217f0
mov edx, dword [edi + 0x3c]
mov dword [eax + 8], edx
mov byte [eax + 4], bl
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x416bf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 ebx, ecx
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetAppDataFolder_void_]
push 0x436674
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416c77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416cc1
lea ecx, [ebp - 0x5c]
call dword [sym.imp.QQMusicCommon.dll_public:_void___thiscall_CMarkup::constructor_void_]
mov edx, dword [ebp - 0x14]
push ecx
mov eax, esp
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esp
mov dword [eax], edx
call dword [sym.imp.QQMusicCommon.dll_public:_bool___thiscall_CMarkup::Load_struct_MCD_CSTR_]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401820
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call dword [sym.imp.QQMusicCommon.dll_public:_void___thiscall_CMarkup::destructor_void_]
jmp 0x416cea
push 0x436d14
lea ecx, [ebp - 0x18]
push ecx
push 0x64d
mov dword [ebp - 0x18], esi
call dword [sym.imp.QQMusicCommon.dll_void____cdecl_qqmusic::DllGetResData_int__int___wchar_t_const__]
mov edx, dword [ebp - 0x18]
add esp, 0xc
shr edx, 1
push edx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401580
mov esi, dword [ebp - 0x10]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push esi
call fcn.00401330
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.00415730
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d4e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
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 0x418f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418fc2
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x418f91
cmp eax, 2
jne 0x418fac
test esi, esi
mov eax, dword [ebp + 0x10]
je 0x418fbc
test eax, eax
je 0x418fb7
test al, 1
jne 0x418fac
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x418fbc
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc