joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4e00
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa089
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x10]
call fcn.00407250
mov dword [ebp - 4], 0
push str.AUTOFORCE_QiyiClient
lea eax, [ebp - 0x10]
push eax
call fcn.00406160
add esp, 8
push 0x50fe60
push 0x549d84
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xd4]
call fcn.00402e70
cmp dword [ebp - 0xd0], 0
je 0x4d502b
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push str.Run_Force_Update...
call fcn.004037e0
mov dword [ebp - 0xf8], eax
mov ecx, 0x549ce0
call fcn.004eadb0
push 0x50fea8
push 0x549d84
lea edx, [ebp - 0xe0]
push edx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xe0]
call fcn.00402e70
cmp dword [ebp - 0xdc], 0
je 0x4d4f56
push str.local.inf
push 0x549d84
lea eax, [ebp - 0xe4]
push eax
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50fed8
push 0x50fedc
push str.ForceVersion
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xe4]
call fcn.00402e70
push str.QiyiUpdate.exe
push 0x549d84
lea ecx, [ebp - 0xe8]
push ecx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0x104], eax
push 5
push 0
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0x104]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50ff24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xe8]
call fcn.00402e70
mov dword [0x549df0], 1
push 0
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0xcc]
call fcn.004f3790
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.SendLog_7cancelsysbtn2
call fcn.004037e0
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0xcc]
call fcn.004f3690
push 0
push 0
push 0x464
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.004f3670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5050
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa0b2
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
mov ecx, 0x549db4
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5166
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.Run_QiyiInstaller_Repair...
call fcn.004037e0
mov dword [ebp - 0xd4], eax
mov ecx, 0x549ce0
call fcn.004eadb0
push 5
push 0
push str._repair
mov ecx, 0x549db4
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50fdf0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [0x549df0], 1
push 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0xc4]
call fcn.004f3790
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.SendLog_7cancelsysbtn3
call fcn.004037e0
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.004f3690
push 0
push 0
push 0x464
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004f3670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa0db
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
cmp dword [0x549df0], 0
jne 0x4d5286
push 0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0xc4]
call fcn.004f3790
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x3bc], 0
je 0x4d521b
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.OpenUrl_http:__app.iqiyi.com_pc_player_feedback_index.html_entryuninstallversion_realversionie
call fcn.004037e0
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.004f3690
jmp 0x4d5274
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x3c0], 0
je 0x4d5250
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.SendLog_7cancelsysbtn0
call fcn.004037e0
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xc4]
call fcn.004f3690
jmp 0x4d5274
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push str.SendLog_7cancelsysbtn1
call fcn.004037e0
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.004f3690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004f3670
push 0
push 0
push 0x464
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d6e30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004b5cb0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x4d6f43
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4d6f43
lea eax, [ebp - 4]
push eax
push 0x10008
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4d6f41
cmp dword [ebp - 0x21c], 0
jne 0x4d6f37
mov dword [ebp - 0x220], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0x103
jne 0x4d6f10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x21c], eax
jmp 0x4d6f37
cmp dword [ebp - 0x21c], 0
jne 0x4d6f32
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004d6e30
add esp, 8
mov dword [ebp - 0x21c], eax
jmp 0x4d6eb1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d6f4d
mov dword [ebp - 0x21c], 0x3f2
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret
Function at 0x4d7220
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.004038b0
mov dword [ebp - 0xc], eax
cmp dword [0x549e2c], 6
jae 0x4d724e
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4d732b
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 0x4d726e
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4d732b
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d7323
mov dword [ebp - 0x18], 1
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d72b2
mov dword [ebp - 0x20], 0
jmp 0x4d7301
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4d72d4
mov dword [ebp - 0x24], 0
jmp 0x4d72fb
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd60
mov dword [ebp - 0x28], esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00407980
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.00402e70
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret
Function at 0x4d7430
Capabilities:
Set registry value

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 fcn.004b8242
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jae 0x4d745d
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4d751d
lea ecx, [ebp - 8]
call fcn.00407250
cmp dword [0x549e2c], 6
jae 0x4d74cb
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d74c9
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.MaxConnectionsPerServer
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.MaxConnectionsPer1_0Server
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d750d
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_MAXCONNECTIONSPER1_0SERVER
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d750d
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.explorer.exe
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.00402e70
lea ecx, [ebp + 8]
call fcn.00402e70
mov esp, ebp
pop ebp
ret
Function at 0x4d7650
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea ecx, [ebp + 8]
call fcn.004043e0
movzx eax, al
test eax, eax
je 0x4d7672
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4d778d
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_Explorer_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7785
mov dword [ebp - 0xc], 0x400
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x10]
call fcn.00407250
lea edx, [ebp - 0xc]
push edx
push 0x400
lea ecx, [ebp - 0x10]
call fcn.004035c0
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.Version
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00406060
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.00408360
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404160
lea ecx, [ebp - 0x14]
call fcn.004043e0
movzx ecx, al
test ecx, ecx
jne 0x4d7775
push 0x51482c
lea ecx, [ebp - 0x14]
call fcn.00403cf0
lea ecx, [ebp - 0x14]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7775
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.00402e70
lea ecx, [ebp - 0x10]
call fcn.00402e70
lea ecx, [ebp + 8]
call fcn.00402e70
mov esp, ebp
pop ebp
ret
Function at 0x4d8070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x28], eax
call fcn.004038b0
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 0x4d8144
lea eax, [ebp + 8]
push eax
push str._RedirectSource__File_Not_Exists:
lea ecx, [ebp - 0x24]
push ecx
call fcn.00404290
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d80cd
mov dword [ebp - 0x2c], 0
jmp 0x4d811c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4d80ef
mov dword [ebp - 0x30], 0
jmp 0x4d8116
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd60
mov dword [ebp - 0x34], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00407980
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b61ec
push 0x5259fc
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004bb7b2
lea ecx, [ebp - 0x24]
call fcn.00402e70
lea edx, [ebp + 8]
push edx
mov ecx, 0x549f60
call fcn.00402e50
lea eax, [ebp + 8]
push eax
mov ecx, 0x549db4
call fcn.00402e50
lea ecx, [ebp + 8]
call fcn.00402e70
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret
Function at 0x4d84a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x50], eax
call fcn.004038b0
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0049859e
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 8]
push edx
call fcn.00402130
call fcn.004d7b80
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x4d858f
lea eax, [ebp + 8]
push eax
push str._PrivilegePath__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00404290
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d8518
mov dword [ebp - 0x54], 0
jmp 0x4d8567
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4d853a
mov dword [ebp - 0x58], 0
jmp 0x4d8561
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd60
mov dword [ebp - 0x5c], esp
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00407980
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.004b61ec
push 0x5259fc
lea ecx, [ebp - 0x44]
push ecx
call fcn.004bb7b2
lea ecx, [ebp - 0x4c]
call fcn.00402e70
push 0
lea ecx, [ebp - 0x28]
call fcn.00498575
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c9e0
push eax
lea ecx, [ebp - 0xc]
call fcn.00402130
lea ecx, [ebp - 0xc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d85d8
lea ecx, [ebp - 0xc]
call fcn.00402e70
lea ecx, [ebp - 0x28]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4d8601
lea ecx, [ebp - 0xc]
call fcn.004043a0
push eax
call fcn.004d4860
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.00402e70
lea ecx, [ebp - 0x28]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret
Function at 0x4da2b0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x54], eax
call fcn.004038b0
mov dword [ebp - 0x30], eax
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.0049859e
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.00402130
call fcn.004d7b80
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
je 0x4da39f
lea eax, [ebp + 8]
push eax
push str._Copy__Invalid_arguments__nArg_2_:
lea ecx, [ebp - 0x50]
push ecx
call fcn.00404290
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 0x4da328
mov dword [ebp - 0x58], 0
jmp 0x4da377
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 0x4da34a
mov dword [ebp - 0x5c], 0
jmp 0x4da371
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd60
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.00407980
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.004b61ec
push 0x5259fc
lea ecx, [ebp - 0x48]
push ecx
call fcn.004bb7b2
lea ecx, [ebp - 0x50]
call fcn.00402e70
push 0
lea ecx, [ebp - 0x2c]
call fcn.00498575
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c9e0
push eax
lea ecx, [ebp - 0x10]
call fcn.00402130
push 1
lea ecx, [ebp - 0x2c]
call fcn.00498575
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c9e0
push eax
lea ecx, [ebp - 8]
call fcn.00402130
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 0x4da40c
lea ecx, [ebp - 8]
call fcn.00402e70
lea ecx, [ebp - 0x10]
call fcn.00402e70
lea ecx, [ebp - 0x2c]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4da446
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.00402e70
lea ecx, [ebp - 0x10]
call fcn.00402e70
lea ecx, [ebp - 0x2c]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
lea esp, [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret
Function at 0x4da750
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00402130
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.00407250
mov dword [ebp - 0x10], 0
jmp 0x4da783
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x4da7cb
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s.old_d
lea ecx, [ebp - 8]
push ecx
call fcn.00406160
add esp, 0x10
push 3
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4da7c9
mov dword [ebp - 0xc], 1
jmp 0x4da7cb
jmp 0x4da77a
cmp dword [ebp - 0xc], 0
je 0x4da7e4
push 5
push 0
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00402e70
lea ecx, [ebp - 4]
call fcn.00402e70
lea ecx, [ebp + 8]
call fcn.00402e70
mov esp, ebp
pop ebp
ret