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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [0x5d4b58]
push esi
mov esi, ecx
push edi
mov edi, dword [ebx + 0x3e48]
cmp dword [esi + 0x48], 0xffffffff
je 0x467393
call fcn.004678c2
cmp byte [ebx + 0x5aa4], 0
je 0x4673ab
push 0
mov edx, 0x48d044
xor ecx, ecx
call fcn.0045684a
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 0x467405
movsx edx, word [esi + 0x4c]
movaps xmm0, xmm5
mov ecx, esi
subss xmm0, xmm6
call fcn.004447fd
movss dword [eax + 8], xmm0
comiss xmm5, dword [esi + 0xf0]
movss xmm2, dword [0x4963c8]
jb 0x46778a
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm6
jb 0x46778a
and dword [esp + 0x14], 0
lea ecx, [esi + 4]
mov eax, dword [esi + 0x6c]
cmp eax, 0x1000000
jne 0x467456
test byte [ecx], 0x40
je 0x46745a
mov ecx, dword [esi + 0x68]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.004468f2
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 0x46747f
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x467499
test byte [ecx], 0x80
je 0x467499
test dword [esi + 0x64], 0x10000
je 0x467492
mov eax, dword [esi + 0x74]
jmp 0x467495
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 0x4674c6
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x4674c6
test dl, dl
je 0x467523
test dword [ecx], 0x100000
jne 0x467504
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.00460ee3
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x467533
test ebx, ebx
je 0x4675e5
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 0x4675bf
comiss xmm2, xmm1
jbe 0x4675bf
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.004606f8
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0x34]
test ebx, ebx
je 0x4675e5
comiss xmm2, xmm1
jbe 0x4675e5
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.004606f8
cmp byte [esp + 0x12], 0
je 0x4676ae
mov ebx, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [ebx + eax*8]
mov dword [esp + 0x34], eax
cmp ebx, eax
ja 0x4676ae
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.004606f8
add ebx, 8
cmp ebx, dword [esp + 0x34]
jbe 0x467609
mov eax, dword [esp + 0x18]
test eax, eax
je 0x467715
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [esi + 0x100]
jb 0x467715
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x467715
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.0046057e
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jne 0x467780
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x100]
jb 0x467780
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x467780
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.0046057e
movss xmm2, dword [0x4963c8]
jmp 0x46778e
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x3c]
jne 0x4677ae
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x4677ae
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 0x46779d
cmp ebx, dword [esp + 0x20]
jne 0x4678ab
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.004447fd
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 0x467885
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 0x467865
mov edx, dword [esi + 0x10]
mov ecx, edi
add edx, 0x20
call fcn.0046818c
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [edi + 0x264]
call fcn.00460ee3
test byte [esi + 0x64], 1
jne 0x4678b4
inc dword [esi + 0x68]
pop edi
mov byte [esi + 0x1d7], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret