Function at 0x1003a5a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a26b7
push eax
mov dword fs:[0], esp
sub esp, 0x814
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x698]
push 1
push eax
call fcn.10018160
mov edi, dword [esp + 0x834]
add esp, 8
test eax, eax
je 0x1003a66e
test edi, edi
je 0x1003a66e
cmp word [esi + 0x1140], 0
je 0x1003a66e
mov ecx, dword [esi + 0x54c]
test ecx, ecx
je 0x1003a600
call fcn.100542e0
push 0
lea ecx, [esp + 0x14]
call fcn.10045d60
lea ecx, [esp + 0x10]
mov dword [esp + 0x824], 0
call sub.MFC71U.DLL_CColorDialog::DoModal
cmp eax, 1
je 0x1003a646
mov ecx, esi
call sub.MFC71U.DLL_CFieldExchange::Default
lea ecx, [esp + 0x10]
mov dword [esp + 0x824], 0xffffffff
call fcn.10045e10
xor eax, eax
jmp 0x1003a979
lea ecx, [esp + 0x4d8]
push ecx
lea ecx, [esi + 0x1144]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x10]
mov dword [esp + 0x824], 0xffffffff
call fcn.10045e10
mov ecx, dword [esi + 0x54c]
test ecx, ecx
mov dword [esi + 0x11b0], 1
je 0x1003a68f
test edi, edi
je 0x1003a777
call fcn.10054300
test edi, edi
je 0x1003a777
mov eax, dword [0x100abfc4]
mov ecx, dword [0x100abfc8]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x100abfcc]
mov dword [edx + 4], ecx
mov ecx, dword [0x100abfd0]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.10002fd0
add esp, 0x10
test eax, eax
je 0x1003a8a6
mov ecx, dword [esi + 0x694]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 8]
mov eax, dword [0x100b3248]
mov ecx, dword [0x100b324c]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x100b3250]
mov dword [edx + 4], ecx
mov ecx, dword [0x100b3254]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.10002f20
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1003a8a6
mov eax, dword [esi + 0x694]
mov edx, dword [edi]
push 0
push 0
push 0xa
push eax
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi + 0x694]
mov edx, dword [edi]
push 0
push 0
push 0
push eax
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi + 0x694]
mov edx, dword [edi]
push 0
push 0
push 0xe
push eax
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi + 0x694]
mov edx, dword [edi]
push 0
push 0
push 0xf
push eax
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi + 0x694]
mov edx, dword [edi]
push 0
push 0
push 6
push eax
mov ecx, edi
call dword [edx + 0x20]
cmp word [esi + 0x1140], 0
jne 0x1003a7cb
mov edx, dword [0x100b3248]
mov eax, dword [0x100b324c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x100b3250]
mov dword [ecx + 4], eax
mov eax, dword [0x100b3254]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.10002f20
add esp, 0x10
test eax, eax
je 0x1003a8a6
mov ecx, dword [esi + 0x694]
mov edx, dword [eax]
push 0
push 0
push 2
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x698]
mov ecx, dword [esi + 0x544]
mov edx, dword [ecx]
push eax
mov ax, word [esi + 0x1140]
push eax
mov eax, dword [esi + 0x113c]
push eax
mov eax, dword [esi + 0x694]
push eax
call dword [edx + 8]
mov ecx, dword [esi + 0x554]
push ecx
lea edx, [esp + 0x10]
push 0xf
push edx
mov dword [esp + 0x18], 0
call fcn.10018180
mov edx, dword [esi + 0x558]
mov ecx, dword [esi + 0x544]
mov eax, dword [ecx]
add esp, 0xc
push edx
mov edx, dword [esp + 0x10]
push edx
mov dx, word [esi + 0x592]
push edx
lea edx, [esi + 0x568]
push edx
mov edx, dword [esi + 0x564]
push edx
mov edx, dword [esi + 0x560]
push edx
call dword [eax]
mov eax, dword [esi + 0x544]
mov edi, dword [eax]
lea ecx, [esi + 0x1144]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esi + 0x544]
push eax
call dword [edi + 0xc]
mov ecx, dword [esi + 0x544]
mov eax, dword [esi + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x544]
mov edi, dword [ecx]
push 9
lea edx, [esi + 0x1168]
push edx
call dword [edi + 4]
mov ecx, dword [esi + 0x544]
push edx
push eax
call dword [edi + 0x18]
test eax, eax
jne 0x1003a8ad
mov ecx, dword [esi + 0x544]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, esi
call sub.MFC71U.DLL_CFieldExchange::Default
xor eax, eax
jmp 0x1003a979
lea ecx, [esp + 8]
mov edi, 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov ecx, dword [esi + 0x564]
mov eax, dword [esi + 0x560]
lea edx, [esp + 8]
push edx
push ecx
push eax
mov dword [esp + 0x830], edi
call fcn.10001210
add esp, 0xc
test eax, eax
je 0x1003a900
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push edi
push str.UseKplayer
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push edi
mov ecx, esi
call fcn.10037940
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x1003a917
call fcn.10047fb0
mov eax, dword [esi + 0x20]
push 0
push 0x3e8
push 3
push eax
mov dword [esi + 0x548], 1
call dword [sym.imp.USER32.dll_SetTimer]
push 5
mov ecx, esi
mov dword [esi + 0x6f0], eax
call sub.MFC71U.DLL_COleControlSite::ShowWindow
mov ecx, esi
call fcn.10039e20
cmp dword [esp + 0x82c], 0
je 0x1003a96a
mov ecx, dword [esi + 0x72c]
push 1
push 8
push 0x401
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
mov ecx, dword [esp + 0x81c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x820
ret 4