Function at 0x40af20
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0x4668f8
push 7
push str.MAXMAXFRAME
push 0x44ec88
mov edi, ecx
call esi
push 0x4668f8
push 1
push str.MINMAXFRAME
push 0x44ec9c
mov dword [edi + 0xd6], eax
call esi
mov ecx, dword [edi + 0x150]
mov dword [edi + 0xda], eax
mov eax, dword [edi + 0xd6]
mov dword [edi + 0xa6], eax
mov eax, dword [ecx + 0x14f7]
cmp eax, 4
ja case.default.0x40af80
jmp dword [eax*4 + 0x40b294]
push 0x4668f8
push 0x12c
push 0x44eca4
push 0x44ecb0
call esi
push 0x4668f8
push 0x2a
push 0x44ecb8
push 0x44ecc8
mov ebp, eax
call esi
push 0x4668f8
push 0x50
push 0x44ecd0
push 0x44ecdc
mov ebx, eax
call esi
push 0x4668f8
push 0x64
push 0x44ece4
push 0x44ecf0
jmp 0x40b193
push 0x4668f8
push 0x96
push str.MAXTIME2400
push 0x44ed04
call esi
push 0x4668f8
push 0x14
push str.FRAMETIME2400
push 0x44ed1c
mov ebp, eax
call esi
push 0x4668f8
push 0x50
push str.FRACK2400
push 0x44ed30
mov ebx, eax
call esi
push 0x4668f8
push 0x64
push str.IDIOT2400
push 0x44ed44
jmp 0x40b193
push 0x4668f8
push 0x96
push str.MAXTIME4800
push 0x44ed58
call esi
push 0x4668f8
push 0x14
push str.FRAMETIME4800
push 0x44ed70
mov ebp, eax
call esi
push 0x4668f8
push 0x50
push str.FRACK4800
push 0x44ed84
mov ebx, eax
call esi
push 0x4668f8
push 0x46
push str.IDIOT4800
push 0x44ed98
jmp 0x40b193
push 0x4668f8
push 0x50
push str.MAXTIME9600
push 0x44edac
call esi
push 0x4668f8
push 0xa
push str.FRAMETIME9600
push 0x44edc4
mov ebp, eax
call esi
push 0x4668f8
push 0x28
push str.FRACK9600
push 0x44edd8
mov ebx, eax
call esi
push 0x4668f8
push 0x46
push str.IDIOT9600
push 0x44edec
mov dword [esp + 0x20], eax
call esi
mov ecx, 2
jmp 0x40b19e
push 0x4668f8
push 0x46
push str.MAXTIME19200
push 0x44ee04
call esi
push 0x4668f8
push 0xa
push str.FRAMETIME19200
push 0x44ee1c
mov ebp, eax
call esi
push 0x4668f8
push 0x1e
push str.FRACK19200
push 0x44ee30
mov ebx, eax
call esi
push 0x4668f8
push 0x46
push str.IDIOT19200
push 0x44ee44
mov dword [esp + 0x20], eax
call esi
mov ecx, 2
jmp 0x40b19e
push 0x4668f8
push 0x12c
push str.MAXTIME1200
push 0x44ee58
call esi
push 0x4668f8
push 0x2a
push str.FRAMETIME1200
push 0x44ee70
mov ebp, eax
call esi
push 0x4668f8
push 0x50
push str.FRACK1200
push 0x44ee84
mov ebx, eax
call esi
push 0x4668f8
push 0x64
push str.IDIOT1200
push str.IDIOT
mov dword [esp + 0x20], eax
call esi
mov ecx, 4
mov dword [edi + 0xd2], eax
mov eax, dword [esp + 0x10]
lea edx, [ebx + ebx*2]
shl edx, 1
mov esi, eax
sub esi, edx
lea edx, [esi + ebp]
test edx, edx
mov dword [edi + 0xae], edx
jge 0x40b1c8
mov dword [edi + 0xae], 0x3c
lea edx, [ebx + ebx*4]
mov esi, eax
sub esi, edx
lea edx, [esi + ebp]
test edx, edx
mov dword [edi + 0xb2], edx
jge 0x40b1e6
mov dword [edi + 0xb2], 0x50
lea edx, [ebx*4]
mov esi, eax
sub esi, edx
lea edx, [esi + ebp]
test edx, edx
mov dword [edi + 0xb6], edx
jge 0x40b208
mov dword [edi + 0xb6], 0x50
lea edx, [ebx + ebx*2]
mov esi, eax
sub esi, edx
lea edx, [esi + ebp]
test edx, edx
mov dword [edi + 0xba], edx
jge 0x40b226
mov dword [edi + 0xba], 0x78
lea edx, [ebx + ebx]
mov esi, eax
sub esi, edx
lea edx, [esi + ebp]
test edx, edx
mov dword [edi + 0xbe], edx
jge 0x40b244
mov dword [edi + 0xbe], 0x8c
mov edx, eax
sub edx, ebx
add edx, ebp
test edx, edx
mov dword [edi + 0xc2], edx
jge 0x40b25e
mov dword [edi + 0xc2], 0xa0
add ebp, eax
test ebp, ebp
mov dword [edi + 0xc6], ebp
mov eax, 0xe6
jge 0x40b275
mov dword [edi + 0xc6], eax
add ecx, ebx
test ebp, ebp
mov dword [edi + 0xca], ebp
mov dword [edi + 0x147], ecx
jge 0x40b28d
mov dword [edi + 0xca], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret