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

Disassembly:
sub esp, 0x44
mov eax, dword [0x10110f1c]
push esi
push edi
mov edi, dword [esp + 0x50]
mov esi, dword [eax + 0x3e40]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
cmp dword [edi + 0x48], 0xffffffff
je 0x1004efb1
push edi
call fcn.1004f648
mov eax, dword [esp + 0x24]
pop ecx
cmp byte [eax + 0x5a74], 0
je 0x1004efcb
push 0
push 0x100d2be8
push 0
call fcn.10012d15
add esp, 0xc
mov eax, dword [edi + 0x54]
mov dword [esi + 0xf4], eax
movsx eax, word [edi + 0x1c8]
movss xmm1, dword [edi + 0x50]
movss xmm0, dword [edi + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x44]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x30], xmm0
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
movsx ecx, word [edi + 0x1c6]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x1004f03c
movsx eax, word [edi + 0x4c]
subss xmm0, xmm1
push eax
push edi
movss dword [esp + 0x28], xmm0
call fcn.100209d8
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x40]
pop ecx
movss dword [eax + 8], xmm0
movss xmm0, dword [esp + 0x34]
pop ecx
comiss xmm0, dword [edi + 0xf0]
jb 0x1004f3be
movss xmm0, dword [edi + 0xf8]
comiss xmm0, xmm1
jb 0x1004f3be
and dword [esp + 0x40], 0
lea ecx, [edi + 4]
mov eax, dword [edi + 0x6c]
cmp eax, 0x1000000
jne 0x1004f08d
test byte [ecx], 0x40
je 0x1004f091
mov eax, dword [edi + 0x68]
push ecx
and eax, 1
mov dword [esp], 0x3f800000
add eax, 0x2d
push eax
call fcn.1000ab6c
pop ecx
pop ecx
lea ecx, [edi + 4]
mov dword [esp + 0x40], eax
mov edx, dword [edi + 0x70]
xor eax, eax
cmp edx, 0x1000000
cmove edx, eax
and dword [esp + 0x3c], eax
mov dword [esp + 0x20], edx
cmp dword [edi + 0x44], eax
jg 0x1004f0ba
mov eax, dword [edi + 0x150]
cmp eax, dword [edi + 0x14c]
jne 0x1004f0d4
test byte [ecx], 0x80
je 0x1004f0d4
test dword [edi + 0x64], 0x10000
je 0x1004f0cd
mov eax, dword [edi + 0x74]
jmp 0x1004f0d0
mov eax, dword [edi + 0x78]
mov dword [esp + 0x3c], eax
mov ax, word [edi + 0x1ce]
shr ax, 0xf
xor al, 1
mov word [esp + 0x4a], ax
mov eax, edx
or eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
jne 0x1004f103
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x44], eax
je 0x1004f103
cmp byte [esp + 0x4a], 0
je 0x1004f147
test dword [ecx], 0x100000
jne 0x1004f130
movups xmm0, xmmword [edi + 0x10c]
mov edi, dword [esi + 0x264]
lea esi, [esp + 8]
add edi, 0x60
movups xmmword [esp + 8], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
mov ecx, dword [edi + 0x160]
push 0
push dword [esi + 0x264]
call fcn.1003a122
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1004f157
test edx, edx
je 0x1004f207
movss xmm0, dword [edi + 0xdc]
movss xmm1, dword [edi + 0x100]
movss xmm2, dword [edi + 0x108]
maxss xmm0, dword [edi + 0xfc]
maxss xmm1, dword [esp + 0x38]
minss xmm2, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x14], xmm2
minss xmm0, dword [edi + 0x104]
movss dword [esp + 0x10], xmm0
test eax, eax
je 0x1004f1dd
comiss xmm2, xmm1
jbe 0x1004f1dd
push 0
push ecx
and dword [esp], 0
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003a4ad
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1004f207
comiss xmm2, xmm1
jbe 0x1004f207
push 0
push ecx
and dword [esp], 0
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003a4ad
cmp byte [esp + 0x4a], 0
je 0x1004f2ec
mov ecx, dword [edi + 0x20]
movsx eax, word [edi + 0x1ce]
lea eax, [ecx + eax*8]
mov dword [esp + 0x20], eax
cmp ecx, eax
jmp 0x1004f2e2
movsx eax, word [ecx + 4]
imul esi, eax, 0x70
push eax
lea eax, [esp + 0xc]
push edi
push eax
add esi, dword [edi + 0x10]
call fcn.1004f6d6
movss xmm0, dword [edi + 0x100]
add esp, 0xc
maxss xmm0, dword [esp + 0xc]
movss xmm2, dword [edi + 0xfc]
maxss xmm2, dword [esp + 8]
movss xmm1, dword [edi + 0x104]
minss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x108]
minss xmm0, dword [esp + 0x14]
movss dword [esp + 8], xmm2
movss dword [esp + 0x10], xmm1
push 0
push ecx
and dword [esp], 0
push dword [eax]
movss dword [esp + 0x20], xmm0
lea eax, [esp + 0x1c]
movss xmm0, dword [esi + 0x20]
maxss xmm0, xmm2
push eax
lea eax, [esp + 0x18]
push eax
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0xc]
mov esi, dword [esp + 0x38]
minss xmm0, xmm1
mov ecx, dword [esi + 0x264]
movss dword [esp + 0x24], xmm0
call fcn.1003a4ad
mov ecx, dword [esp + 0x50]
add ecx, 8
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
jbe 0x1004f22a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1004f353
movss xmm1, dword [esp + 0x38]
comiss xmm1, dword [edi + 0x100]
jb 0x1004f353
movss xmm0, dword [edi + 0x108]
comiss xmm0, xmm1
jbe 0x1004f353
movss xmm0, dword [edi + 0x80]
push ecx
mov ecx, dword [esi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x7c]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
call fcn.1003a323
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x1004f3c2
movss xmm1, dword [esp + 0x30]
comiss xmm1, dword [edi + 0x100]
jb 0x1004f3c2
movss xmm0, dword [edi + 0x108]
comiss xmm0, xmm1
jbe 0x1004f3c2
movss xmm0, dword [edi + 0x80]
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x264]
mov dword [esp], 0x3f800000
push dword [edi + 0x74]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.1003a323
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x18]
jne 0x1004f3e6
xor edx, edx
cmp dword [edi + 0x40], edx
jle 0x1004f3e6
xor ecx, ecx
mov eax, dword [edi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [ecx + eax - 6], 0
cmp edx, dword [edi + 0x40]
jl 0x1004f3d1
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x1004f50c
movss xmm0, dword [edi + 0x54]
addss xmm0, dword [0x100ba4c4]
movsx eax, word [edi + 0x4c]
push eax
push edi
maxss xmm0, dword [esi + 0x1e4]
mov byte [edi + 0x1e1], 1
movss dword [esp + 0x20], xmm0
subss xmm0, dword [edi + 0xc0]
movss dword [esp + 0x58], xmm0
call fcn.100209d8
movss xmm0, dword [esp + 0x58]
and dword [esp + 0x58], 0
pop ecx
movss dword [eax + 0xc], xmm0
movss xmm0, dword [esi + 0x1ec]
minss xmm0, dword [esp + 0x1c]
movss xmm1, dword [edi + 0x54]
mov ax, word [edi + 0x1d4]
pop ecx
movss dword [edi + 0x120], xmm0
movss dword [edi + 0x100], xmm0
movss xmm0, dword [esi + 0x1ec]
movss dword [edi + 0x128], xmm0
movss dword [edi + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x50]
mov word [edi + 0x1d2], ax
subss xmm1, dword [edi + 0xc0]
movss dword [esi + 0xf4], xmm1
cmp dword [edi + 0x40], 0
movss dword [edi + 0x54], xmm1
subss xmm1, xmm0
movss dword [edi + 0x50], xmm1
jle 0x1004f4e4
mov esi, dword [esp + 0x50]
xor edx, edx
mov ecx, dword [edi + 0x10]
lea edx, [edx + 0x70]
inc esi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [edi + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp esi, dword [edi + 0x40]
jl 0x1004f4c0
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x10]
add eax, 0x20
push eax
push esi
call fcn.1004b2f5
mov eax, dword [edi + 0x10]
pop ecx
pop ecx
mov ecx, dword [edi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [esi + 0x264]
call fcn.1003a122
test byte [edi + 0x64], 1
jne 0x1004f515
inc dword [edi + 0x68]
mov byte [edi + 0x1d7], 0
pop edi
pop esi
add esp, 0x44
ret