Function at 0x453080
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 [0x478078]
mov eax, dword [ecx]
push ebx
fld qword [0x478078]
fld qword [0x478078]
fld qword [0x478078]
fld qword [0x478078]
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 0x45359e
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 0x4532a5
mov edi, dword [eax]
mov ecx, edi
and ecx, 0xffff
cmp ebx, ecx
jge 0x4531e0
fld dword [ebp + 0x18]
mov esi, ebx
fchs
fstp dword [esp + 0x10]
neg esi
shl esi, 2
test ebx, ebx
mov edx, esi
jl 0x453153
lea edx, [ebx*4]
mov eax, dword [ebp + 0x10]
fld dword [edx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x45316c
fld qword [0x478e78]
jmp 0x453175
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 0x453146
mov edx, dword [esp + 0x18]
sar edi, 0x10
cmp edx, edi
jge 0x4532a5
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 0x45320e
lea ecx, [esi*4]
mov eax, dword [ebp + 0x10]
fld dword [ecx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x453227
fld qword [0x478e78]
jmp 0x453230
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 0x4531fd
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x453450
mov eax, dword [ebp + 0x1c]
test eax, eax
jle 0x453450
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 0x4532d5
mov ecx, eax
mov edi, dword [esp + 0x1c]
cmp edi, ecx
jge 0x453385
fld dword [ebp + 0x18]
mov esi, edi
fchs
fstp dword [esp + 0x10]
neg esi
shl esi, 2
test edi, edi
mov edx, esi
jl 0x4532fe
lea edx, [edi*4]
mov eax, dword [ebp + 0x10]
fld dword [edx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x453317
fld qword [0x478e78]
jmp 0x453320
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 0x4532f1
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 0x453450
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 0x4533bf
lea ecx, [edi*4]
mov eax, dword [ebp + 0x10]
fld dword [ecx + eax]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x4533d8
fld qword [0x478e78]
jmp 0x4533e1
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 0x4533b2
fld qword [esp + 0x30]
fcomp qword [0x47ac98]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
fnstsw ax
test ah, 0x41
jne 0x4534d4
fld qword [esp + 0x30]
fmul st(3)
fld st(5)
fmul st(6)
fsubp st(1)
fdivr qword [0x478e78]
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 [0x478078]
fnstsw ax
test ah, 1
je 0x4534d4
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
jle 0x453571
fld qword [0x478078]
fld qword [esp + 0x38]
fcomp qword [0x47ac98]
fnstsw ax
test ah, 0x41
jne 0x45354f
fstp st(0)
fld qword [esp + 0x38]
fmul st(2)
fld st(4)
fmul st(5)
fsubp st(1)
fdivr qword [0x478e78]
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 [0x478078]
fst qword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x45354f
fstp st(0)
fld qword [0x478078]
fld qword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x45356f
fcom qword [0x478078]
fnstsw ax
test ah, 0x41
jne 0x45356f
fstp qword [esp + 0x40]
jmp 0x453571
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 0x45311c
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