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

Disassembly:
sub esp, 0x124
mov ecx, dword [0x86bfb4]
and eax, 0xffff
imul eax, eax, 0x158
push ebx
mov ebx, dword [ecx + 0x34]
mov edx, dword [eax + ebx + 8]
mov ecx, dword [0x86cff4]
add eax, ebx
and edx, 0xffff
shl edx, 5
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [ecx + 0x5c]
push ebp
push esi
xor esi, esi
cmp edx, esi
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x44], esi
jle 0x455311
mov ebp, dword [ecx + 0x60]
mov ebx, esi
shl esi, 6
shl ebx, 7
lea esi, [esi + eax + 0x58]
add ebx, ebp
cmp word [esi], 0xffff
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], esi
je 0x4552fc
mov edx, dword [ebx + 0x20]
test dh, 1
jne 0x4552fc
mov di, word [esi + 0x3c]
cmp di, 0xffff
je 0x4552fc
mov edx, dword [0x86bfb8]
mov ecx, dword [edx + 0x34]
movzx edi, di
shl edi, 7
mov al, byte [edi + ecx + 3]
add edi, ecx
test al, al
je 0x4552e3
movsx eax, word [edi + 0x18]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
sar eax, 5
test dword [eax*4 + 0x7b4bd0], edx
je 0x4552e3
movsx ebp, word [edi + 8]
mov eax, dword [ebx + 0x78]
imul ebp, ebp, 0x178
add ebp, eax
lea edx, [edi + 0x1c]
push 0x7b49f8
lea eax, [esp + 0x70]
mov dword [esp + 0x24], 0
call fcn.004ca120
mov ax, word [edi + 0xa]
fld dword [edi + 0x34]
add esp, 4
cmp ax, 0xffff
fld dword [edi + 0x38]
fld dword [edi + 0x3c]
fld st(2)
fmul dword [0x7b49fc]
fld st(2)
fmul dword [0x7b4a08]
faddp st(1)
fld st(1)
fmul dword [0x7b4a14]
faddp st(1)
fstp dword [esp + 0x78]
fld st(2)
fmul dword [0x7b4a00]
fld st(2)
fmul dword [0x7b4a0c]
faddp st(1)
fld st(1)
fmul dword [0x7b4a18]
faddp st(1)
fstp dword [esp + 0x7c]
fxch st(2)
fmul dword [0x7b4a04]
fxch st(1)
fmul dword [0x7b4a10]
faddp st(1)
fxch st(1)
fmul dword [0x7b4a1c]
faddp st(1)
fstp dword [esp + 0x80]
jne 0x454e1d
fld dword [edi + 0x48]
mov dword [esp + 0x28], 0
fmul dword [esi + 0xc]
fstp dword [esp + 0x24]
fld dword [edi + 0x54]
fmul dword [esi + 0x18]
fstp dword [esp + 0x30]
fld dword [edi + 0x58]
fmul dword [esi + 0x1c]
fstp dword [esp + 0x34]
fld dword [edi + 0x5c]
fmul dword [esi + 0x20]
fstp dword [esp + 0x38]
fld dword [edi + 0x60]
fmul dword [esi + 0x24]
fstp dword [esp + 0x3c]
jmp 0x454f29
fld dword [edi + 0xc]
mov ecx, dword [ebx + 0x78]
fdiv dword [edi + 0x10]
movsx eax, ax
imul eax, eax, 0x178
fst dword [esp + 0x14]
fcomp dword [0x66c40c]
add eax, ecx
mov dword [esp + 0x28], eax
add eax, 0xb8
mov dword [esp + 0x20], eax
fnstsw ax
test ah, 5
jp 0x454e59
mov dword [esp + 0x14], 0
jmp 0x454e72
fld dword [esp + 0x14]
fcomp dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x454e72
mov dword [esp + 0x14], 0x3f800000
fld dword [0x66c410]
lea eax, [ebp + 0xb8]
test eax, eax
fsub dword [esp + 0x14]
fst dword [esp + 0x18]
fmul dword [edi + 0x64]
fld dword [esp + 0x14]
fmul dword [edi + 0x48]
faddp st(1)
fmul dword [esi + 0xc]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [edi + 0x70]
fld dword [esp + 0x14]
fmul dword [edi + 0x54]
faddp st(1)
fmul dword [esi + 0x18]
fstp dword [esp + 0x30]
fld dword [esp + 0x18]
fmul dword [edi + 0x74]
fld dword [esp + 0x14]
fmul dword [edi + 0x58]
faddp st(1)
fmul dword [esi + 0x1c]
fstp dword [esp + 0x34]
fld dword [esp + 0x18]
fmul dword [edi + 0x78]
fld dword [esp + 0x14]
fmul dword [edi + 0x5c]
faddp st(1)
fmul dword [esi + 0x20]
fstp dword [esp + 0x38]
fld dword [esp + 0x18]
fmul dword [edi + 0x7c]
fld dword [esp + 0x14]
fmul dword [edi + 0x60]
faddp st(1)
fmul dword [esi + 0x24]
fstp dword [esp + 0x3c]
je 0x454f39
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x454f39
mov cx, word [eax + 0x2a]
mov edx, dword [esp + 0x20]
cmp cx, word [edx + 0x2a]
jne 0x454f39
mov ax, word [eax + 0x2e]
mov ecx, edx
cmp ax, word [ecx + 0x2e]
jne 0x454f39
mov dx, word [ebp + 0x40]
mov eax, dword [esp + 0x28]
cmp dx, word [eax + 0x40]
jne 0x454f39
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x3c]
mov edx, dword [0x86cff4]
mov ax, word [ebp + 0x40]
and ecx, 0xffff
shl ecx, 5
cmp word [ebx + 0x28], 1
mov ecx, dword [ecx + edx + 0x14]
jne 0x454f5c
inc ax
mov edx, dword [ecx + 0x58]
movsx esi, ax
mov eax, dword [edi + 0x44]
shl esi, 6
add esi, edx
cmp eax, 0xbf800000
jne 0x454fb3
mov eax, dword [0x70ba1c]
mov si, word [esi + 0x34]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov edx, eax
movsx ecx, si
shr edx, 0x10
imul ecx, edx
mov dword [0x70ba1c], eax
shr ecx, 0x10
movsx eax, cx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fst dword [edi + 0x44]
call fcn.006343a4
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x454fdb
fld dword [edi + 0x44]
call fcn.006343a4
movsx eax, ax
cdq
idiv dword [esi + 0x34]
mov ax, dx
test ax, ax
mov dword [esp + 0x1c], edx
jge 0x454fd7
add ax, word [esi + 0x34]
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0x14]
fcomp dword [0x66c5a4]
fnstsw ax
test ah, 0x41
jne 0x455158
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
xor edx, edx
cmp word [ebp + 0xe2], dx
mov dword [esp + 0x68], eax
jne 0x455040
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x60]
fmul dword [eax + 0x48]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul dword [eax + 0x4c]
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul dword [eax + 0x50]
fstp dword [esp + 0x68]
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x88], eax
mov word [esp + 0xa8], dx
mov word [esp + 0x94], dx
mov edx, dword [0x6904e8]
lea eax, [ebp + 0xb8]
mov dword [esp + 0x90], eax
mov eax, dword [edx]
mov dword [esp + 0x9c], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa0], eax
mov eax, 1
cmp word [ebx + 0x28], ax
mov word [esp + 0x8c], 2
mov dword [esp + 0xa4], edx
mov dword [esp + 0x98], 4
jne 0x4550f3
mov dl, byte [ebx + 0x20]
test dl, dl
jns 0x4550b6
mov eax, 3
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [edi + 0x40]
push edx
lea edx, [esp + 0x88]
push edx
lea edx, [esp + 0x80]
push edx
push ecx
xor ecx, ecx
mov cx, word [ebp + 0x40]
push ecx
push eax
lea eax, [esp + 0xac]
call fcn.0050d740
add esp, 0x24
jmp 0x455131
mov edx, dword [esp + 0x14]
push eax
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push eax
mov eax, dword [edi + 0x40]
push edx
push eax
lea edx, [esp + 0x8c]
push edx
xor edx, edx
mov dx, word [ebx + 0x2a]
lea eax, [esp + 0x84]
push eax
mov ax, word [ebp + 0x40]
lea ebx, [esp + 0xa4]
push edx
call fcn.0050d300
add esp, 0x20
mov eax, dword [ebp + 0x80]
mov ecx, dword [esp + 0x90]
lea esi, [esp + 0x88]
mov dword [ecx + 0x98], eax
call fcn.0050d220
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
fld dword [esp + 0x18]
fcomp dword [0x66c5a4]
fnstsw ax
test ah, 0x41
jne 0x4552df
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x38]
xor eax, eax
cmp word [ebp + 0xe2], ax
mov dword [esp + 0x54], edx
jne 0x4551bd
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x50]
fmul dword [edx + 0x48]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul dword [edx + 0x4c]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul dword [edx + 0x50]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x28]
fld dword [esp + 0x74]
mov esi, dword [edx + 0x3c]
fadd dword [0x66c540]
mov word [esp + 0xa8], ax
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x20]
fstp dword [esp + 0x74]
mov dword [esp + 0x90], eax
mov eax, dword [0x6904e8]
mov dword [esp + 0x88], esi
mov esi, dword [eax]
mov dword [esp + 0x9c], esi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xa4], eax
mov eax, 1
cmp word [ebx + 0x28], ax
mov word [esp + 0x8c], 2
mov dword [esp + 0xa0], esi
mov dword [esp + 0x98], 4
jne 0x45527e
test byte [ebx + 0x20], 0x80
je 0x455241
mov eax, 3
mov esi, dword [esp + 0x18]
push esi
lea esi, [esp + 0x50]
push esi
mov esi, dword [esp + 0x2c]
push esi
mov esi, dword [edi + 0x40]
push esi
lea esi, [esp + 0x88]
push esi
lea esi, [esp + 0x80]
push esi
push ecx
xor ecx, ecx
mov cx, word [edx + 0x40]
push ecx
push eax
lea eax, [esp + 0xac]
call fcn.0050d740
add esp, 0x24
jmp 0x4552bc
push eax
mov eax, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0x40]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x84]
push eax
xor eax, eax
mov ax, word [ebx + 0x2a]
lea ebx, [esp + 0xa4]
push eax
mov ax, word [edx + 0x40]
call fcn.0050d300
add esp, 0x20
mov ecx, dword [ebp + 0x80]
mov edx, dword [esp + 0x90]
lea esi, [esp + 0x88]
mov dword [edx + 0x98], ecx
call fcn.0050d220
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov di, word [edi + 4]
cmp di, 0xffff
jne 0x454d00
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
inc edx
movsx esi, dx
mov dword [esp + 0x44], edx
cmp esi, dword [ecx + 0x5c]
jl 0x454cc3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret