Function at 0x48d8b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20a4
call fcn.004d6340
push ebx
push ebp
mov ebp, dword [esp + 0x20b0]
xor edx, edx
push esi
cmp ebp, edx
push edi
je 0x48dd63
mov eax, dword [esp + 0x20bc]
mov esi, 1
cmp eax, edx
je 0x48dd41
cmp dword [esp + 0x20cc], esi
je 0x48dd41
mov ecx, 0x79e
xor eax, eax
lea edi, [esp + 0x23c]
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20c0]
cmp ecx, 0x4ae7
jne 0x48d9a4
mov eax, dword [0x5b56e4]
cmp eax, edx
jne 0x48d92d
cmp dword [esp + 0x20c8], esi
je 0x48dd63
cmp dword [esp + 0x20d0], esi
jne 0x48d9db
mov dword [0x5b56e4], edx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor esi, esi
lea ebx, [esp + 0x23c]
mov ecx, 0x82
xor eax, eax
mov edi, ebx
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push str.File_d
push eax
call fcn.004d5ee1
add esp, 0xc
lea ecx, [esp + 0x34]
push 0x5b9260
push 0x104
push ebx
push 0x5aae60
push ecx
push str.RecentFiles
call ebp
inc esi
add ebx, 0x208
cmp esi, 0xf
jl 0x48d94f
mov dword [0x5b56e4], 1
jmp 0x48db7f
mov eax, dword [0x5b56e8]
cmp eax, edx
jne 0x48d9ba
cmp dword [esp + 0x20c8], esi
je 0x48dd63
cmp dword [esp + 0x20d0], esi
jne 0x48d9ca
xor eax, eax
mov dword [0x5b56e8], eax
cmp ecx, 0x4b00
jne 0x48d9e3
cmp eax, edx
jne 0x48d9e3
jmp 0x48da6d
cmp eax, edx
je 0x48d940
xor esi, esi
lea ebx, [esp + 0x23c]
lea ebp, [esp + 0x23c]
mov ecx, 0x82
xor eax, eax
mov edi, ebp
push 0x400
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x20bc]
push esi
push edi
call dword [sym.imp.USER32.dll_GetMenuState]
test ah, 8
jne 0x48db7f
cmp dword [esp + 0x20c0], 0x4ae7
jne 0x48db45
push 1
lea ecx, [esp + 0x38]
push 0x104
lea edx, [esi + 0x4ae7]
push ecx
push edx
push edi
call fcn.0048cef0
add esp, 0x14
test eax, eax
je 0x48db6f
lea ecx, [esp + 0x34]
mov eax, ebx
push 0x104
push ecx
push eax
add ebx, 0x208
call fcn.004d6c3f
jmp 0x48db6c
push 0x5b9260
lea edx, [esp + 0x38]
push 0x102
push edx
push 0x5aae60
push str.FavoriteMenus
push 0x5a09b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x34]
push eax
call fcn.004d6713
add esp, 4
test eax, eax
jle 0x48db3d
push 0x598e0c
lea ecx, [esp + 0x38]
push 0x104
push ecx
call fcn.004c9b60
lea edx, [esp + 0x40]
push 0x7c
push edx
call fcn.004c9a70
mov ebx, eax
add esp, 0x14
test ebx, ebx
jle 0x48db3d
xor esi, esi
lea ebp, [esp + 0x23c]
cmp ebx, 0xf
mov eax, ebx
jl 0x48dae4
mov eax, 0xf
cmp esi, eax
jge 0x48db31
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x14]
push 0xf
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push 0x7c
push eax
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.004c9ab0
lea edx, [esp + 0x28]
push edx
call fcn.004d6713
add esp, 0x18
test eax, eax
jle 0x48db28
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004d631b
add esp, 8
inc esi
add ebp, 0x208
jmp 0x48dad8
mov ebp, dword [esp + 0x20b8]
mov esi, 1
mov dword [0x5b56e8], esi
jmp 0x48db8b
push 0x400
push esi
push edi
call fcn.0048d820
add esp, 0xc
test eax, eax
jle 0x48db6f
mov ecx, ebx
push eax
push 0x5985ac
push ecx
add ebx, 0x208
call fcn.004d5ee1
add esp, 0xc
inc esi
add ebp, 0x208
cmp esi, 0xf
jl 0x48d9f3
mov ebp, dword [esp + 0x20b8]
mov esi, 1
mov eax, dword [esp + 0x20c8]
test eax, eax
jne 0x48dc60
mov esi, dword [esp + 0x20c4]
xor edi, edi
lea ebx, [esp + 0x23c]
cmp word [esi], 0
je 0x48dbbe
push esi
push ebx
call fcn.004d7652
add esp, 8
test eax, eax
je 0x48dbd7
inc edi
add ebx, 0x208
cmp edi, 0xf
jl 0x48dbaa
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20c0]
jmp 0x48dc0c
push ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebx, dword [esp + 0x20c0]
sub eax, 2
xor edx, edx
cmp ebx, 0x4ae7
sete dl
push eax
push edx
push esi
lea eax, [esp + 0x248]
push edi
push eax
call fcn.0048d760
add esp, 0x14
mov eax, 1
cmp ebx, 0x4ae7
jne 0x48dc1d
cmp dword [0x59f718], 0xffffffff
je 0x48dc50
test eax, eax
jne 0x48dc50
cmp word [esi], ax
je 0x48dc50
push ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
sub eax, 2
xor ecx, ecx
cmp ebx, 0x4ae7
push eax
sete cl
push ecx
push esi
lea edx, [esp + 0x248]
push 0xe
push edx
call fcn.0048d760
add esp, 0x14
lea eax, [esp + 0x23c]
push 0
push eax
push ebx
jmp 0x48dd4b
cmp eax, esi
jne 0x48dd54
cmp dword [esp + 0x20c0], 0x4ae7
jne 0x48dcba
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor esi, esi
lea edi, [esp + 0x23c]
push esi
lea ecx, [esp + 0x38]
push str.File_d
push ecx
call fcn.004d5ee1
add esp, 0xc
lea edx, [esp + 0x34]
push 0x5b9260
push edi
push edx
push str.RecentFiles
call ebx
inc esi
add edi, 0x208
cmp esi, 0xf
jl 0x48dc84
jmp 0x48dd54
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x34]
xor esi, esi
rep stosd dword es:[edi], eax
push 0x400
push esi
push ebp
call dword [sym.imp.USER32.dll_GetMenuState]
test ah, 8
jne 0x48dd25
push 0x400
push esi
push ebp
call fcn.0048d820
add esp, 0xc
test eax, eax
jle 0x48dd1f
push eax
lea eax, [esp + 0x18]
push 0x5985ac
push eax
call fcn.004d5ee1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.004d62f1
lea eax, [esp + 0x48]
push 0x598e0c
push eax
call fcn.004d62f1
add esp, 0x1c
inc esi
cmp esi, 0xf
jl 0x48dcc9
lea ecx, [esp + 0x34]
push 0x5b9260
push ecx
push str.FavoriteMenus
push 0x5a09b8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x48dd54
push esi
push edx
mov edx, dword [esp + 0x20c8]
push edx
push ebp
call fcn.0048d570
add esp, 0x10
mov eax, dword [0x5b561c]
push eax
push ebp
call fcn.00446320
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20a4
ret