Function at 0x408ea0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x409637
push 0x42c91c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408ee3
push 0x24080008
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0
push 0x319
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
ret
push 0x42c8fc
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408f06
push 1
call fcn.00409640
add esp, 4
mov eax, 1
pop esi
ret
push 0x42c8f0
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408f7a
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
mov ecx, dword [eax]
call dword [sym.imp.uDirector.dll_public:_class_Module____thiscall_IDirector::GetCurModule_void_]
test eax, eax
je 0x408f59
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
cmp eax, 9
jne 0x408f59
call fcn.00408b00
test eax, eax
je 0x409630
push 0
push 0
push 0x481
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop esi
ret
mov eax, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0
push 0
push 0x481
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop esi
ret
push 0x42c8d8
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408f96
push 0x23ed0000
jmp 0x408ec4
push 0x42c8b8
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408fb2
push 0x23ea0000
jmp 0x408ec4
push 0x42c8a8
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408fce
push 0x23eb0000
jmp 0x408ec4
push 0x42c894
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x408fea
push 0x23ec0000
jmp 0x408ec4
push 0x42c88c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409006
push 0x23ef0000
jmp 0x408ec4
push 0x42c880
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409037
mov ecx, 0x4391b0
call fcn.00406d30
neg eax
sbb eax, eax
inc eax
push eax
call fcn.00408b10
add esp, 4
mov eax, 1
pop esi
ret
push 0x42c860
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40905a
push 1
call fcn.00409750
add esp, 4
mov eax, 1
pop esi
ret
push 0x42c854
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409076
push 0x23fd0000
jmp 0x408ec4
push 0x42c84c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4090bb
call fcn.00407bd0
push eax
push 1
push str.SupportDVD
push str.USER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x409630
cmp eax, 1
jne 0x409630
push 0x23f20008
jmp 0x408ec4
push 0x42c82c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4090d7
push 0x23f00008
jmp 0x408ec4
push 0x42c818
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4090f3
push 0x2032000c
jmp 0x408ec4
push str.More_Information
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40910f
push 0x23f50008
jmp 0x408ec4
push 0x42c7ec
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4091ac
mov dword [esp + 8], eax
call fcn.00407bd0
push eax
push 0
push str.SupportTV
push str.USER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x409630
cmp eax, 1
jne 0x40919d
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
lea eax, [esp + 8]
push 0
push eax
mov edx, dword [ecx]
push 0x499
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 8]
test eax, eax
je 0x409630
push 0x23f80008
mov ecx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0
push 0x319
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
ret
cmp eax, 2
jne 0x40916c
mov dword [esp + 8], 1
jmp 0x409178
push 0x42c7cc
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4091c5
push 0x23f70008
jmp 0x40917d
push 0x42c7c0
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4091de
push 0x240a0008
jmp 0x40917d
push 0x42c7b0
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4091f7
push 0x23f90008
jmp 0x40917d
push 0x42c7a4
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40927d
mov dword [esp + 8], eax
call fcn.00407bd0
push eax
push 0
push str.SupportRadio
push str.USER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x409630
cmp eax, 1
jne 0x409266
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
lea ecx, [esp + 8]
push 0
push ecx
mov eax, dword [edx]
push 0x497
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 8]
test eax, eax
je 0x409630
push 0x23fa0008
jmp 0x409617
cmp eax, 2
jne 0x409250
mov dword [esp + 8], 1
push 0x23fa0008
jmp 0x409617
push 0x42c77c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409299
push 0x23f60008
jmp 0x409617
push 0x42c770
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4092b5
push 0x240f0008
jmp 0x409617
push 0x42c764
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4092e1
mov ecx, dword [0x439328]
test ecx, ecx
je 0x409630
call fcn.00402740
mov eax, 1
pop esi
ret
push 0x42c758
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4092fd
push 0x200e000c
jmp 0x409617
push 0x42c74c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409319
push 0x200e0008
jmp 0x409617
push 0x42c73c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409335
push 0x23fc000c
jmp 0x409617
push 0x42c730
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409351
push 0x200d0008
jmp 0x409617
push 0x42c71c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40936d
push 0x200c0008
jmp 0x409617
push 0x42c704
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409389
push 0x23ff0008
jmp 0x409617
push 0x42c6f4
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4093a5
push 0x2031000c
jmp 0x409617
push 0x42c6e8
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4093c1
push 0x200b0008
jmp 0x409617
push 0x42c6d8
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4093dd
push 0x23fb000c
jmp 0x409617
push 0x42c6c8
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4093f9
push 0x20300008
jmp 0x409617
push 0x42c6b4
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409415
push 0x240b0008
jmp 0x409617
push str.Preview_Mode
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409431
push 0x240c000c
jmp 0x409617
push 0x42c684
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40944d
push 0x240d000c
jmp 0x409617
push 0x42c668
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409469
push 0x2402000c
jmp 0x409617
push 0x42c64c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409485
push 0x2403000c
jmp 0x409617
push 0x42c62c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4094a1
push 0x2404000c
jmp 0x409617
push 0x42c60c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4094bd
push 0x2405000c
jmp 0x409617
push 0x42c5f0
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4094d9
push 0x2406000c
jmp 0x409617
push 0x42c5dc
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4094f5
push 0x23f1000c
jmp 0x409617
push 0x42c5c4
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409511
push 0x240e000c
jmp 0x409617
push 0x42c5a4
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40952d
push 0x2401000c
jmp 0x409617
push 0x42c58c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40954b
push 0x2401000c
push 1
jmp 0x409619
push 0x42c568
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409567
push 0x2410000c
jmp 0x409617
push 0x42c54c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409583
push 0x2411000c
jmp 0x409617
push 0x42c53c
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x40959c
push 0x23f3000c
jmp 0x409617
push 0x42c530
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4095b5
push 0x23f4000c
jmp 0x409617
push 0x42c514
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4095ce
push 0x2412000c
jmp 0x409617
push 0x42c4fc
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x4095e7
push 0x2413000c
jmp 0x409617
push 0x42c4e4
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409600
push 0x24140000
jmp 0x409617
push 0x42c4c0
push esi
call fcn.004186a1
add esp, 8
test eax, eax
jne 0x409637
push 0x24150000
push 0
mov edx, dword [sym.imp.uDirector.dll_class_IDirector__g_IDirector]
push 0x319
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret