Function at 0x100656c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100af010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100aff0c]
push ebx
push esi
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100b23f0]
mov dword [ebp - 0xc], edi
cmp eax, dword [edi + 4]
jle 0x1006572d
push 0x100b23f0
call fcn.1006dd43
add esp, 4
cmp dword [0x100b23f0], 0xffffffff
jne 0x1006572d
cmp dword [0x100af6e8], 8
mov eax, 0x100af6d4
push 0x100b23f0
cmovae eax, dword [0x100af6d4]
mov dword [0x100b25f8], eax
call fcn.1006dcf9
add esp, 4
push dword [0x100b25f8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
push 0x100b2600
push 0x10089c18
push str.enabled
push str.RevLimiter
call ebx
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100af695]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c18
push str.mode
push str.RevLimiter
call ebx
push 0x100b2600
call esi
add esp, 4
mov dword [0x100af6a0], eax
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.0.98
push str.upper_threshold
push str.RevLimiter
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af6b0]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.0.88
push str.lower_threshold
push str.RevLimiter
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af6ac]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x100a9f7c
push str.cut_ticks
push str.RevLimiter
call ebx
push 0x100b2600
call esi
add esp, 4
mov dword [0x100af6a4], eax
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c18
push str.enabled
push str.LaunchControl
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100af694]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c1c
push str.clutch
push str.LaunchControl
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100b03e4]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c1c
push str.cut_fuel
push str.LaunchControl
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100af6a8]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c1c
push str.2step
push str.LaunchControl
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100b03e0]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.0.50
push str.threshold
push str.LaunchControl
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af6b4]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c1c
push str.enabled
push str.TempLock
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100aff70]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c18
push str.specialMode
push str.TempLock
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100b0408]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x100a9f90
push str.temp_front
push str.TempLock
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100b21c4]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x100a9f90
push str.temp_rear
push str.TempLock
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100b21c0]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c1c
push str.enabled
push str.Aviation
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100aff71]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c18
push str.specialMode
push str.Aviation
call ebx
push 0x100b2600
call esi
add esp, 4
test eax, eax
setne byte [0x100aff72]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x100a9f98
push str.stabiliser
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af678]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x100a9f9c
push str.multiplier_pitch
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af680]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.0.75
push str.multiplier_roll
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af67c]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x100a9f9c
push str.multiplier_yaw
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af688]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.0.00
push str.multiplier_roll_compensation
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100aff84]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.1.00
push str.multiplier_thrust_max
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af674]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push str.1.10
push str.multiplier_lift_max
push str.Aviation
call ebx
push 0
push 0x100b2600
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af684]
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c34
push str.origin
push str.EngChanger
call ebx
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
push 0x20
push 0x100b2600
push 0x100affc4
call esi
add esp, 0xc
push dword [0x100b25f8]
push 0x100
push 0x100b2600
push 0x10089c34
push str.custom
push str.EngChanger
call ebx
push 0x20
push 0x100b2600
push 0x100affa4
call esi
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoi64]
add esp, 0xc
mov esi, 0x100b0648
mov dword [ebp - 0x10], 0xe
nop dword [eax]
mov eax, dword [0x100b21cc]
cmp eax, dword [edi + 4]
jle 0x10065cc8
push 0x100b21cc
call fcn.1006dd43
add esp, 4
cmp dword [0x100b21cc], 0xffffffff
jne 0x10065cc8
cmp dword [0x100af6e8], 8
mov eax, 0x100af6d4
push 0x100b21cc
cmovae eax, dword [0x100af6d4]
mov dword [0x100b21d0], eax
call fcn.1006dcf9
add esp, 4
push dword [0x100b21d0]
lea eax, [esi - 0x20c]
push 0x100
push 0x100b21e0
push 0x10089c34
push eax
push 0x10089c28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [0x100b21e0], 0
je 0x10065d74
mov eax, dword [esi - 4]
mov dword [esi], eax
lea eax, [ebp - 8]
push 0xa
push eax
push 0x100b21e0
call ebx
add esp, 0xc
cmp eax, 1
jne 0x10065d71
mov ecx, dword [ebp - 8]
cmp word [ecx + 2], 0x31
sete al
mov byte [esi + 8], al
cmp word [ecx + 6], 0x31
sete al
add ecx, 0xa
mov byte [esi + 9], al
cmp word [ecx], 0
je 0x10065d71
push 0xa
lea eax, [ebp - 8]
push eax
push ecx
call ebx
mov ecx, dword [esi]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp ecx, dword [esi + 4]
je 0x10065d52
mov dword [ecx], eax
add dword [esi], 4
jmp 0x10065d5f
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [esi - 4]
call fcn.100580c0
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x2c
jne 0x10065d71
add ecx, 2
cmp word [ecx], 0
jne 0x10065d35
mov edi, dword [ebp - 0xc]
add esi, 0x21c
sub dword [ebp - 0x10], 1
jne 0x10065c80
cmp byte [0x100b03e1], 0
pop edi
pop esi
pop ebx
jne 0x10065ef9
movss xmm1, dword [0x100af678]
xorps xmm0, xmm0
comiss xmm0, xmm1
mov byte [0x100b0408], 0
mov byte [0x100aff72], 0
jbe 0x10065dbe
mov dword [0x100af678], 0
jmp 0x10065dd1
comiss xmm1, dword [0x100aa208]
jbe 0x10065dd1
mov dword [0x100af678], 0x41c80000
movss xmm1, dword [0x100aa12c]
movss xmm2, dword [0x100af680]
comiss xmm1, xmm2
movss xmm0, dword [0x100aa1e4]
jbe 0x10065dfa
mov dword [0x100af680], 0x3f000000
jmp 0x10065e09
comiss xmm2, xmm0
jbe 0x10065e09
mov dword [0x100af680], 0x40a00000
movss xmm2, dword [0x100af67c]
comiss xmm1, xmm2
jbe 0x10065e22
mov dword [0x100af67c], 0x3f000000
jmp 0x10065e31
comiss xmm2, xmm0
jbe 0x10065e31
mov dword [0x100af67c], 0x40a00000
movss xmm2, dword [0x100af688]
comiss xmm1, xmm2
jbe 0x10065e4a
mov dword [0x100af688], 0x3f000000
jmp 0x10065e59
comiss xmm2, xmm0
jbe 0x10065e59
mov dword [0x100af688], 0x40a00000
movss xmm0, dword [0x100aa28c]
movss xmm1, dword [0x100aff84]
comiss xmm0, xmm1
jbe 0x10065e7a
mov dword [0x100aff84], 0xbe800000
jmp 0x10065e8d
comiss xmm1, dword [0x100aa10c]
jbe 0x10065e8d
mov dword [0x100aff84], 0x3e800000
movss xmm2, dword [0x100aa160]
movss xmm0, dword [0x100af674]
comiss xmm2, xmm0
movss xmm1, dword [0x100aa190]
jbe 0x10065eb6
mov dword [0x100af674], 0x3f666666
jmp 0x10065ec5
comiss xmm0, xmm1
jbe 0x10065ec5
mov dword [0x100af674], 0x3fb33333
movss xmm0, dword [0x100af684]
comiss xmm2, xmm0
jbe 0x10065eea
mov dword [0x100af684], 0x3f666666
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006dc26
mov esp, ebp
pop ebp
ret
comiss xmm0, xmm1
jbe 0x10065ef9
mov dword [0x100af684], 0x3fb33333
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006dc26
mov esp, ebp
pop ebp
ret