Function at 0x4eb680
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a7e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x78]
add ecx, 0x268
call fcn.00404470
movzx eax, al
test eax, eax
jne 0x4eb6ed
mov ecx, dword [ebp - 0x78]
add ecx, 0x268
push ecx
mov ecx, dword [ebp + 8]
call fcn.004020d0
mov edx, dword [ebp - 0x74]
or edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 8]
jmp 0x4eba3a
call fcn.00403940
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
call fcn.00402e80
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionImeeAddressMacAddr__macaddr
call fcn.00403870
mov dword [ebp - 0x7c], eax
call sym.QiyiInstaller.exe_ReadReg
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.macaddr
call fcn.00403870
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004d7550
add esp, 8
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x24]
call fcn.00402e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00402ea0
lea ecx, [ebp - 0x24]
call fcn.00407290
lea ecx, [ebp - 0x24]
call fcn.00404470
movzx eax, al
test eax, eax
je 0x4eb816
mov dword [ebp - 0x18], 1
push 0x51497c
push 0x547d88
lea ecx, [ebp - 0x54]
push ecx
call fcn.00404270
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x24]
call fcn.00403630
push eax
push 0x5149b0
push 0x5149b4
push 0x5149bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402ea0
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.004060c0
lea ecx, [ebp - 0x24]
call fcn.00407290
lea ecx, [ebp - 0x24]
call fcn.00404470
movzx eax, al
test eax, eax
je 0x4eb902
lea ecx, [ebp - 0x3c]
call fcn.00402e80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x4eb88c
movzx edx, byte [ebp - 0x29]
push edx
movzx eax, byte [ebp - 0x2a]
push eax
movzx ecx, byte [ebp - 0x2b]
push ecx
movzx edx, byte [ebp - 0x2c]
push edx
movzx eax, byte [ebp - 0x2d]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
movzx edx, byte [ebp - 0x2f]
push edx
movzx eax, byte [ebp - 0x30]
push eax
movzx ecx, word [ebp - 0x32]
push ecx
movzx edx, word [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea ecx, [ebp - 0x24]
push ecx
call fcn.004061c0
add esp, 0x34
jmp 0x4eb8c6
mov dword [ebp - 0x40], 0
call fcn.004b81f5
push eax
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004079c0
mov ecx, eax
call fcn.004079e0
push eax
push str._u_u_u_u
lea ecx, [ebp - 0x24]
push ecx
call fcn.004061c0
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.00401060
push ecx
mov edx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x24]
push eax
push str.Generate_Qiyi_GUID
push edx
call fcn.00404320
add esp, 0xc
mov dword [ebp - 0x94], eax
mov ecx, 0x547ce0
call fcn.004ea6d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402ea0
push str.PStyleInstallConfig.ini
push 0x547d88
lea ecx, [ebp - 0x64]
push ecx
call fcn.00404270
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x24]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x514a98
push str.Install
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x64]
call fcn.00402ea0
cmp dword [ebp - 0x18], 0
je 0x4eba01
lea ecx, [ebp - 0x44]
call fcn.00402e80
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
push edx
push str.HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionImeeAddressMacAddr_s
lea eax, [ebp - 0x44]
push eax
call fcn.004061c0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x44]
push edx
call fcn.004020d0
mov dword [ebp - 0x9c], eax
call sym.QiyiInstaller.exe_WriteReg
add esp, 4
lea eax, [ebp - 0x24]
push eax
push str.Write_Qiyi_GUID
lea ecx, [ebp - 0x70]
push ecx
call fcn.00404320
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 5
push ecx
mov eax, esp
mov dword [ebp - 0x6c], esp
push 0x514b58
mov ecx, dword [ebp - 0xa4]
push ecx
push eax
call fcn.00404270
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov ecx, 0x547ce0
call fcn.004ea6d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00402ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402ea0
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x78]
add ecx, 0x268
call fcn.00402e60
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.004020d0
mov ecx, dword [ebp - 0x74]
or ecx, 1
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402ea0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret 4