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

Disassembly:
sub esp, 0x124
mov ecx, dword [0x87a774]
and eax, 0xffff
imul eax, eax, 0x158
push ebx
mov ebx, dword [ecx + 0x34]
mov edx, dword [eax + ebx + 8]
mov ecx, dword [0x87b7b4]
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 0x4553f1
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 0x4553dc
mov edx, dword [ebx + 0x20]
test dh, 1
jne 0x4553dc
mov di, word [esi + 0x3c]
cmp di, 0xffff
je 0x4553dc
mov edx, dword [0x87a778]
mov ecx, dword [edx + 0x34]
movzx edi, di
shl edi, 7
mov al, byte [edi + ecx + 3]
add edi, ecx
test al, al
je 0x4553c3
movsx eax, word [edi + 0x18]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
sar eax, 5
test dword [eax*4 + 0x7c2ef0], edx
je 0x4553c3
movsx ebp, word [edi + 8]
mov eax, dword [ebx + 0x78]
imul ebp, ebp, 0x178
add ebp, eax
lea edx, [edi + 0x1c]
push 0x7c2d18
lea eax, [esp + 0x70]
mov dword [esp + 0x24], 0
call fcn.004cbe20
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 [0x7c2d1c]
fld st(2)
fmul dword [0x7c2d28]
faddp st(1)
fld st(1)
fmul dword [0x7c2d34]
faddp st(1)
fstp dword [esp + 0x78]
fld st(2)
fmul dword [0x7c2d20]
fld st(2)
fmul dword [0x7c2d2c]
faddp st(1)
fld st(1)
fmul dword [0x7c2d38]
faddp st(1)
fstp dword [esp + 0x7c]
fxch st(2)
fmul dword [0x7c2d24]
fxch st(1)
fmul dword [0x7c2d30]
faddp st(1)
fxch st(1)
fmul dword [0x7c2d3c]
faddp st(1)
fstp dword [esp + 0x80]
jne 0x454efd
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 0x455009
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 [0x672af8]
add eax, ecx
mov dword [esp + 0x28], eax
add eax, 0xb8
mov dword [esp + 0x20], eax
fnstsw ax
test ah, 5
jp 0x454f39
mov dword [esp + 0x14], 0
jmp 0x454f52
fld dword [esp + 0x14]
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x454f52
mov dword [esp + 0x14], 0x3f800000
fld dword [0x672afc]
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 0x455019
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x455019
mov cx, word [eax + 0x2a]
mov edx, dword [esp + 0x20]
cmp cx, word [edx + 0x2a]
jne 0x455019
mov ax, word [eax + 0x2e]
mov ecx, edx
cmp ax, word [ecx + 0x2e]
jne 0x455019
mov dx, word [ebp + 0x40]
mov eax, dword [esp + 0x28]
cmp dx, word [eax + 0x40]
jne 0x455019
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x3c]
mov edx, dword [0x87b7b4]
mov ax, word [ebp + 0x40]
and ecx, 0xffff
shl ecx, 5
cmp word [ebx + 0x28], 1
mov ecx, dword [ecx + edx + 0x14]
jne 0x45503c
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 0x455093
mov eax, dword [0x719bfc]
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 [0x719bfc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fst dword [edi + 0x44]
call fcn.006392c4
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x4550bb
fld dword [edi + 0x44]
call fcn.006392c4
movsx eax, ax
cdq
idiv dword [esi + 0x34]
mov ax, dx
test ax, ax
mov dword [esp + 0x1c], edx
jge 0x4550b7
add ax, word [esi + 0x34]
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0x14]
fcomp dword [0x672c94]
fnstsw ax
test ah, 0x41
jne 0x455238
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 0x455120
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 [0x6966f8]
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 0x4551d3
mov dl, byte [ebx + 0x20]
test dl, dl
jns 0x455196
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.00511ce0
add esp, 0x24
jmp 0x455211
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.005118a0
add esp, 0x20
mov eax, dword [ebp + 0x80]
mov ecx, dword [esp + 0x90]
lea esi, [esp + 0x88]
mov dword [ecx + 0x98], eax
call fcn.005117c0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
fld dword [esp + 0x18]
fcomp dword [0x672c94]
fnstsw ax
test ah, 0x41
jne 0x4553bf
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 0x45529d
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 [0x672c30]
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 [0x6966f8]
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 0x45535e
test byte [ebx + 0x20], 0x80
je 0x455321
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.00511ce0
add esp, 0x24
jmp 0x45539c
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.005118a0
add esp, 0x20
mov ecx, dword [ebp + 0x80]
mov edx, dword [esp + 0x90]
lea esi, [esp + 0x88]
mov dword [edx + 0x98], ecx
call fcn.005117c0
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov di, word [edi + 4]
cmp di, 0xffff
jne 0x454de0
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 0x454da3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret