Function at 0x4f4970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501a45
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x264
call fcn.00404430
movzx eax, al
test eax, eax
jne 0x4f49f0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x264
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402120
mov edx, dword [ebp - 0xd4]
or edx, 1
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp + 8]
jmp 0x4f4fd4
call fcn.004038f0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x44]
call fcn.00407130
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionImeeAddressMacAddr__macaddr
call fcn.00403820
mov dword [ebp - 0xdc], eax
call sym.QiyiInstaller.exe_ReadReg
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.macaddr
call fcn.00403820
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004e15d0
add esp, 8
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x44]
call fcn.00402e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00402e80
lea ecx, [ebp - 0x44]
call fcn.004070f0
lea ecx, [ebp - 0x44]
call fcn.00404430
movzx eax, al
test eax, eax
je 0x4f4b1f
mov dword [ebp - 0x38], 1
push 0x51be2c
push 0x553ef0
lea ecx, [ebp - 0x70]
push ecx
call fcn.00404230
add esp, 0xc
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xf0]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x44]
call fcn.004035b0
push eax
push 0x51be60
push 0x51be64
push 0x51be6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00402e80
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call fcn.00405f20
lea ecx, [ebp - 0x44]
call fcn.004070f0
lea ecx, [ebp - 0x34]
call fcn.00411190
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00404430
movzx eax, al
test eax, eax
je 0x4f4cae
lea ecx, [ebp - 0x34]
call fcn.00407110
movzx ecx, al
test ecx, ecx
je 0x4f4cae
lea ecx, [ebp - 0x58]
call fcn.00407130
mov byte [ebp - 4], 4
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x4f4bb7
movzx eax, byte [ebp - 0x45]
push eax
movzx ecx, byte [ebp - 0x46]
push ecx
movzx edx, byte [ebp - 0x47]
push edx
movzx eax, byte [ebp - 0x48]
push eax
movzx ecx, byte [ebp - 0x49]
push ecx
movzx edx, byte [ebp - 0x4a]
push edx
movzx eax, byte [ebp - 0x4b]
push eax
movzx ecx, byte [ebp - 0x4c]
push ecx
movzx edx, word [ebp - 0x4e]
push edx
movzx eax, word [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x44]
push edx
call fcn.00406020
add esp, 0x34
jmp 0x4f4c6a
mov dword [ebp - 0x5c], 0
call fcn.004bfe05
push eax
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00407900
mov ecx, eax
call fcn.00407920
push eax
push str._u_u_u_u
lea edx, [ebp - 0x44]
push edx
call fcn.00406020
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
call fcn.004f1db0
add esp, 4
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf8]
call fcn.00402c60
push eax
lea ecx, [ebp - 0x7c]
call fcn.004039b0
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x44]
call fcn.004069c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.00402e80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
call fcn.00402be0
lea ecx, [ebp - 0x44]
call fcn.00401060
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x44]
push edx
push str.Generate_Qiyi_GUID
push ecx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x104], eax
mov ecx, 0x553e48
call fcn.004f2090
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00402e80
jmp 0x4f4dc7
lea ecx, [ebp - 0x34]
call fcn.00407110
movzx eax, al
test eax, eax
jne 0x4f4d94
lea ecx, [ebp - 0x44]
call fcn.00404430
movzx ecx, al
test ecx, ecx
je 0x4f4d94
lea ecx, [ebp - 0x34]
call fcn.00402c60
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4f4cf1
mov dword [ebp - 0x108], 0
jmp 0x4f4d50
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x4f4d16
mov dword [ebp - 0x10c], 0
jmp 0x4f4d44
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004c5300
mov dword [ebp - 0x110], esp
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.00405e70
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
push edx
lea ecx, [ebp - 0x44]
call fcn.00403800
lea ecx, [ebp - 0x44]
call fcn.00401060
push ecx
mov eax, esp
mov dword [ebp - 0xa0], esp
lea ecx, [ebp - 0x44]
push ecx
push str.Use_Flash_UID_As_Qiyi_GUID
push eax
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x114], eax
mov ecx, 0x553e48
call fcn.004f2090
jmp 0x4f4dc7
lea ecx, [ebp - 0x44]
call fcn.00401060
push ecx
mov edx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x44]
push eax
push str.Use_Qiyi_UID_From_Registry
push edx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x118], eax
mov ecx, 0x553e48
call fcn.004f2090
lea ecx, [ebp - 0x44]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4f4de4
mov dword [ebp - 0x11c], 0
jmp 0x4f4e45
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x4f4e09
mov dword [ebp - 0x120], 0
jmp 0x4f4e39
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004c5300
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call fcn.00407890
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004023d0
mov byte [ebp - 4], 7
lea edi, [ebp - 0xc0]
call fcn.00411560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc0]
call fcn.00402be0
push str.PStyleInstallConfig.ini
push 0x553ef0
lea edx, [ebp - 0xc4]
push edx
call fcn.00404230
add esp, 0xc
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x44]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x51bfb8
push str.Install
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xc4]
call fcn.00402e80
cmp dword [ebp - 0x38], 0
je 0x4f4f86
lea ecx, [ebp - 0x60]
call fcn.00407130
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x44]
push eax
push str.HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionImeeAddressMacAddr_s
lea ecx, [ebp - 0x60]
push ecx
call fcn.00406020
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x60]
push edx
call fcn.00402120
mov dword [ebp - 0x12c], eax
call sym.QiyiInstaller.exe_WriteReg
add esp, 4
lea eax, [ebp - 0x44]
push eax
push str.Write_Qiyi_GUID
lea ecx, [ebp - 0xd0]
push ecx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 9
push ecx
mov eax, esp
mov dword [ebp - 0xcc], esp
push 0x51c078
mov ecx, dword [ebp - 0x134]
push ecx
push eax
call fcn.00404230
add esp, 0xc
mov dword [ebp - 0x138], eax
mov ecx, 0x553e48
call fcn.004f2090
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
call fcn.00402e80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00402e80
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0xd8]
add ecx, 0x264
call fcn.00402e60
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402120
mov ecx, dword [ebp - 0xd4]
or ecx, 1
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00402e80
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret 4