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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
lea eax, [esp + 0x58]
push edi
push eax
call fcn.004aab40
xor edx, edx
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x60]
mov dword [esp + 0x48], edx
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x48], edx
xor ebx, ebx
lea ecx, [ebp + 0x10]
mov dword [esp + 0x4c], edx
xor eax, eax
mov edx, dword [ecx]
add ecx, 0x10
mov dword [esp + eax + 0x50], edx
mov dword [esp + eax + 0x38], edx
add eax, 4
cmp eax, 0xc
jl 0x4e620b
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
fld qword [0x58f320]
xor edi, edi
mov ecx, 1
cmp ecx, 3
jge 0x4e6256
lea eax, [ecx + edi]
lea edx, [ebp + eax*4 + 0x10]
mov eax, 3
sub eax, ecx
fld dword [edx]
fabs
add edx, 4
dec eax
faddp st(1)
jne 0x4e624a
inc ecx
add edi, 3
lea edx, [ecx - 1]
cmp edx, 3
jl 0x4e6237
fcom qword [0x58f320]
fnstsw ax
test ah, 0x40
jne 0x4e65ab
cmp esi, 3
jge 0x4e6280
fmul qword [0x5945a0]
jmp 0x4e6288
fstp st(0)
fld qword [0x58f320]
xor edi, edi
lea ecx, [edi + 1]
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp edx, 3
jge 0x4e6514
lea eax, [edx + edx*2]
mov dword [esp + 0x18], eax
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
add eax, edx
lea ebx, [ebp + eax*4 + 0x10]
mov dword [esp + 0x1c], ebx
fld dword [ebx]
fabs
fld st(0)
fmul qword [0x594598]
cmp esi, 3
fstp qword [esp + 0x28]
jle 0x4e6307
fld dword [esp + edi*4 + 0x38]
fabs
fld st(0)
fadd qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x40
fstp st(0)
je 0x4e6307
fld dword [esp + edx*4 + 0x38]
fabs
fld st(0)
fadd qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x40
fstp st(0)
je 0x4e6307
fstp st(0)
mov dword [ebx], 0
jmp 0x4e64eb
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4e64eb
fld dword [esp + edx*4 + 0x38]
fsub dword [esp + edi*4 + 0x38]
fld st(0)
fabs
fld st(0)
fadd qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x40
fstp st(0)
je 0x4e6335
fdivr dword [ebx]
jmp 0x4e636c
fmul qword [0x58f328]
fdiv dword [ebx]
fld st(0)
fmul st(1)
fadd qword [0x58e2d8]
fsqrt
fld st(1)
fabs
faddp st(1)
fdivr qword [0x58e2d8]
fstp qword [esp + 0x28]
fcomp qword [0x58f320]
fld qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4e6370
fchs
fst qword [esp + 0x28]
fld st(0)
fmul st(1)
test edi, edi
fadd qword [0x58e2d8]
fsqrt
fdivr qword [0x58e2d8]
fst qword [esp + 0x30]
fmulp st(1)
fld qword [esp + 0x30]
fadd qword [0x58e2d8]
fdivr st(1)
fld dword [ebx]
fmul qword [esp + 0x28]
fld dword [esp + edi*4 + 0x44]
fsub st(1)
mov dword [ebx], 0
fstp dword [esp + edi*4 + 0x44]
fld st(0)
fadd dword [esp + edx*4 + 0x44]
fstp dword [esp + edx*4 + 0x44]
fld dword [esp + edi*4 + 0x38]
fsub st(1)
fstp dword [esp + edi*4 + 0x38]
fadd dword [esp + edx*4 + 0x38]
fstp dword [esp + edx*4 + 0x38]
jle 0x4e6403
lea ecx, [ebp + edx*4 + 0x10]
lea eax, [ebp + edi*4 + 0x10]
mov esi, edi
fld dword [eax]
fld dword [ecx]
fld st(2)
fmul st(2)
add eax, 0xc
add ecx, 0xc
dec esi
fadd st(1)
fmul st(4)
fsubr st(2)
fstp dword [eax - 0xc]
fld st(2)
fmul st(1)
fsubr st(2)
fmul st(4)
fadd st(1)
fstp dword [ecx - 0xc]
fstp st(0)
fstp st(0)
jne 0x4e63d4
mov ecx, dword [esp + 0x14]
cmp ecx, edx
jge 0x4e6450
mov ebx, dword [esp + 0x14]
lea eax, [edi + edi*2]
lea esi, [edx + ecx*2]
add eax, ecx
add ecx, esi
mov esi, edx
lea eax, [ebp + eax*4 + 0x10]
sub esi, ebx
lea ecx, [ebp + ecx*4 + 0x10]
fld dword [eax]
fld dword [ecx]
fld st(2)
fmul st(2)
add eax, 4
add ecx, 0xc
dec esi
fadd st(1)
fmul st(4)
fsubr st(2)
fstp dword [eax - 4]
fld st(2)
fmul st(1)
fsubr st(2)
fmul st(4)
fadd st(1)
fstp dword [ecx - 0xc]
fstp st(0)
fstp st(0)
jne 0x4e6421
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, 3
jge 0x4e649e
mov ecx, dword [esp + 0x18]
mov esi, 3
add eax, ecx
lea ecx, [ebp + eax*4 + 0x10]
lea eax, [ebx + 4]
sub esi, dword [esp + 0x10]
fld dword [eax]
fld dword [ecx]
fld st(2)
fmul st(2)
add eax, 4
add ecx, 4
dec esi
fadd st(1)
fmul st(4)
fsubr st(2)
fstp dword [eax - 4]
fld st(2)
fmul st(1)
fsubr st(2)
fmul st(4)
fadd st(1)
fstp dword [ecx - 4]
fstp st(0)
fstp st(0)
jne 0x4e646f
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + edx*4 + 0x5c]
lea eax, [esp + edi*4 + 0x5c]
mov esi, 3
fld dword [eax]
fld dword [ecx]
fld st(2)
fmul st(2)
add eax, 0xc
add ecx, 0xc
dec esi
fadd st(1)
fmul st(4)
fsubr st(2)
fstp dword [eax - 0xc]
fld st(2)
fmul st(1)
fsubr st(2)
fmul st(4)
fadd st(1)
fstp dword [ecx - 0xc]
fstp st(0)
fstp st(0)
jne 0x4e64ab
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc eax
fstp st(0)
fstp st(0)
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
inc edx
inc eax
add ebx, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, 3
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, 4
jl 0x4e62b7
mov edi, ecx
cmp edi, 3
jl 0x4e628a
xor ebx, ebx
xor eax, eax
fstp st(0)
fld dword [esp + eax + 0x44]
fadd dword [esp + eax + 0x50]
mov dword [esp + eax + 0x44], ebx
add eax, 4
cmp eax, 0xc
fst dword [esp + eax + 0x4c]
fstp dword [esp + eax + 0x34]
jl 0x4e6525
inc esi
cmp esi, 0x32
mov dword [esp + 0x24], esi
jl 0x4e622a
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
fstp dword [esp + 0x68]
fld dword [esp + 0x64]
mov eax, dword [esp + 0x78]
mov edi, dword [ebp + 8]
fstp dword [esp + 0x74]
fld dword [esp + 0x70]
mov dword [esp + 0x60], ecx
mov ecx, 9
fstp dword [esp + 0x78]
lea esi, [esp + 0x5c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
fstp st(0)
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x78]
mov edi, dword [ebp + 8]
fstp dword [esp + 0x68]
fld dword [esp + 0x64]
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0xc]
fstp dword [esp + 0x74]
fld dword [esp + 0x70]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], eax
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x38]
mov ecx, 9
lea esi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
mov dword [edx], eax
mov eax, dword [esp + 0x40]
pop edi
mov dword [edx + 4], ecx
pop esi
pop ebx
mov dword [edx + 8], eax
mov esp, ebp
pop ebp
ret