joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448552
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x487437
call fcn.00468a6e
mov ebx, ecx
xor edi, edi
push 0x4c1160
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call fcn.004237f4
push dword [ebp + 8]
mov esi, 0x4c1dc0
push str.GetPacketData__d
push esi
mov dword [ebp - 4], edi
call fcn.00448b55
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.004481b1
mov ebx, eax
push ebx
push str.GetPacketData_return:_d
push esi
call fcn.00448b55
add esp, 0xc
test ebx, ebx
je 0x44860f
call fcn.00417705
mov edi, eax
test edi, edi
je 0x44860f
push str.Extract...
push esi
call fcn.00448b55
mov eax, dword [edi]
pop ecx
pop ecx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push ebx
push edi
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
push esi
call fcn.00448b55
add esp, 0xc
test ebx, ebx
je 0x448608
xor esi, esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00417891
mov eax, esi
call fcn.00468b46
ret 8
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x44861f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x448629
mov eax, dword [edi]
push edi
call dword [eax + 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x4485f3

Function at 0x448680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4486af
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0046a285
push dword [esi + 8]
push 2
push 1
push 0x4951dc
call fcn.0046a285
add esp, 0x20
pop esi
pop ebp
ret 8

Function at 0x448721
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp + 0xc]
call esi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop esi
pop ebp
ret 8
Function at 0x448e0b
Capabilities:
Create thread

Disassembly:
push 0xd8
mov eax, 0x487506
call fcn.00468ad7
mov ebx, dword [ebp + 8]
xor eax, eax
push 0xc6
mov word [ebp - 0xd8], ax
xor edi, edi
lea eax, [ebp - 0xd6]
push edi
push eax
mov esi, ecx
call fcn.00466c70
add esp, 0xc
lea ecx, [esi + 0x18]
push ebx
call fcn.00417f8c
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], edi
push 0x2001f
push str.SOFTWAREKingsoftTest
push SysReAllocString
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], edi
call fcn.0042483e
test eax, eax
je 0x448e90
mov dword [esi], edi
inc edi
lea ecx, [ebp - 0xe4]
call fcn.00424823
mov eax, edi
jmp 0x448f21
xor ebx, ebx
inc ebx
mov ecx, esi
mov dword [esi], ebx
call fcn.004488f9
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xd8]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push eax
call fcn.00448753
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0xc], eax
call ebx
mov dword [esi + 0x10], eax
cmp dword [esi + 0xc], edi
je 0x448f14
cmp eax, edi
je 0x448f14
push edi
push edi
push esi
push 0x448dfc
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
cmp eax, edi
je 0x448e7e
lea ecx, [ebp - 0xe4]
call fcn.00424823
xor eax, eax
inc eax
jmp 0x448f21
lea ecx, [ebp - 0xe4]
call fcn.00424823
xor eax, eax
call fcn.00468b5a
ret 4
Function at 0x4496bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x210], esi
call fcn.00466c70
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.0046b81a
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
mov ebx, 0x2001f
push ebx
push esi
mov edi, str.SoftwarekingsoftOffice6.0Commonupdateinfo
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44974c
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
xor eax, eax
push eax
push ebx
push eax
push eax
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44977a
lea eax, [ebp - 0x20c]
push eax
call fcn.00468f76
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.waitclearversions
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret 4
Function at 0x449a82
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xc34
mov eax, 0x4875b2
call fcn.00468ad7
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00466c70
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push edi
push 0x17
lea eax, [ebp - 0x628]
push eax
push edi
call ebx
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00466c70
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046b81a
lea eax, [ebp - 0x218]
push 0x48c634
push eax
call fcn.0046b7e9
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.0046b7e9
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00446ff6
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046b81a
lea eax, [ebp - 0x218]
push 0x497760
push eax
call fcn.0046b7e9
add esp, 0x40
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00446ff6
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.00466c70
add esp, 0x18
push edi
push 0x19
lea eax, [ebp - 0x420]
push eax
push edi
call ebx
xor eax, eax
push esi
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push edi
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push edi
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push edi
push eax
call fcn.00466c70
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push eax
call fcn.0046b81a
lea eax, [ebp - 0xa38]
push str.WPS
push eax
call fcn.0046b7e9
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0046b81a
lea eax, [ebp - 0x830]
push 0x497730
push eax
call fcn.0046b7e9
add esp, 0x44
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0046b81a
lea eax, [ebp - 0xc40]
push 0x497718
push eax
call fcn.0046b7e9
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call esi
lea eax, [ebp - 0x830]
push eax
call esi
lea eax, [ebp - 0xc40]
push eax
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00417891
call fcn.00468b5a
ret 4
Function at 0x44a433
Capabilities:
Get graphical window text

