joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0x54], eax
call fcn.004038f0
mov dword [ebp - 0x30], eax
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.004a0846
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.00402120
call fcn.004e1bd0
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x4e760f
lea eax, [ebp + 8]
push eax
push str._DeleteNetVideoDestopShortCut__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x50]
push ecx
call fcn.004042e0
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e7598
mov dword [ebp - 0x5c], 0
jmp 0x4e75e7
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 0x4e75ba
mov dword [ebp - 0x60], 0
jmp 0x4e75e1
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004c5300
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.00407890
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.004bdd7c
push 0x52b83c
lea ecx, [ebp - 0x48]
push ecx
call fcn.004c5561
lea ecx, [ebp - 0x50]
call fcn.00402e80
push 0x553ef0
lea ecx, [ebp - 0x10]
call fcn.00402120
push str.PStyleqiyi_sysset.ini
lea ecx, [ebp - 0x10]
call fcn.00403d40
lea ecx, [ebp - 8]
call fcn.00407130
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x104
push 0x104
lea ecx, [ebp - 8]
call fcn.004035b0
push eax
push 0x51a8ec
push str.CreatNVShortCut
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x51a920
lea edx, [ebp - 8]
push edx
call fcn.004043b0
add esp, 8
movzx eax, al
test eax, eax
je 0x4e7691
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp + 8]
push edx
call fcn.00402120
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 8]
call fcn.00402e80
lea ecx, [ebp - 0x10]
call fcn.00402e80
lea ecx, [ebp - 0x2c]
call fcn.004a0970
lea ecx, [ebp + 8]
call fcn.00402e80
lea esp, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret
Function at 0x4e8000
Capabilities:
Create http request
Create thread
Delete file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5009fb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54eb90]
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.0049eef8
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4e805f
mov ecx, dword [ebp - 0x2c]
call fcn.00407e70
mov dword [ebp - 0x38], eax
jmp 0x4e8066
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 0x4e7150
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 0x4e8133
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.004042e0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, 0x553e48
call fcn.004f2090
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 [0x5540b8]
mov dword [ebp - 0x24], edx
lea ecx, [ebp + 0xc]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
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 0x4e8158
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.00402e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402e80
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 0x4e85e0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500bc7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc90
mov eax, dword [0x54eb90]
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 0x4e861e
cmp dword [ebp + 0xc], 0
jne 0x4e8625
xor eax, eax
jmp 0x4e880c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4e8653
push ecx
mov ecx, esp
mov dword [ebp - 0xc9c], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403820
mov dword [ebp - 0xca0], eax
call sym.QiyiInstaller.exe_MakeSurePath
add esp, 4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xffffffff
push 0x51a924
mov eax, dword [ebp + 8]
push eax
push 0x51a92c
push 0x104
lea ecx, [ebp - 0x478]
push ecx
call fcn.004c06c1
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 0x4e86ae
xor eax, eax
jmp 0x4e880c
movzx ecx, word [ebp - 0x244]
cmp ecx, 0x2e
jne 0x4e86bf
jmp 0x4e87b2
mov edx, dword [ebp - 0x270]
and edx, 0x10
je 0x4e873f
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x51a938
push 0x104
lea edx, [ebp - 0x888]
push edx
call fcn.004c06c1
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.004c06c1
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.004e85e0
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x4e87b2
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x51a950
push 0x104
lea eax, [ebp - 0xc98]
push eax
call fcn.004c06c1
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 str._s_s
push 0x104
lea ecx, [ebp - 0xa90]
push ecx
call fcn.004c06c1
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 0x4e86ae
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4e8802
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.004bd72f
mov esp, ebp
pop ebp
ret
Function at 0x4e8830
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:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e8887
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.004042e0
add esp, 0xc
mov ecx, 0x553e48
call fcn.004f2090
lea ecx, [ebp + 8]
call fcn.00402e80
lea ecx, [ebp + 0xc]
call fcn.00402e80
jmp 0x4e89e2
push 0
push 0x519e54
lea ecx, [ebp + 8]
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e88a8
lea ecx, [ebp + 8]
call fcn.004032e0
cmp eax, 4
jge 0x4e88df
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x519e58
push edx
call fcn.004042e0
add esp, 0xc
mov ecx, 0x553e48
call fcn.004f2090
lea ecx, [ebp + 8]
call fcn.00402e80
lea ecx, [ebp + 0xc]
call fcn.00402e80
jmp 0x4e89e2
mov byte [ebp - 1], 0
or dword [ebp - 0x30], 1
push 0x519e8c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x519e90
call fcn.00403820
lea ecx, [ebp - 0x18]
push ecx
call fcn.004e15d0
add esp, 8
push eax
call fcn.004043d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4e8956
or dword [ebp - 0x30], 2
push 0x519eb4
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x519eb8
call fcn.00403820
lea eax, [ebp - 0x20]
push eax
call fcn.004e15d0
add esp, 8
push eax
call fcn.004043d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4e8956
mov dword [ebp - 0x34], 1
jmp 0x4e895d
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x30]
and eax, 2
je 0x4e8977
and dword [ebp - 0x30], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00402e80
mov ecx, dword [ebp - 0x30]
and ecx, 1
je 0x4e898b
and dword [ebp - 0x30], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00402e80
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4e8997
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x519ee0
call fcn.00403820
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00402120
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp + 8]
push eax
call fcn.00402120
call fcn.004e7970
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00402e80
lea ecx, [ebp + 0xc]
call fcn.00402e80
mov esp, ebp
pop ebp
ret
Function at 0x4e9610
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x54eb90]
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 0x4e9674
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.00402e80
mov eax, dword [ebp - 0x248]
jmp 0x4e9727
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 0x4e9705
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00403820
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.00404390
add esp, 8
movzx edx, al
test edx, edx
je 0x4e96f5
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.00402e80
lea ecx, [ebp + 8]
call fcn.00402e80
mov eax, dword [ebp - 0x24c]
jmp 0x4e9727
lea ecx, [ebp - 0x244]
call fcn.00402e80
jmp 0x4e967b
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.00402e80
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret
Function at 0x4eb080
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:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4eb0cf
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push 0x5173c0
push eax
call fcn.004042e0
add esp, 0xc
mov ecx, 0x553e48
call fcn.004f2090
lea ecx, [ebp + 8]
call fcn.00402e80
jmp 0x4eb20b
push 0
push 0x5173f0
lea ecx, [ebp + 8]
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4eb0f0
lea ecx, [ebp + 8]
call fcn.004032e0
cmp eax, 4
jge 0x4eb11f
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x5173f4
push edx
call fcn.004042e0
add esp, 0xc
mov ecx, 0x553e48
call fcn.004f2090
lea ecx, [ebp + 8]
call fcn.00402e80
jmp 0x4eb20b
mov byte [ebp - 1], 0
or dword [ebp - 0x2c], 1
push 0x517428
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x51742c
call fcn.00403820
lea ecx, [ebp - 0x18]
push ecx
call fcn.004e15d0
add esp, 8
push eax
call fcn.004043d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4eb196
or dword [ebp - 0x2c], 2
push 0x517450
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x517454
call fcn.00403820
lea eax, [ebp - 0x20]
push eax
call fcn.004e15d0
add esp, 8
push eax
call fcn.004043d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4eb196
mov dword [ebp - 0x30], 1
jmp 0x4eb19d
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x2c]
and eax, 2
je 0x4eb1b7
and dword [ebp - 0x2c], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00402e80
mov ecx, dword [ebp - 0x2c]
and ecx, 1
je 0x4eb1cb
and dword [ebp - 0x2c], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00402e80
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4eb1d7
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x51747c
call fcn.00403820
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.00402120
call fcn.004e7cc0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00402e80
mov esp, ebp
pop ebp
ret
Function at 0x4eb530
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x54eb90]
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 0x4eb584
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00402e80
jmp 0x4eb640
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 0x4eb624
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00403820
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.00404390
add esp, 8
movzx edx, al
test edx, edx
je 0x4eb614
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 0x4eb614
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.00402e80
jmp 0x4eb58b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00402e80
jmp 0x4eb640
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret
Function at 0x4ec9b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
call fcn.00407130
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 0x4eca3b
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.00403930
push str.QYPlugin.dll
lea ecx, [ebp - 8]
call fcn.00403d40
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ecae2
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 8]
push edx
call fcn.00402120
call sym.QiyiInstaller.exe_RegDLL
add esp, 4
push str._regsvr32.exe
push 0x553f00
lea eax, [ebp - 0x128]
push eax
call fcn.00404230
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.00407130
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.00406020
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x124]
push edx
call fcn.00402120
call sym.QiyiInstaller.exe_Run
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.00402e80
lea ecx, [ebp - 0x128]
call fcn.00402e80
lea ecx, [ebp - 8]
call fcn.00402e80
lea ecx, [ebp + 8]
call fcn.00402e80
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret
Function at 0x4ef5c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501534
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54eb90]
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 0x4ec410
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.00408280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5540a8], eax
lea ecx, [ebp - 0x14]
call fcn.00407130
mov dword [ebp - 4], 0
mov eax, dword [0x5540a8]
push eax
push str.QiyiShellParser::ExecUninstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406020
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402120
mov dword [ebp - 0x24], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ef690
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.00403820
mov dword [ebp - 0x14], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
push ecx
push 0x4ec410
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.00408280
mov esp, ebp
pop ebp
ret
Function at 0x4ef700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501557
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54eb90]
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.00407130
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x5540a0]
push eax
push str.QiyiShellParser::ExecInstall________________________________Used_Time:__d_MiliSeconds
lea eax, [ebp - 0x14]
push eax
call fcn.00406020
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402120
mov dword [ebp - 0x28], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
push ecx
push 0x4ec410
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.00408280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5540a4], eax
mov eax, dword [0x5540a4]
push eax
push str.QiyiShellParser::ExecInstallOK________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406020
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402120
mov dword [ebp - 0x2c], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ef810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50157a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54eb90]
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 0x4ec410
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.00408280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5540a0], eax
lea ecx, [ebp - 0x14]
call fcn.00407130
mov dword [ebp - 4], 0
mov eax, dword [0x5540a0]
push eax
push str.QiyiShellParser::ExecInstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406020
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402120
mov dword [ebp - 0x24], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ef8e0
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.00403820
mov dword [ebp - 0x14], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
push ecx
push 0x4ec410
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.00408280
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4ef950
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 0x51afc8
call fcn.00403820
mov dword [ebp - 0x14], eax
mov ecx, 0x553e48
call fcn.004f2090
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
push 0x4ec410
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.00408280
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret