Function at 0x10065660
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]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100b23e8]
mov dword [ebp - 0x10], ecx
cmp eax, dword [ecx + 4]
jle 0x100656ca
push 0x100b23e8
call fcn.1006dca3
add esp, 4
cmp dword [0x100b23e8], 0xffffffff
jne 0x100656ca
cmp dword [0x100af6e8], 8
mov eax, 0x100af6d4
push 0x100b23e8
cmovae eax, dword [0x100af6d4]
mov dword [0x100b25f0], eax
call fcn.1006dc59
add esp, 4
push ebx
push esi
push edi
push dword [0x100b25f0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
push 0x100b25f8
push 0x10089c18
push str.enabled
push str.RevLimiter
call edi
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100af695]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c18
push str.mode
push str.RevLimiter
call edi
push 0x100b25f8
call esi
add esp, 4
mov dword [0x100af6a0], eax
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.0.98
push str.upper_threshold
push str.RevLimiter
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af6b0]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.0.88
push str.lower_threshold
push str.RevLimiter
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af6ac]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x100a9f94
push str.cut_ticks
push str.RevLimiter
call edi
push 0x100b25f8
call esi
add esp, 4
mov dword [0x100af6a4], eax
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c18
push str.enabled
push str.LaunchControl
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100af694]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c1c
push str.clutch
push str.LaunchControl
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100b03e4]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c1c
push str.cut_fuel
push str.LaunchControl
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100af6a8]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c1c
push str.2step
push str.LaunchControl
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100b03e0]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.0.50
push str.threshold
push str.LaunchControl
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af6b4]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c1c
push str.enabled
push str.TempLock
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100aff70]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x100a9fa8
push str.temp_front
push str.TempLock
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100b21bc]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x100a9fa8
push str.temp_rear
push str.TempLock
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100b21b8]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c1c
push str.enabled
push str.Aviation
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100aff71]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c18
push str.specialMode
push str.Aviation
call edi
push 0x100b25f8
call esi
add esp, 4
test eax, eax
setne byte [0x100aff72]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x100a9fb0
push str.stabiliser
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af678]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x100a9fb4
push str.multiplier_pitch
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af680]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.0.75
push str.multiplier_roll
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af67c]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x100a9fb4
push str.multiplier_yaw
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af688]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.0.00
push str.multiplier_roll_compensation
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
fstp dword [0x100aff84]
add esp, 8
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.1.00
push str.multiplier_thrust_max
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
fstp dword [0x100af674]
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push str.1.10
push str.multiplier_lift_max
push str.Aviation
call edi
push 0
push 0x100b25f8
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstof]
add esp, 8
cmp byte [0x100b03e1], 0
fstp dword [0x100af684]
jne 0x10065ccc
movss xmm1, dword [0x100af678]
xorps xmm0, xmm0
comiss xmm0, xmm1
mov byte [0x100aff72], 0
jbe 0x10065b9d
mov dword [0x100af678], 0
jmp 0x10065bb0
comiss xmm1, dword [0x100aa220]
jbe 0x10065bb0
mov dword [0x100af678], 0x41c80000
movss xmm1, dword [0x100aa144]
movss xmm2, dword [0x100af680]
comiss xmm1, xmm2
movss xmm0, dword [0x100aa1fc]
jbe 0x10065bd9
mov dword [0x100af680], 0x3f000000
jmp 0x10065be8
comiss xmm2, xmm0
jbe 0x10065be8
mov dword [0x100af680], 0x40a00000
movss xmm2, dword [0x100af67c]
comiss xmm1, xmm2
jbe 0x10065c01
mov dword [0x100af67c], 0x3f000000
jmp 0x10065c10
comiss xmm2, xmm0
jbe 0x10065c10
mov dword [0x100af67c], 0x40a00000
movss xmm2, dword [0x100af688]
comiss xmm1, xmm2
jbe 0x10065c29
mov dword [0x100af688], 0x3f000000
jmp 0x10065c38
comiss xmm2, xmm0
jbe 0x10065c38
mov dword [0x100af688], 0x40a00000
movss xmm0, dword [0x100aa2a4]
movss xmm1, dword [0x100aff84]
comiss xmm0, xmm1
jbe 0x10065c59
mov dword [0x100aff84], 0xbe800000
jmp 0x10065c6c
comiss xmm1, dword [0x100aa124]
jbe 0x10065c6c
mov dword [0x100aff84], 0x3e800000
movss xmm2, dword [0x100aa178]
movss xmm0, dword [0x100af674]
comiss xmm2, xmm0
movss xmm1, dword [0x100aa1a8]
jbe 0x10065c95
mov dword [0x100af674], 0x3f666666
jmp 0x10065ca4
comiss xmm0, xmm1
jbe 0x10065ca4
mov dword [0x100af674], 0x3fb33333
movss xmm0, dword [0x100af684]
comiss xmm2, xmm0
jbe 0x10065cbd
mov dword [0x100af684], 0x3f666666
jmp 0x10065ccc
comiss xmm0, xmm1
jbe 0x10065ccc
mov dword [0x100af684], 0x3fb33333
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c34
push str.origin
push str.EngChanger
call edi
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
push 0x20
push 0x100b25f8
push 0x100affc4
call esi
add esp, 0xc
push dword [0x100b25f0]
push 0x100
push 0x100b25f8
push 0x10089c34
push str.custom
push str.EngChanger
call edi
push 0x20
push 0x100b25f8
push 0x100affa4
call esi
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoi64]
add esp, 0xc
mov esi, 0x100b0640
mov dword [ebp - 0xc], 0xe
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x100b21c4]
cmp eax, dword [ecx + 4]
jle 0x10065d9b
push 0x100b21c4
call fcn.1006dca3
add esp, 4
cmp dword [0x100b21c4], 0xffffffff
jne 0x10065d9b
cmp dword [0x100af6e8], 8
mov eax, 0x100af6d4
push 0x100b21c4
cmovae eax, dword [0x100af6d4]
mov dword [0x100b21c8], eax
call fcn.1006dc59
add esp, 4
push dword [0x100b21c8]
lea eax, [esi - 0x20c]
push 0x100
push 0x100b21d8
push 0x10089c34
push eax
push 0x10089c28
call edi
cmp word [0x100b21d8], 0
je 0x10065e4a
mov eax, dword [esi - 4]
mov dword [esi], eax
lea eax, [ebp - 8]
push 0xa
push eax
push 0x100b21d8
call ebx
add esp, 0xc
cmp eax, 1
jne 0x10065e44
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 0x10065e44
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 0x10065e25
mov dword [ecx], eax
add dword [esi], 4
jmp 0x10065e32
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 0x10065e44
add ecx, 2
cmp word [ecx], 0
jne 0x10065e08
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esi, 0x21c
sub dword [ebp - 0xc], 1
jne 0x10065d50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006db86
mov esp, ebp
pop ebp
ret