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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov edx, dword [ebp + 8]
mov al, byte [ebp + 0x14]
push ebx
push esi
fild dword [edx]
test al, al
push edi
fstp qword [esp + 0x68]
fild dword [edx + 4]
fstp qword [esp + 0x70]
je 0x4a7b3d
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 8]
mov edi, dword [eax]
mov dword [eax + esi*8], edi
mov edi, dword [eax + 4]
mov dword [eax + esi*8 + 4], edi
mov eax, dword [ecx + 8]
jmp 0x4a7b41
mov eax, dword [ecx + 8]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
jle 0x4a7d19
fild dword [edx]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x74]
fld qword [ebp + 0xc]
add ecx, 8
fild dword [ecx - 8]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x10], edx
fst qword [esp + 0x80]
fstp qword [esp + 0x20]
fild dword [ecx - 4]
fst qword [esp + 0x78]
fild dword [esp + 0x10]
mov dword [esp + 0x10], esi
fstp qword [esp + 0x30]
fild dword [esp + 0x10]
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fcomp qword [esp + 0x80]
fnstsw ax
test ah, 1
je 0x4a7bc0
fld qword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
fstp qword [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
fcom qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4a7be3
fstp qword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
fld qword [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
fld qword [esp + 0x80]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
fld qword [esp + 0x68]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x68]
fsub st(1)
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, dword [ecx - 8]
fstp qword [esp + 0x40]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x94], edi
fstp st(0)
fld qword [esp + 0x48]
fsub qword [esp + 0x90]
mov edi, dword [ecx - 4]
sub edx, eax
mov dword [esp + 0x50], edx
sub esi, edi
mov dword [esp + 0x54], esi
fstp qword [esp + 0x48]
fild dword [esp + 0x50]
fstp qword [esp + 0x58]
fild dword [esp + 0x54]
fstp qword [esp + 0x60]
fld qword [esp + 0x20]
fsub st(2)
fstp qword [esp + 0x20]
fld qword [esp + 0x30]
fadd st(2)
fstp qword [esp + 0x30]
fsub st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x38]
fadd st(1)
fld st(2)
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x4a7cfb
fld st(2)
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x41
je 0x4a7cfb
mov edx, dword [ebp + 8]
fild dword [edx + 4]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x4a7cf9
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x4a7cfd
fld qword [esp + 0x60]
fmul qword [esp + 0x60]
fld qword [esp + 0x58]
fmul qword [esp + 0x58]
faddp st(1)
fsqrt
fadd qword [0x5b8f90]
fcom qword [0x5b3130]
fnstsw ax
test ah, 0x40
jne 0x4a7cfb
fld qword [esp + 0x48]
fmul qword [esp + 0x58]
fld qword [esp + 0x40]
fmul qword [esp + 0x60]
fsubp st(1)
fabs
fdiv st(1)
fcomp st(2)
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4a7d24
jmp 0x4a7cfd
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
inc eax
add ecx, 8
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x4a7b64
fstp st(0)
fstp st(0)
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fstp st(0)
pop edi
pop esi
fstp st(0)
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10