Disassembly:
push 0x14
mov eax, 0x4876ce
call fcn.00468a6e
push dword [ecx + 0x94]
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x44a570
push 0x4c1160
lea ecx, [ebp - 0x10]
call fcn.004237f4
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], ebx
dec eax
je 0x44a4ba
mov edi, 0x497984
push ebx
mov ecx, esi
call fcn.0044951c
cmp dword [eax + 0x14], 8
jb 0x44a48f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x10]
call fcn.00417f66
push edi
call fcn.00468f76
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00417d0b
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x1c
cdq
pop ecx
idiv ecx
inc ebx
dec eax
cmp ebx, eax
jb 0x44a47f
push ebx
mov ecx, esi
call fcn.0044951c
push 8
pop edi
cmp dword [eax + 0x14], edi
jb 0x44a4cc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x10]
call fcn.00417f66
push 0x4c1160
lea ecx, [ebp + 0x14]
call fcn.004237f4
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], edi
jb 0x44a4f0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], edi
jb 0x44a4fc
mov esi, dword [ecx]
jmp 0x44a4fe
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], edi
jb 0x44a50a
mov edx, dword [ecx]
jmp 0x44a50c
mov edx, ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], edi
jb 0x44a516
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x10]
push eax
mov eax, 0x48fe1c
push eax
push esi
push eax
push edx
push eax
push ecx
push eax
push edi
lea eax, [ebp + 0x14]
push str._s_s_s_s_s_s_s_s_s
push eax
call fcn.0041915d
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x20], 0xd
mov eax, dword [esi - 0xc]
lea eax, [eax + eax + 2]
add esp, 0x2c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x4a
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi - 0x10]
call fcn.00417891
lea ecx, [edi - 0x10]
call fcn.00417891
call fcn.00468b46
ret 0x14
Function at 0x44a68c
Capabilities:
Read .ini file

Disassembly:
push 0x628
mov eax, 0x48770b
call fcn.00468ad7
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x62c], eax
xor eax, eax
mov esi, 0x206
mov dword [ebp - 0x634], edi
push esi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x630], ebx
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00466c70
mov ecx, dword [ebp - 0x62c]
add esp, 0x24
push 0x4c1160
call fcn.004237f4
push dword [ebx + 0xc]
lea eax, [ebp - 0x628]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x634], 1
call fcn.0046b81a
lea eax, [ebp - 0x628]
push str.utilityinstall.ini
push eax
call fcn.0046b7e9
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
mov ebx, 0x48c308
push ebx
push str.lowerversion
mov edi, str.update
push edi
call esi
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
push str.higherversion
push edi
call esi
mov eax, dword [ebp - 0x630]
mov eax, dword [eax + 0xb4]
push dword [eax - 0xc]
mov esi, dword [ebp - 0x62c]
push eax
mov ecx, esi
call fcn.00417d0b
lea eax, [ebp - 0x420]
push eax
call fcn.00468f76
pop ecx
mov edi, 0x494f78
test eax, eax
je 0x44a7dd
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
mov ecx, esi
je 0x44a7d1
push edi
call fcn.00417f66
mov ecx, esi
lea eax, [ebp - 0x420]
push eax
call fcn.00417f66
lea eax, [ebp - 0x218]
push eax
call fcn.00468f76
pop ecx
test eax, eax
je 0x44a80c
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
mov ecx, esi
je 0x44a800
push edi
call fcn.00417f66
mov ecx, esi
lea eax, [ebp - 0x218]
push eax
call fcn.00417f66
mov eax, esi
call fcn.00468b5a
ret 4
Function at 0x44a8cd
Capabilities:
Copy file

Disassembly:
push 0x10
mov eax, 0x487776
call fcn.00468a6e
mov esi, ecx
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.00417b88
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
and dword [ebp - 4], 0
sub eax, 0x10
push eax
call fcn.00417b88
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004461ac
lea eax, [ebp - 0x10]
push eax
call fcn.004461ac
mov esi, str.WPSOfficePIA.exe
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417e8f
mov edi, eax
push str.office6WPSOfficePIA.exe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00417e8f
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x28
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00417891
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417e8f
mov ecx, dword [ebp + 8]
push 1
push dword [ecx + 0xc]
mov byte [ebp - 4], 3
push dword [ecx + 8]
push dword [ecx + 4]
push dword [eax]
call fcn.004452b2
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00417891
call fcn.00468b46
ret 4

Function at 0x44b0ad
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x487c5a
call fcn.00468ad7
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00466c70
add esp, 0xc
push 0x4c1160
lea ecx, [ebp - 0x21c]
call fcn.004237f4
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44b16a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00417f8c
push str.wps_
mov ecx, esi
call fcn.00417f66
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x21c]
push str._x_
push eax
call fcn.0041915d
mov edi, dword [ebp - 0x21c]
add esp, 0xc
push dword [edi - 0xc]
mov ecx, esi
push edi
call fcn.00417d0b
push dword [esi]
call fcn.00419af7
pop ecx
test eax, eax
je 0x44b170
inc ebx
jmp 0x44b177
mov edi, dword [ebp - 0x21c]
mov ecx, esi
call fcn.00417a47
lea ecx, [edi - 0x10]
call fcn.00417891
mov eax, ebx
call fcn.00468b5a
ret 4
Function at 0x44b3b3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x487997
call fcn.00468ad7
mov edi, dword [ebp + 8]
xor esi, esi
push 0x4c1160
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.004237f4
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x44b491
cmp dword [ebp - 0x21c], esi
je 0x44b491
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 0x228], esi
call fcn.00466c70
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push str.waitclearversions
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x44b485
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00417f8c
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.00468b5a
ret 4

Function at 0x44b51a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov eax, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], ebx
cmp dword [eax + 0xc4], ebx
je 0x44b556
mov eax, dword [eax + 0xa8]
sub eax, 0x10
push eax
call fcn.00417b88
pop ecx
jmp 0x44b5ae
push edi
lea edi, [eax + 0xa8]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x44b5a1
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00466c70
add esp, 0xc
push ebx
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.00417f8c
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00417b88
pop ecx
pop edi
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret 4
Function at 0x44b5c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov eax, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], ebx
cmp dword [eax + 0xc4], ebx
je 0x44b601
mov eax, dword [eax + 0xac]
sub eax, 0x10
push eax
call fcn.00417b88
pop ecx
jmp 0x44b659
push edi
lea edi, [eax + 0xac]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x44b64c
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00466c70
add esp, 0xc
push ebx
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.00417f8c
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00417b88
pop ecx
pop edi
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret 4

Function at 0x44b7ca
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x30
mov eax, 0x487a35
call fcn.00468a6e
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00418067
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0044ae8d
pop ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0x18]
or ecx, 0x20019
push ecx
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x44b830
jle 0x44b81c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00417891
mov eax, esi
jmp 0x44b8c4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
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 edi
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
je 0x44b88a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jle 0x44b81e
and esi, 0xffff
or esi, 0x80070000
jmp 0x44b81e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
je 0x44b8ae
jle 0x44b8ac
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00417891
mov eax, edi
call fcn.00468b46
ret
Function at 0x44b982
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x487a7b
call fcn.00468a6e
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00418067
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0044ae8d
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044b00b
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x44ba00
jle 0x44b9e4
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00417891
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00417891
mov eax, esi
jmp 0x44ba5a
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x44ba42
jle 0x44ba40
and esi, 0xffff
or esi, 0x80070000
mov edi, esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00417891
mov eax, edi
call fcn.00468b46
ret
Function at 0x44bdc7
Capabilities:
Read .ini file

Disassembly:
push 0x628
mov eax, 0x487af5
call fcn.00468ad7
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x628], ax
xor ebx, ebx
lea eax, [ebp - 0x626]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x634], edi
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00466c70
add esp, 0x24
push 0x4c1160
lea ecx, [ebp - 0x62c]
call fcn.004237f4
push dword [edi + 0xc]
lea eax, [ebp - 0x628]
push eax
mov dword [ebp - 4], ebx
call fcn.0046b81a
lea eax, [ebp - 0x628]
push str.utilityinstall.ini
push eax
call fcn.0046b7e9
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ebx, 0x48c308
push ebx
push str.lowerversion
mov edi, str.update
push edi
call esi
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push ebx
push str.higherversion
push edi
call esi
mov ecx, dword [ebp - 0x634]
lea eax, [ebp - 0x630]
push eax
call fcn.0044b3b3
push eax
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
call fcn.00417f16
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00417891
lea eax, [ebp - 0x218]
push eax
call fcn.00468f76
pop ecx
mov esi, 0x494f78
test eax, eax
je 0x44bf35
mov eax, dword [ebp - 0x62c]
cmp dword [eax - 0xc], 0
je 0x44bf15
push esi
call fcn.00468f76
pop ecx
push eax
push esi
lea ecx, [ebp - 0x62c]
call fcn.00417d0b
lea eax, [ebp - 0x218]
push eax
call fcn.00468f76
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x62c]
call fcn.00417d0b
lea eax, [ebp - 0x420]
push eax
call fcn.00468f76
pop ecx
test eax, eax
je 0x44bf86
mov eax, dword [ebp - 0x62c]
cmp dword [eax - 0xc], 0
je 0x44bf66
push esi
call fcn.00468f76
pop ecx
push eax
push esi
lea ecx, [ebp - 0x62c]
call fcn.00417d0b
lea eax, [ebp - 0x420]
push eax
call fcn.00468f76
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x62c]
call fcn.00417d0b
mov esi, dword [ebp - 0x62c]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x630], esp
mov edi, esp
push esi
call fcn.00417b88
pop ecx
mov ecx, dword [ebp - 0x634]
add eax, 0x10
mov dword [edi], eax
call fcn.004496bc
mov ecx, esi
call fcn.00417891
call fcn.00468b5a
ret
Function at 0x44c09b
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x218
mov eax, 0x487b79
call fcn.00468ad7
mov edi, ecx
push 0x4c1160
lea ecx, [ebp - 0x21c]
call fcn.004237f4
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0xc8], ebx
je 0x44c0fa
lea eax, [ebp - 0x224]
push eax
mov ecx, edi
call fcn.0044b5c5
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.00417f16
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00417891
jmp 0x44c149
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00466c70
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call fcn.00468f76
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00417d8b
lea eax, [ebp - 0x21c]
push eax
call fcn.004461ac
mov esi, str.KingsoftWPS_Office_
push esi
call fcn.00468f76
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.00417d0b
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00417b88
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 2
call fcn.00445f1e
lea eax, [ebp - 0x220]
push eax
call fcn.00446880
add esp, 0xc
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
call fcn.00417a23
test eax, eax
jne 0x44c1e0
lea eax, [ebp - 0x21c]
push eax
call fcn.00445f1e
lea eax, [ebp - 0x21c]
push eax
call fcn.00445ed1
push 1
push dword [ebp - 0x21c]
call fcn.004471ce
add esp, 0x10
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00417891
call fcn.00468b5a
ret