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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b178
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x480f3d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.125_tKPacket4::ExtractPacket_tGetPacketData__d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
mov dword [ebp - 4], 0
call fcn.004677c0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
add esp, 0x14
push eax
push edi
call fcn.00480f50
mov edi, eax
push edi
push str.127_tKPacket4::ExtractPacket_tGetPacketData_return:_d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x14
test edi, edi
je 0x480eef
call fcn.0042dc40
mov ebx, eax
test ebx, ebx
je 0x480eef
push str.133_tKPacket4::ExtractPacket_tExtract...
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
mov eax, dword [ebx]
add esp, 0x10
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push edi
push ebx
call dword [eax]
xor ecx, ecx
mov edi, eax
test edi, edi
sete cl
push ecx
push str.135_tKPacket4::ExtractPacket_tExtract_return:_d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x14
test edi, edi
je 0x480ee8
xor edi, edi
jmp 0x480f08
mov edi, 1
jmp 0x480ef1
xor edi, edi
cmp dword [esi - 0xc], 0
je 0x480efe
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x480f08
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x480f27
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 8
push 0x80004005
call fcn.004293d0
int3
Function at 0x480ff0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62819c]
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.0054b380
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 0x481093
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.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
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 0x4810e1
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.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x18
jmp 0x481129
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 0x481124
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.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x18
jmp 0x481129
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x481080
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 0x481080
mov eax, dword [ecx + edx]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
cmp dword [eax], 0x2e647a7a
jne 0x481080
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.00545ec7
mov esp, ebp
pop ebp
ret
Function at 0x481270
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 0x4812ad
push 0x5b8fa8
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x10
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
ret 4
call fcn.0042dc40
mov dword [esi + 0x18], eax
test eax, eax
je 0x4812f8
push 0
push 0
push esi
push 0x481190
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push str.71_tKPacket4::StartLoadPacket_tLoadProductPacket_CreateThread_return:_d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x631888
mov dword [esi + 0x10], eax
call fcn.004677c0
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 0x482e50
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b321
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x62819c]
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.0054b380
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 0x482ecd
push eax
push str.2271_tKUninstall::CleanCloudSvrFolder_tcan_not_get_folder_path__error_code:__l
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x631888
call fcn.004677c0
add esp, 0x14
jmp 0x483017
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x483031
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 0x482f0f
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.004295b0
jmp 0x482f42
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x482f20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482f20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00429870
push 0x5b967c
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00429080
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 0x482f88
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 0x482fc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x220]
push str.2279_tKUninstall::CleanCloudSvrFolder_tcan_not_find_path:__ws__error_code:__lu
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x631888
call fcn.004677c0
add esp, 0x18
jmp 0x482ff5
push 1
push 0
push dword [ebp - 0x220]
call fcn.00479880
add esp, 0xc
test eax, eax
jne 0x482ff5
push str.2285_tKUninstall::CleanCloudSvrFolder_tremove_cloudsvr_folder_failed
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x631888
call fcn.004677c0
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 0x483017
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x485760
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x124c
call fcn.00546790
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0054b380
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.0054b380
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00559d1c
push str.kingsoftwps
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00559ca7
push 0
push 0
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.00474ee0
push 1
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00479880
add esp, 0x40
lea eax, [ebp - 0x824]
push 0x208
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00559d1c
push str.kingsoft
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00559ca7
push 1
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00479880
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0054b380
add esp, 0x3c
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.00559ca7
push 0x208
push 0
lea eax, [ebp - 0xa2c]
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0xe3c]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x1044]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x124c]
push 0
push eax
call fcn.0054b380
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.00559d1c
push str._newfile.wps
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc34]
push 0x104
push eax
call fcn.00559d1c
push str._newfile.et
lea eax, [ebp - 0xc34]
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.00559d1c
push str._newfile.dps
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.00559ca7
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1044]
push 0x104
push eax
call fcn.00559d1c
push str._newfile.xlsx
lea eax, [ebp - 0x1044]
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x124c]
push 0x104
push eax
call fcn.00559d1c
push str._newfile.pptx
lea eax, [ebp - 0x124c]
push 0x104
push eax
call fcn.00559ca7
add esp, 0x30
lea eax, [ebp - 0xa2c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
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.00479880
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
Function at 0x486050
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b7d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x62819c]
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.0054b380
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
add esp, 0xc
push 0
push 0x17
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559d1c
push 0x5ad728
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00474ee0
add esp, 0x40
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559d1c
push 0x5bca30
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00474ee0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0054b380
add esp, 0x34
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.0054b380
push 0x208
push 0
lea eax, [ebp - 0xa38]
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00559d1c
push 0x5bca58
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00559d1c
add esp, 0x48
lea eax, [ebp - 0xa38]
push 0x5bca70
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.00559d1c
push str.WPS
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.00559ca7
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 0x486289
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.00545ec7
mov esp, ebp
pop ebp
ret 4
Function at 0x4884a0
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.004c8ef0
mov ecx, eax
call fcn.004c7e60
cmp byte [0x631d90], 0
je 0x488510
push 0
push 0
push 0x5ae038
push str.StartUninstall
push 1
call fcn.004ca730
add esp, 0x14
cmp byte [0x631d90], 0
je 0x488510
push 0xff
push str.StartUninstall
call fcn.004ca7b0
add esp, 8
mov eax, dword [esi + 0x10]
mov dword [esi + 4], 0
cmp dword [eax - 0xc], 0
je 0x488552
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 0x4948e0
push 0
push 0
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp byte [0x631d90], 0
pop esi
je 0x48858f
push 0
push 0
push 0x5ae038
push str.StartUninstall
push 1
call fcn.004ca770
add esp, 0x14
cmp byte [0x631d90], 0
je 0x48858f
push 0xff
push str.StartUninstall
call fcn.004ca7d0
add esp, 8
pop ebp
ret 0x14
Function at 0x4885a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59baf0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x62819c]
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.004293f0
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.004293f0
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00479790
lea eax, [ebp - 0x10]
push eax
call fcn.00479790
push str.WPSOfficePIA.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429080
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.00429080
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 0x48865f
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 0x48867d
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.00429080
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.00479aa0
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 0x4886cd
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 0x4886eb
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 0x48870a
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 0x48b470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62819c]
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 0x48b4a6
lea ecx, [eax - 0x10]
push ecx
jmp 0x48b50c
cmp dword [eax - 0xc], 0
jne 0x48b508
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0054b380
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 0x48b4e0
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [edi + 0xb8]
push edx
push eax
call fcn.00429870
mov eax, dword [edi + 0xb8]
add eax, 0xfffffff0
push eax
call fcn.004293f0
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.00545ec7
mov esp, ebp
pop ebp
ret 4
Function at 0x48b530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bfb4
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x62819c]
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 0x48b6ca
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2c], eax
mov ecx, dword fs:[0x2c]
mov edx, dword [0x633954]
mov dword [ebp - 4], eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x631968]
cmp ecx, dword [edx + 4]
jg 0x48b701
jmp 0x48b5a4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [str.SoftwareKingsoftOffice6.0CommonLocal]
mov edx, dword [0x631964]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
test eax, eax
je 0x48b5c9
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 0x48b61a
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 0x48b610
cmp dword [ebp - 0x34], 4
cmove esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x48b61a
push eax
call ebx
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x48b668
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00514ad0
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x48b65c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [edi + 0xb4]
push 0x5bd348
push eax
call fcn.0042bf70
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0042a1f0
mov eax, dword [edi + 0xb4]
cmp dword [eax - 0xc], 0
jne 0x48b6af
lea eax, [ebp - 0x30]
push eax
call fcn.004ab040
add esp, 4
push eax
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 3
call fcn.0042a6a0
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 0x48b6af
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 0x48b6c0
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.004293f0
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.00545ec7
mov esp, ebp
pop ebp
ret 4
push 0x631968
call fcn.00546388
add esp, 4
cmp dword [0x631968], 0xffffffff
jne 0x48b5a1
mov ecx, 0x631960
mov byte [ebp - 4], 1
call fcn.004b48f0
push 0x5a95d0
call fcn.0054669a
push 0x631968
mov byte [ebp - 4], 0
call fcn.0054633e
add esp, 8
jmp 0x48b5a1
Function at 0x48b750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62819c]
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 0x48b786
lea ecx, [eax - 0x10]
push ecx
jmp 0x48b7ec
cmp dword [eax - 0xc], 0
jne 0x48b7e8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0054b380
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 0x48b7c0
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [edi + 0xbc]
push edx
push eax
call fcn.00429870
mov eax, dword [edi + 0xbc]
add eax, 0xfffffff0
push eax
call fcn.004293f0
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.00545ec7
mov esp, ebp
pop ebp
ret 4