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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f1d40
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x4c]
cmp ecx, 3
jl 0x4d0532
mov eax, dword [esi + 0x50]
shr eax, 2
test al, 1
jne 0x4d0532
mov eax, dword [esi + 0x48]
lea edx, [ecx + ecx - 1]
cmp eax, edx
jl 0x4d0532
sub eax, ecx
xor ebx, ebx
mov ebp, 1
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ebx
call fcn.004587b0
mov eax, dword [esi + 0x4c]
add eax, ebp
cmp eax, dword [esi + 0x48]
mov dword [esp + 0x78], ebx
mov ecx, ebp
jge 0x4d04c6
mov edx, dword [esp + 0x50]
movsd xmm0, qword [0x5fa918]
jmp 0x4d04a0
mov edi, dword [esi + 0x6c]
movsd xmm1, qword [edi + eax*8]
subsd xmm1, qword [edi + eax*8 - 8]
comisd xmm1, xmm0
lea edi, [edi + eax*8]
jbe 0x4d04bf
mov dword [edx], ecx
inc ebp
add edx, 4
xor ecx, ecx
inc eax
inc ecx
cmp eax, dword [esi + 0x48]
jl 0x4d04a0
mov edx, dword [esp + 0x50]
xor eax, eax
cmp ebp, ebx
mov dword [edx + ebp*4 - 4], ecx
jle 0x4d04e2
mov ecx, dword [esi + 0x4c]
dec ecx
cmp dword [edx + eax*4], ecx
jl 0x4d0524
inc eax
cmp eax, ebp
jl 0x4d04d8
mov eax, dword [esi + 0x48]
mov edi, 1
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
call fcn.00412880
xorps xmm0, xmm0
mov ecx, dword [esp + 0x44]
movsd qword [ecx], xmm0
cmp dword [esi + 0x48], edi
mov byte [esp + 0x78], 1
movsd qword [esp + 0x34], xmm0
jle 0x4d059f
lea ebx, [edi + 0xf]
jmp 0x4d054b
cmp edx, ebx
je 0x4d0532
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov eax, dword [esi + 0x54]
add eax, ebx
movsd qword [esp + 0x64], xmm0
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [eax - 0x10]
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [eax - 8]
lea ecx, [esp + 0x5c]
movsd qword [esp + 0x64], xmm0
call fcn.004a7500
fadd qword [esp + 0x34]
mov ecx, dword [esp + 0x44]
inc edi
fst qword [esp + 0x34]
add ebx, 0x10
fstp qword [ecx + edi*8 - 8]
cmp edi, dword [esi + 0x48]
jl 0x4d0548
xor ebx, ebx
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x4c]
movsd xmm1, qword [eax]
add edi, edx
movsd xmm0, qword [eax + edi*8 - 8]
xor eax, eax
cmp edx, ebx
subsd xmm0, xmm1
divsd xmm0, qword [esp + 0x34]
jle 0x4d05e8
jmp 0x4d05d0
movsd xmm2, qword [ecx + eax*8]
mulsd xmm2, xmm0
addsd xmm2, xmm1
movsd qword [ecx + eax*8], xmm2
inc eax
cmp eax, dword [esi + 0x48]
jl 0x4d05d0
mov edx, dword [esi + 0x4c]
add edx, dword [esi + 0x48]
lea ecx, [esp + 0x34]
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
call fcn.00412880
mov ecx, dword [esi + 0x4c]
add ecx, dword [esi + 0x48]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x34]
jle 0x4d062d
mov edx, dword [esi + 0x6c]
fld qword [edx + eax*8]
inc eax
fstp qword [ecx + eax*8 - 8]
mov edx, dword [esi + 0x4c]
add edx, dword [esi + 0x48]
cmp eax, edx
jl 0x4d0618
mov edi, dword [esi + 0x4c]
lea eax, [edi - 1]
mov ebx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
test ebp, ebp
jle 0x4d07ed
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [esi + 0x4c]
mov edx, dword [edx]
dec ebp
cmp edx, ebp
jl 0x4d07d1
add edx, edi
cmp edi, edx
mov dword [esp + 0x28], edi
jge 0x4d0694
lea ecx, [ecx]
mov edx, dword [esp + 0x44]
fld qword [edx + ebx*8]
mov edx, dword [esp + 0x28]
mov ebp, dword [esi + 0x6c]
fstp qword [ebp + edx*8]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
inc edx
add ebp, edi
cmp edx, ebp
mov dword [esp + 0x28], edx
jl 0x4d0670
lea ebx, [eax + 1]
cmp ebx, edi
jge 0x4d07c0
mov edx, dword [esi + 0x6c]
movsd xmm0, qword [edx + edi*8]
subsd xmm0, qword [edx + eax*8]
movsd xmm1, qword [ecx + edi*8]
subsd xmm1, qword [ecx + eax*8]
mov edx, edi
sub edx, ebx
cmp edx, 4
divsd xmm0, xmm1
jl 0x4d0795
sub edi, ebx
mov ebp, 8
sub ebp, ecx
lea edx, [ebx*8 + 0x10]
mov dword [esp + 0x28], ebp
sub edi, 4
mov ebp, 0xfffffff0
mov dword [esp + 0x1c], edx
sub ebp, ecx
shr edi, 2
add edx, ecx
inc edi
lea ebx, [ebx + edi*4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebx
jmp 0x4d0704
mov ebp, dword [esp + 0x24]
movsd xmm1, qword [edx - 0x10]
subsd xmm1, qword [ecx + eax*8]
mov ebx, dword [esi + 0x6c]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
add ebp, edx
movsd qword [ebx + ebp], xmm1
movsd xmm1, qword [edx - 8]
subsd xmm1, qword [ecx + eax*8]
mov ebx, dword [esi + 0x6c]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
movsd qword [ebx + ebp + 8], xmm1
movsd xmm1, qword [edx]
subsd xmm1, qword [ecx + eax*8]
mov ebx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x1c]
add dword [esp + 0x1c], 0x20
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
movsd qword [ebx + ebp], xmm1
movsd xmm1, qword [edx + 8]
mov ebx, dword [esi + 0x6c]
subsd xmm1, qword [ecx + eax*8]
mov ebp, dword [esp + 0x28]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
add ebx, ebp
movsd qword [ebx + edx], xmm1
add edx, 0x20
sub edi, 1
jne 0x4d0700
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
cmp ebx, edi
jge 0x4d07c0
lea esp, [esp]
movsd xmm1, qword [ecx + ebx*8]
subsd xmm1, qword [ecx + eax*8]
mov edx, dword [esi + 0x6c]
mulsd xmm1, xmm0
addsd xmm1, qword [edx + eax*8]
movsd qword [edx + ebx*8], xmm1
inc ebx
cmp ebx, edi
jl 0x4d07a0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov ebx, dword [esp + 0x2c]
add edi, edx
lea eax, [edi - 1]
jmp 0x4d07d3
add edi, edx
add dword [esp + 0x18], 4
add ebx, edx
sub dword [esp + 0x30], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
jne 0x4d0651
lea ebx, [eax + 1]
cmp ebx, edi
jge 0x4d0920
mov edx, dword [esi + 0x6c]
movsd xmm0, qword [edx + edi*8]
subsd xmm0, qword [edx + eax*8]
movsd xmm1, qword [ecx + edi*8]
subsd xmm1, qword [ecx + eax*8]
mov edx, edi
sub edx, ebx
cmp edx, 4
divsd xmm0, xmm1
jl 0x4d08f3
mov ebp, 8
sub ebp, ecx
mov dword [esp + 0x28], ebp
mov ebp, 0xfffffff0
sub ebp, ecx
mov dword [esp + 0x24], ebp
mov ebp, edi
sub ebp, ebx
lea edx, [ebx*8 + 0x10]
sub ebp, 4
mov dword [esp + 0x20], edx
shr ebp, 2
add edx, ecx
inc ebp
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
lea esp, [esp]
movsd xmm1, qword [edx - 0x10]
subsd xmm1, qword [ecx + eax*8]
mov ebx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x24]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
add ebp, edx
movsd qword [ebx + ebp], xmm1
movsd xmm1, qword [edx - 8]
subsd xmm1, qword [ecx + eax*8]
mov ebx, dword [esi + 0x6c]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
movsd qword [ebx + ebp + 8], xmm1
movsd xmm1, qword [edx]
subsd xmm1, qword [ecx + eax*8]
mov ebx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x20], 0x20
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
movsd qword [ebx + ebp], xmm1
movsd xmm1, qword [edx + 8]
mov ebx, dword [esi + 0x6c]
subsd xmm1, qword [ecx + eax*8]
mov ebp, dword [esp + 0x28]
mulsd xmm1, xmm0
addsd xmm1, qword [ebx + eax*8]
add ebx, ebp
movsd qword [ebx + edx], xmm1
add edx, 0x20
sub dword [esp + 0x30], 1
jne 0x4d0860
mov ebx, dword [esp + 0x34]
cmp ebx, edi
jge 0x4d0920
jmp 0x4d0900
movsd xmm1, qword [ecx + ebx*8]
subsd xmm1, qword [ecx + eax*8]
mov edx, dword [esi + 0x6c]
mulsd xmm1, xmm0
addsd xmm1, qword [edx + eax*8]
movsd qword [edx + ebx*8], xmm1
inc ebx
cmp ebx, edi
jl 0x4d0900
mov ebp, dword [esi + 0x74]
mov eax, dword [esi + 0x4c]
cmp ebp, eax
jl 0x4d0935
mov edx, dword [esi + 0x6c]
movsd xmm0, qword [edx + eax*8 - 8]
jmp 0x4d0938
xorps xmm0, xmm0
mov edx, dword [esi + 0x48]
movsd xmm2, qword [0x5fb270]
lea edi, [edx + eax]
cmp ebp, edi
movsd qword [esi + 0x10], xmm0
jl 0x4d096c
mov ebx, dword [esi + 0x50]
shr ebx, 2
test bl, 1
mov ebx, dword [esi + 0x6c]
je 0x4d0965
movsd xmm0, qword [ebx + edi*8 - 8]
jmp 0x4d0970
movsd xmm0, qword [ebx + edx*8]
jmp 0x4d0970
movapd xmm0, xmm2
cmp ebp, eax
movsd qword [esi + 0x18], xmm0
jl 0x4d0984
mov ebx, dword [esi + 0x6c]
movsd xmm1, qword [ebx + eax*8 - 8]
jmp 0x4d0987
xorps xmm1, xmm1
cmp ebp, edi
jl 0x4d09a5
mov eax, dword [esi + 0x50]
shr eax, 2
test al, 1
mov eax, dword [esi + 0x6c]
je 0x4d09a0
movsd xmm2, qword [eax + edi*8 - 8]
jmp 0x4d09a5
movsd xmm2, qword [eax + edx*8]
xor eax, eax
cvtsi2sd xmm0, edx
subsd xmm2, xmm1
divsd xmm0, xmm2
test edi, edi
jle 0x4d09e2
jmp 0x4d09c0
mov edx, dword [esi + 0x6c]
movsd xmm2, qword [edx + eax*8]
lea edx, [edx + eax*8]
subsd xmm2, xmm1
mulsd xmm2, xmm0
movsd qword [edx], xmm2
mov edx, dword [esi + 0x4c]
add edx, dword [esi + 0x48]
inc eax
cmp eax, edx
jl 0x4d09c0
movsd xmm2, qword [esi + 0x20]
subsd xmm2, xmm1
mulsd xmm2, xmm0
movsd qword [esi + 0x20], xmm2
movsd xmm2, qword [esi + 0x10]
subsd xmm2, xmm1
mulsd xmm2, xmm0
movsd qword [esi + 0x10], xmm2
movsd xmm2, qword [esi + 0x18]
subsd xmm2, xmm1
mulsd xmm2, xmm0
movsd qword [esi + 0x18], xmm2
mov esi, dword [sym.imp.MSVCR90.dll_free]
test ecx, ecx
je 0x4d0a28
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call esi
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
je 0x4d0a40
push eax
call esi
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret