joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a7c
Capabilities:
Copy file
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov edx, eax
mov dword [esp + 8], 0x103
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
mov dword [esp + 4], 0x103
lea eax, [ebp - 0x238]
mov dword [esp], eax
call sub.KERNEL32.dll_GetSystemDirectoryA
sub esp, 8
mov dword [esp + 4], str.crAcker.exe
lea eax, [ebp - 0x238]
mov dword [esp], eax
call sym._strcat
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x128]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcmp
test eax, eax
je 0x401ba3
mov dword [esp + 8], 0
lea eax, [ebp - 0x238]
mov dword [esp + 4], eax
lea eax, [ebp - 0x128]
mov dword [esp], eax
call sub.KERNEL32.dll_CopyFileA
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
lea eax, [ebp - 0x238]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x238]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Win32.crAcker.A
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov eax, 0
leave
ret

Function at 0x401bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00402110
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x401be8
jmp 0x401c86
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x401be7
cmp cl, 0x22
je 0x401c40
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x401c60
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x401c60
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x401c20
jmp 0x401c60
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x401c40
cmp cl, 0x22
je 0x401cc2
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x401c80
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x401c70
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x401ca4
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._5
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x401c60

Function at 0x402480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym._4
Function at 0x44d800
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x44d84c
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x44d831
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x44d841
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x44d85c
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x44d89b
test ebx, ebx
je 0x44d870
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x44d865
cmp ecx, 0xfff1
jb 0x44d87e
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x44d986
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x44d8c0
Function at 0x4e2840
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e288c
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e2871
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2881
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e289c
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e28db
test ebx, ebx
je 0x4e28b0
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e28a5
cmp ecx, 0xfff1
jb 0x4e28be
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e29c6
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2900
Function at 0x58c180
Capabilities:
Check for software breakpoints

Disassembly:
sbb al, 0x61
pushal
jl 0x58c1c6
jbe 0x58c169
pop es
scasd eax, dword es:[edi]
and byte [edx], bh
stosb byte es:[edi], al
mov edx, 0x14ea7d66
pop edi
inc ebx
mov ds, word [esi + 0x5f4b9dda]
dec ebx
pop edi
bound esp, qword [edi + 0x57]
rol byte [edi], 0xc7
into
mov ebp, edi
mov ch, 0x71
pop ebp
outsd dx, dword [esi]
sbb byte [eax + 0x55], al
jg 0x58c198
arpl si, cx
add ecx, dword [ebp + 0x6a]
dec ebp
push 0x53
dec ebp
push 0x53
xor al, 0xf7
lds esi, [esi + 0x18]
jbe 0x58c1a0
or dword [edi - 0x7c8f59ee], 0x3e33cfea
pop esi
loop 0x58c1d4
pop ebx
sub eax, 0xf1c9af51
scasd eax, dword es:[edi]
leave
int1
inc esp
cmp dl, byte [esi]
test al, 0xaa
jo 0x58c186
push edx
cli
aad 0x32
pop ebx
inc esi
push cs
loop 0x58c216
mov bl, 0xaf
mov dl, 0xf1
mov byte [esi], bl
xor byte [esi + 0x62809b4e], 0xe
loope 0x58c152
xlatb
or edx, dword [ecx + 0x3a7e8247]
jecxz 0x58c239
or dword [ecx], esi
jl 0x58c157
pop ds
jp 0x58c247
adc al, 0x23
mov bh, byte [edi - 0x264c3fdd]
invalid
mov bl, 0xd9
daa
scasd eax, dword es:[edi]
pop ebx
mov word [edx + 6], ss
dec esi
adc esp, esp
out dx, eax
add dword [ebx], ebx
xchg byte [ebx], al
pop ss
sbb ebx, ebp
pop ebp
pop es
hlt
adc bl, byte [edi - 0x5ce4144]
Function at 0x5ce6a0
Capabilities:
Encode data using xor

Disassembly:
pop es
mov edi, 0x6eb2882f
mov al, 0xe7
pop es
jbe 0x5ce66b
enter 0xffffffffffffaaae, 0xfffffffffffffff6
dec esi
pop ds
test al, 0x8c
push ds
sub al, 0xa9
adc ah, cl
out dx, al
inc ebx
fisubr word [edi]
add byte [edx + 0x75], 0x48
invalid
fcomp qword [ebx + 0x79]
inc esp
ret
shl edx, 0x82
sbb eax, edi
je 0x5ce62d
push esp
lodsb al, byte [esi]
invalid
Function at 0x43b540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6040
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x544af0]
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.004b5f20
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.004b5e12
mov esp, ebp
pop ebp
ret
Function at 0x499a8d
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 0x499ad5
call fcn.0049cbe6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x499ad5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x499b18
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 0x499b01
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 0x499b01
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x499b15
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 0x49af82
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 0x49afa6
cmp dword [edi + 0x54], 0
jne 0x49afa6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0049cbe6
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.0049af43
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 0x49d37d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4f8ecf
call fcn.004bd42a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x49d3a2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x49d3e8
lea ecx, [ebp - 0x10]
call fcn.004032e0
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.00496ff6
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.004037c0
mov eax, esi
call fcn.004bd502
ret 8
Function at 0x4a2cfb
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 0x4a2d42
call fcn.0049cbe6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a2d42
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a2d5e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a2873
mov esi, eax
test edi, edi
je 0x4a2d5c
test ebx, ebx
je 0x4a2d5c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a370b
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 0x4a3736
call fcn.0049cbe6
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 0x4a3759
push eax
push dword [esi + 4]
call fcn.004a3691
push esi
push eax
mov ecx, 0x5488f4
call fcn.004a3318
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4a414d
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4f91b2
call fcn.004bd42a
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.004a410d
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004032e0
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 0x4a41b3
push eax
push dword [esi + 8]
call fcn.004a3691
push dword [esi + 0xc]
mov ecx, 0x5488f4
push eax
call fcn.004a3318
mov eax, esi
call fcn.004bd502
ret 0x18

