joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bcb00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4bcb0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4bcc0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x551d60]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x551d60]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x551d60]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x551d60]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x551d60]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x551d60]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x551d60]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x551d60]
xor eax, edx
inc ecx
dec edi
jne 0x4bcb26
pop edi
test esi, esi
je 0x4bcc30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x551d60]
xor eax, edx
inc ecx
dec esi
jne 0x4bcc12
pop esi
pop ebx
not eax
ret
Function at 0x4e7d60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x503b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004dcded
mov eax, dword [0x61cd98]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004dcd1f
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004e8870
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4e7e07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4e7dfe
cmp al, 0xff
je 0x4e7dfe
dec al
mov byte [ecx], al
jmp 0x4e7e07
push ecx
call fcn.004f1ede
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4e7e38
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4e7e2f
cmp al, 0xff
je 0x4e7e2f
dec al
mov byte [ecx], al
jmp 0x4e7e38
push ecx
call fcn.004f1ede
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4f4545
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f457d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004f25cf
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f25a7
jmp 0x4f4589
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f5c37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4f5c79
call fcn.004fb9b1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f5c79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f5c70
xor eax, eax
jmp 0x4f5c81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f5c87
pop edi
pop esi
pop ebx
ret 4

Function at 0x4fbee1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4fbf0f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4fbf2d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004fbe47
jmp 0x4fbf2d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4fbf2d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004fbe47
test edi, edi
mov eax, edi
jne 0x4fbf17
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x43aef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4a50
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004b5c90
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CStdString::constructor_wchar_t_const___int_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret
Function at 0x499823
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x49986b
call fcn.0049c958
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49986b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4998ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x499897
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x499897
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4998ab
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x49acf6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x49ad1a
cmp dword [edi + 0x54], 0
jne 0x49ad1a
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0049c958
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0049acb7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x49d0ef
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4f75c7
call fcn.004bd0ea
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x49d114
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x49d15a
lea ecx, [ebp - 0x10]
call fcn.00402e80
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00496d66
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004033a0
mov eax, esi
call fcn.004bd1c2
ret 8
Function at 0x4a2a55
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4a2a9c
call fcn.0049c958
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a2a9c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a2ab8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a25cd
mov esi, eax
test edi, edi
je 0x4a2ab6
test ebx, ebx
je 0x4a2ab6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a345f
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4a348a
call fcn.0049c958
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4a34ad
push eax
push dword [esi + 4]
call fcn.004a33e5
push esi
push eax
mov ecx, 0x5468dc
call fcn.004a306c
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4a3ea1
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4f7caa
call fcn.004bd0ea
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004a3e61
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00402e80
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4a3f07
push eax
push dword [esi + 8]
call fcn.004a33e5
push dword [esi + 0xc]
mov ecx, 0x5468dc
push eax
call fcn.004a306c
mov eax, esi
call fcn.004bd1c2
ret 0x18

Function at 0x4b5b83
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x542af0]
jne 0x4b5b8d
repz ret
jmp fcn.004bff92
Function at 0x4d4dd0
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9649
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x542af0]
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.00402e80
mov dword [ebp - 4], 0
push str.AUTOFORCE_QiyiClient
lea eax, [ebp - 0x10]
push eax
call fcn.004061c0
add esp, 8
push 0x50ee60
push 0x547d84
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00404270
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.00402ea0
cmp dword [ebp - 0xd0], 0
je 0x4d4ffb
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push str.Run_Force_Update...
call fcn.00403870
mov dword [ebp - 0xf8], eax
mov ecx, 0x547ce0
call fcn.004ea5d0
push 0x50eea8
push 0x547d84
lea edx, [ebp - 0xe0]
push edx
call fcn.00404270
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.00402ea0
cmp dword [ebp - 0xdc], 0
je 0x4d4f26
push str.local.inf
push 0x547d84
lea eax, [ebp - 0xe4]
push eax
call fcn.00404270
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 0x50eed8
push 0x50eedc
push str.ForceVersion
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xe4]
call fcn.00402ea0
push str.QiyiUpdate.exe
push 0x547d84
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00404270
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 0x50ef24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xe8]
call fcn.00402ea0
mov dword [0x547df0], 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.004f2d50
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.SendLog_7cancelsysbtn2
call fcn.00403870
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0xcc]
call fcn.004f2c50
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.004f2c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402ea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5020
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9672
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x542af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
mov ecx, 0x547db4
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5136
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.Run_QiyiInstaller_Repair...
call fcn.00403870
mov dword [ebp - 0xd4], eax
mov ecx, 0x547ce0
call fcn.004ea5d0
push 5
push 0
push str._repair
mov ecx, 0x547db4
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50edf0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [0x547df0], 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.004f2d50
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.SendLog_7cancelsysbtn3
call fcn.00403870
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.004f2c50
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.004f2c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f969b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x542af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
cmp dword [0x547df0], 0
jne 0x4d5256
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.004f2d50
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x3bc], 0
je 0x4d51eb
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.00403870
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.004f2c50
jmp 0x4d5244
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x3c0], 0
je 0x4d5220
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.SendLog_7cancelsysbtn0
call fcn.00403870
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xc4]
call fcn.004f2c50
jmp 0x4d5244
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push str.SendLog_7cancelsysbtn1
call fcn.00403870
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.004f2c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004f2c30
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 0x4d8040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x28], eax
call fcn.00403940
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d8114
lea eax, [ebp + 8]
push eax
push str._RedirectSource__File_Not_Exists:
lea ecx, [ebp - 0x24]
push ecx
call fcn.00404320
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d809d
mov dword [ebp - 0x2c], 0
jmp 0x4d80ec
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 0x4d80bf
mov dword [ebp - 0x30], 0
jmp 0x4d80e6
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd30
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.00407950
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.004b61cc
push 0x523e6c
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0x24]
call fcn.00402ea0
lea edx, [ebp + 8]
push edx
mov ecx, 0x547f60
call fcn.00402e60
lea eax, [ebp + 8]
push eax
mov ecx, 0x547db4
call fcn.00402e60
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret
Function at 0x4d8470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x50], eax
call fcn.00403940
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.004985a0
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 8]
push edx
call fcn.004020d0
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x4d855f
lea eax, [ebp + 8]
push eax
push str._PrivilegePath__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00404320
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d84e8
mov dword [ebp - 0x54], 0
jmp 0x4d8537
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 0x4d850a
mov dword [ebp - 0x58], 0
jmp 0x4d8531
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bbd30
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.00407950
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.004b61cc
push 0x523e6c
lea ecx, [ebp - 0x44]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0x4c]
call fcn.00402ea0
push 0
lea ecx, [ebp - 0x28]
call fcn.00498577
push eax
lea ecx, [ebp - 0x28]
call fcn.0040cd00
push eax
lea ecx, [ebp - 0xc]
call fcn.004020d0
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 0x4d85a8
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp - 0x28]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4d85d1
lea ecx, [ebp - 0xc]
call fcn.00404430
push eax
call fcn.004d4830
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp - 0x28]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret