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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0xe3c018]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 0x10]
movaps xmm1, xmm0
xorps xmm0, xmm0
mov dword [esp + 0x18], ecx
comiss xmm0, xmm1
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
jb 0x4d8284
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0xc], 0
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
xor eax, eax
mov word [esp + 0x9d], ax
mov byte [esp + 0x9f], al
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0x9c], 1
movups xmmword [esp + 0x8c], xmm0
cmp edi, ecx
jne 0x4d831f
mov eax, dword [ecx]
lea edi, [esp + 0x80]
movups xmm0, xmmword [ecx + 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x88], eax
mov al, byte [ecx + 0x1c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [esp + 0x8c], xmm0
mov byte [esp + 0x9c], al
jmp 0x4d8328
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 8], 0
lea eax, [esp + 0xa0]
mov dword [ecx + 0xc], 0
movaps xmm0, xmm1
mulss xmm0, dword [0xe169b4]
push 0x54
push 0
push eax
mulss xmm0, xmm1
mov byte [ecx + 0x1c], 1
mulss xmm1, dword [0xdfe164]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x24], xmm1
call fcn.00d9ac00
movss xmm3, dword [0xdfe180]
lea ecx, [esp + 0xac]
divss xmm3, dword [ebp + 0x14]
add esp, 0xc
push dword [esp + 0x14]
push edi
call fcn.004d5410
xor edi, edi
push 0x9180
push edi
mov dword [esp + 0x84], edi
call fcn.00d9e0a2
add esp, 8
mov dword [esp + 0x78], 0x308
mov esi, eax
lea ecx, [esp + 0xa0]
xorps xmm3, xmm3
mov dword [esp + 0x74], esi
xorps xmm4, xmm4
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm4
call fcn.004d5490
test al, al
je 0x4d87d0
nop word [eax + eax]
cmp dword [esp + 0xb4], 0
jne 0x4d8448
test edi, edi
jle 0x4d8428
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x74]
movss xmm3, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
movss dword [esp], xmm0
push 0
call fcn.004d7e30
mov esi, dword [esp + 0x88]
add esp, 0x14
xor edi, edi
mov dword [esp + 0x7c], edi
movss xmm0, dword [esp + 0xa0]
movss xmm1, dword [esp + 0xa4]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm1
jmp 0x4d8454
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
cmp byte [esp + 0xb0], 0
movss xmm2, dword [esp + 0xa8]
movss xmm4, dword [esp + 0xac]
movaps xmm3, xmm2
subss xmm3, xmm0
movss dword [esp + 0x2c], xmm2
movaps xmm0, xmm4
movss dword [esp + 0x38], xmm2
subss xmm0, xmm1
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x6c], xmm3
movaps xmm2, xmm0
movss dword [esp + 0x70], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm2, xmm0
jne 0x4d84fa
comiss xmm2, dword [0xdfcd98]
ja 0x4d84fa
mov eax, dword [esp + 0xec]
cmp eax, dword [esp + 0xe8]
jne 0x4d8784
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xd4]
cmp ecx, eax
je 0x4d84fa
movss xmm1, dword [ecx]
ucomiss xmm1, dword [0xe20500]
lahf
test ah, 0x44
jp 0x4d8784
movaps xmm0, xmm2
call fcn.004cd0f0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0xdfcd90]
call fcn.004cd0b0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [0xdfcd94]
call fcn.004cd0b0
fld dword [esp + 0x14]
push ecx
fstp dword [esp]
movss dword [esp + 0x6c], xmm0
call fcn.00dc3bee
add esp, 4
test ax, ax
jg 0x4d8687
push ecx
fldz
fstp dword [esp]
call fcn.00dc3bee
add esp, 4
test ax, ax
jg 0x4d8687
movss xmm2, dword [esp + 0x14]
xorps xmm1, xmm1
movaps xmm0, xmm2
subss xmm0, xmm1
call fcn.004cd0b0
movaps xmm3, xmm0
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm3
jae 0x4d869e
xorps xmm0, xmm0
call fcn.004cd0b0
movaps xmm1, xmm0
movaps xmm0, xmm2
call fcn.004cd0b0
maxss xmm1, xmm0
mulss xmm1, dword [esp + 0x68]
comiss xmm1, xmm3
jae 0x4d869e
movss xmm1, dword [esp + 0x18]
divss xmm1, xmm2
movss xmm0, dword [esp + 0x30]
movaps xmm2, xmm1
movss xmm3, dword [esp + 0x2c]
mulss xmm1, dword [esp + 0x70]
mulss xmm2, dword [esp + 0x6c]
subss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm2
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm3, xmm1
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, xmm2
addss xmm2, dword [esp + 0xac]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x54], xmm2
mov edx, dword [esp + 0x78]
lea ecx, [edi + 1]
movss dword [esp + 0x50], xmm3
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jle 0x4d86f6
mov eax, ecx
test eax, eax
jns 0x4d865d
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x4d86e8
test edi, edi
jle 0x4d86d9
lea eax, [edi + edi*2]
shl eax, 4
test eax, eax
je 0x4d86e2
push eax
push esi
call fcn.00d9e0a2
add esp, 8
mov esi, eax
jmp 0x4d86e4
movss xmm2, dword [esp + 0x14]
ucomiss xmm2, dword [0xdf3aa0]
lahf
test ah, 0x44
jp 0x4d85ab
movss xmm4, dword [esp + 0x34]
movss xmm3, dword [esp + 0x30]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x54], xmm4
jmp 0x4d863b
push esi
call fcn.00d9e0ad
add esp, 4
xor esi, esi
mov dword [esp + 0x74], esi
mov ecx, dword [esp + 0x2c]
mov edx, edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x78], edx
movups xmm0, xmmword [esp + 0x30]
lea eax, [edi]
mov edi, ecx
lea eax, [eax + eax*2]
mov dword [esp + 0x7c], edi
add eax, eax
movups xmmword [esi + eax*8], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [esi + eax*8 + 0x10], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [esi + eax*8 + 0x20], xmm0
cmp byte [esp + 0xb0], 0
je 0x4d8766
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x74]
movss xmm3, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
movss dword [esp], xmm0
push 1
call fcn.004d7e30
mov esi, dword [esp + 0x88]
add esp, 0x14
xor edi, edi
mov dword [esp + 0x7c], edi
jmp 0x4d8784
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x34], xmm0
lea ecx, [esp + 0xa0]
call fcn.004d5490
test al, al
jne 0x4d83e0
test edi, edi
jle 0x4d87d0
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x74]
movss xmm3, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
movss dword [esp], xmm0
push 0
call fcn.004d7e30
mov esi, dword [esp + 0x88]
add esp, 0x14
push esi
call fcn.00d9e0ad
add esp, 4
push dword [esp + 0xe8]
call fcn.00d9e0ad
add esp, 4
mov dword [esp + 0x88], 0
push dword [esp + 0x80]
call fcn.00d9e0ad
mov ecx, dword [esp + 0x100]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret