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

Disassembly:
mov al, byte [0x687350]
test al, al
je 0x458cbf
mov eax, dword [0x7c2ca8]
cmp ax, 0xffff
je 0x458cbf
mov ecx, dword [0x7c2ee4]
push ebx
push ebp
push esi
movsx esi, ax
mov ax, word [0x7c2ee8]
imul esi, esi, 0x9c
add esi, 0x6b0a0c
push edi
mov word [esi + 0x14], ax
lea eax, [esi + 0x10]
lea edi, [esi + 0x18]
push edi
push eax
mov ebx, 0x7c2cb4
or ebp, 0xffffffff
mov dword [eax], ecx
call fcn.0053ee60
mov di, word [edi]
add esp, 8
cmp di, 0xffff
mov byte [esi + 0x1a], al
je 0x458c7d
mov eax, dword [0x746ebc]
mov ecx, dword [eax + 0x1b8]
movsx edx, di
imul edx, edx, 0xf0
mov ebp, dword [edx + ecx + 0x2c]
mov eax, dword [esi]
cmp eax, ebp
je 0x458cac
cmp eax, 0xffffffff
je 0x458c92
mov eax, dword [0x7c2ca8]
call fcn.00458070
cmp ebp, 0xffffffff
je 0x458cac
mov edx, dword [0x7c2ca8]
push 0x3f800000
mov eax, ebp
call fcn.00457f90
add esp, 4
cmp dword [esi], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x458cbf
mov eax, dword [0x7c2ca8]
jmp 0x458d60
ret
sub esp, 0x4dc
mov edx, dword [0x87b7b4]
push esi
movsx esi, ax
imul esi, esi, 0x9c
add esi, 0x6b0a0c
mov ecx, dword [esi]
and ecx, 0xffff
shl ecx, 5
push edi
mov edi, dword [ecx + edx + 0x14]
mov ecx, dword [0x746ebc]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], ecx
call fcn.00458590
mov ecx, dword [edi + 0x24]
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x2c], eax
jle 0x459464
push ebx
push ebp
lea ebx, [ebx]
mov ecx, dword [edi + 0x28]
mov edx, eax
imul eax, eax, 0x25c
shl edx, 4
lea ebx, [edx + esi + 0x1c]
add eax, ecx
cmp word [ebx + 8], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1c], eax
je 0x45944b
mov eax, dword [ebx + 4]
push eax
lea edi, [esp + 0x98]
call fcn.00458cc0
mov ecx, dword [ebx + 4]
mov edx, ecx
mov dword [esp + 0x24], ecx
push edx
lea ecx, [esp + 0x29c]
mov dword [esp + 0x38], eax
call fcn.00458b00
mov eax, dword [ebx + 4]
push eax
lea edi, [esp + 0x168]
mov esi, 0x7c2cb4
call fcn.00458a50
fld dword [0x7c2cb4]
fsub dword [esp + 0x168]
add esp, 0xc
lea ecx, [esp + 0x2e4]
lea eax, [esp + 0x298]
fstp dword [esp + 0x15c]
mov edx, 5
fld dword [0x7c2cb8]
fsub dword [esp + 0x160]
fstp dword [esp + 0x160]
fld dword [0x7c2cbc]
fsub dword [esp + 0x164]
fstp dword [esp + 0x164]
jmp 0x458e80
fld dword [esp + 0x164]
add eax, 0x10
fmul dword [eax - 0xc]
add ecx, 4
dec edx
fld dword [esp + 0x15c]
fmul dword [eax - 0x14]
faddp st(1)
fld dword [esp + 0x160]
fmul dword [eax - 0x10]
faddp st(1)
fstp dword [ecx - 4]
jne 0x458e80
fld dword [ebx + 4]
mov ecx, dword [esp + 0x15c]
fld dword [esp + 0x15c]
mov eax, dword [esp + 0x164]
fadd st(1)
mov edx, dword [esp + 0x160]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 4]
fstp dword [esp + 0x54]
mov dword [esp + 0x60], eax
fld dword [esp + 0x160]
xor eax, eax
fadd st(1)
mov dword [esp + 0x14], 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0
fstp dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
fld dword [esp + 0x164]
mov dword [esp + 0x10], eax
fadd st(1)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [ebx + 4]
fchs
fstp dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x38], esi
jmp 0x458f30
xor ebp, ebp
lea ebx, [esp + 0x40]
cmp ax, 1
jne 0x458f4a
cmp si, ax
jne 0x458f4a
cmp bp, ax
je 0x459043
mov ecx, dword [ebx]
movsx edx, ax
movsx eax, si
fld dword [esp + edx*4 + 0x40]
mov dword [esp + 0x90], ecx
push 1
fld dword [esp + eax*4 + 0x44]
lea edi, [esp + 0x74]
fld st(1)
mov ecx, 0x7c2d08
fadd dword [esp + 0x54]
fstp dword [esp + 0x74]
fld dword [esp + 0x5c]
fadd st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x94]
fadd dword [esp + 0x64]
fstp dword [esp + 0x84]
fxch st(1)
fadd dword [esp + 0x58]
fstp dword [esp + 0x78]
fadd dword [esp + 0x60]
fstp dword [esp + 0x80]
fld dword [esp + 0x94]
fadd dword [esp + 0x68]
fstp dword [esp + 0x88]
call fcn.0050d750
add esp, 4
test ax, ax
je 0x45903f
movsx edx, word [esp + 0x14]
fld dword [esp + 0x78]
mov esi, dword [esp + 0x70]
lea eax, [edx + edx*2]
shl eax, 2
lea ecx, [esp + eax + 0x15c]
lea edx, [edx + edx*4]
fstp dword [esp + eax + 0x160]
mov dword [ecx], esi
fld dword [esp + 0x80]
lea edx, [esp + edx*4 + 0x2e4]
fstp dword [esp + eax + 0x164]
lea eax, [esp + 0x298]
mov esi, 5
fld dword [eax + 4]
add edx, 4
fmul dword [ecx + 8]
add eax, 0x10
dec esi
fld dword [eax - 0x14]
fmul dword [ecx]
faddp st(1)
fld dword [eax - 0x10]
fmul dword [ecx + 4]
faddp st(1)
fstp dword [edx - 4]
jne 0x459011
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
inc ebp
add ebx, 4
cmp bp, 3
jl 0x458f36
inc esi
cmp si, 3
mov dword [esp + 0x38], esi
jl 0x458f30
inc eax
cmp ax, 3
mov dword [esp + 0x10], eax
jl 0x458f21
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp + 0x1a0]
xor eax, eax
mov word [esp + 0xd8], ax
mov word [esp + 0xc4], ax
mov eax, dword [esp + 0x6c]
mov cx, word [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
mov dword [esp + 0xb8], edx
mov word [esp + 0xbc], cx
mov ecx, dword [0x6966f8]
lea edx, [ebp + 0x1a8]
mov dword [esp + 0xc0], edx
mov edx, dword [ecx]
mov dword [esp + 0xcc], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xc8], 4
je 0x459437
lea esp, [esp]
mov edx, dword [0x87a76c]
mov ecx, dword [edx + 0x34]
and eax, 0xffff
imul eax, eax, 0x54
add eax, ecx
mov edi, eax
lea ecx, [esp + 0xa4]
lea eax, [esp + 0x298]
mov edx, 5
jmp 0x459120
fld dword [eax - 4]
add eax, 0x10
fmul dword [edi + 4]
add ecx, 4
dec edx
fld dword [eax - 0xc]
fmul dword [edi + 0xc]
faddp st(1)
fld dword [eax - 0x10]
fmul dword [edi + 8]
faddp st(1)
fsub dword [eax - 8]
fstp dword [ecx - 4]
jne 0x459120
xor esi, esi
cmp word [esp + 0x14], si
jle 0x45942b
mov al, 1
xor edx, edx
test al, al
je 0x459191
movsx eax, dx
movsx ecx, si
lea ebx, [eax + ecx*4]
add ebx, ecx
fld dword [esp + ebx*4 + 0x2e4]
fadd dword [esp + eax*4 + 0xa4]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x459184
mov al, 1
jmp 0x459186
xor al, al
inc edx
cmp dx, 5
jl 0x459156
test al, al
jne 0x45919e
inc esi
cmp si, word [esp + 0x14]
jl 0x459152
jmp 0x45942b
movsx eax, si
lea ecx, [eax + eax*2]
lea ecx, [esp + ecx*4 + 0x15c]
test ecx, ecx
je 0x45942b
fld dword [ebp + 0x30]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4591cb
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jmp 0x4591d2
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x18], edx
fld dword [ecx]
fadd dword [edi + 4]
fstp dword [esp + 0x24]
fld dword [ecx + 4]
fadd dword [edi + 8]
fstp dword [esp + 0x28]
fld dword [ecx + 8]
fadd dword [edi + 0xc]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fsub dword [0x7c2cb4]
fld dword [esp + 0x28]
fsub dword [0x7c2cb8]
fld dword [esp + 0x2c]
fsub dword [0x7c2cbc]
fmul dword [0x7c2cc8]
fxch st(1)
fmul dword [0x7c2cc4]
faddp st(1)
fxch st(1)
fmul dword [0x7c2cc0]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [ebp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x45942b
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x45942b
fld dword [esp + 0x10]
fsub dword [ebp + 0x24]
fld dword [ebp + 0x28]
fsub dword [ebp + 0x24]
fdivp st(1)
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x459270
fld dword [0x672af8]
jmp 0x4592a3
fld dword [esp + 0x10]
fsub dword [ebp + 0x24]
fld dword [ebp + 0x28]
fsub dword [ebp + 0x24]
fdivp st(1)
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x459294
fld dword [0x672afc]
jmp 0x4592a3
fld dword [esp + 0x10]
fsub dword [ebp + 0x24]
fld dword [ebp + 0x28]
fsub dword [ebp + 0x24]
fdivp st(1)
fld dword [esp + 0x10]
fsub dword [ebp + 0x2c]
fld dword [esp + 0x18]
fsub dword [ebp + 0x2c]
fdivp st(1)
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x4592c8
fld dword [0x672af8]
jmp 0x4592fd
fld dword [esp + 0x10]
fsub dword [ebp + 0x2c]
fld dword [esp + 0x18]
fsub dword [ebp + 0x2c]
fdivp st(1)
fcomp dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x4592ed
fld dword [0x672afc]
jmp 0x4592fd
fld dword [esp + 0x10]
fsub dword [ebp + 0x2c]
fld dword [esp + 0x18]
fsub dword [ebp + 0x2c]
fdivp st(1)
fsubr dword [0x672afc]
xor ebx, ebx
cmp word [esp + 0x30], bx
jle 0x45938d
mov eax, dword [esp + 0x4c]
mov ebp, dword [eax + 0x1c4]
lea ebx, [ebx]
movsx ecx, bx
movsx ecx, word [esp + ecx*2 + 0x94]
shl ecx, 5
mov esi, dword [ecx + ebp + 0x14]
add ecx, ebp
xor edx, edx
test esi, esi
jle 0x459376
mov ecx, dword [ecx + 0x18]
xor eax, eax
nop
fld dword [esp + 0x2c]
shl eax, 4
fmul dword [eax + ecx + 8]
add eax, ecx
fld dword [esp + 0x28]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fcomp dword [0x672af8]
fnstsw ax
test ah, 5
jnp 0x459376
inc edx
movsx eax, dx
cmp eax, esi
jl 0x459340
movsx edx, dx
cmp edx, esi
je 0x459423
inc ebx
cmp bx, word [esp + 0x30]
jl 0x459320
mov ebp, dword [esp + 0x1c]
cmp word [ebp + 0x1a6], 1
lea ecx, [edi + 0x1c]
je 0x45939d
lea ecx, [edi + 0x10]
mov si, word [ebp + 0x1a4]
test si, si
je 0x4593dc
fld dword [ecx + 8]
fld dword [ecx + 4]
fld dword [ecx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld dword [0x672af8]
fucompp
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x44
fstp st(0)
jp 0x4593dc
mov ecx, dword [0x696720]
mov edx, dword [edi + 0x30]
fmul st(1)
push 0
push ecx
fstp dword [esp]
lea eax, [edi + 0x34]
push eax
fstp st(0)
push ecx
fld dword [edi + 0x44]
lea eax, [esp + 0x34]
fadd st(0), st(0)
fmul dword [ebp + 0x154]
fstp dword [esp]
push edx
fld dword [edi + 0x2c]
push ecx
push eax
call fcn.006392c4
push esi
lea ebx, [esp + 0xd8]
mov ecx, eax
mov ax, word [edi + 0x28]
call fcn.005118a0
add esp, 0x20
jmp 0x45942b
mov ebp, dword [esp + 0x1c]
fstp st(0)
fstp st(0)
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
jne 0x4590f0
lea esi, [esp + 0xb8]
call fcn.005117c0
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0x24]
inc eax
mov dword [esp + 0x34], eax
movsx eax, ax
cmp eax, ecx
jl 0x458dc0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x4dc
ret