Function at 0x4d4910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
mov eax, dword [0x703a9c]
cmp eax, 5
ja case.0x4d4940.1
jmp dword [eax*4 + 0x4d4d34]
mov eax, dword [str.INTERFACE_800X600]
mov ecx, dword [0x6abc2c]
mov edx, dword [0x6abc30]
mov dword [esp + 0x10], eax
mov eax, dword [0x6abc34]
mov dword [esp + 0x14], ecx
mov cx, word [0x6abc38]
mov word [esp + 0x20], cx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x4d4a91
mov eax, dword [0x6abc18]
mov edx, dword [str.INTERFACE_1280X1024]
mov ecx, dword [0x6abc1c]
mov dword [esp + 0x14], eax
mov eax, dword [0x6abc24]
mov dword [esp + 0x10], edx
mov edx, dword [0x6abc20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jmp 0x4d4a8d
mov ecx, dword [str.INTERFACE_1360X768]
mov edx, dword [0x6abc04]
mov eax, dword [0x6abc08]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x6abc0c]
mov dword [esp + 0x14], edx
mov dx, word [0x6abc10]
mov dword [esp + 0x18], eax
mov al, byte [0x6abc12]
mov dword [esp + 0x1c], ecx
mov word [esp + 0x20], dx
mov byte [esp + 0x22], al
jmp 0x4d4a91
mov ecx, dword [str.INTERFACE_1920X1200]
mov edx, dword [0x6abbf0]
mov eax, dword [0x6abbf4]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x6abbf8]
mov dword [esp + 0x14], edx
mov edx, dword [0x6abbfc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x4d4a91
mov eax, dword [str.INTERFACE_1680X1050]
mov ecx, dword [0x6abbdc]
mov edx, dword [0x6abbe0]
mov dword [esp + 0x10], eax
mov eax, dword [0x6abbe4]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x6abbe8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x4d4a91
mov eax, dword [0x6abbc8]
mov ecx, dword [0x6abbcc]
mov edx, dword [str.INTERFACE_1024X768]
mov dword [esp + 0x14], eax
mov ax, word [0x6abbd4]
mov dword [esp + 0x18], ecx
mov cl, byte [0x6abbd6]
mov dword [esp + 0x10], edx
mov edx, dword [0x6abbd0]
mov word [esp + 0x20], ax
mov byte [esp + 0x22], cl
mov dword [esp + 0x1c], edx
mov al, byte [ebp + 0x108]
test al, al
push 0x7034e0
push 0x104
je 0x4d4b67
mov esi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x120]
push edx
push 0x6a75d5
push str.QUICKSLOTPLUS_POS_X
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x4d4adf
lea ecx, [esp + 0x118]
push ecx
call fcn.005b8a6a
add esp, 4
mov dword [ebp + 4], eax
push 0x7034e0
push 0x104
lea edx, [esp + 0x120]
push edx
push 0x6a75d5
push str.QUICKSLOTPLUS_POS_Y
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x4d4b19
lea ecx, [esp + 0x118]
push ecx
call fcn.005b8a6a
add esp, 4
mov dword [ebp + 8], eax
push 0x7034e0
push 0x104
lea edx, [esp + 0x120]
push edx
push 0x6a75d5
push str.QUICKSLOTPLUS_CHANGE
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x4d4c61
mov edi, str.FALSE
lea esi, [esp + 0x118]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
setne al
mov byte [ebp + 0xfc], al
jmp 0x4d4c61
mov ebx, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x120]
push ecx
push 0x6a75d5
push str.QUICKSLOT_POS_X
lea edx, [esp + 0x24]
push edx
call ebx
test eax, eax
je 0x4d4b9d
lea eax, [esp + 0x118]
push eax
call fcn.005b8a6a
add esp, 4
mov dword [ebp + 4], eax
push 0x7034e0
push 0x104
lea ecx, [esp + 0x120]
push ecx
push 0x6a75d5
push str.QUICKSLOT_POS_Y
lea edx, [esp + 0x24]
push edx
call ebx
test eax, eax
je 0x4d4bd7
lea eax, [esp + 0x118]
push eax
call fcn.005b8a6a
add esp, 4
mov dword [ebp + 8], eax
push 0x7034e0
push 0x104
lea ecx, [esp + 0x120]
push ecx
push 0x6a75d5
push str.QUICKSLOT_CHANGE
lea edx, [esp + 0x24]
push edx
call ebx
test eax, eax
je 0x4d4c1c
mov edi, str.FALSE
lea esi, [esp + 0x118]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
setne cl
mov byte [ebp + 0xfc], cl
push 0x7034e0
push 0x104
lea edx, [esp + 0x120]
push edx
push 0x6a75d5
push str.QUICKSLOT_PLUS
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x4d4c61
mov edi, str.FALSE
lea esi, [esp + 0x118]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
setne al
mov byte [ebp + 0xfd], al
mov al, byte [ebp + 0xfc]
test al, al
mov ebx, 0x35
mov dword [ebp + 0xc], 0x1be
mov dword [ebp + 0x10], ebx
je 0x4d4cc2
mov eax, dword [ebp + 0x28]
lea esi, [ebp + 0x28]
xor edi, edi
cmp eax, edi
je 0x4d4c8e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4d4c9e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 4], edi
push 0x200
push 0x40
push str.main_slot_2.tga
push str.data_interface
mov ecx, esi
call fcn.00538940
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], 0x1be
jmp 0x4d4cdd
push 0x40
push 0x200
push 0x6ae988
push str.data_interface
lea ecx, [ebp + 0x28]
call fcn.00538940
xor edi, edi
movzx eax, byte [ebp + 0x108]
mov cl, byte [eax + 0x21e6d64]
mov byte [ebp + 0x48], cl
mov ecx, dword [ebp + 4]
cmp ecx, edi
jge 0x4d4cf9
mov dword [ebp + 4], edi
jmp 0x4d4d08
mov eax, dword [0x6f355c]
sub eax, dword [ebp + 0xc]
cmp ecx, eax
jle 0x4d4d08
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 8]
cmp ecx, edi
jge 0x4d4d1a
mov dword [ebp + 8], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6f3560]
sub eax, dword [ebp + 0x10]
cmp ecx, eax
jle 0x4d4d29
mov dword [ebp + 8], eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret