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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f1f5b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x54]
push 0
lea esi, [ebx + ebx*2 - 2]
push 4
push esi
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0xc0], xmm0
movsd qword [esp + 0xb8], xmm0
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], esi
call fcn.004cbf70
cmp byte [edi + 4], 0
jne 0x4d2171
xor al, al
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
call fcn.00412b00
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
mov eax, dword [eax + 0x48]
movq xmm0, qword [eax]
mov ecx, dword [edi + 0x6c]
movsd xmm2, qword [0x5fb270]
movq qword [esp + 0x3c], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x4c], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esp + 0x54], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esp + 0x5c], xmm0
cvtsi2sd xmm1, ebx
subsd xmm1, xmm2
movapd xmm0, xmm2
divsd xmm0, xmm1
xorps xmm1, xmm1
movsd qword [ecx + 0x18], xmm1
mov edx, dword [edi + 0x6c]
movsd qword [edx + 0x10], xmm1
mov ecx, dword [edi + 0x6c]
movsd qword [ecx + 8], xmm1
mov edx, dword [edi + 0x6c]
mov ecx, 1
xor eax, eax
cmp ebx, ecx
mov dword [esp + 0xe0], 0
movsd qword [esp + 0xcc], xmm0
movsd qword [edx], xmm1
movsd qword [esp + 0x34], xmm0
mov dword [esp + 0x18], ecx
jle 0x4d23b4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov ebx, 0x20
lea eax, [eax + eax*2 - 3]
mov dword [esp + 0x14], 0x28
add esi, ebx
mov dword [esp + 0x20], eax
jmp 0x4d2259
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x54]
jge 0x4d226e
test ecx, ecx
jl 0x4d226e
mov eax, dword [eax + 0x48]
add eax, dword [esp + 0x14]
jmp 0x4d2271
mov eax, dword [eax + 0x48]
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x74], xmm0
movq xmm0, qword [eax + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x90]
movq qword [esp + 0x80], xmm0
movq xmm0, qword [eax + 0x20]
push edx
movq qword [esp + 0x8c], xmm0
call fcn.0052d3b0
movq xmm0, qword [esp + 0x94]
movq qword [esi - 0x20], xmm0
movq xmm0, qword [esp + 0x9c]
movq qword [esi - 0x18], xmm0
mov eax, dword [edi + 0x6c]
movsd xmm0, qword [esp + 0x3c]
movsd qword [ebx + eax], xmm0
movq xmm1, qword [esp + 0xa4]
movq qword [esi - 0x10], xmm1
movq xmm1, qword [esp + 0xac]
movq qword [esi - 8], xmm1
mov ecx, dword [edi + 0x6c]
mov eax, dword [esp + 0x20]
movsd qword [ebx + ecx + 8], xmm0
movq xmm1, qword [esp + 0xb4]
add dword [esp + 0x1c], 0x28
movq qword [esi], xmm1
movq xmm1, qword [esp + 0xbc]
movq qword [esi + 8], xmm1
mov edx, dword [edi + 0x6c]
movsd qword [ebx + edx + 0x10], xmm0
addsd xmm0, qword [esp + 0xd4]
movsd qword [esp + 0x3c], xmm0
movq xmm0, qword [esp + 0x6c]
movq qword [esp + 0x44], xmm0
movq xmm0, qword [esp + 0x74]
movq qword [esp + 0x4c], xmm0
movq xmm0, qword [esp + 0x7c]
movq qword [esp + 0x54], xmm0
movq xmm0, qword [esp + 0x84]
inc eax
add esp, 8
add ebx, 0x18
add esi, 0x30
cmp eax, dword [esp + 0x1c]
movq qword [esp + 0x54], xmm0
movq xmm0, qword [esp + 0x84]
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x18], eax
jl 0x4d2255
movsd xmm2, qword [0x5fb270]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
movq xmm0, qword [esp + 0xbc]
mov ebx, dword [esp + 0x28]
shl eax, 4
movq qword [eax + ebx], xmm0
movq xmm0, qword [esp + 0xc4]
add eax, ebx
movq qword [eax + 8], xmm0
mov eax, dword [edi + 0x6c]
movsd qword [eax + esi*8 + 0x18], xmm2
mov ecx, dword [edi + 0x6c]
movsd qword [ecx + esi*8 + 0x10], xmm2
mov edx, dword [edi + 0x6c]
movsd qword [edx + esi*8 + 8], xmm2
mov eax, dword [edi + 0x6c]
push ebx
mov ecx, edi
movsd qword [eax + esi*8], xmm2
call fcn.004cf080
mov ecx, edi
call fcn.004cba10
test ebx, ebx
je 0x4d2419
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4