Function at 0x4b5e12
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x544af0]
jne 0x4b5e1c
repz ret
jmp fcn.004c02c2
Function at 0x4d5100
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faba9
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x10]
call fcn.004032e0
mov dword [ebp - 4], 0
push str.AUTOFORCE_QiyiClient
lea eax, [ebp - 0x10]
push eax
call fcn.00404050
add esp, 8
push 0x50fe18
push 0x549d9c
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00404ae0
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.004079a0
cmp dword [ebp - 0xd0], 0
je 0x4d532b
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push str.Run_Force_Update...
call fcn.00403ca0
mov dword [ebp - 0xf8], eax
mov ecx, 0x549cf8
call fcn.004eb140
push 0x50fe60
push 0x549d9c
lea edx, [ebp - 0xe0]
push edx
call fcn.00404ae0
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.004079a0
cmp dword [ebp - 0xdc], 0
je 0x4d5256
push str.local.inf
push 0x549d9c
lea eax, [ebp - 0xe4]
push eax
call fcn.00404ae0
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 0x50fe90
push 0x50fe94
push str.ForceVersion
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xe4]
call fcn.004079a0
push str.QiyiUpdate.exe
push 0x549d9c
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00404ae0
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 0x50fedc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xe8]
call fcn.004079a0
mov dword [0x549e08], 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.004f42b0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.SendLog_7cancelsysbtn2
call fcn.00403ca0
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0xcc]
call fcn.004f41b0
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.004f4190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004079a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5350
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fabd2
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
mov ecx, 0x549dcc
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5466
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.Run_QiyiInstaller_Repair...
call fcn.00403ca0
mov dword [ebp - 0xd4], eax
mov ecx, 0x549cf8
call fcn.004eb140
push 5
push 0
push str._repair
mov ecx, 0x549dcc
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50fda8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [0x549e08], 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.004f42b0
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.SendLog_7cancelsysbtn3
call fcn.00403ca0
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.004f41b0
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.004f4190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fabfb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
cmp dword [0x549e08], 0
jne 0x4d5586
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.004f42b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x3bc], 0
je 0x4d551b
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.00403ca0
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.004f41b0
jmp 0x4d5574
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x3c0], 0
je 0x4d5550
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.SendLog_7cancelsysbtn0
call fcn.00403ca0
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xc4]
call fcn.004f41b0
jmp 0x4d5574
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push str.SendLog_7cancelsysbtn1
call fcn.00403ca0
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.004f41b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004f4190
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 0x4d8370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x28], eax
call fcn.004041b0
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 0x4d8444
lea eax, [ebp + 8]
push eax
push str._RedirectSource__File_Not_Exists:
lea ecx, [ebp - 0x24]
push ecx
call fcn.00404b90
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 0x4d83cd
mov dword [ebp - 0x2c], 0
jmp 0x4d841c
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 0x4d83ef
mov dword [ebp - 0x30], 0
jmp 0x4d8416
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
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.004081e0
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.004b645c
push 0x525c54
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004bbab3
lea ecx, [ebp - 0x24]
call fcn.004079a0
lea edx, [ebp + 8]
push edx
mov ecx, 0x549f78
call fcn.004032c0
lea eax, [ebp + 8]
push eax
mov ecx, 0x549dcc
call fcn.004032c0
lea ecx, [ebp + 8]
call fcn.004079a0
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004b5e12
mov esp, ebp
pop ebp
ret
Function at 0x4d87a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x50], eax
call fcn.004041b0
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00498830
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 8]
push edx
call fcn.00402580
call fcn.004d7e80
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x4d888f
lea eax, [ebp + 8]
push eax
push str._PrivilegePath__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00404b90
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 0x4d8818
mov dword [ebp - 0x54], 0
jmp 0x4d8867
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 0x4d883a
mov dword [ebp - 0x58], 0
jmp 0x4d8861
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
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.004081e0
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.004b645c
push 0x525c54
lea ecx, [ebp - 0x44]
push ecx
call fcn.004bbab3
lea ecx, [ebp - 0x4c]
call fcn.004079a0
push 0
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0xc]
call fcn.00402580
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 0x4d88d8
lea ecx, [ebp - 0xc]
call fcn.004079a0
lea ecx, [ebp - 0x28]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4d8901
lea ecx, [ebp - 0xc]
call fcn.00404ca0
push eax
call fcn.004d4b60
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.004079a0
lea ecx, [ebp - 0x28]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004b5e12
mov esp, ebp
pop ebp
ret