Function at 0x10012de9
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x10040b4f
call fcn.1003e7e6
mov eax, dword [ebp + 0x41c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x420]
push dword [eax]
mov dword [ebp - 0x1c], eax
push 0x104
lea eax, [ebp + 0x208]
push eax
mov esi, 0x10044d40
push esi
push str.Name
mov ebx, str.Main
push ebx
mov dword [ebp - 0x18], ecx
call edi
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp]
push 0x104
push eax
push esi
push str.Path
push ebx
call edi
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
and dword [ebp - 4], 0
lea edx, [ebp - 0x24]
push edx
push 0
push 0
lea edx, [ebp + 0x208]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10012e90
or dword [ebp - 4], 0xffffffff
jmp 0x10013030
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002bd2
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push eax
push ecx
mov byte [ebp - 4], 2
call dword [edx + 0x10]
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp + 0x208]
push 0x104
push eax
push esi
push str.Path
push ebx
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp + 0x208]
push 0x104
push eax
push esi
push 0x10046a40
push ebx
call edi
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x18]
call fcn.10002bd2
push 0x10046a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.100120ff
test al, al
je 0x10012f5b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp + 0x208]
push 0x104
push eax
push esi
push str.MediaIcon
push ebx
call edi
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002bd2
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.100120ff
test al, al
jne 0x10012fa0
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1001756f
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp + 0x208]
push 0x104
push eax
push esi
push str.CustomIcon
push ebx
call edi
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x10]
call fcn.100073a5
push esi
lea ecx, [ebp - 0x10]
call fcn.100120ff
test al, al
jne 0x10012fe7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb0]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 1
je 0x10013014
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 0
je 0x10013025
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10013036
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x414
leave
ret 8