joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bd90
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
mov esi, ecx
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47be33
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.210_tKPacket4::LoadImageToMem_tLoadImageToMem_CreateFile_error:_d__path:_ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push 0
push 2
push 0
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
test edi, edi
jne 0x47be81
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.219_tKPacket4::LoadImageToMem_tCreateFileByMem_CreateFileMapping_error:_d__path:_ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x18
jmp 0x47bec9
push dword [esi + 8]
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x47bec4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.226_tKPacket4::LoadImageToMem_tCreateFileByMem_MapViewOfFile_error:_d__path:_ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x18
jmp 0x47bec9
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x47be20
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 8]
mov dword [esi + 0xc], ecx
cmp ecx, dword [esi + 8]
ja 0x47be20
mov eax, dword [ecx + edx]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
cmp dword [eax], 0x2e647a7a
jne 0x47be20
lea eax, [ecx + 4]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0xc], eax
xor ecx, ebp
pop esi
mov eax, 1
pop ebx
call fcn.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x47c010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 8], 0x1e00000
mov dword [esi + 0x14], eax
jbe 0x47c04d
push str.62_tKPacket4::StartLoadPacket_tthe_packet_is_too_large
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x10
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
ret 4
call fcn.00425740
mov dword [esi + 0x18], eax
test eax, eax
je 0x47c098
push 0
push 0
push esi
push 0x47bf30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push str.71_tKPacket4::StartLoadPacket_tLoadProductPacket_CreateThread_return:_d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
mov dword [esi + 0x10], eax
call fcn.004638c0
add esp, 0x14
mov eax, 1
cmp dword [esi + 0x10], edi
cmovne edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x47d5f0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ba51
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x47d66d
push eax
push str.2046_tKUninstall::CleanCloudSvrFolder_tcan_not_get_folder_path__error_code:__l
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x14
jmp 0x47d7b7
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x47d7d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x47d6af
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00426130
jmp 0x47d6e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x47d6c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d6c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004263f0
push 0x5c40c8
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00425c00
add esp, 0xc
mov edx, dword [ebp - 0x21c]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d728
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d763
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x220]
push str.2054_tKUninstall::CleanCloudSvrFolder_tcan_not_find_path:__ws__error_code:__lu
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x18
jmp 0x47d795
push 1
push 0
push dword [ebp - 0x220]
call fcn.00474c20
add esp, 0xc
test eax, eax
jne 0x47d795
push str.2060_tKUninstall::CleanCloudSvrFolder_tremove_cloudsvr_folder_failed
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x10
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47d7b7
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 esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x47f700
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x124c
call fcn.0053d5e0
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00540d70
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00554202
push str.kingsoftwps
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0055418d
push 0
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.00470770
push 1
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00474c20
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00540d70
add esp, 0x48
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00554202
push str.kingsoft
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0055418d
push 1
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00474c20
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00540d70
add esp, 0x30
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.ShellNew
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0055418d
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0xe3c]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x1044]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x124c]
push 0
push eax
call fcn.00540d70
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.00554202
push str._newfile.wps
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.0055418d
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc34]
push 0x104
push eax
call fcn.00554202
push str._newfile.et
lea eax, [ebp - 0xc34]
push 0x104
push eax
call fcn.0055418d
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.00554202
push str._newfile.dps
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.0055418d
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1044]
push 0x104
push eax
call fcn.00554202
push str._newfile.xlsx
lea eax, [ebp - 0x1044]
push 0x104
push eax
call fcn.0055418d
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x124c]
push 0x104
push eax
call fcn.00554202
push str._newfile.pptx
lea eax, [ebp - 0x124c]
push 0x104
push eax
call fcn.0055418d
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xa2c]
add esp, 0x30
push eax
call esi
lea eax, [ebp - 0xc34]
push eax
call esi
lea eax, [ebp - 0xe3c]
push eax
call esi
lea eax, [ebp - 0x1044]
push eax
call esi
lea eax, [ebp - 0x124c]
push eax
call esi
push 1
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00474c20
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x47fff0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bea8
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00540d70
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
add esp, 0xc
push 0
push 0x17
pop ss
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00554202
push 0x5b14ac
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0055418d
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0055418d
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00470770
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00554202
add esp, 0x48
lea eax, [ebp - 0x218]
push 0x5c4174
push 0x104
push eax
call fcn.0055418d
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00470770
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00540d70
add esp, 0x24
lea eax, [ebp - 0x420]
push 0
push 0x19
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00540d70
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00554202
push 0x5c419c
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0055418d
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00554202
add esp, 0x48
lea eax, [ebp - 0xa38]
push 0x5c41b4
push 0x104
push eax
call fcn.0055418d
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.00554202
push str.WPS
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0055418d
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x830]
add esp, 0x24
push eax
call esi
lea eax, [ebp - 0xa38]
push eax
call esi
lea eax, [ebp - 0xc40]
push eax
call esi
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480225
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 esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 4
Function at 0x481f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0
push 0
mov dword [esi + 0x20], eax
mov al, byte [ebp + 0x18]
mov byte [esi + 0x59], al
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x54], eax
call fcn.004ba9d0
mov ecx, eax
call fcn.004b9a90
cmp byte [0x62a1c4], 0
je 0x481fcd
push 0
push 0
push 0x5bed51
push str.StartUninstall
push 1
call fcn.004c7f00
add esp, 0x14
cmp byte [0x62a1c4], 0
je 0x481fcd
push 0
push str.StartUninstall
call fcn.004c7f80
add esp, 8
mov eax, dword [esi + 0x10]
mov dword [esi + 4], 0
cmp dword [eax - 0xc], 0
je 0x48200f
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x48da60
push 0
push 0
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp byte [0x62a1c4], 0
pop esi
je 0x482049
push 0
push 0
push 0x5bed51
push str.StartUninstall
push 1
call fcn.004c7f40
add esp, 0x14
cmp byte [0x62a1c4], 0
je 0x482049
push 0
push str.StartUninstall
call fcn.004c7fa0
add esp, 8
pop ebp
ret 0x14
Function at 0x482050
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c180
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x61ce74]
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.00425f70
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.00425f70
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00474b30
lea eax, [ebp - 0x10]
push eax
call fcn.00474b30
push str.WPSOfficePIA.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00425c00
mov esi, eax
push str.office6WPSOfficePIA.exe
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00425c00
add esp, 0x28
push 0
push dword [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 0x48210f
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 0x48212d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.WPSOfficePIA.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00425c00
mov ecx, dword [ebp + 8]
push 1
push 1
push 0
push dword [ecx + 0xc]
mov byte [ebp - 4], 3
push dword [ecx + 8]
push dword [ecx + 4]
push dword [eax]
call fcn.00474e60
mov edx, dword [ebp - 0x1c]
add esp, 0x28
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48217d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48219b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4821ba
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 esi
mov esp, ebp
pop ebp
ret 4
Function at 0x484d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61ce74]
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 0x484d46
lea ecx, [eax - 0x10]
push ecx
jmp 0x484dac
cmp dword [eax - 0xc], 0
jne 0x484da8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00540d70
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 0x484d80
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [edi + 0xb8]
push edx
push eax
call fcn.004263f0
mov eax, dword [edi + 0xb8]
add eax, 0xfffffff0
push eax
call fcn.00425f70
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.0053d079
mov esp, ebp
pop ebp
ret 4
Function at 0x484dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c5e6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x61ce74]
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 0x484f79
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x629be8]
mov dword [ebp - 4], eax
test cl, 1
jne 0x484e53
or ecx, 1
mov dword [0x629be8], ecx
mov ecx, 0x629be0
mov byte [ebp - 4], 1
call fcn.004a6e40
push 0x5ad190
call fcn.0053d46e
mov eax, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [str.SoftwareKingsoftOffice6.0CommonLocal]
mov edx, dword [0x629be4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
test eax, eax
je 0x484e78
push eax
call ebx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 4
test eax, eax
je 0x484ec9
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 0x484ebf
cmp dword [ebp - 0x34], 4
cmove esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x484ec9
push eax
call ebx
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x484f17
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004e2450
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x484f0b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [edi + 0xb4]
push 0x5c49e0
push eax
call fcn.004289d0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00430d50
mov eax, dword [edi + 0xb4]
cmp dword [eax - 0xc], 0
jne 0x484f5e
lea eax, [ebp - 0x30]
push eax
call fcn.004a0070
add esp, 4
push eax
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 3
call fcn.00427100
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x484f5e
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 0x484f6f
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.00425f70
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.0053d079
mov esp, ebp
pop ebp
ret 4
Function at 0x484fb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61ce74]
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 0x484fe6
lea ecx, [eax - 0x10]
push ecx
jmp 0x48504c
cmp dword [eax - 0xc], 0
jne 0x485048
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00540d70
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 0x485020
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [edi + 0xbc]
push edx
push eax
call fcn.004263f0
mov eax, dword [edi + 0xbc]
add eax, 0xfffffff0
push eax
call fcn.00425f70
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.0053d079
mov esp, ebp
pop ebp
ret 4
Function at 0x485070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c632
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x61ce74]
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 - 4], 0
mov dword [ebp - 0x62c], 0
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00540d70
add esp, 0x24
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48527d
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.00554202
push str.utilityinstall.ini
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0055418d
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5b0144
push str.lowerversion
push 0x5c34ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x5b0144
push str.higherversion
push 0x5c34ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0xc4]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.00425dc0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4851b6
sub ecx, edx
sar ecx, 1
je 0x485204
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4851f5
push 1
push 0x5c1168
mov ecx, edi
call fcn.00425dc0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4851e6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00425dc0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485210
sub ecx, edx
sar ecx, 1
je 0x48525e
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x48524f
push 1
push 0x5c1168
mov ecx, edi
call fcn.00425dc0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485240
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.00425dc0
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.0053d079
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00425f50
int3