joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4910d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0a25
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
mov esi, ecx
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
call fcn.00429b20
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
call fcn.00429b20
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.0047f130
lea eax, [ebp - 0x10]
push eax
call fcn.0047f130
push str.WPSOfficePIA.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004297b0
mov esi, dword [eax]
lea eax, [ebp - 0x14]
push str.office6WPSOfficePIA.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.004297b0
add esp, 0x28
push 0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x491190
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4911ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
push str.WPSOfficePIA.exe
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004297b0
push 1
push 1
push 0
push esi
push edi
push ebx
push dword [eax]
mov byte [ebp - 4], 3
call fcn.0047f450
mov edx, dword [ebp + 8]
or ebx, 0xffffffff
add esp, 0x28
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x491200
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49121a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x491232
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 esp, ebp
pop ebp
ret 4
Function at 0x494140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x210], esi
cmp dword [edi + 0xdc], 0
mov eax, dword [edi + 0xb8]
je 0x494176
lea ecx, [eax - 0x10]
push ecx
jmp 0x4941dc
cmp dword [eax - 0xc], 0
jne 0x4941d8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4941b0
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [edi + 0xb8]
push edx
push eax
call fcn.0042a000
mov eax, dword [edi + 0xb8]
add eax, 0xfffffff0
push eax
call fcn.00429b20
mov ecx, dword [ebp - 4]
add esp, 4
add eax, 0x10
xor ecx, ebp
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
Function at 0x494200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0f19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
cmp dword [edi + 0xdc], 0
mov dword [ebp - 0x3c], ebx
je 0x49439c
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2c], eax
mov ecx, dword [str.SoftwareKingsoftOffice6.0CommonLocal]
mov edx, dword [0x63ec50]
mov dword [ebp - 0x38], ecx
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x63cc90]
cmp ecx, dword [edx + 4]
jg 0x4943d3
jmp 0x49427d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x63cc8c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x494296
push eax
call ebx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 4
test eax, eax
je 0x4942f0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push str.UILanguage
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4942e6
cmp dword [ebp - 0x34], 4
cmove esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4942f0
push eax
call ebx
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x49433e
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0051a220
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x494332
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [edi + 0xb4]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x5b7b58
push ecx
call fcn.0042c6c0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0042aad0
mov eax, dword [edi + 0xb4]
cmp dword [eax - 0xc], 0
jne 0x494381
lea eax, [ebp - 0x30]
push eax
call fcn.004b49e0
add esp, 4
push eax
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 3
call fcn.00429740
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494381
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x494392
push eax
call ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov ecx, dword [edi + 0xb4]
sub ecx, 0x10
push ecx
call fcn.00429b20
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
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 0x63cc90
call fcn.00558348
add esp, 4
cmp dword [0x63cc90], 0xffffffff
jne 0x49427a
mov ecx, 0x63cc88
mov byte [ebp - 4], 1
call fcn.004bdb80
push 0x5afc50
call fcn.0055865a
push 0x63cc90
mov byte [ebp - 4], 0
call fcn.005582fe
add esp, 8
jmp 0x49427a
Function at 0x494420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x210], esi
cmp dword [edi + 0xdc], 0
mov eax, dword [edi + 0xbc]
je 0x494456
lea ecx, [eax - 0x10]
push ecx
jmp 0x4944bc
cmp dword [eax - 0xc], 0
jne 0x4944b8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x494490
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [edi + 0xbc]
push edx
push eax
call fcn.0042a000
mov eax, dword [edi + 0xbc]
add eax, 0xfffffff0
push eax
call fcn.00429b20
mov ecx, dword [ebp - 4]
add esp, 4
add eax, 0x10
xor ecx, ebp
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
Function at 0x4944e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0f67
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
push 0
mov dword [ebp - 0x630], edi
push eax
mov dword [ebp - 0x62c], 0
call fcn.0055c530
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0055c530
add esp, 0x24
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4946ed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push dword [ebx + 0x10]
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push 0x104
push eax
mov dword [ebp - 0x62c], 1
call fcn.0056b39c
push str.utilityinstall.ini
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0056b327
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5b3734
push str.lowerversion
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x5b3734
push str.higherversion
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0xc4]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.00429970
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494626
sub ecx, edx
sar ecx, 1
je 0x494674
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x494665
push 1
push 0x5b7e38
mov ecx, edi
call fcn.00429970
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494656
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00429970
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494680
sub ecx, edx
sar ecx, 1
je 0x4946ce
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4946bf
push 1
push 0x5b7e38
mov ecx, edi
call fcn.00429970
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4946b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.00429970
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
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 0x494830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1016
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
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x49499e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
push 0x20019
push 0
push dword [0x60e4a0]
mov dword [ebp - 0x14], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
je 0x49497f
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.Version
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4948ed
cmp eax, 2
jne 0x494971
mov ecx, esi
call fcn.00429bc0
mov edx, dword [ebp - 0x10]
shr edx, 1
add edx, 1
js 0x494994
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x49491d
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.Version
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x494971
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 0x49495f
push dword [eax - 8]
push eax
call fcn.00566c13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x494994
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x494994
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 0x49497f
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 4
push 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3
Function at 0x495330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a11ab
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 - 0x230], edi
cmp dword [ecx + 0xdc], 0
je 0x49538c
mov ecx, dword [ecx + 0xc0]
sub ecx, 0x10
push ecx
call fcn.00429b20
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x49550a
xor esi, esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0055c530
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000001
mov dword [ebp - 0x21c], esi
call ebx
test eax, eax
jne 0x4953f3
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0
test eax, eax
je 0x495450
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000002
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x495446
test esi, esi
je 0x495430
push esi
call ebx
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x4954a9
jmp 0x495456
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push str.StartMenuDir
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4954a9
mov eax, dword [ebp - 0x22c]
cmp eax, 1
je 0x495497
cmp eax, 2
jne 0x4954a9
cmp dword [ebp - 0x21c], 0
jne 0x4954a9
xor eax, eax
mov word [ebp - 0x218], ax
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x49552a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x4954dc
movzx eax, ax
mov ecx, edi
push eax
call fcn.00429d30
jmp 0x495503
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4954e5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0042a000
test esi, esi
je 0x49550a
push esi
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 4
push 0x80004005
call fcn.00429b00
int3
Function at 0x495c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1300
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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, ecx
cmp byte [edi + 0x58], 0
je 0x495c60
cmp byte [edi + 0x59], 0
je 0x495d6b
xor esi, esi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], esi
push eax
push 0x2001f
push esi
push dword [0x60e4a0]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x495c90
mov esi, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x495db7
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0055c530
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x238]
add esp, 0xc
mov dword [ebp - 0x238], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
push str.disableGlobalInfoCollect
push esi
call ebx
test eax, eax
jne 0x495d12
mov eax, dword [ebp - 0x240]
cmp eax, 1
je 0x495cf7
cmp eax, 2
jne 0x495d12
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x495d72
test al, 1
jne 0x495d12
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x495d7b
lea eax, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], 4
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push str.disableGlobalInfoCollect
push esi
call ebx
test eax, eax
jne 0x495db7
cmp dword [ebp - 0x248], 4
jne 0x495db7
cmp dword [ebp - 0x23c], 1
sete bl
test esi, esi
je 0x495d67
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x495dc2
mov al, 1
jmp 0x495e04
xor eax, eax
mov word [ebp - 0x218], ax
mov ecx, 0x5b6e0c
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x495dae
test dx, dx
je 0x495da8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x495dae
add eax, 4
add ecx, 4
test dx, dx
jne 0x495d86
xor eax, eax
test eax, eax
jmp 0x495d59
sbb eax, eax
or eax, 1
test eax, eax
jmp 0x495d59
test esi, esi
je 0x495dc2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [edi + 0x108]
test esi, esi
je 0x495e02
push str.Support_DisableGlobalInfoCollect
lea ecx, [ebp - 0x230]
call fcn.0043fa80
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0049fe60
lea ecx, [ebp - 0x230]
mov bl, al
call fcn.0042aad0
mov al, bl
jmp 0x495e04
xor al, 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.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x496b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
test eax, eax
je 0x496c3c
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x496bb0
cmp eax, 2
jne 0x496c3c
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00429bc0
mov edx, dword [ebp - 4]
shr edx, 1
add edx, 1
js 0x496c45
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x496be3
push edx
mov ecx, esi
call fcn.00429e50
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x496c3a
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x496c23
push dword [eax - 8]
push eax
call fcn.00566c13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x496c45
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x496c45
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov ebx, 1
mov word [eax + ecx*2], dx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00429b00
int3
Function at 0x496c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a14a7
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x496d9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x496d80
cmp dword [ebp - 0x21c], eax
je 0x496d80
push 0x208
push eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.waitclearversions
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x496d74
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496d56
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042a000
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
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 0x496db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a14f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 0x496f1f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x496e31
test edx, 0xffff0000
jne 0x496e16
movzx eax, dx
lea ecx, [ebp - 0x10]
push eax
call fcn.00429d30
jmp 0x496e3d
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x496e20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496e20
sub ecx, esi
sar ecx, 1
jmp 0x496e33
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0042a000
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.0049e7c0
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0049e9f0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x496e93
jle 0x496ed9
movzx edi, di
or edi, 0x80070000
jmp 0x496ed9
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x496ed7
jle 0x496ed9
movzx edi, di
or edi, 0x80070000
jmp 0x496ed9
xor edi, edi
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x496ef6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x496f0b
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