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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff6c
imul eax, eax, 0xb
mov edx, dword [0x587c38]
lea ebx, [edx + eax*8]
mov eax, dword [ebx + 0x30]
dec eax
test eax, eax
jl 0x4bf853
inc eax
mov dword [esp + 0x18], eax
xor esi, esi
mov edx, esi
shl edx, 3
sub edx, esi
mov eax, dword [ebx + 0x2c]
fld qword [eax + edx*8 + 8]
mov eax, dword [ebx + 0x2c]
fcomp qword [eax + edx*8 + 0x10]
fnstsw ax
sahf
jae 0x4bf848
mov eax, dword [ebx + 0x2c]
fld qword [eax + edx*8 + 0x18]
mov eax, dword [ebx + 0x2c]
fcomp qword [eax + edx*8 + 0x20]
fnstsw ax
sahf
jae 0x4bf848
mov eax, dword [ebx + 0x2c]
cmp byte [eax + edx*8], 0
je 0x4bf848
mov eax, dword [ebx + 8]
dec eax
test eax, eax
jl 0x4bf848
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp], 0
imul eax, dword [esp], 0xd
mov edx, dword [ebx + 4]
lea edi, [edx + eax*8]
fld qword [edi + 0x10]
mov ebp, esi
shl ebp, 3
sub ebp, esi
mov eax, dword [ebx + 0x2c]
fcomp qword [eax + ebp*8 + 8]
fnstsw ax
sahf
jb 0x4bf83b
fld qword [edi + 0x10]
mov eax, dword [ebx + 0x2c]
fcomp qword [eax + ebp*8 + 0x10]
fnstsw ax
sahf
ja 0x4bf83b
fld qword [edi + 0x18]
mov eax, dword [ebx + 0x2c]
fcomp qword [eax + ebp*8 + 0x18]
fnstsw ax
sahf
jb 0x4bf83b
fld qword [edi + 0x18]
mov eax, dword [ebx + 0x2c]
fcomp qword [eax + ebp*8 + 0x20]
fnstsw ax
sahf
ja 0x4bf83b
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fld qword [edx + eax*8 + 0x10]
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fadd qword [edx + eax*8 + 8]
fdiv dword [0x4bf860]
fsubr qword [edi + 0x10]
fstp qword [esp + 8]
wait
fld dword [0x4bf860]
fmul qword [esp + 8]
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fld qword [edx + eax*8 + 0x10]
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fsub qword [edx + eax*8 + 8]
fdivp st(1)
fstp qword [esp + 8]
wait
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fld qword [edx + eax*8 + 0x20]
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fadd qword [edx + eax*8 + 0x18]
fdiv dword [0x4bf860]
fsubr qword [edi + 0x18]
fstp qword [esp + 0x10]
wait
fld dword [0x4bf860]
fmul qword [esp + 0x10]
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fld qword [edx + eax*8 + 0x20]
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
fsub qword [edx + eax*8 + 0x18]
fdivp st(1)
fstp qword [esp + 0x10]
wait
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + ebp*8 + 0x28]
dec eax
je 0x4bf721
dec eax
je 0x4bf74f
jmp 0x4bf77b
fld qword [esp + 8]
fmul st(0)
fstp xword [esp + 0x88]
wait
fld qword [esp + 0x10]
fmul st(0)
fld xword [esp + 0x88]
faddp st(1)
fcomp dword [0x4bf864]
fnstsw ax
sahf
ja 0x4bf83b
jmp 0x4bf77b
fld qword [esp + 8]
fabs
fstp xword [esp + 0x88]
wait
fld qword [esp + 0x10]
fabs
fld xword [esp + 0x88]
faddp st(1)
fcomp dword [0x4bf864]
fnstsw ax
sahf
ja 0x4bf83b
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + ebp*8 + 0x2c]
cmp eax, dword [edi + 4]
jne 0x4bf83b
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0x1c]
push dword [edi + 0x18]
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + ebp*8 + 0x30]
lea edx, [esp + 0x30]
call fcn.004bcef8
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x2c]
cmp dword [eax + ebp*8 + 0x34], 0
jne 0x4bf7d1
imul eax, dword [esp], 0xd
mov edx, dword [ebx + 4]
push esi
lea edi, [edx + eax*8]
lea esi, [esp + 0x24]
mov ecx, 0x1a
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4bf83b
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x2c]
cmp dword [edx + eax*8 + 0x34], 1
jne 0x4bf81f
mov eax, dword [esp + 0x68]
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x5c], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 0x60], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x44], eax
jmp 0x4bf83b
mov eax, dword [esp + 0x50]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x3c], eax
inc dword [esp]
dec dword [esp + 0x1c]
jne 0x4bf607
inc esi
dec dword [esp + 0x18]
jne 0x4bf5ad
add esp, 0x94
pop ebp
pop edi
pop esi
pop ebx
ret