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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [0x65a600]
push esi
mov esi, ecx
push edi
mov edi, dword [ebx + 0x3e48]
cmp dword [esi + 0x48], 0xffffffff
je 0x4df4e3
call fcn.004dfa12
cmp byte [ebx + 0x5aa4], 0
je 0x4df4fb
push 0
mov edx, 0x504e0c
xor ecx, ecx
call fcn.004ce99a
pop ecx
mov eax, dword [esi + 0x54]
mov dword [edi + 0xf4], eax
movsx eax, word [esi + 0x1c8]
movss xmm6, dword [esi + 0x50]
movss xmm5, dword [esi + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x44]
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x2c], xmm5
lea ecx, [eax + 1]
mov dword [esp + 0x1c], ecx
movsx ecx, word [esi + 0x1c6]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x4df555
movsx edx, word [esi + 0x4c]
movaps xmm0, xmm5
mov ecx, esi
subss xmm0, xmm6
call fcn.004bc94d
movss dword [eax + 8], xmm0
comiss xmm5, dword [esi + 0xf0]
movss xmm2, dword [0x50e190]
jb 0x4df8da
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm6
jb 0x4df8da
and dword [esp + 0x14], 0
lea ecx, [esi + 4]
mov eax, dword [esi + 0x6c]
cmp eax, 0x1000000
jne 0x4df5a6
test byte [ecx], 0x40
je 0x4df5aa
mov ecx, dword [esi + 0x68]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.004bea42
lea ecx, [esi + 4]
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 0x70]
xor eax, eax
cmp ebx, 0x1000000
cmove ebx, eax
and dword [esp + 0x18], eax
cmp dword [esi + 0x44], eax
jg 0x4df5cf
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x4df5e9
test byte [ecx], 0x80
je 0x4df5e9
test dword [esi + 0x64], 0x10000
je 0x4df5e2
mov eax, dword [esi + 0x74]
jmp 0x4df5e5
mov eax, dword [esi + 0x78]
mov dword [esp + 0x18], eax
mov dx, word [esi + 0x1ce]
mov eax, ebx
or eax, dword [esp + 0x18]
shr dx, 0xf
xor dl, 1
or eax, dword [esp + 0x14]
mov word [esp + 0x12], dx
jne 0x4df616
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x4df616
test dl, dl
je 0x4df673
test dword [ecx], 0x100000
jne 0x4df654
mov ecx, dword [edi + 0x264]
movss xmm0, dword [esi + 0x110]
movss xmm1, dword [esi + 0x114]
movss xmm2, dword [esi + 0x118]
mov eax, dword [esi + 0x10c]
mov dword [ecx + 0x60], eax
movss dword [ecx + 0x64], xmm0
movss dword [ecx + 0x68], xmm1
movss dword [ecx + 0x6c], xmm2
mov ecx, dword [esi + 0x160]
push 0
push dword [edi + 0x264]
call fcn.004d9033
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4df683
test ebx, ebx
je 0x4df735
movss xmm0, dword [esi + 0xdc]
movaps xmm1, xmm6
movaps xmm2, xmm5
maxss xmm0, dword [esi + 0xfc]
maxss xmm1, dword [esi + 0x100]
minss xmm2, dword [esi + 0x108]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xe4]
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x104]
movss dword [esp + 0x48], xmm0
test eax, eax
je 0x4df70f
comiss xmm2, xmm1
jbe 0x4df70f
push 0
push ecx
and dword [esp], 0
mov ecx, dword [edi + 0x264]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004d8848
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0x34]
test ebx, ebx
je 0x4df735
comiss xmm2, xmm1
jbe 0x4df735
push 0
push ecx
and dword [esp], 0
lea eax, [esp + 0x50]
mov ecx, dword [edi + 0x264]
push ebx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004d8848
cmp byte [esp + 0x12], 0
je 0x4df7fe
mov ebx, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [ebx + eax*8]
mov dword [esp + 0x34], eax
cmp ebx, eax
ja 0x4df7fe
movsx eax, word [ebx + 4]
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x100]
movss xmm2, dword [esi + 0xdc]
movss xmm1, dword [esi + 0xe4]
imul ecx, eax, 0x70
mov eax, dword [esi + 0x10]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x108]
push 0
push ecx
and dword [esp], 0
movss xmm3, dword [ecx + eax + 0xc]
maxss xmm2, dword [ecx + eax + 8]
push dword [ebx]
minss xmm1, xmm3
movss dword [esp + 0x58], xmm0
movss xmm0, dword [ecx + eax + 0x20]
lea eax, [esp + 0x54]
mov ecx, dword [edi + 0x264]
maxss xmm2, dword [esi + 0xfc]
push eax
minss xmm1, dword [esi + 0x104]
lea eax, [esp + 0x50]
push eax
maxss xmm0, xmm2
minss xmm3, xmm1
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x5c], xmm3
call fcn.004d8848
add ebx, 8
cmp ebx, dword [esp + 0x34]
jbe 0x4df759
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4df865
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [esi + 0x100]
jb 0x4df865
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x4df865
movss xmm0, dword [esi + 0x80]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
call fcn.004d86ce
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jne 0x4df8d0
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x100]
jb 0x4df8d0
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x4df8d0
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x34]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push dword [esi + 0x74]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.004d86ce
movss xmm2, dword [0x50e190]
jmp 0x4df8de
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x3c]
jne 0x4df8fe
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x4df8fe
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [ecx + eax - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x4df8ed
cmp ebx, dword [esp + 0x20]
jne 0x4df9fb
movss xmm1, dword [esi + 0x54]
mov ecx, esi
movsx edx, word [esi + 0x4c]
addss xmm1, xmm2
maxss xmm1, dword [edi + 0x1e4]
mov byte [esi + 0x1e1], 1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xc0]
call fcn.004bc94d
xor ebx, ebx
movss dword [eax + 0xc], xmm0
minss xmm1, dword [edi + 0x1ec]
mov ax, word [esi + 0x1d4]
movss dword [esi + 0x120], xmm1
movss dword [esi + 0x100], xmm1
movss xmm0, dword [edi + 0x1ec]
movss xmm1, dword [esi + 0x54]
movss dword [esi + 0x128], xmm0
movss dword [esi + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe0]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1d2], ax
subss xmm1, dword [esi + 0xc0]
movss dword [edi + 0xf4], xmm1
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], ebx
jle 0x4df9d5
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc ebx
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp ebx, dword [esi + 0x40]
jl 0x4df9b5
mov edx, dword [esi + 0x10]
mov ecx, edi
add edx, 0x20
call fcn.004e02dc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [edi + 0x264]
call fcn.004d9033
test byte [esi + 0x64], 1
jne 0x4dfa04
inc dword [esi + 0x68]
pop edi
mov byte [esi + 0x1d7], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret