joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496f30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1535
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4970c1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x496fb1
test edx, 0xffff0000
jne 0x496f96
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.00429d30
jmp 0x496fbd
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x496fa0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496fa0
sub ecx, esi
sar ecx, 1
jmp 0x496fb3
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0042a000
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.0049e7c0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 4
xor edi, edi
mov dword [ebp - 0x10], edi
push ecx
mov ecx, dword [ebp + 0x18]
or ecx, 0x20019
push ecx
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x49700a
jg 0x496ffc
mov edi, eax
jmp 0x497095
movzx edi, ax
or edi, 0x80070000
jmp 0x497095
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x24]
push eax
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 - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test ebx, ebx
je 0x497067
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jg 0x49705c
mov edi, ebx
jmp 0x497095
movzx edi, bx
or edi, 0x80070000
jmp 0x497095
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x49708c
jg 0x497083
mov edi, eax
jmp 0x49708c
movzx edi, ax
or edi, 0x80070000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4970ad
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
int3
Function at 0x49ca40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x63d0e4], 0
push esi
push edi
mov esi, ecx
je 0x49ca83
push 0
push 0
push 0x5b5110
push str.StartUninstall
push 1
call fcn.004d44b0
add esp, 0x14
cmp byte [0x63d0e4], 0
je 0x49ca83
push 0xff
push str.StartUninstall
call fcn.004d4530
add esp, 8
mov eax, dword [esi + 0x10]
xor edi, edi
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ecx
cmp dword [eax - 0xc], edi
je 0x49cadb
mov dword [esi + 8], edi
test ecx, ecx
je 0x49caa6
or dword [0x63ca50], 4
cmp dword [esi + 4], edi
jne 0x49caba
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x48], eax
push 0
push 0
push esi
push 0x49d950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
mov ecx, 1
cmovne edi, ecx
cmp byte [0x63d0e4], 0
je 0x49cb17
push 0
push 0
push 0x5b5110
push str.StartUninstall
push 1
call fcn.004d44f0
add esp, 0x14
cmp byte [0x63d0e4], 0
je 0x49cb17
push 0xff
push str.StartUninstall
call fcn.004d4550
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x49dda0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2050
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x63434c]
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, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor edi, edi
push edi
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x49deec
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x49dead
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49de40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0042a000
push 4
push str.wps_
mov ecx, ebx
call fcn.00429970
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x21c]
push 0x5c0920
push eax
call fcn.0042c6c0
mov esi, dword [ebp - 0x21c]
add esp, 0xc
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00429970
push dword [ebx]
call fcn.0047a130
add esp, 4
test eax, eax
je 0x49dead
mov edi, 1
jmp 0x49deb4
mov ecx, ebx
call fcn.00429bc0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49decc
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b00
int3
Function at 0x4a3c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2abb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4a3ccc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4a3ccc
call fcn.00468520
mov esi, eax
jmp 0x4a3dbc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4a3cef
call fcn.00468520
jmp 0x4a3daf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4a3d0d
call fcn.00468520
jmp 0x4a3daf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4a3d2e
mov esi, 0x8007000e
jmp 0x4a3db1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004a1bf0
jmp 0x4a3d58
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4a3d6f
mov esi, 0x8007000e
jmp 0x4a3db1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4a3d8f
call fcn.00468520
jmp 0x4a3daf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004a3a80
mov esi, eax
test edi, edi
je 0x4a3dbc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4a3dd5
lea ecx, [ebp - 0x418]
call fcn.004a2c80
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 - 0x14]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ad280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597240
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.00402a50
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x4ad2e4
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4ad2f5
push 0x48
push esi
call fcn.00558004
add esp, 8
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 4

Function at 0x4ad310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3610
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
mov dword [ebp - 4], 0
and ecx, 0xfffffffc
xor al, al
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.00402a50
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 1
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.00402a50
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x4ad38c
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4ad39d
push 0x40
push esi
call fcn.00558004
add esp, 8
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 4
Function at 0x4b4140
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x63434c]
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
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], edi
push eax
push 0x2001f
push edi
push dword [0x60e624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4b41ba
push dword [0x60e628]
mov edi, dword [ebp - 0x21c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x4b41ba
push edi
call ebx
xor edi, edi
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x4b42c6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b39c
add esp, 0x18
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 0x2001f
push 0
push dword [0x60e624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b4243
test edi, edi
je 0x4b4223
push edi
call ebx
mov edi, dword [ebp - 0x220]
test eax, eax
jne 0x4b4243
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4236
jmp 0x4b42a2
lea eax, [ebp - 0x228]
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [0x60e624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b42c6
test edi, edi
je 0x4b4284
push edi
call ebx
mov edi, dword [ebp - 0x224]
test eax, eax
jne 0x4b42c6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4297
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push dword [0x60e628]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4b42cd
push edi
call ebx
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b42e8
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret

Function at 0x4b4350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4b4381
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4b4370
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x4b4860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d46
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0CommonBackup
push 0x80000001
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 2
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b49cc
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 1
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4b49af
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.AutoRecoverFilePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4b491d
cmp eax, 2
jne 0x4b49a1
mov ecx, esi
call fcn.00429bc0
mov edx, dword [ebp - 0x10]
shr edx, 1
add edx, 1
js 0x4b49c2
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x4b494d
push edx
mov ecx, esi
call fcn.00429e50
mov edi, dword [esi]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.AutoRecoverFilePath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b49a1
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4b498f
push dword [eax - 8]
push eax
call fcn.00566c13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4b49c2
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4b49c2
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b49af
push eax
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
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3
Function at 0x4b5080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 4
test eax, eax
je 0x4b50ec
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.2019icdisable
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b50e9
cmp dword [ebp - 0xc], 4
jne 0x4b50e9
mov eax, dword [ebp - 4]
xor ebx, ebx
cmp dword [ebp - 0x10], 1
sete bl
jmp 0x4b50ee
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x4b50f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3e25
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [0x60e638]
mov dword [ebp - 0x18], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b5277
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov ebx, dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b523b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push ebx
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4b51b2
cmp eax, 2
jne 0x4b523b
lea ecx, [ebp - 0x10]
call fcn.00429bc0
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x4b5281
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x4b51e8
push edx
lea ecx, [ebp - 0x10]
call fcn.00429e50
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4b523b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x4b5281
cmp eax, dword [esi - 8]
jg 0x4b5281
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x5b6e0c
push esi
mov word [esi + eax*2], cx
call fcn.00566ed2
add esp, 8
neg eax
sbb edi, edi
inc edi
jmp 0x4b523d
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b5255
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4b5263
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3
Function at 0x4b6770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4076
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b69cc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0x98]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
test eax, eax
je 0x4b67ec
push eax
call ebx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftWPSClouduserinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], 0
test eax, eax
je 0x4b6909
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xa4]
push ecx
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push str.userid
push eax
call ebx
mov eax, dword [ebp - 0x9c]
cmp eax, 1
je 0x4b6860
cmp eax, 2
jne 0x4b6903
lea ecx, [ebp - 0xa0]
call fcn.00429bc0
mov edx, dword [ebp - 0xa4]
shr edx, 1
add edx, 1
js 0x4b69c2
mov esi, dword [ebp - 0xa0]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4b68a5
push edx
lea ecx, [ebp - 0xa0]
call fcn.00429e50
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0xa4]
push eax
push esi
lea eax, [ebp - 0x9c]
push eax
push 0
push str.userid
push dword [ebp - 0x98]
call ebx
test eax, eax
jne 0x4b6903
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x4b68dd
xor eax, eax
jmp 0x4b68f1
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x4b69c2
cmp eax, dword [esi - 8]
jg 0x4b69c2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [ebp - 0x90]
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.00450210
mov edx, dword [ebp - 0x94]
mov ecx, edx
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 4], 3
mov byte [edi], 0
mov dword [ebp - 0x9c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6950
sub ecx, dword [ebp - 0x9c]
push ecx
push edx
mov ecx, edi
call fcn.004385d0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x4b697f
push eax
call fcn.00566374
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b6997
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4b69a4
push ecx
call ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3
Function at 0x4b69e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a8a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b6b60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x4b6a41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push 0x5c65b0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4b6b14
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.usertype
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4b6a9c
cmp eax, 2
jne 0x4b6b14
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4b6b6a
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x4b6ad2
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.usertype
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4b6b14
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x4b6b6a
cmp eax, dword [esi - 8]
jg 0x4b6b6a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x4b6b25
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov edi, eax
jmp 0x4b6b27
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b6b3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b6b4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3