joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6cdf9470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push edi
mov edi, dword [ebp + 0xc]
push 0x3c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
call sym.QQLiveBase.dll_int___cdecl_base::IsEnableUAC_void_
test eax, eax
mov dword [ebp - 0x28], 0
mov edx, 0x6ce448f8
mov dword [ebp - 0x24], 1
mov ecx, str.runas
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
cmove ecx, edx
push eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
je 0x6cdf950a
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x6cdf94f7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret

Function at 0x6cdf9520
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 5
push eax
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x6cdf95a3
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x6cdf95b1
cmp word [edx], 0
jne 0x6cdf9569
xor ecx, ecx
jmp 0x6cdf9580
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf9570
sub ecx, esi
sar ecx, 1
pop esi
push ecx
push edx
mov ecx, edi
call fcn.6cdbf0d0
push dword [ebp - 0xc]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x6cdf95b1
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf9bb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a728
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.6cde5e40
push str.user.ini
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.6cddd660
add esp, 4
push dword [eax]
push 0
push dword [0x6ce5fff0]
push dword [0x6ce5ffec]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x38]
or edi, 0xffffffff
mov esi, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cdf9c38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea ecx, [ebp - 0x34]
call fcn.6cddb700
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.6cddb700
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
call fcn.6cddb9b0
neg eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], vtable.KTime.0
sbb esi, esi
mov dword [ebp - 0x34], vtable.KTime.0
mov eax, dword [ebp - 0x14]
neg esi
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdf9c94
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf9cc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a758
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6ce5c008]
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
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.6cde5e40
push str.config.ini
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.6cddd660
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
push dword [eax]
push 0xa
push dword [0x6ce5fff8]
push dword [0x6ce5fff4]
call esi
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov ebx, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cdf9d4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.user.ini
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.6cddd660
add esp, 4
push dword [eax]
push 0
push dword [0x6ce5fffc]
push dword [0x6ce5fff4]
call esi
mov edx, dword [ebp - 0x18]
mov esi, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cdf9d8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
sbb esi, esi
add eax, 0xfffffff0
neg esi
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdf9db1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf9dd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce18c50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.6cde5e40
push str.user.ini
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.6cddd660
add esp, 4
push dword [eax]
push 0
push dword [0x6ce5fffc]
push dword [0x6ce5fff4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov esi, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cdf9e58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdf9e6d
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [esi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push 0x6ce43e74
push eax
call fcn.6cde9660
push str.user.ini
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.6cddd660
mov esi, dword [ebp - 0x18]
add esp, 0x10
push dword [eax]
push esi
push dword [0x6ce5fffc]
push dword [0x6ce5fff4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf9ed3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf9eee
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x6cdf9f0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdfaa30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a98b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
call fcn.6cde5e40
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.user.ini
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x220]
call fcn.6cddd660
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x6ce4378c
push dword [0x6ce60004]
push dword [0x6ce60000]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfaaf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
mov dword [esi], 0
push eax
mov ecx, esi
call fcn.6cdbef90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdfab2d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret 4

Function at 0x6cdfab50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a9cb
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.6ce16010
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2014], 0
call fcn.6cde5e40
push 0x2000
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.user.ini
lea edx, [ebp - 0x2014]
lea ecx, [ebp - 0x2018]
call fcn.6cddd660
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push 0x6ce4378c
push str.CrashModule
push str.Crash
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x2018]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfac19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2010]
mov dword [esi], 0
push eax
mov ecx, esi
call fcn.6cdbef90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2014]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdfac4f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret 4
Function at 0x6cdfad30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1aa0b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x814], 0
call fcn.6cde5e40
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.performance.ini
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x818]
call fcn.6cddd660
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x6ce4378c
push str.json
push 0x6ce45868
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x818]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfadf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x810]
mov dword [esi], 0
push eax
mov ecx, esi
call fcn.6cdbef90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdfae2b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret 4
Function at 0x6cdfc4b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
jne 0x6cdfc4dc
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x44]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0x44
xor eax, eax
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push esi
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x6cdfc540
push eax
call esi
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x6cdfc54a
push ecx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdfdec0
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1adbb
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x6ce5c008]
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 ebx, ecx
push dword [ebp - 0x46c]
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.6cdf76c0
mov eax, dword [ebx]
push 0x208
mov dword [ebx + 4], eax
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x6cdfdf60
push 0x6ce43790
lea eax, [ebp - 0x218]
push eax
call esi
push str.TencentUsers
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6cdfe0a4
push 0x6ce43df8
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x6cdfe0a4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
test byte [ebp - 0x468], 0x10
je 0x6cdfe08b
mov ecx, 0x6ce43d88
lea eax, [ebp - 0x43c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6cdfdffe
test dx, dx
je 0x6cdfdffa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6cdfdffe
add eax, 4
add ecx, 4
test dx, dx
jne 0x6cdfdfd8
xor eax, eax
jmp 0x6cdfe003
sbb eax, eax
or eax, 1
test eax, eax
je 0x6cdfe08b
mov eax, 0x6ce43d8c
lea ecx, [ebp - 0x43c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6cdfe03c
test dx, dx
je 0x6cdfe038
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6cdfe03c
add ecx, 4
add eax, 4
test dx, dx
jne 0x6cdfe016
xor eax, eax
jmp 0x6cdfe041
sbb eax, eax
or eax, 1
test eax, eax
je 0x6cdfe08b
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x484]
call fcn.6cdbeeb0
lea eax, [ebp - 0x484]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.6cdfe320
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x470]
cmp eax, 8
jb 0x6cdfe08b
inc eax
push eax
push dword [ebp - 0x484]
call fcn.6cdbf220
lea eax, [ebp - 0x468]
push eax
push esi
call edi
test eax, eax
jne 0x6cdfdfc0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdfe3c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce18f58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6ce5c008]
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
cmp byte [0x6ce60608], 0
je 0x6cdfe41c
xor eax, eax
cmp dword [0x6ce60604], 1
sete al
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.6ce11901
mov esp, ebp
pop ebp
ret
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdfe431
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x6cdfe467
push 0x104
lea ecx, [ebp - 0x14]
call fcn.6cdbf780
mov esi, dword [ebp - 0x14]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x6cdfe5bd
cmp eax, dword [esi - 8]
jg 0x6cdfe5bd
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x5c
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x6cdfe4b1
or eax, 0xffffffff
jmp 0x6cdfe4b5
sub eax, esi
sar eax, 1
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.6cddbaa0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.6cddbbc0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfe4f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.6cddbc30
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x6cdfe52c
push 0x104
lea ecx, [ebp - 0x18]
call fcn.6cdbf780
mov esi, dword [ebp - 0x18]
push str.qqlive.ini
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x6cdfe5bd
cmp eax, dword [esi - 8]
jg 0x6cdfe5bd
push esi
push 0xffffffffffffffff
push str.PackType
xor ecx, ecx
mov dword [esi - 0xc], eax
push str.Install
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
mov dword [0x6ce60604], eax
cmp eax, 1
mov byte [0x6ce60608], 1
mov byte [ebp - 4], 0
mov eax, edi
sete cl
add esi, 0xfffffff0
mov dword [ebp - 0x18], ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfe59c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x6cdfe5b5
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
jmp 0x6cdfe400
push 0x80070057
call fcn.6cdc0090
int3
Function at 0x6cdfe700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x6ce5cf94], ebx
je 0x6cdfe72f
mov ecx, 0x6ce604f0
call fcn.6cddc170
test eax, eax
je 0x6cdfe7a2
mov dword [0x6ce5cf94], ebx
cmp dword [0x6ce604f4], 6
sbb eax, eax
inc eax
test eax, eax
je 0x6cdfe7a2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push 0x80000002
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6cdfe7a2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableLUA
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6cdfe799
xor ebx, ebx
cmp dword [ebp - 8], 1
sete bl
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret

Function at 0x6cdfe7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x6ce5cf94], ebx
je 0x6cdfe7ef
mov ecx, 0x6ce604f0
call fcn.6cddc170
test eax, eax
je 0x6cdfe861
mov dword [0x6ce5cf94], ebx
cmp dword [0x6ce604f4], 6
sbb eax, eax
inc eax
test eax, eax
je 0x6cdfe861
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push 0x80000002
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6cdfe861
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6cdfe858
xor ebx, ebx
cmp dword [ebp - 8], ebx
setne bl
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdfee00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1aec0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6ce5c008]
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 esi, esi
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], esi
push eax
call sym.QQLiveBase.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_base::GetRegQQLiveRootPath_void_
push str.Record
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.6cddd660
push 0x2001f
sub esp, 8
lea ecx, [ebp - 0x28]
push dword [eax]
push 0x80000001
call fcn.6cde45e0
mov edx, dword [ebp - 0x14]
test eax, eax
sete bl
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfee96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x6cdfeeb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x28]
test bl, bl
je 0x6cdfeeed
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.RegistLocalInfoFailCount
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6cdfeeed
cmp dword [ebp - 0x14], 4
cmove esi, dword [ebp - 0x1c]
push 4
lea eax, [ebp - 0x1c]
inc esi
push eax
push 4
push 0
push str.RegistLocalInfoFailCount
push edi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x6cdfef12
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret