Function at 0x4e93c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x94], eax
push esi
lea ecx, [ebp + 8]
call fcn.00407960
lea ecx, [ebp + 8]
call fcn.00404ce0
movzx eax, al
test eax, eax
je 0x4e93fb
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e9cac
call fcn.004041b0
mov dword [ebp - 0x30], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00498830
lea ecx, [ebp - 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp + 8]
push edx
call fcn.00402580
call fcn.004d7e80
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 7
je 0x4e9504
lea eax, [ebp + 8]
push eax
push 0x511ff0
lea ecx, [ebp - 0x90]
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 - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e9469
mov dword [ebp - 0xd4], 0
jmp 0x4e94ca
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 0x4e948e
mov dword [ebp - 0xd8], 0
jmp 0x4e94be
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
mov dword [ebp - 0xdc], 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 - 0xdc]
push eax
call fcn.004081e0
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x88]
call fcn.004b645c
push 0x525d14
lea ecx, [ebp - 0x88]
push ecx
call fcn.004bbab3
lea ecx, [ebp - 0x90]
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 - 0x2c]
call fcn.00402580
cmp dword [0x549e0c], 0
jne 0x4e9532
cmp dword [0x549e10], 0
je 0x4e9594
push ecx
mov esi, esp
mov dword [ebp - 0x98], esp
push 0x512058
lea edx, [ebp - 0x2c]
push edx
push 0x511fc4
lea eax, [ebp - 0x9c]
push eax
call fcn.00404b90
add esp, 0xc
push eax
push esi
call fcn.00404ae0
add esp, 0xc
mov ecx, 0x549cf8
call fcn.004eb140
lea ecx, [ebp - 0x9c]
call fcn.004079a0
lea ecx, [ebp - 0x2c]
call fcn.004079a0
lea ecx, [ebp - 0x28]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e9cac
mov dword [ebp - 0x3c], 1
jmp 0x4e95a6
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 5
jg 0x4e970a
lea ecx, [ebp - 0x40]
call fcn.004032e0
mov edx, dword [ebp - 0x3c]
push edx
push 0x51209c
lea eax, [ebp - 0x40]
push eax
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x40]
push edx
call fcn.00402580
lea eax, [ebp - 0xa8]
push eax
call fcn.004d7880
add esp, 8
push eax
call fcn.00404c40
add esp, 8
mov byte [ebp - 0x9d], al
lea ecx, [ebp - 0xa8]
call fcn.004079a0
movzx ecx, byte [ebp - 0x9d]
test ecx, ecx
je 0x4e96fd
lea ecx, [ebp - 0x44]
call fcn.004032e0
mov edx, dword [ebp - 0x3c]
push edx
push 0x5120b4
lea eax, [ebp - 0x44]
push eax
call fcn.00404050
add esp, 0xc
push 0x5120cc
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea edx, [ebp - 0x44]
push edx
call fcn.00402580
lea eax, [ebp - 0xb4]
push eax
call fcn.004d7880
add esp, 8
push eax
call fcn.00404c80
add esp, 8
mov byte [ebp - 0xa9], al
lea ecx, [ebp - 0xb4]
call fcn.004079a0
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4e96f5
push ecx
mov esi, esp
mov dword [ebp - 0xb8], esp
push 0x5120d0
lea edx, [ebp - 0x2c]
push edx
push 0x512108
lea eax, [ebp - 0xbc]
push eax
call fcn.00404b90
add esp, 0xc
push eax
push esi
call fcn.00404ae0
add esp, 0xc
mov ecx, 0x549cf8
call fcn.004eb140
lea ecx, [ebp - 0xbc]
call fcn.004079a0
lea ecx, [ebp - 0x44]
call fcn.004079a0
lea ecx, [ebp - 0x40]
call fcn.004079a0
lea ecx, [ebp - 0x2c]
call fcn.004079a0
lea ecx, [ebp - 0x28]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e9cac
lea ecx, [ebp - 0x44]
call fcn.004079a0
lea ecx, [ebp - 0x40]
call fcn.004079a0
jmp 0x4e959d
push 1
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 8]
call fcn.00402580
push 0x512134
lea ecx, [ebp - 8]
push ecx
call fcn.00404c60
add esp, 8
movzx edx, al
test edx, edx
je 0x4e975b
lea ecx, [ebp - 0x48]
call fcn.004f3370
lea ecx, [ebp - 0x48]
call fcn.004f34b0
lea ecx, [ebp - 0x48]
call fcn.004f3350
jmp 0x4e9c8c
push 2
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x54]
call fcn.00402580
push 3
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402580
push 4
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x60]
call fcn.00402580
push 5
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x50]
call fcn.00402580
push 6
lea ecx, [ebp - 0x28]
call fcn.00498807
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402580
lea ecx, [ebp - 0x5c]
call fcn.00403780
mov esi, eax
push 0x2f
lea ecx, [ebp - 0x5c]
call fcn.004048d0
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004049d0
push 4
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004049d0
lea ecx, [ebp - 0x64]
call fcn.00401060
push 0x512140
lea edx, [ebp - 0x64]
push edx
call fcn.00404c80
add esp, 8
movzx eax, al
test eax, eax
je 0x4e9848
push 0x51214c
lea ecx, [ebp - 0x6c]
call fcn.004045f0
lea ecx, [ebp - 0x58]
call fcn.004032e0
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [0x549dd4]
push edx
push 0x512158
lea eax, [ebp - 0x58]
push eax
call fcn.00404050
add esp, 0x10
lea ecx, [ebp - 0x58]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x68]
call fcn.004032e0
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x512164
lea edx, [ebp - 0x68]
push edx
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x54]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e98b5
mov dword [ebp - 0xe0], 0
jmp 0x4e9916
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4e98da
mov dword [ebp - 0xe4], 0
jmp 0x4e990a
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
mov dword [ebp - 0xe8], esp
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.004081e0
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], edx
lea ecx, [ebp - 0x68]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e9933
mov dword [ebp - 0xec], 0
jmp 0x4e9994
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4e9958
mov dword [ebp - 0xf0], 0
jmp 0x4e9988
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
mov dword [ebp - 0xf4], esp
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.004081e0
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
push 0x7e3
mov edx, dword [0x549cc8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x68]
call fcn.00406880
push 0xffffffffffffffff
lea ecx, [ebp - 0x54]
call fcn.00406880
push 0x927c0
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea eax, [ebp - 0x58]
push eax
call fcn.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00402580
call fcn.004de330
add esp, 0xc
test eax, eax
je 0x4e9c44
lea ecx, [ebp - 0x78]
call fcn.004032e0
mov eax, dword [ebp - 8]
push eax
push 0x512178
lea ecx, [ebp - 0x78]
push ecx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x78]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_SendLog
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
push 0x5121a8
lea ecx, [ebp - 0x68]
push ecx
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x54]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e9a6a
mov dword [ebp - 0xf8], 0
jmp 0x4e9acb
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 0x4e9a8f
mov dword [ebp - 0xfc], 0
jmp 0x4e9abf
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
mov dword [ebp - 0x100], 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 - 0x100]
push eax
call fcn.004081e0
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], ecx
lea ecx, [ebp - 0x68]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e9ae8
mov dword [ebp - 0x104], 0
jmp 0x4e9b49
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 0x4e9b0d
mov dword [ebp - 0x108], 0
jmp 0x4e9b3d
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
mov dword [ebp - 0x10c], 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 - 0x10c]
push eax
call fcn.004081e0
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x104]
push eax
push 0x7e3
mov ecx, dword [0x549cc8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x68]
call fcn.00406880
push 0xffffffffffffffff
lea ecx, [ebp - 0x54]
call fcn.00406880
push 0x549dc0
lea ecx, [ebp - 0x70]
call fcn.00402580
lea ecx, [ebp - 0x74]
call fcn.004032e0
cmp dword [0x549e14], 0
je 0x4e9bce
push 0x5121bc
lea edx, [ebp - 8]
push edx
call fcn.00404c60
add esp, 8
movzx eax, al
test eax, eax
je 0x4e9bce
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x58]
push edx
push 0x5121c4
lea eax, [ebp - 0x74]
push eax
call fcn.00404050
add esp, 0x10
jmp 0x4e9be3
mov ecx, dword [ebp - 0x58]
push ecx
push 0x5121ec
lea edx, [ebp - 0x74]
push edx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x74]
push eax
call fcn.00402580
call sym.QiyiInstaller.exe_Run
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
push 0x51220c
lea edx, [ebp - 0x78]
push edx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0x78]
push eax
call fcn.00402580
call sym.QiyiInstaller.exe_SendLog
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.004079a0
lea ecx, [ebp - 0x70]
call fcn.004079a0
lea ecx, [ebp - 0x78]
call fcn.004079a0
lea ecx, [ebp - 0x68]
call fcn.004079a0
lea ecx, [ebp - 0x58]
call fcn.004079a0
lea ecx, [ebp - 0x64]
call fcn.004079a0
lea ecx, [ebp - 0x6c]
call fcn.004079a0
lea ecx, [ebp - 0x5c]
call fcn.004079a0
lea ecx, [ebp - 0x50]
call fcn.004079a0
lea ecx, [ebp - 0x60]
call fcn.004079a0
lea ecx, [ebp - 0x4c]
call fcn.004079a0
lea ecx, [ebp - 0x54]
call fcn.004079a0
lea ecx, [ebp - 8]
call fcn.004079a0
lea ecx, [ebp - 0x2c]
call fcn.004079a0
lea ecx, [ebp - 0x28]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
lea esp, [ebp - 0x110]
pop esi
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.004b5e12
mov esp, ebp
pop ebp
ret