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

Disassembly:
sub esp, 0x20
mov eax, dword [0x87a774]
mov edx, dword [0x87b7b4]
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 0x45471c
mov edx, dword [0x85ff50]
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 0x4546d9
mov cx, word [ebx + 0x12]
lea edx, [ebx + 0x14]
call fcn.004f7010
test al, al
je 0x4546d9
mov eax, dword [ebx + 4]
or eax, 1
jmp 0x4546df
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x20]
call fcn.004f6aa0
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0x2c]
xor edi, edi
call fcn.004f6c40
fld dword [esi]
fmul dword [0x672b00]
fstp dword [esi]
fld dword [ebx + 0x30]
fmul dword [0x672b00]
fstp dword [ebx + 0x30]
fld dword [ebx + 0x34]
fmul dword [0x672b00]
fstp dword [ebx + 0x34]
mov eax, dword [esp + 0x34]
movsx edx, word [ebp + 0x48]
push eax
push ebx
call dword [edx*4 + 0x65748c]
mov ecx, dword [ebp + 0x5c]
xor eax, eax
add esp, 8
cmp ecx, eax
mov dword [esp + 0x18], eax
jle 0x454c73
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 0x454c54
cmp word [ebx], 0xffff
fld dword [ebx + 4]
fsub dword [esp + 0x34]
fstp dword [ebx + 4]
je 0x454c54
lea ebx, [ebx]
movsx esi, word [ebx]
fld dword [ebx + 4]
fcomp dword [0x672af8]
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 0x454856
cmp ax, 0xffff
jne 0x4547e5
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebp
mov eax, ebx
call fcn.00454510
fld dword [esi + 0x2c]
mov eax, dword [0x719bfc]
fld dword [esi + 0x28]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
add esp, 4
mov dword [0x719bfc], eax
shr eax, 0x10
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jmp 0x454822
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 [0x719bfc]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x719bfc], eax
shr eax, 0x10
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x45482c
fadd dword [0x672bf8]
fmul dword [0x672bbc]
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 0x454780
mov eax, dword [esp + 0x10]
jmp 0x454962
cmp ax, 0xffff
lea edx, [ebx + 0xc]
jne 0x45486d
mov ecx, 0xa
add esi, 0x34
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x4548e0
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 [0x672af8]
fnstsw ax
test ah, 5
jp 0x45489c
fstp st(0)
fld dword [0x672af8]
jmp 0x4548b1
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x4548b1
fstp st(0)
fld dword [0x672afc]
fld dword [0x672afc]
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 0x4548c3
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x20]
test ah, 2
mov eax, dword [esp + 0x10]
je 0x454910
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 0x454921
fld dword [eax + 0x14]
fmul dword [ebx + 0x2c]
fstp dword [ebx + 0x2c]
mov ecx, dword [ebp + 0x20]
test ch, 0x10
je 0x454932
fld dword [eax + 0x14]
fmul dword [ebx + 0x30]
fstp dword [ebx + 0x30]
mov ecx, dword [ebp + 0x20]
test ch, 0x20
je 0x454941
fld dword [eax + 0x14]
fmul dword [edx]
fstp dword [edx]
mov ecx, dword [ebp + 0x20]
test ch, 0x40
je 0x454952
fld dword [eax + 0x14]
fmul dword [ebx + 0x10]
fstp dword [ebx + 0x10]
mov ecx, dword [ebp + 0x20]
test ch, ch
jns 0x454962
fld dword [eax + 0x14]
fmul dword [ebx + 0x14]
fstp dword [ebx + 0x14]
cmp word [ebx], 0xffff
je 0x454c54
test byte [eax + 4], 1
mov dword [esp + 0x24], 0
je 0x45498d
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.00453c70
add esp, 0xc
xor esi, esi
mov si, word [ebx + 0x3c]
cmp si, 0xffff
mov dword [esp + 0x14], esi
je 0x454c50
jmp 0x4549b0
mov esi, dword [esp + 0x14]
jmp 0x4549b0
mov eax, dword [0x87a778]
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 0x454a3c
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x454a3c
mov word [ebp + 8], 0
mov eax, dword [edi + 0x78]
fld dword [eax + 0x24]
fld dword [eax + 0x20]
mov eax, dword [0x719bfc]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x719bfc], eax
shr eax, 0x10
test eax, eax
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x454a17
fadd dword [0x672bf8]
fmul dword [0x672bbc]
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.004543b0
or edx, 0xffffffff
mov al, byte [ebp + 3]
test al, al
jne 0x454a47
mov word [ebp + 8], dx
cmp word [ebp + 8], dx
je 0x454b4d
movsx esi, word [ebp + 8]
fld dword [ebp + 0xc]
fcomp dword [0x672af8]
mov eax, dword [edi + 0x78]
imul esi, esi, 0x178
add esi, eax
fnstsw ax
test ah, 5
jp 0x454b40
mov ax, word [ebp + 0xa]
cmp ax, 0xffff
jne 0x454aaf
mov ecx, edi
mov eax, ebp
call fcn.004545b0
fld dword [esi + 0x2c]
mov eax, dword [0x719bfc]
fld dword [esi + 0x28]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x719bfc], eax
shr eax, 0x10
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jmp 0x454aeb
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 [0x719bfc]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x719bfc], eax
shr eax, 0x10
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
test eax, eax
jge 0x454af5
fadd dword [0x672bf8]
fmul dword [0x672bbc]
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 0x454b24
lea edx, [ebp + 0x64]
mov ecx, edi
call fcn.004543b0
jmp 0x454b35
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 0x454a51
mov esi, dword [esp + 0x14]
or edx, 0xffffffff
cmp word [ebp + 8], dx
jne 0x454b83
mov eax, dword [esp + 0x24]
test eax, eax
je 0x454b5d
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
jmp 0x454b63
mov edx, dword [ebp + 4]
mov dword [ebx + 0x3c], edx
mov eax, dword [0x87a778]
movsx edx, si
call fcn.004d0550
xor eax, eax
mov ax, word [ebp + 4]
dec word [ebx + 0x3a]
mov dword [esp + 0x14], eax
jmp 0x454c44
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 0x454bac
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 0x454c09
fld dword [ebp + 0xc]
fdiv dword [ebp + 0x10]
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x454bc9
fstp st(0)
fld dword [0x672af8]
jmp 0x454bde
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x454bde
fstp st(0)
fld dword [0x672afc]
fld dword [0x672afc]
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 + 0x6574a0]
mov ax, word [ebp + 4]
add esp, 0x10
mov dword [esp + 0x24], ebp
mov word [esp + 0x14], ax
cmp word [esp + 0x14], 0xffff
jne 0x4549a3
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 0x454741
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffd
cmp word [esp + 0x20], 0
mov dword [ebx + 4], ecx
jne 0x454c97
cmp dword [ebx + 0xc], 0xffffffff
jne 0x454c97
mov edx, dword [esp + 0x38]
push edx
call fcn.004540c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret