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

Disassembly:
mov al, byte [0x681340]
test al, al
je 0x458bdf
mov eax, dword [0x7b4988]
cmp ax, 0xffff
je 0x458bdf
mov ecx, dword [0x7b4bc4]
push ebx
push ebp
push esi
movsx esi, ax
mov ax, word [0x7b4bc8]
imul esi, esi, 0x9c
add esi, 0x6aa28c
push edi
mov word [esi + 0x14], ax
lea eax, [esi + 0x10]
lea edi, [esi + 0x18]
push edi
push eax
mov ebx, 0x7b4994
or ebp, 0xffffffff
mov dword [eax], ecx
call fcn.0053a590
mov di, word [edi]
add esp, 8
cmp di, 0xffff
mov byte [esi + 0x1a], al
je 0x458b9d
mov eax, dword [0x738b9c]
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 0x458bcc
cmp eax, 0xffffffff
je 0x458bb2
mov eax, dword [0x7b4988]
call fcn.00457f90
cmp ebp, 0xffffffff
je 0x458bcc
mov edx, dword [0x7b4988]
push 0x3f800000
mov eax, ebp
call fcn.00457eb0
add esp, 4
cmp dword [esi], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x458bdf
mov eax, dword [0x7b4988]
jmp 0x458c80
ret
sub esp, 0x4dc
mov edx, dword [0x86cff4]
push esi
movsx esi, ax
imul esi, esi, 0x9c
add esi, 0x6aa28c
mov ecx, dword [esi]
and ecx, 0xffff
shl ecx, 5
push edi
mov edi, dword [ecx + edx + 0x14]
mov ecx, dword [0x738b9c]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], ecx
call fcn.004584b0
mov ecx, dword [edi + 0x24]
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x2c], eax
jle 0x459384
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 0x45936b
mov eax, dword [ebx + 4]
push eax
lea edi, [esp + 0x98]
call fcn.00458be0
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.00458a20
mov eax, dword [ebx + 4]
push eax
lea edi, [esp + 0x168]
mov esi, 0x7b4994
call fcn.00458970
fld dword [0x7b4994]
fsub dword [esp + 0x168]
add esp, 0xc
lea ecx, [esp + 0x2e4]
lea eax, [esp + 0x298]
fstp dword [esp + 0x15c]
mov edx, 5
fld dword [0x7b4998]
fsub dword [esp + 0x160]
fstp dword [esp + 0x160]
fld dword [0x7b499c]
fsub dword [esp + 0x164]
fstp dword [esp + 0x164]
jmp 0x458da0
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 0x458da0
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 0x458e50
xor ebp, ebp
lea ebx, [esp + 0x40]
cmp ax, 1
jne 0x458e6a
cmp si, ax
jne 0x458e6a
cmp bp, ax
je 0x458f63
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, 0x7b49e8
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.005091b0
add esp, 4
test ax, ax
je 0x458f5f
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 0x458f31
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 0x458e56
inc esi
cmp si, 3
mov dword [esp + 0x38], esi
jl 0x458e50
inc eax
cmp ax, 3
mov dword [esp + 0x10], eax
jl 0x458e41
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 [0x6904e8]
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 0x459357
lea esp, [esp]
mov edx, dword [0x86bfac]
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 0x459040
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 0x459040
xor esi, esi
cmp word [esp + 0x14], si
jle 0x45934b
mov al, 1
xor edx, edx
test al, al
je 0x4590b1
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 [0x66c40c]
fnstsw ax
test ah, 5
jp 0x4590a4
mov al, 1
jmp 0x4590a6
xor al, al
inc edx
cmp dx, 5
jl 0x459076
test al, al
jne 0x4590be
inc esi
cmp si, word [esp + 0x14]
jl 0x459072
jmp 0x45934b
movsx eax, si
lea ecx, [eax + eax*2]
lea ecx, [esp + ecx*4 + 0x15c]
test ecx, ecx
je 0x45934b
fld dword [ebp + 0x30]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4590eb
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jmp 0x4590f2
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 [0x7b4994]
fld dword [esp + 0x28]
fsub dword [0x7b4998]
fld dword [esp + 0x2c]
fsub dword [0x7b499c]
fmul dword [0x7b49a8]
fxch st(1)
fmul dword [0x7b49a4]
faddp st(1)
fxch st(1)
fmul dword [0x7b49a0]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [ebp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x45934b
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x45934b
fld dword [esp + 0x10]
fsub dword [ebp + 0x24]
fld dword [ebp + 0x28]
fsub dword [ebp + 0x24]
fdivp st(1)
fcomp dword [0x66c40c]
fnstsw ax
test ah, 5
jp 0x459190
fld dword [0x66c40c]
jmp 0x4591c3
fld dword [esp + 0x10]
fsub dword [ebp + 0x24]
fld dword [ebp + 0x28]
fsub dword [ebp + 0x24]
fdivp st(1)
fcomp dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x4591b4
fld dword [0x66c410]
jmp 0x4591c3
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 [0x66c40c]
fnstsw ax
test ah, 5
jp 0x4591e8
fld dword [0x66c40c]
jmp 0x45921d
fld dword [esp + 0x10]
fsub dword [ebp + 0x2c]
fld dword [esp + 0x18]
fsub dword [ebp + 0x2c]
fdivp st(1)
fcomp dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x45920d
fld dword [0x66c410]
jmp 0x45921d
fld dword [esp + 0x10]
fsub dword [ebp + 0x2c]
fld dword [esp + 0x18]
fsub dword [ebp + 0x2c]
fdivp st(1)
fsubr dword [0x66c410]
xor ebx, ebx
cmp word [esp + 0x30], bx
jle 0x4592ad
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 0x459296
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 [0x66c40c]
fnstsw ax
test ah, 5
jnp 0x459296
inc edx
movsx eax, dx
cmp eax, esi
jl 0x459260
movsx edx, dx
cmp edx, esi
je 0x459343
inc ebx
cmp bx, word [esp + 0x30]
jl 0x459240
mov ebp, dword [esp + 0x1c]
cmp word [ebp + 0x1a6], 1
lea ecx, [edi + 0x1c]
je 0x4592bd
lea ecx, [edi + 0x10]
mov si, word [ebp + 0x1a4]
test si, si
je 0x4592fc
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 [0x66c40c]
fucompp
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x44
fstp st(0)
jp 0x4592fc
mov ecx, dword [0x690510]
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.006343a4
push esi
lea ebx, [esp + 0xd8]
mov ecx, eax
mov ax, word [edi + 0x28]
call fcn.0050d300
add esp, 0x20
jmp 0x45934b
mov ebp, dword [esp + 0x1c]
fstp st(0)
fstp st(0)
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
jne 0x459010
lea esi, [esp + 0xb8]
call fcn.0050d220
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 0x458ce0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x4dc
ret