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

Disassembly:
sub esp, 0x40
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [0x6815a8]
mov eax, dword [esi + 0x5c]
mov ebp, dword [edi + 0x3f04]
cmp eax, 0xffffffff
je 0x4a7004
mov edx, dword [esi + 0x164]
imul ecx, eax, 0x68
add ecx, dword [esi + 0x10]
test byte [esi + 0x78], 1
je 0x4a6fa7
mov eax, 0x48
jmp 0x4a6fb9
xor eax, eax
cmp byte [esi + 0x1d4], al
setne al
lea eax, [eax*4 + 0x40]
movss xmm0, dword [eax + ecx]
maxss xmm0, dword [edx + 0x120]
movss dword [eax + ecx], xmm0
movss xmm1, dword [edx + 0x124]
addss xmm1, dword [esi + 0xa8]
movss xmm0, dword [esi + 0x68]
maxss xmm0, xmm1
movss dword [esi + 0x68], xmm0
mov eax, dword [edx + 0x1bc]
mov dword [ecx + 0x3c], eax
movss xmm0, dword [esi + 0x70]
maxss xmm0, dword [edx + 0x144]
movss dword [esi + 0x70], xmm0
cmp byte [edi + 0x53b8], 0
je 0x4a701e
push 0
push 0x54b4e0
push 0
call fcn.00477310
add esp, 0xc
mov eax, dword [esi + 0x68]
mov dword [ebp + 0x10c], eax
movsx eax, byte [esi + 0x1c2]
movss xmm2, dword [esi + 0x64]
movss xmm1, dword [esi + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x58]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x30], xmm1
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
movsx ecx, byte [esi + 0x1c1]
mov dword [esp + 0x38], ecx
test eax, eax
jne 0x4a7088
movsx ecx, word [esi + 0x60]
test ecx, ecx
jne 0x4a7071
lea eax, [esi + 0x17c]
jmp 0x4a707d
mov eax, dword [esi + 0x188]
lea eax, [eax + ecx*8]
add eax, 0xfffffffc
movaps xmm0, xmm1
subss xmm0, xmm2
movss dword [eax], xmm0
comiss xmm1, dword [esi + 0x104]
push ebx
jb 0x4a7413
movss xmm0, dword [esi + 0x10c]
comiss xmm0, xmm2
jb 0x4a7413
mov eax, dword [esi + 0x80]
lea edi, [esi + 4]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp eax, 0x1000000
je 0x4a70c5
mov ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x4a70ea
test byte [edi], 0x40
je 0x4a70ea
mov eax, dword [esi + 0x7c]
push ecx
and eax, 1
mov dword [esp], 0x3f800000
add eax, 0x2f
push eax
call fcn.00474aa0
add esp, 8
mov dword [esp + 0x18], eax
mov ecx, eax
mov ebx, dword [esi + 0x84]
xor eax, eax
cmp ebx, 0x1000000
mov dword [esp + 0x10], eax
cmove ebx, eax
cmp dword [esi + 0x58], eax
jg 0x4a7112
mov eax, dword [esi + 0x164]
cmp eax, dword [esi + 0x160]
jne 0x4a7132
test byte [edi], 0x80
je 0x4a7132
test dword [esi + 0x78], 0x10000
je 0x4a7128
mov eax, dword [esi + 0x88]
jmp 0x4a712e
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x10], eax
mov dl, byte [esi + 0x1c5]
mov eax, ebx
or eax, dword [esp + 0x10]
shr dl, 7
or eax, ecx
mov byte [esp + 0x54], dl
jne 0x4a7157
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x14], eax
je 0x4a7157
test dl, dl
jne 0x4a7191
test dword [edi], 0x100000
jne 0x4a717a
movups xmm0, xmmword [esi + 0x120]
mov eax, dword [ebp + 0x288]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x174]
push 0
push dword [ebp + 0x288]
call fcn.0048e2c0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4a719d
test ebx, ebx
je 0x4a724f
movss xmm0, dword [esi + 0xf0]
movss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x34]
maxss xmm0, dword [esi + 0x110]
maxss xmm1, dword [esi + 0x114]
minss xmm2, dword [esi + 0x11c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0xf8]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x24], xmm2
minss xmm0, dword [esi + 0x118]
movss dword [esp + 0x20], xmm0
test ecx, ecx
je 0x4a7226
comiss xmm2, xmm1
jbe 0x4a7226
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x288]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00489290
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x1c]
test ebx, ebx
je 0x4a724f
comiss xmm2, xmm1
jbe 0x4a724f
push 0
push ecx
mov ecx, dword [ebp + 0x288]
lea eax, [esp + 0x28]
mov dword [esp], 0
push ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00489290
cmp byte [esp + 0x54], 0
jne 0x4a7336
mov edi, dword [esi + 0x20]
movsx eax, byte [esi + 0x1c5]
lea ebx, [edi + eax*8]
cmp edi, ebx
ja 0x4a7336
nop
movsx eax, byte [edi + 4]
mov ecx, dword [esi + 0x10]
movss xmm0, dword [esi + 0xf0]
imul eax, eax, 0x68
movss xmm2, dword [eax + ecx + 8]
comiss xmm2, xmm0
movss xmm1, dword [eax + ecx + 0xc]
jae 0x4a7296
movaps xmm2, xmm0
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm1
ja 0x4a72a6
movaps xmm1, xmm0
movss xmm0, dword [esi + 0x64]
maxss xmm0, dword [esi + 0x114]
maxss xmm2, dword [esi + 0x110]
minss xmm1, dword [esi + 0x118]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0x68]
minss xmm0, dword [esi + 0x11c]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + ecx + 0x20]
comiss xmm2, xmm0
jae 0x4a72f9
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + ecx + 0xc]
comiss xmm0, xmm1
ja 0x4a730a
movss dword [esp + 0x20], xmm0
push 0
push ecx
mov ecx, dword [ebp + 0x288]
lea eax, [esp + 0x28]
mov dword [esp], 0
push dword [edi]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00489290
add edi, 8
cmp edi, ebx
jbe 0x4a7270
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a73a0
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x114]
jb 0x4a73a0
movss xmm0, dword [esi + 0x11c]
comiss xmm0, xmm1
jbe 0x4a73a0
movss xmm0, dword [esi + 0x94]
push ecx
mov ecx, dword [ebp + 0x288]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
call fcn.004883a0
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x28]
jne 0x4a7417
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [esi + 0x114]
jb 0x4a7417
movss xmm0, dword [esi + 0x11c]
comiss xmm0, xmm1
jbe 0x4a7417
movss xmm0, dword [esi + 0x94]
lea eax, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x288]
mov dword [esp], 0x3f800000
push dword [esi + 0x88]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x90]
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.004883a0
jmp 0x4a7417
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x3c]
jne 0x4a744c
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x4a744c
xor edi, edi
nop word [eax + eax]
movsx eax, byte [esi + 0x1c4]
lea edi, [edi + 0x68]
cmp edx, eax
mov eax, dword [esi + 0x10]
setl cl
inc edx
mov byte [edi + eax - 6], cl
cmp edx, dword [esi + 0x54]
jl 0x4a7430
cmp ebx, dword [esp + 0x28]
pop ebx
jne 0x4a7593
movss xmm1, dword [esi + 0x68]
xor edi, edi
movaps xmm0, xmm1
mov al, byte [esi + 0x1c8]
addss xmm0, dword [0x672010]
mov byte [esi + 0x1d4], 1
maxss xmm0, dword [ebp + 0x200]
minss xmm0, dword [ebp + 0x208]
movss dword [esi + 0x134], xmm0
movss dword [esi + 0x114], xmm0
movss xmm0, dword [ebp + 0x208]
movss dword [esi + 0x13c], xmm0
movss dword [esi + 0x11c], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xf4]
subss xmm0, dword [esi + 0x64]
mov byte [esi + 0x1c7], al
subss xmm1, dword [esi + 0xd4]
movss dword [ebp + 0x10c], xmm1
movss dword [esi + 0x68], xmm1
subss xmm1, xmm0
movss dword [esi + 0x64], xmm1
cmp dword [esi + 0x54], edi
jle 0x4a750e
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x68]
inc edi
mov al, byte [ecx + edx - 0xf]
mov byte [ecx + edx - 0x11], al
mov eax, dword [esi + 0x134]
mov dword [ecx + edx - 0x44], eax
cmp edi, dword [esi + 0x54]
jl 0x4a74f0
mov eax, dword [esi + 0x10]
movss xmm4, dword [eax + 0x20]
movss xmm3, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
movss xmm1, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [ebp + 0x288]
movss dword [esp + 0x3c], xmm4
movups xmmword [ebp + 0x22c], xmm0
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [ebp + 0x288]
movups xmm0, xmmword [esp + 0x3c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmmword [eax + ecx*8 - 0x10], xmm0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x174]
movzx eax, byte [eax + 0x57]
push eax
push dword [ebp + 0x288]
call fcn.0048e2c0
test byte [esi + 0x78], 1
mov byte [esi + 0x1ca], 0
jne 0x4a75a3
inc dword [esi + 0x7c]
pop edi
pop esi
pop ebp
add esp, 0x40
ret