joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da280
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x54], eax
call fcn.00403940
mov dword [ebp - 0x30], eax
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.004985a0
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.004020d0
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
je 0x4da36f
lea eax, [ebp + 8]
push eax
push str._Copy__Invalid_arguments__nArg_2_:
lea ecx, [ebp - 0x50]
push ecx
call fcn.00404320
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4da2f8
mov dword [ebp - 0x58], 0
jmp 0x4da347
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4da31a
mov dword [ebp - 0x5c], 0
jmp 0x4da341
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd30
mov dword [ebp - 0x60], esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.00407950
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004b61cc
push 0x523e6c
lea ecx, [ebp - 0x48]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0x50]
call fcn.00402ea0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00498577
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cd00
push eax
lea ecx, [ebp - 0x10]
call fcn.004020d0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00498577
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cd00
push eax
lea ecx, [ebp - 8]
call fcn.004020d0
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4da3dc
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp - 0x10]
call fcn.00402ea0
lea ecx, [ebp - 0x2c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4da416
push 0
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp - 0x10]
call fcn.00402ea0
lea ecx, [ebp - 0x2c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret
Function at 0x4da980
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f910f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x542af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x547fa0]
call fcn.00407ea0
mov dword [ebp - 0x10], 0
jmp 0x4da9c5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.00414c50
cmp dword [ebp - 0x10], eax
jae 0x4daae2
push 0x1388
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.00408520
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4daa7d
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.00408520
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x18]
call fcn.00402e80
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.00408520
mov eax, dword [eax]
push eax
push str.Execute_Command_Thread__d_Terminated_
lea ecx, [ebp - 0x18]
push ecx
call fcn.004061c0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004020d0
mov dword [ebp - 0x28], eax
mov ecx, 0x547ce0
call fcn.004ea5d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402ea0
lea ecx, [ebp - 0x14]
call fcn.00402e80
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.00408520
mov ecx, dword [eax]
push ecx
push str.Execute_Command_Thread__d_Exited_
lea edx, [ebp - 0x14]
push edx
call fcn.004061c0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x14]
push eax
call fcn.004020d0
mov dword [ebp - 0x2c], eax
mov ecx, 0x547ce0
call fcn.004ea5d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402ea0
jmp 0x4da9bc
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.004085d0
mov ecx, dword [ebp - 0x24]
add ecx, 8
call fcn.004085d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.004085d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
call fcn.004085d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x50
call fcn.004085d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.004085d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x80
call fcn.004085d0
mov ecx, dword [0x547fa0]
call fcn.00407ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4db970
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00403940
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4db9b5
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._UnPinStartMenu__Source_link_not_exists:
push eax
call fcn.00404320
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004ea5d0
jmp 0x4db9da
cmp dword [0x547e2c], 6
jb 0x4db9da
push 0
push 0
push 0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push str.startunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret

Function at 0x4db9f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00403940
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dba35
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._PinStartMenu__Source_link_not_exists:
push eax
call fcn.00404320
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004ea5d0
jmp 0x4dba5a
cmp dword [0x547e2c], 6
jb 0x4dba5a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret
Function at 0x4dc860
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00403940
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dc8a5
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._UnPinTaskBar__Source_link_not_exists:
push eax
call fcn.00404320
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004ea5d0
jmp 0x4dc8ca
cmp dword [0x547e2c], 6
jb 0x4dc8ca
push 0
push 0
push 0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret

Function at 0x4dc8e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00403940
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dc925
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push 0x510150
push eax
call fcn.00404320
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004ea5d0
jmp 0x4dc94a
cmp dword [0x547e2c], 6
jb 0x4dc94a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret
Function at 0x4dcd20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9371
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.00403940
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dce2f
lea eax, [ebp + 8]
push eax
push str._RegDLL__Source_file_not_found:
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00404320
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4dcdb1
mov dword [ebp - 0x50], 0
jmp 0x4dce03
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x4dcdd3
mov dword [ebp - 0x54], 0
jmp 0x4dcdfd
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.004bbd30
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00407950
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004b61cc
push 0x523e6c
lea edx, [ebp - 0x34]
push edx
call fcn.004bb782
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402ea0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4dceab
mov byte [ebp - 4], 2
push str.DllRegisterServer
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4dce66
call dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4dcea4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret
Function at 0x4dcfc0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4dcffe
or dword [ebp - 0x14], 1
lea eax, [ebp + 8]
push eax
push str.RMEmptyDir_Success:
lea ecx, [ebp - 0xc]
push ecx
call fcn.00404320
add esp, 0xc
mov dword [ebp - 0x18], eax
jmp 0x4dd01a
or dword [ebp - 0x14], 2
lea edx, [ebp + 8]
push edx
push str.RMEmptyDirFailed:
lea eax, [ebp - 0x10]
push eax
call fcn.00404320
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
mov edx, dword [ebp - 8]
push edx
call fcn.004020d0
mov ecx, 0x547ce0
call fcn.004ea5d0
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x4dd04d
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x10]
call fcn.00402ea0
mov ecx, dword [ebp - 0x14]
and ecx, 1
je 0x4dd061
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret

Function at 0x4dd070
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dd0a2
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4dd101
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffe
push eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4dd0f9
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp + 8]
push edx
call fcn.004020d0
call fcn.004da720
add esp, 4
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret
Function at 0x4dd4e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x54], eax
call fcn.00403940
mov dword [ebp - 0x30], eax
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.004985a0
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.004020d0
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x4dd5cf
lea eax, [ebp + 8]
push eax
push str._DeleteNetVideoDestopShortCut__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x50]
push ecx
call fcn.00404320
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4dd558
mov dword [ebp - 0x5c], 0
jmp 0x4dd5a7
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4dd57a
mov dword [ebp - 0x60], 0
jmp 0x4dd5a1
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd30
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.00407950
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004b61cc
push 0x523e6c
lea ecx, [ebp - 0x48]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0x50]
call fcn.00402ea0
push 0x547d88
lea ecx, [ebp - 0x10]
call fcn.004020d0
push str.PStyleqiyi_sysset.ini
lea ecx, [ebp - 0x10]
call fcn.00403d80
lea ecx, [ebp - 8]
call fcn.00402e80
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x104
push 0x104
lea ecx, [ebp - 8]
call fcn.00403630
push eax
push 0x512e94
push str.CreatNVShortCut
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x512ec8
lea edx, [ebp - 8]
push edx
call fcn.004043f0
add esp, 8
movzx eax, al
test eax, eax
je 0x4dd651
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp + 8]
push edx
call fcn.004020d0
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp - 0x10]
call fcn.00402ea0
lea ecx, [ebp - 0x2c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret
Function at 0x4de000
Capabilities:
Create http request
Create thread
Delete file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f94a5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x542af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
push 0xc
call fcn.00496cc8
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4de05f
mov ecx, dword [ebp - 0x2c]
call fcn.00407f50
mov dword [ebp - 0x38], eax
jmp 0x4de066
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00402e60
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00402e60
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x20]
push eax
push 0x4dd110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4de133
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp + 8]
push edx
push str.Download_File_Timeout_Or_Installer_Exit_
push ecx
call fcn.00404320
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x547ce0
call fcn.004ea5d0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x547f54]
mov dword [ebp - 0x24], edx
lea ecx, [ebp + 0xc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0
je 0x4de158
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
cmp ecx, dword [ebp - 0x10]
sbb edx, edx
neg edx
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402ea0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4de5e0
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.004020d0
lea ecx, [ebp - 8]
call fcn.00402e80
mov ecx, dword [0x547dbc]
push ecx
push str._smasRepair.dll
lea edx, [ebp - 8]
push edx
call fcn.004061c0
add esp, 0xc
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4de634
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4e20
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
lea eax, [ebp - 8]
push eax
call fcn.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea edx, [ebp - 0xc]
push edx
call fcn.004020d0
call fcn.004de000
add esp, 0xc
test eax, eax
jne 0x4de680
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4de70c
push 0x513580
lea ecx, [ebp - 4]
call fcn.00403870
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00406b10
push 0x513584
lea ecx, [ebp - 4]
call fcn.00403d80
push str.RunRepair
lea ecx, [ebp - 4]
call fcn.00403d80
push 0x5135a0
lea ecx, [ebp - 4]
call fcn.00403d80
push 0x5135a4
lea ecx, [ebp - 4]
call fcn.00403d80
push 0
push 0
lea ecx, [ebp - 4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push str.rundll32.exe
push 0x5135d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00402ea0
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret
Function at 0x4deb20
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9725
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc90
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 8], 0
je 0x4deb5e
cmp dword [ebp + 0xc], 0
jne 0x4deb65
xor eax, eax
jmp 0x4ded4c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4deb93
push ecx
mov ecx, esp
mov dword [ebp - 0xc9c], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403870
mov dword [ebp - 0xca0], eax
call sym.QiyiInstaller.exe_MakeSurePath
add esp, 4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xffffffff
push 0x512ecc
mov eax, dword [ebp + 8]
push eax
push 0x512ed4
push 0x104
lea ecx, [ebp - 0x478]
push ecx
call fcn.004b8e2f
add esp, 0x14
mov dword [ebp - 4], 0
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4debee
xor eax, eax
jmp 0x4ded4c
movzx ecx, word [ebp - 0x244]
cmp ecx, 0x2e
jne 0x4debff
jmp 0x4decf2
mov edx, dword [ebp - 0x270]
and edx, 0x10
je 0x4dec7f
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x512ee0
push 0x104
lea edx, [ebp - 0x888]
push edx
call fcn.004b8e2f
add esp, 0x14
xor eax, eax
mov word [ebp - 0x682], ax
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s_s_
push 0x104
lea eax, [ebp - 0x680]
push eax
call fcn.004b8e2f
add esp, 0x14
xor ecx, ecx
mov word [ebp - 0x47a], cx
lea edx, [ebp - 0x680]
push edx
lea eax, [ebp - 0x888]
push eax
call fcn.004deb20
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x4decf2
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x512ef8
push 0x104
lea eax, [ebp - 0xc98]
push eax
call fcn.004b8e2f
add esp, 0x14
xor ecx, ecx
mov word [ebp - 0xa92], cx
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x512f04
push 0x104
lea ecx, [ebp - 0xa90]
push ecx
call fcn.004b8e2f
add esp, 0x14
xor edx, edx
mov word [ebp - 0x88a], dx
push 0
lea eax, [ebp - 0xa90]
push eax
lea ecx, [ebp - 0xc98]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4debee
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4ded42
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret