joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eedb0
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 0x4eedff
push ecx
mov eax, esp
mov dword [ebp - 8], esp
lea ecx, [ebp + 8]
push ecx
push 0x51c5e0
push eax
call fcn.00404280
add esp, 0xc
mov ecx, 0x556f08
call fcn.004f68e0
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4eef3b
push 0
push 0x51c610
lea ecx, [ebp + 8]
call fcn.00403f40
cmp eax, 0xffffffff
je 0x4eee20
lea ecx, [ebp + 8]
call fcn.004032b0
cmp eax, 4
jge 0x4eee4f
push ecx
mov edx, esp
mov dword [ebp - 0xc], esp
lea eax, [ebp + 8]
push eax
push 0x51c614
push edx
call fcn.00404280
add esp, 0xc
mov ecx, 0x556f08
call fcn.004f68e0
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4eef3b
mov byte [ebp - 1], 0
or dword [ebp - 0x2c], 1
push 0x51c648
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x51c64c
call fcn.004037d0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004e4ad0
add esp, 8
push eax
call fcn.00404370
add esp, 8
movzx edx, al
test edx, edx
je 0x4eeec6
or dword [ebp - 0x2c], 2
push 0x51c670
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x51c674
call fcn.004037d0
lea eax, [ebp - 0x20]
push eax
call fcn.004e4ad0
add esp, 8
push eax
call fcn.00404370
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4eeec6
mov dword [ebp - 0x30], 1
jmp 0x4eeecd
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x2c]
and eax, 2
je 0x4eeee7
and dword [ebp - 0x2c], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00407160
mov ecx, dword [ebp - 0x2c]
and ecx, 1
je 0x4eeefb
and dword [ebp - 0x2c], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00407160
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4eef07
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x51c69c
call fcn.004037d0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.004020c0
call fcn.004eb290
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00407160
mov esp, ebp
pop ebp
ret
Function at 0x4ef260
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x551bd0]
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 0x4ef2b4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4ef370
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 0x4ef354
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.004037d0
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.00404330
add esp, 8
movzx edx, al
test edx, edx
je 0x4ef344
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 0x4ef344
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.00407160
jmp 0x4ef2bb
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4ef370
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bfe65
mov esp, ebp
pop ebp
ret
Function at 0x4f06e0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
call fcn.00402e30
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 0x4f076b
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.004038e0
push str.QYPlugin.dll
lea ecx, [ebp - 8]
call fcn.00403ce0
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 0x4f0812
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 8]
push edx
call fcn.004020c0
call sym.QiyiInstaller.exe_RegDLL
add esp, 4
push str._regsvr32.exe
push 0x556fc0
lea eax, [ebp - 0x128]
push eax
call fcn.004041d0
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.00402e30
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.00405f70
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x124]
push edx
call fcn.004020c0
call sym.QiyiInstaller.exe_Run
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.00407160
lea ecx, [ebp - 0x128]
call fcn.00407160
lea ecx, [ebp - 8]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bfe65
mov esp, ebp
pop ebp
ret
Function at 0x4f3640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505a55
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x551bd0]
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 0x4f0140
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.00408410
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55716c], eax
lea ecx, [ebp - 0x14]
call fcn.00402e30
mov dword [ebp - 4], 0
mov eax, dword [0x55716c]
push eax
push str.QiyiShellParser::ExecUninstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004020c0
mov dword [ebp - 0x24], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4f3710
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.004037d0
mov dword [ebp - 0x14], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
push ecx
push 0x4f0140
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.00408410
mov esp, ebp
pop ebp
ret
Function at 0x4f3780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505a78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x551bd0]
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.00402e30
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x557164]
push eax
push str.QiyiShellParser::ExecInstall________________________________Used_Time:__d_MiliSeconds
lea eax, [ebp - 0x14]
push eax
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004020c0
mov dword [ebp - 0x28], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
push ecx
push 0x4f0140
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.00408410
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x557168], eax
mov eax, dword [0x557168]
push eax
push str.QiyiShellParser::ExecInstallOK________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004020c0
mov dword [ebp - 0x2c], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4f3890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x551bd0]
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 0x4f0140
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.00408410
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x557164], eax
lea ecx, [ebp - 0x14]
call fcn.00402e30
mov dword [ebp - 4], 0
mov eax, dword [0x557164]
push eax
push 0x520678
lea ecx, [ebp - 0x14]
push ecx
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004020c0
mov dword [ebp - 0x24], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4f3960
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.004037d0
mov dword [ebp - 0x14], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
push ecx
push 0x4f0140
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.00408410
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4f39d0
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.004037d0
mov dword [ebp - 0x14], eax
mov ecx, 0x556f08
call fcn.004f68e0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
push 0x4f0140
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.00408410
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4f4a20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea ecx, [ebp - 4]
call fcn.00402e30
push str.IQiYihelper.dll
mov eax, dword [0x556fe4]
push eax
push 0x52000c
lea ecx, [ebp - 4]
push ecx
call fcn.00405f70
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.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp + 8]
push eax
call fcn.004020c0
call fcn.004eb610
add esp, 0xc
test eax, eax
jne 0x4f4ab5
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.1562
call fcn.004037d0
call sym.QiyiInstaller.exe_SendBDProtectLog
add esp, 4
lea ecx, [ebp - 4]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f4bf1
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 0x4f4be1
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 0x4f4bd7
call dword [ebp - 0xc]
mov byte [ebp - 0xd], al
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4f4b1c
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.1561
call fcn.004037d0
call sym.QiyiInstaller.exe_SendBDProtectLog
add esp, 4
jmp 0x4f4bd7
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 0x4f4bd7
call dword [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4f4b60
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.1564
call fcn.004037d0
call sym.QiyiInstaller.exe_SendBDProtectLog
add esp, 4
jmp 0x4f4bd7
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 0x4f4b7b
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 0x4f4bd7
call dword [ebp - 0x20]
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4f4bbf
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.1560
call fcn.004037d0
call sym.QiyiInstaller.exe_SendBDProtectLog
add esp, 4
jmp 0x4f4bd7
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.1563
call fcn.004037d0
call sym.QiyiInstaller.exe_SendBDProtectLog
add esp, 4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 4]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
mov esp, ebp
pop ebp
ret
Function at 0x4f5f60
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 0x4f5fb3
lea ecx, [ebp - 0x28]
push ecx
call dword [ebp - 4]
jmp 0x4f5fbd
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x28]
cmp eax, 6
je 0x4f5fcf
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
jne 0x4f5fd3
mov al, 1
jmp 0x4f5fd5
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4f60a0
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 0x4f6147
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 0x4f6147
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 0x4f613d
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
Function at 0x4f61d0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x298
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x28c], 0xffffffff
je 0x4f6232
mov ecx, dword [ebp - 0x1c]
add ecx, 0x288
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x288]
mov edx, dword [eax + 0x48]
call edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x288
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x288]
mov eax, dword [edx + 0x4c]
call eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x124
call fcn.00414e70
jmp 0x4f6254
push 0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
call fcn.00407120
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x124
call fcn.00408a00
push eax
lea ecx, [ebp - 8]
call fcn.00408b70
movzx ecx, al
test ecx, ecx
je 0x4f62a5
push 0x3e8
lea ecx, [ebp - 8]
call fcn.00407100
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4f62a3
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00407100
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4f6246
mov ecx, dword [ebp - 0x1c]
call fcn.004f5fe0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x1c]
call fcn.004a20f9
mov esp, ebp
pop ebp
ret

Function at 0x4f62d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.004c9070
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x101c], ecx
xor eax, eax
mov word [ebp - 0x1010], ax
push 0xffe
push 0
lea ecx, [ebp - 0x100e]
push ecx
call fcn.004bff70
add esp, 0xc
push 0x52189c
mov edx, dword [ebp - 0x101c]
add edx, 0xa8
push edx
lea eax, [ebp - 0x1018]
push eax
call fcn.004041d0
add esp, 0xc
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x1018]
call fcn.00407160
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
lea eax, [ebp + edx*2 - 0x1010]
push eax
call fcn.004bfe74
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4f63ae
mov ecx, dword [ebp - 0x1014]
add ecx, 1
mov dword [ebp - 0x1014], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 1]
mov dword [ebp - 4], ecx
jmp 0x4f6374
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bfe65
mov esp, ebp
pop ebp
ret
Function at 0x4f6600
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5046f6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00407a50
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4f6692
cmp dword [ebp - 0x3c], 0x6f
je 0x4f6692
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402940
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402b90
mov eax, dword [ebp + 8]
jmp 0x4f67c7
mov eax, dword [ebp - 0x38]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4f66d3
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402940
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402b90
mov eax, dword [ebp + 8]
jmp 0x4f67c7
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x4f671a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402940
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402b90
mov eax, dword [ebp + 8]
jmp 0x4f67c7
lea ecx, [ebp - 0x34]
call fcn.00402e30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x34]
push edx
call fcn.004074f0
add esp, 0x20
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x34]
call fcn.00407180
push eax
lea ecx, [ebp - 0x30]
call fcn.00407a30
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402940
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00407160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402b90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bfe65
mov esp, ebp
pop ebp
ret