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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
fld qword [0x486378]
mov eax, dword [ecx]
push ebx
fld qword [0x486378]
fld qword [0x486378]
fld qword [0x486378]
fld qword [0x486378]
sar eax, 0x10
mov ebx, eax
mov dword [esp + 0x10], eax
xor eax, eax
push esi
cmp edx, eax
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
jle 0x451e6e
mov esi, dword [ebp + 0x14]
mov eax, ecx
sub esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
cmp ebx, edx
jge 0x451b75
mov edi, dword [eax]
mov ecx, edi
and ecx, 0xffff
cmp ebx, ecx
jge 0x451ab0
fld dword [ebp + 0x18]
mov esi, ebx
fchs
fstp dword [esp + 0x10]
neg esi
shl esi, 2
test ebx, ebx
mov edx, esi
jl 0x451a23
lea edx, [ebx*4]
mov eax, dword [ebp + 0x10]
fld dword [edx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x451a3c
fld qword [0x4865a0]
jmp 0x451a45
mov eax, dword [ebp + 0x10]
fld dword [ebp + 0x18]
fadd dword [edx + eax]
fld st(0)
fmul st(1)
mov edx, ebx
sub esi, 4
imul edx, ebx
fld st(0)
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
fild dword [esp + 0x24]
fmul st(1)
mov dword [esp + 0x24], edx
inc ebx
cmp ebx, ecx
fst qword [esp + 0x78]
faddp st(7)
fld st(0)
fmul st(2)
fst qword [esp + 0x70]
fadd qword [esp + 0x48]
fstp qword [esp + 0x48]
fild dword [esp + 0x24]
mov dword [esp + 0x24], ebx
fmul st(1)
faddp st(5)
fstp st(0)
fld qword [esp + 0x70]
fmul st(1)
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld qword [esp + 0x78]
fmul st(1)
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fstp st(0)
jl 0x451a16
mov edx, dword [esp + 0x18]
sar edi, 0x10
cmp edx, edi
jge 0x451b75
fld dword [ebp + 0x18]
fchs
fstp dword [esp + 0x10]
neg edx
shl edx, 2
mov esi, dword [esp + 0x18]
mov ecx, edx
test esi, esi
jl 0x451ade
lea ecx, [esi*4]
mov eax, dword [ebp + 0x10]
fld dword [ecx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x451af7
fld qword [0x4865a0]
jmp 0x451b00
mov eax, dword [ebp + 0x10]
fld dword [ebp + 0x18]
fadd dword [ecx + eax]
fld st(0)
fmul st(1)
fld qword [esp + 0x30]
mov ecx, esi
sub edx, 4
fsub st(1)
imul ecx, esi
fstp qword [esp + 0x30]
fild dword [esp + 0x18]
fmul st(1)
mov dword [esp + 0x18], ecx
inc esi
cmp esi, edi
fstp qword [esp + 0x70]
fxch st(6)
fsub qword [esp + 0x70]
fxch st(6)
fld st(0)
fmul st(2)
fstp qword [esp + 0x78]
fld qword [esp + 0x48]
fsub qword [esp + 0x78]
fstp qword [esp + 0x48]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
fmul st(1)
fsubp st(5)
fstp st(0)
fld qword [esp + 0x78]
fmul st(1)
fsubr qword [esp + 0x60]
fstp qword [esp + 0x60]
fld qword [esp + 0x70]
fmul st(1)
fsubr qword [esp + 0x50]
fstp qword [esp + 0x50]
fstp st(0)
jl 0x451acd
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x451d20
mov eax, dword [ebp + 0x1c]
test eax, eax
jle 0x451d20
mov esi, dword [esp + 0x14]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
sar ecx, 1
add ecx, esi
cmp ecx, eax
jle 0x451ba5
mov ecx, eax
mov edi, dword [esp + 0x1c]
cmp edi, ecx
jge 0x451c55
fld dword [ebp + 0x18]
mov esi, edi
fchs
fstp dword [esp + 0x10]
neg esi
shl esi, 2
test edi, edi
mov edx, esi
jl 0x451bce
lea edx, [edi*4]
mov eax, dword [ebp + 0x10]
fld dword [edx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x451be7
fld qword [0x4865a0]
jmp 0x451bf0
mov eax, dword [ebp + 0x10]
fld dword [ebp + 0x18]
fadd dword [edx + eax]
fld st(0)
fmul st(1)
mov edx, edi
sub esi, 4
imul edx, edi
fld st(0)
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
fild dword [esp + 0x1c]
fmul st(1)
mov dword [esp + 0x1c], edx
inc edi
cmp edi, ecx
fst qword [esp + 0x70]
faddp st(6)
fld st(0)
fmul st(2)
fst qword [esp + 0x78]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
fmul st(1)
faddp st(4)
fstp st(0)
fld qword [esp + 0x78]
fmul st(1)
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fld qword [esp + 0x70]
fmul st(1)
faddp st(2)
fstp st(0)
jl 0x451bc1
mov eax, dword [ebp + 0x1c]
inc eax
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
sub edx, eax
mov eax, dword [esp + 0x20]
cmp eax, edx
jge 0x451d20
fld dword [ebp + 0x18]
mov edi, eax
mov esi, edi
fchs
fstp dword [esp + 0x10]
neg esi
shl esi, 2
test edi, edi
mov ecx, esi
jl 0x451c8f
lea ecx, [edi*4]
mov eax, dword [ebp + 0x10]
fld dword [ecx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x451ca8
fld qword [0x4865a0]
jmp 0x451cb1
mov eax, dword [ebp + 0x10]
fld dword [ebp + 0x18]
fadd dword [ecx + eax]
fld st(0)
fmul st(1)
fld qword [esp + 0x38]
mov ecx, edi
sub esi, 4
fsub st(1)
imul ecx, edi
fstp qword [esp + 0x38]
fild dword [esp + 0x20]
fmul st(1)
mov dword [esp + 0x20], ecx
inc edi
cmp edi, edx
fstp qword [esp + 0x70]
fxch st(5)
fsub qword [esp + 0x70]
fxch st(5)
fld st(0)
fmul st(2)
fstp qword [esp + 0x78]
fld qword [esp + 0x58]
fsub qword [esp + 0x78]
fstp qword [esp + 0x58]
fild dword [esp + 0x20]
mov dword [esp + 0x20], edi
fmul st(1)
fsubp st(4)
fstp st(0)
fld qword [esp + 0x78]
fmul st(1)
fsubr qword [esp + 0x68]
fstp qword [esp + 0x68]
fld qword [esp + 0x70]
fmul st(1)
fsubp st(2)
fstp st(0)
jl 0x451c82
fld qword [esp + 0x30]
fcomp qword [0x4865a8]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
fnstsw ax
test ah, 0x41
jne 0x451da4
fld qword [esp + 0x30]
fmul st(3)
fld st(5)
fmul st(6)
fsubp st(1)
fdivr qword [0x4865a0]
fstp qword [esp + 0x78]
fld qword [esp + 0x30]
fmul qword [esp + 0x50]
fld qword [esp + 0x48]
fmul st(6)
fsubp st(1)
fmul qword [esp + 0x78]
fimul dword [esp + 0x14]
fld st(3)
fmul qword [esp + 0x48]
fld qword [esp + 0x50]
fmul st(7)
fsubp st(1)
fmul qword [esp + 0x78]
faddp st(1)
fst qword [esp + 0x40]
fcomp qword [0x486378]
fnstsw ax
test ah, 1
je 0x451da4
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
jle 0x451e41
fld qword [0x486378]
fld qword [esp + 0x38]
fcomp qword [0x4865a8]
fnstsw ax
test ah, 0x41
jne 0x451e1f
fstp st(0)
fld qword [esp + 0x38]
fmul st(2)
fld st(4)
fmul st(5)
fsubp st(1)
fdivr qword [0x4865a0]
fstp qword [esp + 0x78]
fld qword [esp + 0x38]
fmul st(1)
fld qword [esp + 0x58]
fmul st(5)
fsubp st(1)
fmul qword [esp + 0x78]
fimul dword [esp + 0x14]
fld st(2)
fmul qword [esp + 0x58]
fld st(2)
fmul st(6)
fsubp st(1)
fmul qword [esp + 0x78]
faddp st(1)
fcom qword [0x486378]
fst qword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x451e1f
fstp st(0)
fld qword [0x486378]
fld qword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x451e3f
fcom qword [0x486378]
fnstsw ax
test ah, 0x41
jne 0x451e3f
fstp qword [esp + 0x40]
jmp 0x451e41
fstp st(0)
fld dword [ebp + 0x18]
fsubr qword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
fstp dword [edx + eax]
mov edx, dword [ebp + 8]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jl 0x4519ec
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
pop edi
pop esi
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret