Function at 0x48f5e7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1bcd
mov eax, dword fs:[0]
push eax
mov eax, 0x1038
call fcn.00506f00
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x102c], ebx
mov dword [ebp - 0x1028], edi
lea ecx, [ebp - 0x1044]
mov dword [ebp - 4], 1
call fcn.0042ca82
push ecx
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x101c], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x1044]
lea eax, [ebp - 0x1024]
push eax
call fcn.004843c9
mov eax, dword [ebp - 0x1024]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
mov eax, dword [eax - 0xc]
add eax, 0xfffffffa
push eax
push ebx
call fcn.0043189c
push 0x1000
xor esi, esi
lea eax, [ebp - 0x1010]
push edi
inc esi
push eax
mov dword [ebp - 0x1028], esi
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x1010]
push dword [ebp + 0xc]
push 0x800
push eax
push dword [ebp + 0xc]
push str.DisplayName
push str.Theme
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48f909
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1014]
call fcn.00413f09
push esi
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1014]
call fcn.0043189c
push 0x6191f8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0042e677
mov ecx, dword [ebp - 0x1018]
mov ebx, eax
neg ebx
mov byte [ebp - 4], 4
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00412ac4
add bl, 1
je 0x48f894
mov eax, dword [ebp - 0x1014]
lea ecx, [ebp - 0x1014]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.00434d0c
push eax
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 6
call fcn.00411f3a
mov ecx, dword [ebp - 0x1018]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00412ac4
push ecx
mov esi, esp
mov dword [ebp - 0x101c], esi
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x1044]
lea eax, [ebp - 0x1018]
push eax
call fcn.004cd49a
push eax
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 7
call fcn.00411f3a
mov ecx, dword [ebp - 0x1018]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x2c
push dword [ebp - 0x1014]
call fcn.0056bc73
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48f894
mov eax, dword [ebp - 0x1014]
sub esi, eax
sar esi, 1
test esi, esi
jle 0x48f894
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x1014]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.00434d0c
push esi
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1014]
call fcn.0043189c
push eax
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 9
call fcn.00411f3a
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 2
push edi
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, dword [ebp - 0x101c]
mov edi, eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push esi
call fcn.0058a233
push eax
call fcn.0059b13a
pop ecx
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00412ac4
xor edi, edi
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
jle 0x48f8f5
mov esi, edi
movzx eax, word [ebp + esi*2 - 0x1010]
push eax
call fcn.0059c25a
pop ecx
test eax, eax
je 0x48f8f5
push 0x3f
pop ecx
cmp cx, word [ebp + esi*2 - 0x1010]
lea eax, [edi + 1]
cmovne eax, edi
inc esi
mov edi, eax
cmp esi, ebx
jl 0x48f8a9
mov eax, ebx
mov ebx, dword [ebp - 0x1020]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jge 0x48f8fb
lea eax, [ebp - 0x1010]
mov ecx, ebx
push eax
call fcn.0041421f
jmp 0x48f8fb
mov ebx, dword [ebp - 0x1020]
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1024]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x1044]
call fcn.0042e60b
mov ecx, dword [ebp - 0x1034]
add ecx, 0xfffffff0
call fcn.00412ac4
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 8