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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
push edi
jne 0x49e2c2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
fld dword [ebp + 0xc]
fld dword [ebp + 0x14]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x49e2d3
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esi + 0x78]
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x49e2fb
fstp dword [esp + 0x10]
jmp 0x49e2fd
fstp st(0)
fld dword [esi + 0x7c]
fstp dword [esp + 0x2c]
fld dword [esp + 0xc]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x49e31d
fstp dword [esp + 0xc]
jmp 0x49e31f
fstp st(0)
fld dword [esp + 0x10]
push ecx
fsub dword [esi + 0xc]
fdiv dword [esi + 0x20]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00496880
fld dword [esp + 0x10]
fsub dword [esi + 0xc]
mov edi, eax
mov dword [esp + 0x18], edi
fdiv dword [esi + 0x20]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00496880
add esp, 4
mov dword [esp + 0x28], eax
cmp edi, eax
jl 0x49e373
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
fld dword [ebp + 0x10]
fld dword [ebp + 0x18]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x49e384
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esi + 0x80]
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x49e3af
fstp dword [esp + 0x10]
jmp 0x49e3b1
fstp st(0)
fld dword [esi + 0x84]
fstp dword [esp + 0x2c]
fld dword [esp + 0xc]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x49e3d4
fstp dword [esp + 0xc]
jmp 0x49e3d6
fstp st(0)
fld dword [esp + 0x10]
push ecx
fsub dword [esi + 0x10]
fdiv dword [esi + 0x20]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00496880
fld dword [esp + 0x10]
fsub dword [esi + 0x10]
mov edi, eax
mov dword [esp + 0x34], edi
fdiv dword [esi + 0x20]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00496880
add esp, 4
mov dword [esp + 0x24], eax
cmp edi, eax
jge 0x49e365
mov eax, dword [ebp + 8]
push 0x4b8964
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
mov dword [esp + 0x2c], ebx
test ebx, ebx
jne 0x49e448
lea eax, [ebx + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.1_0__mesh_n
push ebx
call dword [sym.imp.MSVCR100.dll_fprintf]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x1c]
sub ecx, edi
inc ecx
push ecx
inc edx
push edx
push str._d__d_n
push ebx
call dword [sym.imp.MSVCR100.dll_fprintf]
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x14], edx
jmp 0x49e488
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0x58]
fld dword [eax + edx*4]
mov ecx, dword [esi + 0x18]
mov eax, ecx
fstp dword [esp + 0x3c]
imul eax, edx
add eax, edi
mov edx, eax
sub edx, ecx
add ecx, eax
add ecx, ecx
add ecx, ecx
add edx, edx
add ecx, ecx
add edx, edx
add edx, edx
mov dword [esp + 0x20], ecx
lea ecx, [eax*8 + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea edx, [eax*8 - 8]
lea ebx, [eax*8]
jmp 0x49e4d5
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x5c]
fld dword [eax + edi*4]
mov eax, dword [esi + 0x28]
fstp dword [esp + 0x38]
lea ecx, [ebx + eax]
fld dword [ecx]
add eax, edx
fstp dword [esp + 0xc]
add edx, 8
fld dword [eax]
add ebx, 8
fstp dword [esp + 0x10]
mov dword [esp + 0x34], edx
fld dword [esp + 0x10]
fld dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x49e514
fstp dword [esp + 0xc]
jmp 0x49e516
fstp st(0)
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x28]
fld dword [edx + ecx]
lea eax, [edx + ecx]
fstp dword [esp + 0x10]
add edx, 8
fld dword [esp + 0x10]
mov dword [esp + 0x18], edx
fld dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x49e545
fstp dword [esp + 0xc]
jmp 0x49e547
fstp st(0)
mov edx, dword [esp + 0x1c]
fld dword [edx + ecx]
lea eax, [edx + ecx]
fstp dword [esp + 0x10]
add edx, 8
fld dword [esp + 0x10]
mov dword [esp + 0x1c], edx
fld dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x49e573
fstp dword [esp + 0xc]
jmp 0x49e575
fstp st(0)
mov eax, dword [esp + 0x20]
fld dword [ecx + eax]
add ecx, eax
fstp dword [esp + 0x10]
add eax, 8
fld dword [esp + 0x10]
mov dword [esp + 0x20], eax
fld dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x49e5a0
fstp dword [esp + 0xc]
jmp 0x49e5a2
fstp st(0)
fld dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x50]
fstp qword [esp + 8]
fld dword [esp + 0x54]
fstp qword [esp]
push str._f__f__f_n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
inc edi
add esp, 0x20
cmp edi, dword [esp + 0x24]
jle 0x49e4d1
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jle 0x49e480
mov esi, dword [esp + 0x2c]
push 0x4b8988
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14