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

Disassembly:
sub esp, 0x20
mov eax, dword [0x86bfb4]
mov edx, dword [0x86cff4]
push ebx
mov ebx, dword [esp + 0x2c]
and ebx, 0xffff
imul ebx, ebx, 0x158
push ebp
push esi
push edi
mov edi, dword [eax + 0x34]
mov ecx, dword [ebx + edi + 8]
mov eax, dword [ebx + edi + 0xc]
add ebx, edi
and ecx, 0xffff
shl ecx, 5
cmp eax, 0xffffffff
mov ebp, dword [ecx + edx + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], 0
je 0x45463c
mov edx, dword [0x851c30]
mov edx, dword [edx + 0x34]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
mov ecx, dword [edx + ecx*4 + 8]
mov edx, dword [ecx + 0x10]
test dh, 8
je 0x4545f9
mov cx, word [ebx + 0x12]
lea edx, [ebx + 0x14]
call fcn.004f2a50
test al, al
je 0x4545f9
mov eax, dword [ebx + 4]
or eax, 1
jmp 0x4545ff
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x20]
call fcn.004f24e0
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0x2c]
xor edi, edi
call fcn.004f2680
fld dword [esi]
fmul dword [0x66c414]
fstp dword [esi]
fld dword [ebx + 0x30]
fmul dword [0x66c414]
fstp dword [ebx + 0x30]
fld dword [ebx + 0x34]
fmul dword [0x66c414]
fstp dword [ebx + 0x34]
mov eax, dword [esp + 0x34]
movsx edx, word [ebp + 0x48]
push eax
push ebx
call dword [edx*4 + 0x65247c]
mov ecx, dword [ebp + 0x5c]
xor eax, eax
add esp, 8
cmp ecx, eax
mov dword [esp + 0x18], eax
jle 0x454b93
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x60]
mov ebp, eax
shl ebp, 7
shl eax, 6
add ebp, edx
lea ebx, [eax + ebx + 0x58]
mov eax, dword [ebp + 0x20]
test ah, 1
mov dword [esp + 0x1c], ebp
jne 0x454b74
cmp word [ebx], 0xffff
fld dword [ebx + 4]
fsub dword [esp + 0x34]
fstp dword [ebx + 4]
je 0x454b74
lea ebx, [ebx]
movsx esi, word [ebx]
fld dword [ebx + 4]
fcomp dword [0x66c40c]
mov eax, dword [ebp + 0x6c]
lea esi, [esi + esi*2]
shl esi, 6
add esi, eax
fnstsw ax
test ah, 5
mov ax, word [ebx + 2]
jp 0x454776
cmp ax, 0xffff
jne 0x454705
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebp
mov eax, ebx
call fcn.00454430
fld dword [esi + 0x2c]
mov eax, dword [0x70ba1c]
fld dword [esi + 0x28]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
add esp, 4
mov dword [0x70ba1c], eax
shr eax, 0x10
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jmp 0x454742
mov word [ebx], ax
movsx eax, ax
lea eax, [eax + eax*2]
mov word [ebx + 2], 0xffff
mov esi, dword [ebp + 0x6c]
shl eax, 6
add eax, esi
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x70ba1c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x70ba1c], eax
shr eax, 0x10
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x45474c
fadd dword [0x66c508]
fmul dword [0x66c4cc]
fxch st(2)
fsub st(1)
fmulp st(2)
faddp st(1)
fst dword [ebx + 8]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
cmp word [ebx], 0xffff
jne 0x4546a0
mov eax, dword [esp + 0x10]
jmp 0x454882
cmp ax, 0xffff
lea edx, [ebx + 0xc]
jne 0x45478d
mov ecx, 0xa
add esi, 0x34
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x454800
fld dword [ebx + 4]
mov edi, dword [ebp + 0x6c]
fdiv dword [ebx + 8]
movsx eax, ax
lea eax, [eax + eax*2]
shl eax, 6
lea edi, [eax + edi + 0x34]
mov ecx, edx
fcom dword [0x66c40c]
fnstsw ax
test ah, 5
jp 0x4547bc
fstp st(0)
fld dword [0x66c40c]
jmp 0x4547d1
fcom dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x4547d1
fstp st(0)
fld dword [0x66c410]
fld dword [0x66c410]
sub esi, edx
fsub st(1)
add esi, 0x34
mov eax, 0xa
fld st(1)
add ecx, 4
fmul dword [esi + ecx - 4]
add edi, 4
dec eax
fld st(1)
fmul dword [edi - 4]
faddp st(1)
fstp dword [ecx - 4]
jne 0x4547e3
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x20]
test ah, 2
mov eax, dword [esp + 0x10]
je 0x454830
fld dword [eax + 0x38]
fmul dword [ebx + 0x18]
fstp dword [ebx + 0x18]
fld dword [eax + 0x3c]
fmul dword [ebx + 0x1c]
fstp dword [ebx + 0x1c]
fld dword [eax + 0x40]
fmul dword [ebx + 0x20]
fstp dword [ebx + 0x20]
fld dword [eax + 0x44]
fmul dword [ebx + 0x24]
fstp dword [ebx + 0x24]
mov ecx, dword [ebp + 0x20]
test ch, 8
je 0x454841
fld dword [eax + 0x14]
fmul dword [ebx + 0x2c]
fstp dword [ebx + 0x2c]
mov ecx, dword [ebp + 0x20]
test ch, 0x10
je 0x454852
fld dword [eax + 0x14]
fmul dword [ebx + 0x30]
fstp dword [ebx + 0x30]
mov ecx, dword [ebp + 0x20]
test ch, 0x20
je 0x454861
fld dword [eax + 0x14]
fmul dword [edx]
fstp dword [edx]
mov ecx, dword [ebp + 0x20]
test ch, 0x40
je 0x454872
fld dword [eax + 0x14]
fmul dword [ebx + 0x10]
fstp dword [ebx + 0x10]
mov ecx, dword [ebp + 0x20]
test ch, ch
jns 0x454882
fld dword [eax + 0x14]
fmul dword [ebx + 0x14]
fstp dword [ebx + 0x14]
cmp word [ebx], 0xffff
je 0x454b74
test byte [eax + 4], 1
mov dword [esp + 0x24], 0
je 0x4548ad
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.00453b90
add esp, 0xc
xor esi, esi
mov si, word [ebx + 0x3c]
cmp si, 0xffff
mov dword [esp + 0x14], esi
je 0x454b70
jmp 0x4548d0
mov esi, dword [esp + 0x14]
jmp 0x4548d0
mov eax, dword [0x86bfb8]
mov ecx, dword [eax + 0x34]
mov edi, dword [esp + 0x1c]
movzx ebp, si
shl ebp, 7
add ebp, ecx
or edx, 0xffffffff
cmp word [ebp + 8], dx
fld dword [ebp + 0xc]
fsub dword [esp + 0x34]
fstp dword [ebp + 0xc]
jne 0x45495c
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x45495c
mov word [ebp + 8], 0
mov eax, dword [edi + 0x78]
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x70ba1c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x70ba1c], eax
shr eax, 0x10
test eax, eax
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x454937
fadd dword [0x66c508]
fmul dword [0x66c4cc]
mov ax, word [ebp + 8]
fxch st(2)
lea edx, [ebp + 0x48]
fsub st(1)
mov ecx, edi
fmulp st(2)
faddp st(1)
fst dword [ebp + 0xc]
fstp dword [ebp + 0x10]
call fcn.004542d0
or edx, 0xffffffff
mov al, byte [ebp + 3]
test al, al
jne 0x454967
mov word [ebp + 8], dx
cmp word [ebp + 8], dx
je 0x454a6d
movsx esi, word [ebp + 8]
fld dword [ebp + 0xc]
fcomp dword [0x66c40c]
mov eax, dword [edi + 0x78]
imul esi, esi, 0x178
add esi, eax
fnstsw ax
test ah, 5
jp 0x454a60
mov ax, word [ebp + 0xa]
cmp ax, 0xffff
jne 0x4549cf
mov ecx, edi
mov eax, ebp
call fcn.004544d0
fld dword [esi + 0x2c]
mov eax, dword [0x70ba1c]
fld dword [esi + 0x28]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x70ba1c], eax
shr eax, 0x10
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jmp 0x454a0b
mov word [ebp + 8], ax
movsx eax, ax
imul eax, eax, 0x178
mov word [ebp + 0xa], 0xffff
add eax, dword [edi + 0x78]
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x70ba1c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x70ba1c], eax
shr eax, 0x10
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
test eax, eax
jge 0x454a15
fadd dword [0x66c508]
fmul dword [0x66c4cc]
xor eax, eax
mov ax, word [ebp + 0xa]
fxch st(2)
cmp ax, 0xffff
fsub st(1)
fmulp st(2)
faddp st(1)
fst dword [ebp + 0x10]
fadd dword [ebp + 0xc]
fstp dword [ebp + 0xc]
je 0x454a44
lea edx, [ebp + 0x64]
mov ecx, edi
call fcn.004542d0
jmp 0x454a55
lea esi, [ebp + 0x64]
lea edi, [ebp + 0x48]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
cmp word [ebp + 8], 0xffff
jne 0x454971
mov esi, dword [esp + 0x14]
or edx, 0xffffffff
cmp word [ebp + 8], dx
jne 0x454aa3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x454a7d
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
jmp 0x454a83
mov edx, dword [ebp + 4]
mov dword [ebx + 0x3c], edx
mov eax, dword [0x86bfb8]
movsx edx, si
call fcn.004ce850
xor eax, eax
mov ax, word [ebp + 4]
dec word [ebx + 0x3a]
mov dword [esp + 0x14], eax
jmp 0x454b64
movsx eax, word [ebx]
mov esi, dword [edi + 0x6c]
lea ecx, [eax + eax*2]
shl ecx, 6
add ecx, esi
cmp word [ebp + 0xa], dx
jne 0x454acc
fld dword [ebp + 0x50]
fmul dword [ebx + 0x14]
fmul dword [esp + 0x34]
fadd dword [ebp + 0x40]
fstp dword [ebp + 0x40]
fld dword [ebp + 0x4c]
jmp 0x454b29
fld dword [ebp + 0xc]
fdiv dword [ebp + 0x10]
fcom dword [0x66c40c]
fnstsw ax
test ah, 5
jp 0x454ae9
fstp st(0)
fld dword [0x66c40c]
jmp 0x454afe
fcom dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x454afe
fstp st(0)
fld dword [0x66c410]
fld dword [0x66c410]
fsub st(1)
fld st(0)
fmul dword [ebp + 0x6c]
fld st(2)
fmul dword [ebp + 0x50]
faddp st(1)
fmul dword [ebx + 0x14]
fmul dword [esp + 0x34]
fadd dword [ebp + 0x40]
fstp dword [ebp + 0x40]
fmul dword [ebp + 0x68]
fxch st(1)
fmul dword [ebp + 0x4c]
faddp st(1)
fmul dword [ebx + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push ebp
fmul dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
push eax
fadd dword [ebp + 0x44]
push edx
fstp dword [ebp + 0x44]
movsx ecx, word [ecx + 0xb2]
call dword [ecx*4 + 0x652490]
mov ax, word [ebp + 4]
add esp, 0x10
mov dword [esp + 0x24], ebp
mov word [esp + 0x14], ax
cmp word [esp + 0x14], 0xffff
jne 0x4548c3
inc dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x5c]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], eax
movsx eax, ax
cmp eax, edx
jl 0x454661
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffd
cmp word [esp + 0x20], 0
mov dword [ebx + 4], ecx
jne 0x454bb7
cmp dword [ebx + 0xc], 0xffffffff
jne 0x454bb7
mov edx, dword [esp + 0x38]
push edx
call fcn.00453fe0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret