Function at 0x46c1c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48908c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esi], 0x48c1a0
lea ebp, [esi + 8]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x34]
or eax, 0xffffffff
mov byte [esp + 0x2c], 4
mov dword [esi + 4], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x38]
cmp edi, ebx
mov dword [esi], 0x4963a4
mov dword [esi + 0x20], 0xbf800000
mov dword [esi + 0x44], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], eax
je 0x46c7a7
push 0x4a9f00
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c2c5
push ebx
push eax
mov ecx, edi
call fcn.004716b0
push eax
mov ecx, ebp
call fcn.0047e970
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov ebp, dword [ebp]
xor eax, eax
mov edx, dword [ebp - 8]
cmp edx, ebx
jle 0x46c2b8
mov cl, byte [eax + ebp]
cmp cl, 0x30
jl 0x46c2c5
cmp cl, 0x39
jg 0x46c2c5
inc eax
cmp eax, edx
jl 0x46c2a6
push ebp
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 4], eax
push str.name
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c2ff
push ebx
push eax
mov ecx, edi
call fcn.004716b0
lea ebp, [esi + 0xc]
push eax
mov ecx, ebp
call fcn.0047e970
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esi + 0x44]
or al, 1
mov dword [esi + 0x44], eax
push str.label
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c339
push ebx
push eax
mov ecx, edi
call fcn.004716b0
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
call fcn.0047e970
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esi + 0x44]
or al, 2
mov dword [esi + 0x44], eax
push str.shortName
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c373
push ebx
push eax
mov ecx, edi
call fcn.004716b0
lea ebp, [esi + 0x14]
push eax
mov ecx, ebp
call fcn.0047e970
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esi + 0x44]
or al, 4
mov dword [esi + 0x44], eax
push str.type
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c3d9
push ebx
push eax
mov ecx, edi
call fcn.004716b0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x46c3c4
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [eax + 0xc]
call fcn.0046d730
jmp 0x46c3c6
xor eax, eax
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
jmp 0x46c3dc
mov dword [esi + 0x18], ebx
push str.numberOfStates
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c43a
push ebx
push eax
mov ecx, edi
call fcn.004716b0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::TrimLeft
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, 1
mov dword [esi + 0x1c], eax
jge 0x46c42a
mov dword [esi + 0x1c], 0xffffffff
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
jmp 0x46c483
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x46c483
lea eax, [esp + 0x34]
push eax
call fcn.00470370
mov eax, dword [eax]
push str.switch
push eax
mov byte [esp + 0x34], 7
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete byte [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
cmp byte [esp + 0x38], bl
je 0x46c483
mov dword [esi + 0x1c], 2
push str.defaultValue
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c4f8
push ebx
push eax
mov ecx, edi
call fcn.004716b0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 8
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fcom dword [0x48c3ec]
fst dword [esi + 0x20]
add esp, 4
fnstsw ax
test ah, 1
jne 0x46c4e1
fcomp dword [0x48c3e8]
fnstsw ax
test ah, 0x41
jne 0x46c4ea
jmp 0x46c4e3
fstp st(0)
mov dword [esi + 0x20], 0xbf800000
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
push str.intMin
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
mov dword [esp + 0x38], eax
jl 0x46c5a1
push str.intMax
mov ecx, edi
call fcn.004714c0
mov ebp, eax
cmp ebp, ebx
jl 0x46c5a1
mov edx, dword [esp + 0x38]
push ebx
push edx
mov ecx, edi
call fcn.004716b0
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x34], 9
call fcn.004716b0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
push eax
mov byte [esp + 0x30], 0xa
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x28], ecx
or al, 0x20
add esp, 8
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 9
call fcn.0047e95e
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
push str.intStep
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
mov dword [esp + 0x38], eax
jl 0x46c64a
push str.intStepLarge
mov ecx, edi
call fcn.004714c0
mov ebp, eax
cmp ebp, ebx
jl 0x46c64a
mov edx, dword [esp + 0x38]
push ebx
push edx
mov ecx, edi
call fcn.004716b0
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0xb
call fcn.004716b0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
push eax
mov byte [esp + 0x30], 0xc
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x30], ecx
or al, 0x40
add esp, 8
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xb
call fcn.0047e95e
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
push str.floatStepSmall
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
mov dword [esp + 0x38], eax
jl 0x46c757
push str.floatStep
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x46c757
push str.floatStepLarge
mov ecx, edi
call fcn.004714c0
mov ebp, eax
cmp ebp, ebx
jl 0x46c757
mov edx, dword [esp + 0x38]
push ebx
push edx
mov ecx, edi
call fcn.004716b0
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x34], 0xd
call fcn.004716b0
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0xe
call fcn.004716b0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
push edx
mov byte [esp + 0x30], 0xf
mov dword [esp + 0x18], ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x20]
push ebp
call dword [sym.imp.MSVCRT.dll_atof]
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
or al, 0x80
fstp dword [esi + 0x34]
mov dword [esi + 0x38], ecx
add esp, 0xc
mov dword [esi + 0x3c], edx
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xe
call fcn.0047e95e
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0xd
call fcn.0047e95e
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.0047e95e
push str.displayIndex
mov ecx, edi
call fcn.004714c0
cmp eax, ebx
jl 0x46c786
push ebx
push eax
mov ecx, edi
call fcn.004716b0
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
add esp, 4
or ah, 1
mov dword [esi + 0x44], eax
push str.canRamp
mov ecx, edi
call fcn.004714c0
test eax, eax
setge al
cmp al, bl
mov eax, dword [esi + 0x44]
je 0x46c7a2
or al, 0x10
jmp 0x46c7a4
and al, 0xef
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.0046c8c0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x24], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10