joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dec20
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9e05
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 0x4dec5e
cmp dword [ebp + 0xc], 0
jne 0x4dec65
xor eax, eax
jmp 0x4dee4c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4dec93
push ecx
mov ecx, esp
mov dword [ebp - 0xc9c], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403aa0
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 0x4decee
xor eax, eax
jmp 0x4dee4c
movzx ecx, word [ebp - 0x244]
cmp ecx, 0x2e
jne 0x4decff
jmp 0x4dedf2
mov edx, dword [ebp - 0x270]
and edx, 0x10
je 0x4ded7f
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.004dec20
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x4dedf2
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 0x4decee
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4dee42
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.004b5b7f
mov esp, ebp
pop ebp
ret
Function at 0x4dee70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], 0
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 0x4deec7
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push str.RMDir_Dir_Not_Exists:
push eax
call fcn.00404580
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004eacb0
lea ecx, [ebp + 8]
call fcn.004030a0
lea ecx, [ebp + 0xc]
call fcn.004030a0
jmp 0x4df022
push 0
push 0x5123d4
lea ecx, [ebp + 8]
call fcn.00404240
cmp eax, 0xffffffff
je 0x4deee8
lea ecx, [ebp + 8]
call fcn.00403580
cmp eax, 4
jge 0x4def1f
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x5123d8
push edx
call fcn.00404580
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004eacb0
lea ecx, [ebp + 8]
call fcn.004030a0
lea ecx, [ebp + 0xc]
call fcn.004030a0
jmp 0x4df022
mov byte [ebp - 1], 0
or dword [ebp - 0x30], 1
push 0x51240c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x512410
call fcn.00403aa0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004d7550
add esp, 8
push eax
call fcn.00404670
add esp, 8
movzx edx, al
test edx, edx
je 0x4def96
or dword [ebp - 0x30], 2
push 0x512434
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x512438
call fcn.00403aa0
lea eax, [ebp - 0x20]
push eax
call fcn.004d7550
add esp, 8
push eax
call fcn.00404670
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4def96
mov dword [ebp - 0x34], 1
jmp 0x4def9d
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x30]
and eax, 2
je 0x4defb7
and dword [ebp - 0x30], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.004030a0
mov ecx, dword [ebp - 0x30]
and ecx, 1
je 0x4defcb
and dword [ebp - 0x30], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.004030a0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4defd7
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x512460
call fcn.00403aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004022d0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp + 8]
push eax
call fcn.004022d0
call fcn.004dd930
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.004030a0
lea ecx, [ebp + 0xc]
call fcn.004030a0
mov esp, ebp
pop ebp
ret
Function at 0x4dfc50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4dfcb4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0
lea ecx, [ebp + 8]
call fcn.004030a0
mov eax, dword [ebp - 0x248]
jmp 0x4dfd67
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4dfd45
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00403aa0
lea ecx, [ebp - 0x244]
call fcn.00401060
lea ecx, [ebp + 8]
call fcn.00401060
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00404630
add esp, 8
movzx edx, al
test edx, edx
je 0x4dfd35
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.004030a0
lea ecx, [ebp + 8]
call fcn.004030a0
mov eax, dword [ebp - 0x24c]
jmp 0x4dfd67
lea ecx, [ebp - 0x244]
call fcn.004030a0
jmp 0x4dfcbb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea ecx, [ebp + 8]
call fcn.004030a0
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b5b7f
mov esp, ebp
pop ebp
ret
Function at 0x4e1f20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x2c], 0
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 0x4e1f6f
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push 0x50f638
push eax
call fcn.00404580
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004eacb0
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e20ab
push 0
push 0x50f668
lea ecx, [ebp + 8]
call fcn.00404240
cmp eax, 0xffffffff
je 0x4e1f90
lea ecx, [ebp + 8]
call fcn.00403580
cmp eax, 4
jge 0x4e1fbf
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x50f66c
push edx
call fcn.00404580
add esp, 0xc
mov ecx, 0x547ce0
call fcn.004eacb0
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e20ab
mov byte [ebp - 1], 0
or dword [ebp - 0x2c], 1
push 0x50f6a0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x50f6a4
call fcn.00403aa0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004d7550
add esp, 8
push eax
call fcn.00404670
add esp, 8
movzx edx, al
test edx, edx
je 0x4e2036
or dword [ebp - 0x2c], 2
push 0x50f6c8
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x50f6cc
call fcn.00403aa0
lea eax, [ebp - 0x20]
push eax
call fcn.004d7550
add esp, 8
push eax
call fcn.00404670
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4e2036
mov dword [ebp - 0x30], 1
jmp 0x4e203d
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x2c]
and eax, 2
je 0x4e2057
and dword [ebp - 0x2c], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.004030a0
mov ecx, dword [ebp - 0x2c]
and ecx, 1
je 0x4e206b
and dword [ebp - 0x2c], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.004030a0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4e2077
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x50f6f4
call fcn.00403aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.004022d0
call fcn.004ddc80
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.004030a0
mov esp, ebp
pop ebp
ret
Function at 0x4e23d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4e2424
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e24e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4e24c4
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00403aa0
lea ecx, [ebp - 0x244]
call fcn.00401060
lea ecx, [ebp + 8]
call fcn.00401060
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00404630
add esp, 8
movzx edx, al
test edx, edx
je 0x4e24b4
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x4e24b4
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.004030a0
jmp 0x4e242b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e24e0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b5b7f
mov esp, ebp
pop ebp
ret
Function at 0x4e4140
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
call fcn.00403080
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPPStream
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e41cb
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.SetupPath
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 8]
call fcn.00403bb0
push str.QYPlugin.dll
lea ecx, [ebp - 8]
call fcn.00403fe0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x4e4272
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 8]
push edx
call fcn.004022d0
call sym.QiyiInstaller.exe_RegDLL
add esp, 4
push str._regsvr32.exe
push 0x547d98
lea eax, [ebp - 0x128]
push eax
call fcn.004044d0
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.00403080
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x128]
push edx
push str._s_s__s0hide
lea eax, [ebp - 0x124]
push eax
call fcn.00406160
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x124]
push edx
call fcn.004022d0
call sym.QiyiInstaller.exe_Run
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.004030a0
lea ecx, [ebp - 0x128]
call fcn.004030a0
lea ecx, [ebp - 8]
call fcn.004030a0
lea ecx, [ebp + 8]
call fcn.004030a0
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b5b7f
mov esp, ebp
pop ebp
ret
Function at 0x4e7d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa82b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x542af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x80
push ecx
push 0x4e32b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x98
call fcn.00414470
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x547f44], eax
lea ecx, [ebp - 0x14]
call fcn.00403080
mov dword [ebp - 4], 0
mov eax, dword [0x547f44]
push eax
push str.QiyiShellParser::ExecUninstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406160
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004022d0
mov dword [ebp - 0x24], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e7e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecInstallFailed_______________________________
call fcn.00403aa0
mov dword [ebp - 0x14], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
push ecx
push 0x4e32b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00414470
mov esp, ebp
pop ebp
ret
Function at 0x4e7ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa84e
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
lea ecx, [ebp - 0x14]
call fcn.00403080
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x547f3c]
push eax
push str.QiyiShellParser::ExecInstall________________________________Used_Time:__d_MiliSeconds
lea eax, [ebp - 0x14]
push eax
call fcn.00406160
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004022d0
mov dword [ebp - 0x28], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
push ecx
push 0x4e32b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x98
call fcn.00414470
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x547f40], eax
mov eax, dword [0x547f40]
push eax
push str.QiyiShellParser::ExecInstallOK________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406160
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004022d0
mov dword [ebp - 0x2c], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e7fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa871
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x542af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
push ecx
push 0x4e32b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x98
call fcn.00414470
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x547f3c], eax
lea ecx, [ebp - 0x14]
call fcn.00403080
mov dword [ebp - 4], 0
mov eax, dword [0x547f3c]
push eax
push 0x513e38
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406160
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004022d0
mov dword [ebp - 0x24], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e8080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecUnInstallInit_______________________________
call fcn.00403aa0
mov dword [ebp - 0x14], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
push ecx
push 0x4e32b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00414470
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4e80f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecInstallInit_______________________________
call fcn.00403aa0
mov dword [ebp - 0x14], eax
mov ecx, 0x547ce0
call fcn.004eacb0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
push 0x4e32b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00414470
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4e87b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea ecx, [ebp - 4]
call fcn.00403080
push str.IQiYihelper.dll
mov eax, dword [0x547dbc]
push eax
push 0x513334
lea ecx, [ebp - 4]
push ecx
call fcn.00406160
add esp, 0x10
lea ecx, [ebp - 4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x927c0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 4]
push edx
call fcn.004022d0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp + 8]
push eax
call fcn.004022d0
call fcn.004de000
add esp, 0xc
test eax, eax
jne 0x4e8845
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.1562
call fcn.00403aa0
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
lea ecx, [ebp - 4]
call fcn.004030a0
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e8981
lea ecx, [ebp - 4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e8971
mov byte [ebp - 0xd], 0
push str.IQYIsBDAExist
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4e8967
call dword [ebp - 0xc]
mov byte [ebp - 0xd], al
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4e88ac
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.1561
call fcn.00403aa0
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
jmp 0x4e8967
push str.IQYIsCompeteExist
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4e8967
call dword [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4e88f0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.1564
call fcn.00403aa0
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
jmp 0x4e8967
push str.IQYHelper
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4e890b
call dword [ebp - 0x1c]
mov byte [ebp - 0x15], 0
push str.IQYIsSuccess
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4e8967
call dword [ebp - 0x20]
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4e894f
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.1560
call fcn.00403aa0
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
jmp 0x4e8967
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.1563
call fcn.00403aa0
call sym.QiyiInstaller.exe_SendThirdPartyStatLog
add esp, 4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 4]
call fcn.004030a0
lea ecx, [ebp + 8]
call fcn.004030a0
mov esp, ebp
pop ebp
ret
Function at 0x4ea430
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ea483
lea ecx, [ebp - 0x28]
push ecx
call dword [ebp - 4]
jmp 0x4ea48d
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x28]
cmp eax, 6
je 0x4ea49f
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
jne 0x4ea4a3
mov al, 1
jmp 0x4ea4a5
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4ea570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x284]
push ecx
call sym.QiyiInstaller.exe_public:_static_class_CUISystem____cdecl_Singleton_class_CUISystem_::GetInstance_void_
mov ecx, eax
call sym.QiyiInstaller.exe_public:_void___thiscall_CUISystem::SetInstance_struct_HINSTANCE____
push str.skin
push 0x2bc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ea617
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ea617
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ea60d
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sym.QiyiInstaller.exe_public:_static_class_CUISystem____cdecl_Singleton_class_CUISystem_::GetInstance_void_
mov ecx, eax
call sym.QiyiInstaller.exe_public:_void___thiscall_CUISystem::SetResourceZip_void___unsigned_int_
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esp, ebp
pop ebp
ret