joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57decb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5fb61c]
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]
push 0xc6
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0xd6]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0xd8], ax
call fcn.005336c0
add esp, 0xc
cmp edi, ebx
jne 0x477dbb
xor eax, eax
jmp 0x477dcf
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x477dc0
sub eax, ecx
sar eax, 1
push eax
push edi
lea ecx, [esi + 0x18]
call fcn.00422120
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
push 0x2001f
push str.SOFTWAREKingsoftTest
push 0x80000001
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], ebx
call fcn.00438000
test eax, eax
je 0x477e29
mov eax, dword [ebp - 0xe4]
mov dword [esi], ebx
cmp eax, ebx
je 0x477e1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x477eca
mov ecx, esi
mov dword [esi], 1
call fcn.004776d0
lea edx, [esi + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea edx, [ebp - 0xd8]
call fcn.00477560
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 8
lea eax, [ebp - 0xd8]
push eax
push 1
push 1
push ebx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
cmp dword [esi + 0xc], ebx
je 0x477eb7
cmp eax, ebx
je 0x477eb7
push ebx
push ebx
push esi
push 0x477d50
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
cmp eax, ebx
mov eax, dword [ebp - 0xe4]
je 0x477ebd
cmp eax, ebx
je 0x477e1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x477eca
mov eax, dword [ebp - 0xe4]
cmp eax, ebx
je 0x477ec8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4784a0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57df38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.00438000
test eax, eax
jne 0x478512
push str.Kingsoft_Office
lea ecx, [ebp - 0x18]
call fcn.00438290
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x47850f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 0x2001f
push str.SoftwareKingsoftOffice
push 0x80000002
lea ecx, [ebp - 0x18]
call fcn.00438000
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x47855f
mov eax, dword [ebp - 0x18]
push str.languages
push eax
call ebx
push 0x5a0bc4
lea ecx, [ebp - 0x18]
call fcn.00438290
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x47855c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0046b130
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x18]
call fcn.00438000
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x478594
push str.WPSPreInstallSetup
push edi
call ebx
cmp edi, esi
je 0x47859f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x478900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.005336c0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20c]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x478946
lea edx, [ebp - 0x210]
push edx
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4789ad
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x478980
sub eax, edx
mov edx, dword [ebp - 0x210]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push str.waitclearversions
push edx
jmp 0x478a10
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x478a16
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4789e5
mov ecx, dword [ebp - 0x210]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.waitclearversions
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478a35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x478e20
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57df98
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov dword [ebp - 4], 0
mov word [ebp - 0x628], ax
call fcn.005336c0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x628]
push edx
push 0
call esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
add esp, 0xc
xor eax, eax
jmp 0x478eb0
movzx ecx, word [ebp + eax - 0x628]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x478eb0
push 0x592324
lea edx, [ebp - 0x218]
push 0xffffffffffffffff
push edx
call fcn.00534500
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push 0xffffffffffffffff
push ecx
call fcn.00534500
push 1
lea edx, [ebp - 0x218]
push 1
push edx
call fcn.00470610
add esp, 0x24
xor eax, eax
jmp 0x478f10
movzx ecx, word [ebp + eax - 0x628]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x478f10
push 0x5a0d0c
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push eax
call fcn.00534500
push 1
lea ecx, [ebp - 0x218]
push 1
push ecx
call fcn.00470610
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.005336c0
add esp, 0x24
push 0
push 0x19
lea ecx, [ebp - 0x420]
push ecx
push 0
call esi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xa36]
push eax
mov word [ebp - 0xa38], dx
call fcn.005336c0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x82e]
push edx
mov word [ebp - 0x830], cx
call fcn.005336c0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0xc3e]
push ecx
mov word [ebp - 0xc40], ax
call fcn.005336c0
add esp, 0x24
xor eax, eax
mov edi, edi
movzx ecx, word [ebp + eax - 0x420]
mov word [ebp + eax - 0xa38], cx
add eax, 2
test cx, cx
jne 0x478fd0
push str.WPS
lea edx, [ebp - 0xa38]
push 0xffffffffffffffff
push edx
call fcn.00534500
add esp, 0xc
xor eax, eax
movzx ecx, word [ebp + eax - 0x420]
mov word [ebp + eax - 0x830], cx
add eax, 2
test cx, cx
jne 0x479000
push 0x5a0cdc
lea eax, [ebp - 0x830]
push 0xffffffffffffffff
push eax
call fcn.00534500
add esp, 0xc
xor eax, eax
movzx ecx, word [ebp + eax - 0x420]
mov word [ebp + eax - 0xc40], cx
add eax, 2
test cx, cx
jne 0x479030
push 0x5a0cc4
lea ecx, [ebp - 0xc40]
push 0xffffffffffffffff
push ecx
call fcn.00534500
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
lea edx, [ebp - 0xa38]
push edx
call esi
lea eax, [ebp - 0x830]
push eax
call esi
lea ecx, [ebp - 0xc40]
push ecx
call esi
mov eax, dword [ebp + 8]
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 0x4790a5
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x47aa60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e262
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x5fb61c]
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 esi, dword [ebp + 8]
xor ebx, ebx
push 0x206
mov edi, ecx
lea ecx, [ebp - 0x626]
xor eax, eax
push ebx
mov dword [ebp - 0x62c], ebx
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x630], esi
mov word [ebp - 0x628], ax
call fcn.005336c0
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call fcn.005336c0
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x420], cx
call fcn.005336c0
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
add esp, 0x24
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x628]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x62c], 1
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x47ab24
push str.utilityinstall.ini
lea eax, [ebp - 0x628]
push 0xffffffffffffffff
push eax
call fcn.00534500
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea ecx, [ebp - 0x628]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x591ff8
push str.lowerversion
push 0x5a0fb4
call ebx
lea eax, [ebp - 0x628]
push eax
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x591ff8
push 0x5a0f98
push 0x5a0fb4
call ebx
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00422060
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47abb2
sub eax, edx
sar eax, 1
je 0x47ac0a
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x47abfb
push 1
push 0x5a0f94
mov ecx, esi
call fcn.00422060
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47abe2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
jmp 0x47ac03
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00422060
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ac13
sub eax, edx
sar eax, 1
je 0x47ac6b
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x47ac5c
push 1
push 0x5a0f94
mov ecx, esi
call fcn.00422060
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ac43
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
jmp 0x47ac64
push eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, esi
call fcn.00422060
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x47add0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e2b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5fb61c]
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.00421e00
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
sub eax, 0x10
push eax
mov dword [ebp - 4], 0
call fcn.00421e00
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0046eb60
lea ecx, [ebp - 0x10]
push ecx
call fcn.0046eb60
push str.WPSOfficePIA.exe
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004221d0
mov esi, eax
push str.office6WPSOfficePIA.exe
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 2
call fcn.004221d0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x28
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
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 0x47aeb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.WPSOfficePIA.exe
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004221d0
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
push 1
push 1
push 0
push esi
push ecx
push edx
push eax
mov byte [ebp - 4], 3
call fcn.00471f30
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 0x28
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47af0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
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 0x47af32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
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 0x47af58
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
Function at 0x47b8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5fb61c]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], esi
cmp dword [ecx + 0xd8], ebx
je 0x47ba55
xor eax, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], eax
mov ecx, 1
mov dword [ebp - 4], ebx
test byte [0x5ff51c], cl
jne 0x47b923
or dword [0x5ff51c], ecx
mov byte [ebp - 4], cl
mov ecx, 0x5ff514
call fcn.004968d0
push 0x58f2d0
call fcn.00535252
mov eax, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], bl
mov esi, dword [0x5ff518]
mov edi, dword [str.SoftwareKingsoftOffice6.0CommonLocal]
cmp eax, ebx
je 0x47b93a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
push eax
push edi
push esi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x30]
mov esi, 4
mov dword [ebp - 0x40], esi
cmp eax, ebx
je 0x47b990
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x48]
push ecx
push ebx
push str.UILanguage
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x47b97d
cmp dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x34]
je 0x47b980
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x47b993
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47b993
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x30], ebx
cmp esi, ebx
je 0x47b9eb
lea edx, [ebp - 0x2c]
push esi
push edx
call fcn.004b3a50
add esp, 8
mov byte [ebp - 4], 2
mov esi, 8
cmp dword [ebp - 0x1c], ebx
je 0x47b9d7
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x47b9c0
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
push ecx
add eax, 0xb0
push 0x5a11f0
push eax
call fcn.004237a0
add esp, 0xc
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x47b9eb
mov eax, dword [ebp - 0x2c]
push eax
call int.0042bfd0
add esp, 4
mov esi, dword [ebp - 0x38]
mov ecx, dword [esi + 0xb0]
cmp dword [ecx - 0xc], ebx
jne 0x47ba37
lea edx, [ebp - 0x34]
push edx
call fcn.0048eb10
add esp, 4
push eax
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 3
call fcn.004222b0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ba37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x47ba4c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x30], ebx
mov eax, dword [ecx + 0xb0]
sub eax, 0x10
push eax
call fcn.00421e00
add esp, 4
add eax, 0x10
mov dword [esi], eax
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x47bdf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e49b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5fb61c]
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 esi, dword [ebp + 8]
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5fcb00
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x21c], edi
lea ecx, [ebp - 0x218]
push ecx
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47beff
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47be90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00422120
push 4
push str.wps_
mov ecx, esi
call fcn.00422060
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x21c]
push str._x_
push ecx
call fcn.004237a0
mov edi, dword [ebp - 0x21c]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, esi
call fcn.00422060
mov eax, dword [esi]
push eax
call fcn.00470010
add esp, 4
test eax, eax
je 0x47beff
mov ebx, 1
jmp 0x47bf06
mov ecx, esi
call fcn.00421cb0
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47bf29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x47c2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e582
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5fb61c]
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 esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x224], edi
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], esi
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push edi
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
mov dword [ebp - 4], edi
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x47c3f3
mov ebx, dword [ebp - 0x21c]
cmp ebx, edi
je 0x47c3f3
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x228], edi
mov word [ebp - 0x218], cx
call fcn.005336c0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x228]
push edx
push edi
push str.waitclearversions
push ebx
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x47c3e6
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00422390
mov ecx, dword [ebp - 0x21c]
push ecx
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.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x47c4f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0xa0]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47c69a
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x47c558
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push 0x5a11f0
push eax
call fcn.004237a0
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5fcb00
call eax
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov esi, dword [eax]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x47c62e
mov edx, 8
cmp dword [esi + 0x3c], edx
jb 0x47c5a3
mov ecx, dword [esi + 0x28]
jmp 0x47c5a6
lea ecx, [esi + 0x28]
cmp dword [esi + 0x20], edx
lea eax, [esi + 0xc]
jb 0x47c5b0
mov eax, dword [eax]
push ecx
push 0x595f3c
push eax
push 0x595f3c
lea edx, [ebp + 8]
push str._s_s_s_s
push edx
call fcn.004237a0
mov edi, dword [ebp + 8]
mov eax, dword [edi - 0xc]
add esp, 0x18
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00422060
cmp byte [esi + 0x45], 0
jne 0x47c622
mov eax, dword [esi + 8]
cmp byte [eax + 0x45], 0
jne 0x47c602
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x47c622
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x47c5f6
jmp 0x47c622
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x47c620
jmp 0x47c610
cmp esi, dword [eax + 8]
jne 0x47c620
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x47c610
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 4]
jne 0x47c594
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0xd
mov eax, dword [esi - 0xc]
push 0
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x14]
push 0x4a
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c677
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c69a
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 8