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

Disassembly:
sub esp, 0x54
mov eax, dword [0x8815d0]
xor eax, esp
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ecx
cmp ecx, dword [esp + 0x64]
je 0x4d75e0
movss xmm0, dword [0x5b89d4]
movss xmm1, dword [0x5c0050]
movss xmm6, dword [0x5b89fc]
movss xmm4, dword [0x5b89b8]
movss xmm5, dword [0x511784]
push edi
nop word [eax + eax]
mov edi, dword [esp + 0x70]
movss xmm3, dword [ecx]
addss xmm3, xmm0
mov eax, dword [edi + 8]
mov edi, dword [edi + 0x10]
movzx edx, byte [eax + 4]
dec edx
mov eax, edx
shr eax, 0x1f
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x50f650]
cvtpd2ps xmm0, xmm0
mulss xmm3, xmm0
mulss xmm3, xmm1
cvttss2si eax, xmm3
cmp eax, edx
mov ecx, eax
cmova ecx, edx
movd xmm0, eax
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x50f650]
lea eax, [ecx + 1]
cmp eax, edx
cmova eax, edx
movzx edx, word [edi + ecx*4 + 2]
mov dword [esp + 0x3c], eax
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x44], edx
xor edx, edx
movzx eax, word [edi + eax*4 + 2]
mov dword [esp + 0x38], eax
movzx eax, word [edi + ecx*4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
subss xmm3, xmm0
movd xmm0, eax
movss xmm2, dword [ecx + 4]
shr eax, 0x1f
addss xmm2, xmm6
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x50f650]
cvtpd2ps xmm1, xmm0
mulss xmm1, xmm2
mulss xmm1, xmm4
cvttss2si ecx, xmm1
mov eax, ecx
div dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], edx
xor edx, edx
movzx edi, word [edi + eax*4]
mov eax, edi
mov dword [esp + 0x3c], edi
shr eax, 0x1f
movd xmm0, edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x50f650]
cvtpd2ps xmm1, xmm0
mulss xmm1, xmm2
mulss xmm1, xmm4
cvttss2si ecx, xmm1
mov eax, ecx
div edi
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov edi, edx
addsd xmm0, qword [ecx*8 + 0x50f650]
mov ecx, dword [esp + 0x30]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
add eax, ecx
xor edx, edx
mov dword [esp + 0x48], eax
lea eax, [ecx + 1]
div dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add edx, dword [esp + 0x44]
mov dword [esp + 0x4c], edx
xor edx, edx
movss xmm0, dword [esp + 0x28]
lea eax, [edi + ecx]
mov dword [esp + 0x50], eax
lea eax, [edi + 1]
div dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
mov eax, 8
add edx, ecx
mov ecx, 4
mov dword [esp + 0x54], edx
xor edx, edx
comiss xmm3, xmm5
cmovae edx, eax
xor eax, eax
comiss xmm0, xmm5
cmovae eax, ecx
lea ecx, [esp + 0x48]
add eax, ecx
mov edx, dword [eax + edx]
mov ecx, edx
mov eax, dword [edi + 0x14]
shl ecx, 0xa
add eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x18]
movzx ecx, byte [eax + edx*2]
movzx edi, byte [eax + edx*2 + 1]
mov edx, ecx
cmp ecx, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
cmova edx, edi
mov dword [esp + 0x20], edi
mov eax, dword [ecx]
cmp eax, edx
cmova eax, edx
cmp dword [esp + 0x44], edi
mov dword [ecx], eax
mov edx, edi
mov ecx, dword [esp + 0x74]
cmova edx, dword [esp + 0x44]
cmp dword [ecx], edx
cmova edx, dword [ecx]
mov dword [ecx], edx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4d757f
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
add dword [esi + 4], 0xc
jmp 0x4d75a4
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.004d6f70
movss xmm4, dword [0x5b89b8]
movss xmm5, dword [0x511784]
movss xmm6, dword [0x5b89fc]
mov ecx, dword [esp + 0x40]
movss xmm0, dword [0x5b89d4]
add ecx, 8
movss xmm1, dword [0x5c0050]
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x68]
jne 0x4d7380
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00432bfc
add esp, 0x54
ret
mov ecx, dword [esp + 0x54]
mov eax, edx
mov dword [edx], esi
pop esi
xor ecx, esp
call fcn.00432bfc
add esp, 0x54
ret