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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4f4
fld qword [0x459e10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
fst qword [esp + 0x24]
cmp eax, ecx
fld qword [0x462258]
push ebx
fstp qword [esp + 0x88]
fldz
push esi
fst qword [esp + 0x94]
push edi
jle 0x43164f
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
mov edx, dword [ebp + 8]
mov ecx, dword [0x4621a8]
imul edx, edx, 0x68
fld qword [edx + ecx + 8]
fstp qword [esp + 0xc0]
fld qword [edx + ecx + 0x10]
fstp qword [esp + 0xc8]
mov esi, dword [0x462198]
fld qword [edx + ecx + 0x50]
lea eax, [edx + ecx + 8]
mov eax, dword [ebp + 0xc]
fstp qword [esp + 0x88]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*2]
shl eax, 4
lea ecx, [ecx + ecx*2]
shl ecx, 4
fld qword [eax + esi + 8]
mov dword [esp + 0x44], edx
fstp qword [esp + 0x68]
mov dword [esp + 0x3c], eax
fld qword [eax + esi + 0x10]
mov dword [esp + 0x40], ecx
fstp qword [esp + 0x58]
fld qword [eax + esi + 0x18]
fld qword [0x459708]
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 0x60]
fld qword [ecx + esi + 8]
fstp qword [esp + 0x70]
fld qword [ecx + esi + 0x10]
fstp qword [esp + 0x78]
fmul qword [ecx + esi + 0x18]
fstp qword [esp + 0x80]
fst qword [esp + 0xa8]
fst qword [esp + 0xa0]
fld qword [esp + 0xc0]
fmul qword [esp + 0x70]
fld qword [esp + 0xc8]
fmul qword [esp + 0x78]
faddp st(1)
fsub qword [esp + 0x80]
fcom st(1)
fnstsw ax
test ah, 1
je 0x431719
fchs
fsub qword [esp + 0x88]
fcom st(1)
fnstsw ax
test ah, 1
je 0x43172b
fchs
mov edi, dword [0x46216c]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x4318c7
mov eax, dword [esp + 0x40]
fstp st(0)
mov ecx, dword [eax + esi]
fstp st(0)
shl ecx, 5
lea eax, [ecx + edi]
mov ecx, dword [0x4621a8]
mov edx, dword [edx + ecx]
shl edx, 5
fld qword [edx + edi]
lea ebx, [edx + edi]
fsub qword [eax]
mov dword [esp + 0x2c], eax
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431828
mov eax, dword [esp + 0x40]
fld qword [ebx]
mov ecx, dword [eax + esi + 4]
shl ecx, 5
fsub qword [ecx + edi]
lea eax, [ecx + edi]
fld qword [ebx + 8]
mov dword [esp + 0x48], eax
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431828
mov edx, dword [esp + 0x44]
mov eax, dword [0x4621a8]
mov ecx, dword [edx + eax + 4]
mov eax, dword [esp + 0x2c]
shl ecx, 5
fld qword [ecx + edi]
lea ebx, [ecx + edi]
fsub qword [eax]
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431828
mov eax, dword [esp + 0x48]
fld qword [ebx]
fsub qword [eax]
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fld qword [esp + 0x30]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x431ada
fstp st(0)
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
push edx
push esi
call fcn.0042b710
add esp, 8
test al, al
je 0x431861
mov eax, dword [0x462198]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax + 4]
shl eax, 5
add eax, dword [0x46216c]
push eax
push esi
call fcn.0042b710
add esp, 8
test al, al
jne 0x4318b3
fld qword [esp + 0x68]
mov edx, dword [ebp + 0x10]
fld qword [esp + 0x70]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
fstp qword [esp + 0x68]
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x40]
fstp qword [esp + 0x70]
fld qword [esp + 0x58]
mov dword [esp + 0x3c], edx
fld qword [esp + 0x78]
mov dword [ebp + 0x10], eax
fstp qword [esp + 0x58]
mov dword [esp + 0x40], ecx
fstp qword [esp + 0x78]
fld qword [esp + 0x60]
fld qword [esp + 0x80]
fstp qword [esp + 0x60]
fstp qword [esp + 0x80]
fldz
mov esi, dword [0x462198]
fld qword [esp + 0x30]
mov edi, dword [0x46216c]
fxch st(1)
fld qword [esp + 0xc0]
fmul qword [esp + 0x68]
fld qword [esp + 0xc8]
fmul qword [esp + 0x58]
faddp st(1)
fsub qword [esp + 0x60]
fcom st(1)
fnstsw ax
test ah, 1
je 0x4318ee
fchs
fsub qword [esp + 0x88]
fcom st(1)
fnstsw ax
test ah, 1
je 0x431900
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x431b96
mov eax, dword [esp + 0x3c]
fstp st(0)
mov ecx, dword [eax + esi]
fstp st(0)
mov edx, dword [esp + 0x44]
shl ecx, 5
lea eax, [ecx + edi]
mov ecx, dword [0x4621a8]
mov edx, dword [edx + ecx]
shl edx, 5
fld qword [edx + edi]
lea ebx, [edx + edi]
fsub qword [eax]
mov dword [esp + 0x48], eax
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x4319fc
mov eax, dword [esp + 0x3c]
fld qword [ebx]
mov ecx, dword [eax + esi + 4]
shl ecx, 5
fsub qword [ecx + edi]
lea eax, [ecx + edi]
fld qword [ebx + 8]
mov dword [esp + 0x50], eax
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x4319fc
mov edx, dword [0x4621a8]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx + 4]
mov eax, dword [esp + 0x48]
shl ecx, 5
fld qword [ecx + edi]
lea ebx, [ecx + edi]
fsub qword [eax]
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x4319fc
mov eax, dword [esp + 0x50]
fld qword [ebx]
fsub qword [eax]
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fld qword [esp + 0x30]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x431d68
fstp st(0)
mov edx, dword [esp + 0x48]
mov esi, dword [ebp + 8]
push edx
push esi
call fcn.0042b710
add esp, 8
test al, al
je 0x431a39
mov eax, dword [0x462198]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + eax + 4]
shl eax, 5
add eax, dword [0x46216c]
push eax
push esi
call fcn.0042b710
add esp, 8
test al, al
jne 0x431b82
mov edx, dword [0x462198]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x44]
mov ebx, dword [0x4621a8]
mov eax, dword [edx + ebx]
mov edi, dword [0x46216c]
shl eax, 5
fld qword [eax + edi]
add eax, edi
shl ecx, 5
fsub qword [ecx + edi]
lea esi, [ecx + edi]
fld qword [eax + 8]
fsub qword [esi + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431ae1
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ebx + 4]
shl eax, 5
fld qword [eax + edi]
add eax, edi
fsub qword [esi]
fld qword [eax + 8]
fsub qword [esi + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431ae1
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x462198]
mov eax, dword [ecx + edx + 4]
shl eax, 5
fld qword [eax + edi]
add eax, edi
fst qword [esp + 0xe0]
fld qword [eax + 8]
jmp 0x431aed
fldz
jmp 0x4318c7
fld qword [esi]
fst qword [esp + 0xe0]
fld qword [esi + 8]
fst qword [esp + 0xe8]
fld qword [esp + 0x68]
fmul st(2), st(0)
fld qword [esp + 0x58]
fmul st(2), st(0)
fxch st(3)
faddp st(2)
fxch st(1)
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
jne 0x431b1e
fchs
fstp qword [esp + 0xf0]
fchs
jmp 0x431b25
fstp qword [esp + 0xf0]
fstp qword [esp + 0xf8]
lea eax, [esp + 0x200]
fld qword [esp + 0x80]
push eax
lea ecx, [esp + 0x304]
push ecx
sub esp, 0x18
fstp qword [esp + 0x10]
lea edx, [esp + 0x110]
fld qword [esp + 0x98]
lea eax, [esp + 0x100]
fstp qword [esp + 8]
fld qword [esp + 0x90]
fstp qword [esp]
push edx
push eax
call fcn.0042bb30
mov esi, eax
add esp, 0x28
mov dword [esp + 0x2c], esi
jmp 0x431e6a
fldz
mov esi, dword [0x462198]
fld qword [esp + 0x30]
mov edi, dword [0x46216c]
fxch st(1)
fld qword [esp + 0x68]
fsub qword [esp + 0x70]
fcom st(1)
fnstsw ax
test ah, 1
je 0x431ba9
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x431df1
fld qword [esp + 0x58]
fsub qword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 1
je 0x431bc9
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x431df1
fld qword [esp + 0x60]
fsub qword [esp + 0x80]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x431bee
fchs
fcompp
fnstsw ax
test ah, 5
jp 0x431df5
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + esi]
mov ecx, dword [esp + 0x3c]
shl edx, 5
lea eax, [edx + edi]
mov edx, dword [ecx + esi]
shl edx, 5
fld qword [edx + edi]
lea ebx, [edx + edi]
fsub qword [eax]
mov dword [esp + 0x2c], eax
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431cdb
mov eax, dword [esp + 0x40]
fld qword [ebx]
mov ecx, dword [eax + esi + 4]
shl ecx, 5
fsub qword [ecx + edi]
lea eax, [ecx + edi]
fld qword [ebx + 8]
mov dword [esp + 0x48], eax
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431cdb
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + esi + 4]
mov ecx, dword [esp + 0x2c]
shl eax, 5
fld qword [eax + edi]
add eax, edi
fsub qword [ecx]
mov dword [esp + 0x50], eax
fld qword [eax + 8]
fsub qword [ecx + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431cdb
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
fld qword [eax]
fsub qword [ecx]
fld qword [eax + 8]
fsub qword [ecx + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x431df5
mov eax, dword [esp + 0x2c]
fld qword [ebx]
fsub qword [eax]
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431d6f
mov ecx, dword [esp + 0x40]
fld qword [ebx]
mov eax, dword [ecx + esi + 4]
shl eax, 5
fsub qword [eax + edi]
add eax, edi
fld qword [ebx + 8]
fsub qword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x431d6f
mov edx, dword [esp + 0x3c]
mov esi, dword [edx + esi + 4]
shl esi, 5
mov eax, dword [esi + edi]
add esi, edi
mov dword [esp + 0xb0], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0xb4], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0xb8], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0xbc], eax
jmp 0x431d96
fldz
jmp 0x431b96
mov ecx, dword [ebx]
mov dword [esp + 0xb0], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0xb8], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xbc], ecx
fld qword [esp + 0x60]
lea edx, [esp + 0x200]
push edx
lea eax, [esp + 0x304]
push eax
sub esp, 0x28
fstp qword [esp + 0x20]
lea ecx, [esp + 0xe0]
fld qword [esp + 0x88]
lea edx, [esp + 0xf0]
fstp qword [esp + 0x18]
fld qword [esp + 0x98]
fstp qword [esp + 0x10]
fldz
fstp qword [esp + 8]
fld qword [esp + 0xb8]
fstp qword [esp]
push ecx
push edx
call fcn.0042ae80
add esp, 0x38
jmp 0x431e64
fstp st(0)
fstp st(0)
fld qword [esp + 0x80]
lea eax, [esp + 0x200]
push eax
lea ecx, [esp + 0x304]
push ecx
sub esp, 0x38
fstp qword [esp + 0x30]
lea edx, [esp + 0x100]
fld qword [esp + 0xb8]
fstp qword [esp + 0x28]
fld qword [esp + 0xb0]
fstp qword [esp + 0x20]
fld qword [esp + 0xa0]
fstp qword [esp + 0x18]
fld qword [esp + 0x98]
fstp qword [esp + 0x10]
fld qword [esp + 0xa8]
fstp qword [esp + 8]
fld qword [esp + 0xc8]
fstp qword [esp]
push edx
call fcn.0042b330
add esp, 0x44
mov dword [esp + 0x2c], eax
mov esi, eax
xor edi, edi
test esi, esi
jle 0x431f48
lea esi, [esp + 0x300]
jmp 0x431e80
mov ecx, dword [esi + 4]
fld qword [esp + edi*8 + 0x200]
mov eax, dword [esi]
fstp qword [esp + 0x48]
mov edx, dword [esi + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0xc]
push ecx
push ebx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
call fcn.0041ba40
fstp qword [esp + 0x58]
fld qword [esp + 0x50]
mov eax, dword [ebp + 8]
fstp qword [esp]
lea edx, [esp + 0xd8]
push edx
push ebx
push eax
call fcn.0042be00
fadd qword [esp + 0x64]
mov edx, dword [ebp + 0xc]
add esp, 0xc
fstp qword [esp + 0x58]
lea ecx, [esp + 0xd8]
fld qword [esp + 0x50]
fstp qword [esp]
push ecx
push ebx
push edx
call fcn.0042c170
fadd qword [esp + 0x64]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
fstp qword [esp + 0x58]
lea eax, [esp + 0xd8]
fld qword [esp + 0x50]
fstp qword [esp]
push eax
push ebx
push ecx
call fcn.0042c170
fadd qword [esp + 0x64]
inc edi
add esp, 0x14
fstp qword [esp + edi*8 + 0xf8]
add esi, 0x10
cmp edi, dword [esp + 0x2c]
jl 0x431e80
mov esi, dword [esp + 0x2c]
fld qword [esp + 0xa0]
xor ecx, ecx
cmp esi, 4
fld qword [esp + 0xa8]
fld qword [esp + 0x98]
fld qword [esp + 0x90]
jl 0x432074
lea edi, [esi - 3]
lea edx, [esp + 0x310]
fcom qword [esp + ecx*8 + 0x100]
fnstsw ax
test ah, 0x41
jne 0x431fab
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fld qword [esp + ecx*8 + 0x100]
fld qword [esp + ecx*8 + 0x200]
fld qword [edx - 8]
fld qword [edx - 0x10]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fcom qword [esp + ecx*8 + 0x108]
fnstsw ax
test ah, 0x41
jne 0x431fdc
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fld qword [esp + ecx*8 + 0x108]
fld qword [esp + ecx*8 + 0x208]
fld qword [edx + 8]
fld qword [edx]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fcom qword [esp + ecx*8 + 0x110]
fnstsw ax
test ah, 0x41
jne 0x43200e
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fld qword [esp + ecx*8 + 0x110]
fld qword [esp + ecx*8 + 0x210]
fld qword [edx + 0x18]
fld qword [edx + 0x10]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fcom qword [esp + ecx*8 + 0x118]
fnstsw ax
test ah, 0x41
jne 0x432040
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fld qword [esp + ecx*8 + 0x118]
fld qword [esp + ecx*8 + 0x218]
fld qword [edx + 0x28]
fld qword [edx + 0x20]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
add ecx, 4
add edx, 0x40
cmp ecx, edi
jl 0x431f79
fxch st(2)
fst qword [esp + 0xa8]
fxch st(3)
fst qword [esp + 0xa0]
fxch st(1)
fst qword [esp + 0x98]
fxch st(2)
fst qword [esp + 0x90]
jmp 0x43207c
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
cmp ecx, esi
jge 0x4320eb
mov edx, ecx
shl edx, 4
lea edx, [esp + edx + 0x300]
fcom qword [esp + ecx*8 + 0x100]
fnstsw ax
test ah, 0x41
jne 0x4320b7
fstp st(0)
fstp st(1)
fstp st(0)
fstp st(0)
fld qword [esp + ecx*8 + 0x100]
fld qword [esp + ecx*8 + 0x200]
fld qword [edx]
fld qword [edx + 8]
fxch st(3)
inc ecx
add edx, 0x10
cmp ecx, esi
jl 0x43208c
fxch st(3)
fst qword [esp + 0xa8]
fxch st(1)
fst qword [esp + 0xa0]
fxch st(2)
fst qword [esp + 0x98]
fxch st(3)
fst qword [esp + 0x90]
fxch st(1)
fxch st(3)
fxch st(2)
fxch st(1)
mov eax, dword [ebp + 0x18]
fxch st(1)
fstp qword [eax]
fxch st(2)
fstp qword [eax + 8]
mov eax, dword [ebp + 0x1c]
fstp qword [eax]
fld qword [0x459d08]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x43213d
fld qword [0x459aa8]
fld qword [esp + 0x30]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x432148
mov esi, dword [0x462198]
fstp st(1)
fmul qword [0x4594a8]
mov edx, dword [esp + 0x44]
fst qword [esp + 0x30]
fldz
jmp 0x4316ef
fstp st(0)
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
fstp st(0)
fld qword [0x4594a8]
mov edx, dword [ebp + 0xc]
fcomp st(1)
sub esp, 8
fnstsw ax
fstp qword [esp]
push ecx
test ah, 0x41
mov eax, dword [ebp + 8]
push edx
push eax
jne 0x432182
push str.quality_ass__d__d__d:_poor_quality__with__e__n_n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 0x18
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x459e18
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 0x18
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret