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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x18]
mov edx, dword [ecx + 0x2ac]
add edx, 4
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 8
pop ecx
lea esi, [ebp + 0x20]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x48]
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
xorps xmm1, xmm1
mov edi, dword [ebp + 0x10]
add edi, 0x14
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x90], xmm1
mov ecx, dword [esi + 0x48]
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], ecx
cmp dword [ebp + 0x40], ecx
jne 0x4dfdde
mov ecx, esi
call fcn.004da592
push dword [ebp + 0x18]
imul ecx, eax, 0x78
mov eax, dword [edi]
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [ecx + eax + 0x48]
mov ecx, dword [edi + 0x2ac]
add ecx, 4
movsd qword [esp + 0x6c], xmm0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x54]
push eax
lea ecx, [edi + 0x244]
call fcn.004bcf20
mov edi, dword [esp + 0x18]
xorps xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x90], xmm1
jmp 0x4dfde2
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp + 0x44]
and dword [esp + 0x78], 0
comisd xmm1, xmm0
movsd xmm2, qword [ecx + eax*8]
subsd xmm2, qword [ebp + 0x48]
movsd qword [esp + 0x80], xmm2
jbe 0x4dfefc
cmp byte [ebp + 0x54], 0
movd xmm0, dword [ebp + 0x1c]
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm2
movsd qword [esp + 0x48], xmm0
addsd xmm0, xmm1
movsd qword [esp + 0x58], xmm0
je 0x4dfe32
mov eax, dword [ebp + 0x50]
jmp 0x4dfe45
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x18]
movzx eax, byte [ecx + eax]
imul ecx, eax, 0x78
mov eax, dword [edi]
mov eax, dword [ecx + eax + 0x5c]
mov ecx, dword [ebp + 8]
lea esi, [esp + 0x48]
mov ecx, dword [ecx]
push ecx
mov edx, dword [ecx + 0x48]
mov ecx, esp
sub esp, 0x20
mov dword [ecx], eax
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov ecx, edi
call edx
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x78], 0
je 0x4dff02
cmp dword [esi + 0x7c], 0
jne 0x4dff02
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x18]
mov ecx, dword [esi + 0x2ac]
lea edi, [esi + 0x244]
add ecx, 4
mov dword [esp + 0x14], edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x54]
push eax
mov ecx, edi
call fcn.004bcf20
mov edx, dword [esi + 0x2ac]
mov edi, eax
push dword [ebp + 0x18]
add edx, 4
push edx
mov ecx, dword [edx]
call dword [ecx + 0x54]
mov ecx, dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 0x18]
xor eax, eax
test edi, edi
mov edx, dword [ecx + 0x2ac]
cmovs edi, eax
add edx, 4
push edx
mov ecx, dword [edx]
call dword [ecx + 0x54]
push edi
push esi
xor esi, esi
lea ecx, [esp + 0xa8]
push esi
push eax
call fcn.004a453e
mov edi, dword [esp + 0x10]
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.004bc5ae
test eax, eax
jne 0x4dff6e
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x78], al
je 0x4dff25
mov ecx, dword [esp + 0x3c]
cmp dword [ebp + 0x40], ecx
jne 0x4dff25
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
call fcn.004a06e8
mov dword [esp + 0x1c], eax
push eax
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push eax
call fcn.004e6ce5
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov esi, dword [esp + 0x20]
cmp dword [ebp + 0x40], eax
jne 0x4e0441
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xc], edx
cmp edx, dword [eax + 0x18]
jge 0x4e0441
mov ecx, dword [ebp + 0xc]
lea edi, [ecx + 0x10]
mov dword [esp + 0x30], edi
jmp 0x4e00b7
mov edi, dword [esp + 0x10]
push esi
mov ecx, edi
call fcn.004bca48
sub esp, 0x10
lea esi, [esp + 0xb0]
mov edi, esp
lea ecx, [esp + 0x78]
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004bc6f7
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x6c]
call fcn.004a50bc
test al, al
jne 0x4e0092
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.004da592
movd xmm2, dword [ebp + 0x1c]
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x34]
mov esi, dword [esi + 0x38]
movd xmm0, dword [esp + 0x6c]
cvtdq2pd xmm2, xmm2
imul ecx, eax, 0x78
mov eax, dword [esp + 0x18]
movaps xmm1, xmm2
addsd xmm1, qword [esi + edx*8]
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 0x34]
mov eax, dword [eax]
cvtdq2pd xmm0, xmm0
subsd xmm1, qword [ebp + 0x48]
mulsd xmm0, qword [ecx + eax + 0x48]
addsd xmm2, qword [esi + edx*8]
addsd xmm1, xmm0
movd xmm0, dword [esp + 0x74]
cvtdq2pd xmm0, xmm0
subsd xmm2, qword [ebp + 0x48]
mulsd xmm0, qword [ecx + eax + 0x48]
movsd qword [esp + 0x48], xmm1
addsd xmm2, xmm0
movsd xmm0, qword [ebp + 0x20]
comisd xmm1, xmm0
movsd qword [esp + 0x58], xmm2
ja 0x4e0033
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [ebp + 0x30]
comisd xmm0, xmm2
ja 0x4e0044
movsd qword [esp + 0x58], xmm0
mov ecx, dword [ebp + 8]
push dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x34], eax
call fcn.004bca66
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x2c]
push dword [ebp + 0xc]
push eax
call fcn.004e6ce5
add esp, 0x10
lea esi, [esp + 0x48]
mov eax, dword [eax]
or eax, 0xff000000
push eax
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov ecx, edi
call dword [esp + 0x54]
jmp 0x4e0095
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc esi
mov dword [esp + 0x14], esi
call fcn.004bc5ae
cmp esi, eax
jb 0x4dff6a
jmp 0x4dfeff
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x34]
push dword [esp + 0x1c]
push dword [ebp + 0x10]
movzx edi, byte [edx + eax]
lea eax, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x50], edi
call fcn.004e6d5f
add esp, 0x10
cmp byte [esp + 0x6c], 0
je 0x4e00e4
mov edi, dword [esp + 0x68]
jmp 0x4e00f1
mov ecx, dword [esp + 0x18]
imul eax, edi, 0x78
mov edi, dword [ecx]
mov edi, dword [eax + edi + 0x58]
and dword [esp + 0x38], 0
mov dword [esp + 0x2c], edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x34], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x30]
sub eax, dword [esp + 0xc]
add ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004daffe
mov ecx, eax
test ecx, ecx
je 0x4e012d
mov edx, dword [edi + 0x18]
sub edx, dword [esp + 0xc]
jmp 0x4e0149
mov eax, dword [edi + 0x30]
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
push 1
push eax
call fcn.004daffe
xor edx, edx
mov ecx, eax
inc edx
test ecx, ecx
je 0x4e0177
cmp dword [ecx + 0x14], 0x10
mov dword [esp + 0x10], ecx
jb 0x4e0159
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
shr eax, 4
test al, 1
je 0x4e01d8
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x4e01d8
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + eax]
mov byte [esp + 0x8c], al
cmp al, 0x80
jae 0x4e01ab
push dword [esp + 0x8c]
call fcn.004da545
pop ecx
mov ecx, eax
mov dword [esp + 0x10], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e01a2
jmp 0x4e01cf
movzx eax, al
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004da7c6
pop ecx
lea eax, [esp + 0x3c]
pop ecx
mov ecx, eax
mov dword [esp + 0x10], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e01c8
sub ecx, edx
xor edx, edx
inc edx
mov dword [esp + 0x14], ecx
movd xmm0, dword [ebp + 0x1c]
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0xc]
add edx, ecx
cvtdq2pd xmm0, xmm0
push ecx
mov dword [esp + 0x28], edx
push dword [esp + 0x44]
movaps xmm1, xmm0
addsd xmm0, qword [eax + edx*8]
addsd xmm1, qword [eax + ecx*8]
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x38]
subsd xmm0, qword [ebp + 0x48]
subsd xmm1, qword [ebp + 0x48]
push dword [ebp + 0x54]
push dword [ebp + 0x50]
addsd xmm0, qword [esp + 0xa8]
addsd xmm1, qword [esp + 0xa8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
movsd qword [esp + 0x7c], xmm0
subsd xmm0, xmm1
push eax
movsd qword [esp + 0x70], xmm1
addsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0xc0], xmm0
call fcn.004e6f5c
add esp, 0x28
cmp dword [esp + 0x1c], 0
je 0x4e02b6
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2ac]
call fcn.004c6906
dec eax
cmp dword [ebp + 0x18], eax
jge 0x4e02b6
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x7c]
cmp dword [ecx], 0
mov dword [esp + 0xc], ecx
mov eax, dword [edx]
mov eax, dword [eax + 0x48]
jne 0x4e0297
or esi, 0xff000000
push esi
jmp 0x4e029b
push dword [esp + 0x28]
sub esp, 0x20
lea esi, [esp + 0x6c]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
call eax
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0xc]
jmp 0x4e02e6
push dword [esp + 0x28]
mov ecx, dword [ebp + 8]
lea esi, [esp + 0x4c]
sub esp, 0x20
mov eax, dword [ecx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x48]
cmp dword [esp + 0x1c], 0
mov ecx, dword [ebp + 0x10]
lea edi, [ecx + 0x7c]
mov dword [esp + 0xc], edi
je 0x4e0363
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2ac]
call fcn.004c6906
dec eax
cmp dword [ebp + 0x18], eax
jge 0x4e0363
cmp dword [edi], 1
mov eax, dword [esp + 0x28]
mov byte [esp + 0xb], 1
jne 0x4e036c
mov eax, dword [esi]
lea esi, [esp + 0x48]
push ecx
mov ecx, esp
sub esp, 0x20
mov edx, dword [eax + 0x48]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x20]
mov ecx, eax
sar ecx, 0x18
movzx ecx, cl
push ecx
push ecx
movd xmm0, ecx
lea ecx, [esp + 0x30]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x5502d8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004d5d88
mov eax, dword [eax]
jmp 0x4e036c
mov eax, dword [esp + 0x28]
mov byte [esp + 0xb], 0
test byte [esp + 0x34], 1
je 0x4e03ae
mov ecx, dword [esp + 0x7c]
lea esi, [esp + 0x48]
cmp dword [ecx + 0x1c], 0
sete cl
movzx ecx, cl
push ecx
push dword [esp + 0x30]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
push edi
call fcn.004e3a51
add esp, 0x3c
jmp 0x4e03f6
push dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
push dword [esp + 0x18]
movsd xmm0, qword [esp + 0x58]
push dword [esp + 0x18]
addsd xmm0, qword [eax + 0x50]
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
lea esi, [esp + 0x54]
push ecx
push ecx
mov eax, dword [eax]
movsd qword [esp], xmm0
push dword [eax + 0x1150]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov ecx, edi
call dword [edx + 0x88]
cmp byte [esp + 0xb], 0
je 0x4e0429
mov eax, dword [esp + 0xc]
cmp dword [eax], 2
jne 0x4e0429
mov eax, dword [edi]
lea esi, [esp + 0x48]
push ecx
mov ecx, esp
sub esp, 0x20
mov edx, dword [eax + 0x48]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov ecx, edi
call edx
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], edx
cmp edx, dword [eax + 0x18]
jl 0x4e00b4
cmp dword [esp + 0x1c], 0
movd xmm0, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [esp + 0x80]
addsd xmm0, qword [esp + 0x90]
movsd qword [esp + 0x68], xmm0
addsd xmm0, qword [esp + 0x98]
movsd qword [esp + 0x48], xmm0
addsd xmm0, qword [eax + 0x60]
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x58], xmm0
je 0x4e04d0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2ac]
call fcn.004c6906
dec eax
cmp dword [ebp + 0x18], eax
jge 0x4e04d0
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x7c], 0
jne 0x4e04d0
mov eax, dword [edi]
or esi, 0xff000000
push esi
sub esp, 0x20
lea esi, [esp + 0x6c]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x48]
jmp 0x4e05a2
cmp byte [ebp + 0x54], 0
je 0x4e04db
push dword [ebp + 0x50]
jmp 0x4e0543
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2ac]
call fcn.004c6906
lea edx, [eax - 1]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
mov al, byte [ecx + eax]
movzx eax, al
cmp dword [ebp + 0x18], edx
jge 0x4e0527
mov edx, dword [edi]
lea esi, [esp + 0x48]
imul ecx, eax, 0x78
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push dword [ecx + eax + 0x5c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [edx + 0x48]
jmp 0x4e055b
mov ecx, dword [esp + 0x18]
imul edx, eax, 0x78
mov ecx, dword [ecx]
cmp byte [edx + ecx + 0x60], 0
je 0x4e053d
push dword [edx + ecx + 0x5c]
jmp 0x4e0543
push dword [ecx + 0xf5c]
mov eax, dword [edi]
lea esi, [esp + 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x48]
cmp dword [esp + 0x1c], 0
je 0x4e05a2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2ac]
call fcn.004c6906
mov edi, dword [ebp + 0x10]
dec eax
cmp dword [ebp + 0x18], eax
jge 0x4e05a5
cmp dword [edi + 0x7c], 0
je 0x4e05a5
mov eax, dword [esi]
lea esi, [esp + 0x48]
push ecx
mov ecx, esp
sub esp, 0x20
mov edx, dword [eax + 0x48]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call edx
mov edi, dword [ebp + 0x10]
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [ebp + 0x20]
comisd xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jbe 0x4e05c5
movsd qword [esp + 0x48], xmm1
cmp dword [edi + 0x120], 0
movsd xmm0, qword [ebp + 0x30]
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x58], xmm0
je 0x4e0606
push dword [ebp + 0x18]
lea eax, [esp + 0xa4]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2ac]
call fcn.004c475d
mov byte [esp + 0xb], 1
cmp dword [eax + 4], 0
jne 0x4e060b
mov byte [esp + 0xb], 0
mov eax, dword [ebp + 0x40]
cmp eax, dword [esp + 0x3c]
jne 0x4e062c
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
call fcn.004a0689
test eax, eax
jne 0x4e0654
cmp byte [esp + 0xb], al
jne 0x4e0654
mov eax, dword [ebp + 0x40]
push eax
sub esp, 0x20
lea esi, [esp + 0x6c]
push 8
pop ecx
mov edi, esp
push dword [ebp + 0x18]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push esi
call fcn.004e44d8
add esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x40]
inc ecx
cmp ecx, dword [eax + 0x48]
jge 0x4e07e7
test byte [edi + 0x178], 1
je 0x4e0681
push ecx
mov ecx, eax
call fcn.004da9ac
test eax, eax
setne al
mov byte [esp + 0x78], al
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0x29]
mov ecx, edi
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x220]
push eax
call fcn.004d34b6
test al, al
je 0x4e0726
mov eax, dword [esi]
mov ecx, edi
push 0x32
mov eax, dword [eax + 0x48]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
push eax
call fcn.004d3336
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004d3440
push ecx
push ecx
lea esi, [ebp + 0x20]
movd xmm0, eax
lea eax, [esp + 0xc8]
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push 3
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004d6068
push 8
pop ecx
mov esi, eax
lea edi, [esp + 0xd0]
mov eax, dword [esp + 0x54]
add esp, 0x2c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
lea esi, [esp + 0xa4]
mov eax, esp
or ecx, 0xff000000
sub esp, 0x20
mov dword [eax], ecx
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
call dword [esp + 0x64]
cmp byte [esp + 0x78], 0
je 0x4e07e7
mov eax, dword [ebp + 0x10]
lea esi, [esp + 0x48]
movsd xmm1, qword [esp + 0x80]
lea edi, [esp + 0xa0]
push 8
pop ecx
test byte [eax + 0x17c], 1
movsd xmm0, qword [eax + 0x60]
rep movsd dword es:[edi], dword [esi]
subsd xmm1, xmm0
je 0x4e076b
minsd xmm1, qword [esp + 0x68]
addsd xmm0, xmm1
jmp 0x4e0770
movsd xmm0, qword [ebp + 0x30]
mov ecx, dword [esp + 0x7c]
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0xb0], xmm0
mov ecx, dword [ecx + 0x60]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4e07bc
lea edx, [esp + 0x44]
mov ecx, eax
push edx
call fcn.004d3e1e
lea esi, [esp + 0xa0]
push dword [eax]
push 1
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
call fcn.004dc4f5
jmp 0x4e07e4
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.004d3e1e
lea esi, [esp + 0xa0]
push dword [eax]
push 1
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
call dword [esp + 0x50]
add esp, 0x2c
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x50