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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x4ba040]
xor eax, esp
mov dword [esp + 0x64], eax
mov edx, dword [0x4bead0]
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov edi, dword [edx + 0x3f8c]
mov dword [esp + 0x28], edi
cmp dword [esi + 0x48], 0xffffffff
je 0x46e80b
call fcn.0046f0c0
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x5e24], 0
je 0x46e829
push 0
mov edx, 0x4b5da8
xor ecx, ecx
call fcn.0041d550
mov edx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esi + 0x54]
mov dword [edi + 0xfc], eax
mov ecx, dword [esi + 0x44]
movsx eax, word [esi + 0x1dc]
movss xmm1, dword [esi + 0x50]
movss xmm7, dword [esi + 0x54]
mov dword [esp + 0x20], eax
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
movsx eax, word [esi + 0x1da]
mov dword [esp + 0x4c], eax
movsx eax, word [esi + 0x4c]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x40], xmm7
test eax, eax
jne 0x46e88c
lea eax, [esi + 0x178]
mov dword [esp + 0x48], eax
lea eax, [esi + 0x180]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x174]
jmp 0x46e8b6
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea edi, [eax - 0xc]
lea edi, [edi + ecx*8]
mov dword [esp + 0x48], edi
lea edi, [eax - 4]
lea edi, [edi + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
add eax, 0xfffffff0
mov ecx, dword [esi + 0x44]
test byte [esi + 0x68], 1
je 0x46e8d8
test ecx, ecx
je 0x46e8c9
test dword [esi + 0x68], 0x10000
je 0x46e8d8
movaps xmm0, xmm7
subss xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0xf8]
movss xmm2, dword [0x4b6ac4]
jb 0x46ec99
movss xmm0, dword [esi + 0x100]
comiss xmm0, xmm1
jb 0x46ec99
cmp word [esi + 0x1be], 0xffff
je 0x46e923
movss xmm0, dword [edx + 0xe04]
comiss xmm0, xmm1
jb 0x46e923
comiss xmm7, xmm0
jbe 0x46e923
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x44]
mov dword [ecx], eax
mov eax, dword [esi + 0x70]
lea edx, [esi + 4]
mov dword [esp + 0x1c], 0
cmp eax, 0x1000000
jne 0x46e94e
test byte [edx], 0x40
je 0x46e952
mov ecx, dword [esi + 0x6c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.00405c00
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x74]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x14], eax
cmove ecx, eax
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x44], eax
jle 0x46e987
test byte [edx], 0x80
je 0x46e987
test dword [esi + 0x68], 0x10000
je 0x46e980
mov eax, dword [esi + 0x78]
jmp 0x46e983
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
mov ax, word [esi + 0x1e2]
shr ax, 0xf
xor al, 1
mov word [esp + 0x26], ax
mov eax, ecx
or eax, dword [esp + 0x14]
or eax, dword [esp + 0x1c]
jne 0x46e9b6
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
je 0x46e9b6
cmp byte [esp + 0x26], 0
je 0x46e9f6
test dword [edx], 0x100000
jne 0x46e9d9
movups xmm0, xmmword [esi + 0x114]
mov eax, dword [edi + 0x270]
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x168]
push 0
push dword [edi + 0x270]
call fcn.00463140
movss xmm7, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x46ea06
test ecx, ecx
je 0x46eac5
movss xmm0, dword [esi + 0xe4]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x38]
maxss xmm0, dword [esi + 0x104]
maxss xmm1, dword [esi + 0x108]
minss xmm2, dword [esi + 0x110]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esi + 0xec]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x5c], xmm2
minss xmm0, dword [esi + 0x10c]
movss dword [esp + 0x58], xmm0
test eax, eax
je 0x46ea98
comiss xmm2, xmm1
jbe 0x46ea98
push 0
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004620b0
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46eac5
comiss xmm2, xmm1
jbe 0x46eac5
push 0
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004620b0
cmp byte [esp + 0x26], 0
je 0x46ebad
mov edi, dword [esi + 0x20]
movsx eax, word [esi + 0x1e2]
lea eax, [edi + eax*8]
mov dword [esp + 0x2c], eax
cmp edi, eax
ja 0x46eba9
nop dword [eax]
movsx eax, word [edi + 4]
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x108]
imul ecx, eax, 0x70
mov eax, dword [esi + 0x10]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x110]
movss xmm2, dword [ecx + eax + 0xc]
movss xmm1, dword [ecx + eax + 8]
movaps xmm3, xmm2
maxss xmm1, dword [esi + 0xe4]
minss xmm3, dword [esi + 0xec]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [ecx + eax + 0x20]
maxss xmm1, dword [esi + 0x104]
minss xmm3, dword [esi + 0x10c]
comiss xmm1, xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x58], xmm3
jae 0x46eb6c
movss dword [esp + 0x50], xmm0
comiss xmm2, xmm3
ja 0x46eb77
movss dword [esp + 0x58], xmm2
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x60]
push dword [edi]
push eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x270]
call fcn.004620b0
add edi, 8
cmp edi, dword [esp + 0x2c]
jbe 0x46eaf0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46ec17
movss xmm1, dword [esp + 0x38]
comiss xmm1, dword [esi + 0x108]
jb 0x46ec17
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x46ec17
movss xmm0, dword [esi + 0x84]
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x44]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
call fcn.00461eb0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x46ee3e
movss xmm1, dword [esp + 0x40]
comiss xmm1, dword [esi + 0x108]
jb 0x46ee3e
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x46ee3e
movss xmm0, dword [esi + 0x84]
lea eax, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0x3f800000
push dword [esi + 0x78]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm1
call fcn.00461eb0
movss xmm2, dword [0x4b6ac4]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x4c]
jne 0x46ecc5
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x46ecc5
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [eax + ecx - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x46ecb0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x46ee1d
movss xmm1, dword [esi + 0x54]
mov eax, dword [esp + 0x48]
addss xmm1, xmm2
maxss xmm1, dword [edi + 0x1f0]
mov byte [esi + 0x1f6], 1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xc8]
movss dword [eax], xmm0
minss xmm1, dword [edi + 0x1f8]
mov ax, word [esi + 0x1e8]
movss dword [esi + 0x128], xmm1
movss dword [esi + 0x108], xmm1
movss xmm0, dword [edi + 0x1f8]
movss xmm1, dword [esi + 0x54]
movss dword [esi + 0x130], xmm0
movss dword [esi + 0x110], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe8]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1e6], ax
subss xmm1, dword [esi + 0xc8]
movss dword [edi + 0xfc], xmm1
xor edi, edi
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edi
jle 0x46ed94
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x128]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x46ed74
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x28]
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 [edx + 0x270]
movss dword [esp + 0x50], xmm4
movups xmmword [edx + 0x21c], xmm0
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [edx + 0x270]
movups xmm0, xmmword [esp + 0x50]
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 + 0x168]
movzx eax, word [eax + 0x5c]
push eax
push dword [edx + 0x270]
call fcn.00463140
test byte [esi + 0x68], 1
mov byte [esi + 0x1eb], 0
jne 0x46ee2d
inc dword [esi + 0x6c]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.0049c694
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x4b6ac4]
jmp 0x46ec9d