Function at 0x42b310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d317e
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xd4]
xor esi, esi
cmp eax, esi
push edi
jg 0x42b341
xor al, al
jmp 0x42b95b
mov al, byte [0x4ffb68]
mov ecx, 0x14
mov byte [esp + 0x38], al
xor eax, eax
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], esi
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0xd4]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x94], 1
jle 0x42b40f
mov ebp, dword [esp + 0x9c]
push ebp
lea ecx, [esp + 0x3c]
push 0x51
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
mov al, byte [esp + 0x8c]
add esp, 0xc
inc esi
cmp al, 0x47
mov byte [esp + 0x88], 0
jne 0x42b3fa
lea edx, [esp + 0x38]
lea ecx, [esp + 0x14]
push edx
call fcn.004ce04e
push 0x48
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 1
call fcn.004ce042
inc edi
xor esi, esi
cmp esi, 5
mov byte [esp + 0x80], 0x67
jg 0x42b484
cmp edi, dword [ebx + 0xd4]
jl 0x42b38f
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov esi, 1
xor edi, edi
mov byte [esp + 0x94], 3
cmp esi, 0x18
push edi
push 0x4fd73c
lea ecx, [esp + 0x20]
jne 0x42b4fe
call sub.MFC42.DLL_CString::Find_3
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x42b4b0
mov eax, dword [ebx + 0x54]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Find
push eax
lea ecx, [esp + 0x24]
push edi
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 4
call fcn.004ce0b4
mov byte [esp + 0x94], 3
lea ecx, [esp + 0x20]
jmp 0x42b4e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0
call fcn.004ce042
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], 0xffffffff
call fcn.004ce042
xor al, al
jmp 0x42b95b
sub eax, edi
lea edx, [esp + 0x24]
push eax
push edi
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 5
call fcn.004ce0b4
mov byte [esp + 0x94], 3
lea ecx, [esp + 0x24]
call fcn.004ce042
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0xc4], eax
jmp 0x42b8ab
call sub.MFC42.DLL_CString::Find_3
inc eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
sub eax, edi
push eax
lea eax, [esp + 0x2c]
push edi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call fcn.004ce0b4
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 3
call fcn.004ce042
cmp esi, 6
jle 0x42b6d0
cmp esi, 0xc
je 0x42b6d0
cmp esi, 0xf
je 0x42b6d0
cmp esi, 0x12
je 0x42b6d0
cmp esi, 0x15
je 0x42b6d0
cmp esi, 0x16
je 0x42b6d0
cmp esi, 7
jne 0x42b58e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x68], eax
jmp 0x42b8ab
cmp esi, 8
jne 0x42b5a9
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x6c], eax
jmp 0x42b8ab
cmp esi, 9
jne 0x42b5c4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x70], eax
jmp 0x42b8ab
cmp esi, 0xa
jne 0x42b5df
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x74], eax
jmp 0x42b8ab
cmp esi, 0xb
jne 0x42b5fa
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x78], eax
jmp 0x42b8ab
cmp esi, 0xd
jne 0x42b618
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [ebx + 0x80]
add esp, 4
jmp 0x42b8ab
cmp esi, 0xe
jne 0x42b636
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x88], eax
jmp 0x42b8ab
cmp esi, 0x10
jne 0x42b654
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0x90], eax
jmp 0x42b8ab
cmp esi, 0x11
jne 0x42b672
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [ebx + 0x98]
add esp, 4
jmp 0x42b8ab
cmp esi, 0x13
jne 0x42b690
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [ebx + 0xa8]
add esp, 4
jmp 0x42b8ab
cmp esi, 0x14
jne 0x42b6ae
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [ebx + 0xb0]
add esp, 4
jmp 0x42b8ab
cmp esi, 0x17
jne 0x42b8ab
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx + 0xc0], eax
jmp 0x42b8ab
push 0x4fd738
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::FindOneOf
mov edi, eax
cmp edi, 0xffffffff
jne 0x42b75c
cmp esi, 1
jne 0x42b6fc
push 0x4fd73c
lea ecx, [ebx + 0x50]
call fcn.004ce04e
jmp 0x42b8ab
cmp esi, 2
jne 0x42b713
push 0x4fd734
lea ecx, [ebx + 0x54]
call fcn.004ce04e
jmp 0x42b8ab
cmp esi, 0xc
jne 0x42b8ab
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x30]
push 0
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebx + 0x7c]
mov byte [esp + 0x98], 7
call fcn.004ce0b4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 3
call fcn.004ce042
jmp 0x42b8ab
push edi
lea ecx, [esp + 0x34]
push 0
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x30]
mov ebp, eax
call fcn.004ce042
inc edi
push ebp
lea edx, [esp + 0x38]
push edi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 8
call fcn.004ce0b4
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 3
call fcn.004ce042
cmp esi, 1
jne 0x42b7e5
mov eax, dword [esp + 0x14]
push 0x4fd73c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42b7d8
inc dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebx + 0x50]
jmp 0x42b8a6
cmp esi, 2
jne 0x42b812
mov edx, dword [esp + 0x14]
push 0x4fd73c
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42b805
inc dword [esp + 0x1c]
lea eax, [esp + 0x14]
lea ecx, [ebx + 0x54]
push eax
jmp 0x42b8a6
cmp esi, 3
jne 0x42b824
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebx + 0x58]
jmp 0x42b8a6
cmp esi, 4
jne 0x42b833
lea edx, [esp + 0x14]
lea ecx, [ebx + 0x5c]
push edx
jmp 0x42b8a6
cmp esi, 5
jne 0x42b842
lea eax, [esp + 0x14]
lea ecx, [ebx + 0x60]
push eax
jmp 0x42b8a6
cmp esi, 6
jne 0x42b851
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebx + 0x64]
jmp 0x42b8a6
cmp esi, 0xc
jne 0x42b860
lea edx, [esp + 0x14]
lea ecx, [ebx + 0x7c]
push edx
jmp 0x42b8a6
cmp esi, 0xf
jne 0x42b872
lea eax, [esp + 0x14]
lea ecx, [ebx + 0x8c]
push eax
jmp 0x42b8a6
cmp esi, 0x12
jne 0x42b884
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebx + 0xa0]
jmp 0x42b8a6
cmp esi, 0x15
jne 0x42b896
lea edx, [esp + 0x14]
lea ecx, [ebx + 0xb8]
push edx
jmp 0x42b8a6
cmp esi, 0x16
jne 0x42b8ab
lea eax, [esp + 0x14]
lea ecx, [ebx + 0xbc]
push eax
call fcn.004ce0b4
mov edi, dword [esp + 0x1c]
inc esi
cmp esi, 0x18
jle 0x42b42a
mov eax, dword [ebx + 0x88]
dec eax
cmp eax, 0xa
ja case.0x42b8c5.2
jmp dword [eax*4 + 0x42b978]
fld qword [0x4e1e68]
jmp 0x42b91a
fld qword [0x4e1e60]
jmp 0x42b91a
fld qword [0x4e1e58]
jmp 0x42b91a
fld qword [0x4e1c08]
jmp 0x42b91a
fld qword [0x4e1e50]
jmp 0x42b91a
fld qword [0x4e1e48]
jmp 0x42b91a
fld qword [0x4e1c10]
jmp 0x42b91a
fld qword [0x4e0ff8]
jmp 0x42b91a
fld qword [0x4e1e40]
jmp 0x42b91a
fld qword [0x4e1438]
fdiv qword [ebx + 0x80]
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
fstp qword [ebx + 0x30]
call fcn.004ce042
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0
call fcn.004ce042
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], 0xffffffff
call fcn.004ce042
mov al, 1
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 4