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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f1cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
call fcn.00412b00
xor edi, edi
cmp byte [ebp + 0x1c], 0
je 0x4cfb0e
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00412880
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x4c]
cmp edx, eax
jl 0x4cfb23
mov ecx, dword [esi + 0x6c]
movsd xmm1, qword [ecx + eax*8 - 8]
jmp 0x4cfb26
xorps xmm1, xmm1
mov ecx, dword [esi + 0x48]
add eax, ecx
cmp edx, eax
movsd qword [esp + 0x24], xmm1
jl 0x4cfb55
mov edx, dword [esi + 0x50]
shr edx, 2
test dl, 1
je 0x4cfb4b
mov ecx, dword [esi + 0x6c]
movsd xmm0, qword [ecx + eax*8 - 8]
jmp 0x4cfb5d
mov edx, dword [esi + 0x6c]
movsd xmm0, qword [edx + ecx*8]
jmp 0x4cfb5d
movsd xmm0, qword [0x5fb270]
subsd xmm0, xmm1
push eax
lea ecx, [esp + 0x54]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], edi
call fcn.00412880
mov ecx, dword [esi + 0x4c]
add ecx, dword [esi + 0x48]
xor eax, eax
mov dword [esp + 0x88], edi
test ecx, ecx
jle 0x4cfbc4
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x24]
mov edx, dword [esi + 0x6c]
movsd xmm2, qword [edx + eax*8]
mov ecx, dword [esp + 0x50]
subsd xmm2, xmm1
divsd xmm2, xmm0
movsd qword [ecx + eax*8], xmm2
mov edx, dword [esi + 0x4c]
add edx, dword [esi + 0x48]
inc eax
cmp eax, edx
jl 0x4cfba0
mov ecx, dword [ebp + 0x14]
lea edi, [ebx + ecx - 1]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
movsd xmm1, qword [eax + ecx*8 - 8]
mov ecx, dword [esi + 0x50]
shr ecx, 2
mov dword [esp + 0x14], edi
movsd qword [esp + 0x3c], xmm1
test cl, 1
je 0x4cfbf2
movsd xmm0, qword [eax + edi*8]
jmp 0x4cfbfa
mov edx, dword [ebp + 0x10]
movsd xmm0, qword [eax + edx*8]
xor eax, eax
inc edi
subsd xmm0, xmm1
push edi
lea ecx, [esp + 0x48]
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
call fcn.00412880
xor eax, eax
cmp dword [esp + 0x14], eax
mov byte [esp + 0x88], 1
jl 0x4cfda1
cmp edi, 4
movsd xmm0, qword [esp + 0x34]
movsd xmm1, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x2c]
movsd xmm3, qword [esp + 0x24]
jl 0x4cfd62
mov ebx, dword [ebx]
mov edi, dword [esp + 0x14]
mov ecx, 8
sub ecx, ebx
mov dword [esp + 0x20], ecx
mov ecx, 0xfffffff0
sub ecx, ebx
inc edi
lea edx, [eax + 0x10]
shr edi, 2
lea eax, [ebx + 0x10]
lea ebx, [edi*4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
jmp 0x4cfc94
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
movsd xmm4, qword [eax - 0x10]
subsd xmm4, xmm1
divsd xmm4, xmm0
add ecx, eax
movsd qword [ecx + ebx], xmm4
mov ebx, dword [esp + 0x44]
movsd xmm4, qword [ecx + ebx]
mulsd xmm4, xmm2
addsd xmm4, xmm3
movsd qword [eax - 0x10], xmm4
movsd xmm4, qword [eax - 8]
mov ebx, dword [esp + 0x44]
subsd xmm4, xmm1
divsd xmm4, xmm0
movsd qword [ecx + ebx + 8], xmm4
mov ebx, dword [esp + 0x44]
movsd xmm4, qword [ecx + ebx + 8]
mulsd xmm4, xmm2
addsd xmm4, xmm3
movsd qword [eax - 8], xmm4
movsd xmm4, qword [eax]
mov ecx, dword [esp + 0x44]
subsd xmm4, xmm1
divsd xmm4, xmm0
movsd qword [edx + ecx], xmm4
mov ecx, dword [esp + 0x44]
movsd xmm4, qword [edx + ecx]
mov ecx, dword [esp + 0x20]
mulsd xmm4, xmm2
addsd xmm4, xmm3
movsd qword [eax], xmm4
movsd xmm4, qword [eax + 8]
mov ebx, dword [esp + 0x44]
add ecx, eax
subsd xmm4, xmm1
divsd xmm4, xmm0
movsd qword [ecx + ebx], xmm4
mov ebx, dword [esp + 0x44]
movsd xmm4, qword [ecx + ebx]
mulsd xmm4, xmm2
addsd xmm4, xmm3
movsd qword [eax + 8], xmm4
add edx, 0x20
add eax, 0x20
sub edi, 1
jne 0x4cfc90
mov ebx, dword [ebp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp eax, edx
jg 0x4cfda1
mov ecx, dword [ebx]
lea esp, [esp]
movsd xmm4, qword [ecx + eax*8]
mov edi, dword [esp + 0x44]
subsd xmm4, xmm1
divsd xmm4, xmm0
movsd qword [edi + eax*8], xmm4
mov edi, dword [esp + 0x44]
movsd xmm4, qword [edi + eax*8]
mulsd xmm4, xmm2
addsd xmm4, xmm3
movsd qword [ecx + eax*8], xmm4
inc eax
cmp eax, edx
jle 0x4cfd70
lea ecx, [esp + 0x5c]
call fcn.00590c50
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
mov byte [esp + 0x88], 2
mov dword [esp + 0x18], ebx
jle 0x4d0085
mov dword [esp + 0x1c], ebx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x48]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x78]
call fcn.00590ce0
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
cmp ecx, edi
xorps xmm0, xmm0
movapd xmm5, xmm0
movapd xmm1, xmm0
jg 0x4d004d
movsd xmm6, qword [0x5ff780]
movsd xmm7, qword [0x5fc860]
mov edx, edi
sub edx, ecx
inc edx
cmp edx, 4
jl 0x4cffdd
mov eax, dword [esp + 0x5c]
lea edi, [ecx + 2]
lea ebx, [eax + edi*8]
nop
movsd xmm4, qword [ebx - 0x10]
movapd xmm2, xmm4
andpd xmm2, xmm7
comisd xmm2, xmm6
jbe 0x4cfe93
mov edx, dword [esi + 0x48]
cmp ecx, edx
mov eax, ecx
jl 0x4cfe4e
sub eax, edx
test byte [esi + 0x50], 1
je 0x4cfe6c
mov edx, dword [esi + 0x60]
movsd xmm2, qword [edx + eax*8]
mulsd xmm2, xmm4
movapd xmm4, xmm2
addsd xmm2, xmm5
movapd xmm5, xmm2
shl eax, 4
add eax, dword [esi + 0x54]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm2, xmm4
mulsd xmm3, xmm4
addsd xmm2, xmm0
addsd xmm3, xmm1
movapd xmm0, xmm2
movapd xmm1, xmm3
movsd xmm4, qword [ebx - 8]
movapd xmm2, xmm4
andpd xmm2, xmm7
comisd xmm2, xmm6
jbe 0x4cfef7
mov edx, dword [esi + 0x48]
lea eax, [edi - 1]
cmp eax, edx
jl 0x4cfeb2
sub eax, edx
test byte [esi + 0x50], 1
je 0x4cfed0
mov edx, dword [esi + 0x60]
movsd xmm2, qword [edx + eax*8]
mulsd xmm2, xmm4
movapd xmm4, xmm2
addsd xmm2, xmm5
movapd xmm5, xmm2
shl eax, 4
add eax, dword [esi + 0x54]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm2, xmm4
mulsd xmm3, xmm4
addsd xmm2, xmm0
addsd xmm3, xmm1
movapd xmm0, xmm2
movapd xmm1, xmm3
movsd xmm4, qword [ebx]
movapd xmm2, xmm4
andpd xmm2, xmm7
comisd xmm2, xmm6
jbe 0x4cff59
mov edx, dword [esi + 0x48]
cmp edi, edx
mov eax, edi
jl 0x4cff14
sub eax, edx
test byte [esi + 0x50], 1
je 0x4cff32
mov edx, dword [esi + 0x60]
movsd xmm2, qword [edx + eax*8]
mulsd xmm2, xmm4
movapd xmm4, xmm2
addsd xmm2, xmm5
movapd xmm5, xmm2
shl eax, 4
add eax, dword [esi + 0x54]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm2, xmm4
mulsd xmm3, xmm4
addsd xmm2, xmm0
addsd xmm3, xmm1
movapd xmm0, xmm2
movapd xmm1, xmm3
movsd xmm4, qword [ebx + 8]
movapd xmm2, xmm4
andpd xmm2, xmm7
comisd xmm2, xmm6
jbe 0x4cffbd
mov edx, dword [esi + 0x48]
lea eax, [edi + 1]
cmp eax, edx
jl 0x4cff78
sub eax, edx
test byte [esi + 0x50], 1
je 0x4cff96
mov edx, dword [esi + 0x60]
movsd xmm2, qword [edx + eax*8]
mulsd xmm2, xmm4
movapd xmm4, xmm2
addsd xmm2, xmm5
movapd xmm5, xmm2
shl eax, 4
add eax, dword [esi + 0x54]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm2, xmm4
mulsd xmm3, xmm4
addsd xmm2, xmm0
addsd xmm3, xmm1
movapd xmm0, xmm2
movapd xmm1, xmm3
mov eax, dword [esp + 0x70]
add ecx, 4
add eax, 0xfffffffd
add ebx, 0x20
add edi, 4
cmp ecx, eax
jle 0x4cfe30
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x70]
cmp ecx, edi
jg 0x4d004d
mov eax, dword [esp + 0x5c]
movsd xmm4, qword [eax + ecx*8]
movapd xmm2, xmm4
andpd xmm2, xmm7
comisd xmm2, xmm6
jbe 0x4d0048
mov edx, dword [esi + 0x48]
cmp ecx, edx
mov eax, ecx
jl 0x4d0003
sub eax, edx
test byte [esi + 0x50], 1
je 0x4d0021
mov edx, dword [esi + 0x60]
movsd xmm2, qword [edx + eax*8]
mulsd xmm2, xmm4
movapd xmm4, xmm2
addsd xmm2, xmm5
movapd xmm5, xmm2
shl eax, 4
add eax, dword [esi + 0x54]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm2, xmm4
mulsd xmm3, xmm4
addsd xmm2, xmm0
addsd xmm3, xmm1
movapd xmm0, xmm2
movapd xmm1, xmm3
inc ecx
cmp ecx, edi
jle 0x4cffe1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [esp + 0x1c]
cmp byte [ebp + 0x1c], 0
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
je 0x4d006f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
movsd qword [edx + ebx*8], xmm5
add dword [esp + 0x1c], 0x10
inc ebx
cmp ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], ebx
jl 0x4cfdc7
mov edi, dword [ebp + 0x10]
cmp byte [ebp + 0x1c], 0
je 0x4d0217
movsd xmm1, qword [0x5fb270]
xorps xmm2, xmm2
xor ecx, ecx
cmp edi, 4
jl 0x4d01c0
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add edi, 0xfffffffd
xor esi, esi
mov eax, dword [ebx]
movsd xmm0, qword [eax + ecx*8]
lea edx, [eax + ecx*8]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4d00e8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsd xmm3, qword [eax + esi]
add eax, esi
divsd xmm3, xmm0
movsd qword [eax], xmm3
movsd xmm3, qword [eax + 8]
divsd xmm3, xmm0
movsd qword [eax + 8], xmm3
jmp 0x4d00ec
movsd qword [edx], xmm1
mov eax, dword [ebx]
movsd xmm0, qword [eax + ecx*8 + 8]
lea edx, [eax + ecx*8 + 8]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4d0129
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsd xmm3, qword [esi + eax + 0x10]
lea eax, [esi + eax + 0x10]
divsd xmm3, xmm0
movsd qword [eax], xmm3
movsd xmm3, qword [eax + 8]
divsd xmm3, xmm0
movsd qword [eax + 8], xmm3
jmp 0x4d012d
movsd qword [edx], xmm1
mov edx, dword [ebx]
movsd xmm0, qword [edx + ecx*8 + 0x10]
lea edx, [edx + ecx*8 + 0x10]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4d016a
mov eax, dword [ebp + 8]
mov edx, dword [eax]
movsd xmm3, qword [esi + edx + 0x20]
lea eax, [esi + edx + 0x20]
divsd xmm3, xmm0
movsd qword [eax], xmm3
movsd xmm3, qword [eax + 8]
divsd xmm3, xmm0
movsd qword [eax + 8], xmm3
jmp 0x4d016e
movsd qword [edx], xmm1
mov eax, dword [ebx]
movsd xmm0, qword [eax + ecx*8 + 0x18]
lea edx, [eax + ecx*8 + 0x18]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4d01ab
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsd xmm3, qword [esi + eax + 0x30]
lea eax, [esi + eax + 0x30]
divsd xmm3, xmm0
movsd qword [eax], xmm3
movsd xmm3, qword [eax + 8]
divsd xmm3, xmm0
movsd qword [eax + 8], xmm3
jmp 0x4d01af
movsd qword [edx], xmm1
add ecx, 4
add esi, 0x40
cmp ecx, edi
jl 0x4d00b0
mov edi, dword [ebp + 0x10]
cmp ecx, edi
jge 0x4d0217
mov esi, ecx
shl esi, 4
lea esp, [esp]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
movsd xmm0, qword [eax + ecx*8]
lea edx, [eax + ecx*8]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4d020b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsd xmm3, qword [eax + esi]
add eax, esi
divsd xmm3, xmm0
movsd qword [eax], xmm3
movsd xmm3, qword [eax + 8]
divsd xmm3, xmm0
movsd qword [eax + 8], xmm3
jmp 0x4d020f
movsd qword [edx], xmm1
inc ecx
add esi, 0x10
cmp ecx, edi
jl 0x4d01d0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 1
call fcn.00590cd0
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.MSVCR90.dll_free]
xor edi, edi
cmp eax, edi
je 0x4d023e
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
cmp eax, edi
je 0x4d0254
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c