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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [0x5eb148]
push esi
mov esi, ecx
push edi
mov edi, dword [ebx + 0x3e48]
cmp dword [esi + 0x48], 0xffffffff
je 0x465313
call fcn.00465842
cmp byte [ebx + 0x5aa4], 0
je 0x46532b
push 0
mov edx, 0x480004
xor ecx, ecx
call fcn.004547ca
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 0x465385
movsx edx, word [esi + 0x4c]
movaps xmm0, xmm5
mov ecx, esi
subss xmm0, xmm6
call fcn.0044277d
movss dword [eax + 8], xmm0
comiss xmm5, dword [esi + 0xf0]
movss xmm2, dword [0x488a38]
jb 0x46570a
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm6
jb 0x46570a
and dword [esp + 0x14], 0
lea ecx, [esi + 4]
mov eax, dword [esi + 0x6c]
cmp eax, 0x1000000
jne 0x4653d6
test byte [ecx], 0x40
je 0x4653da
mov ecx, dword [esi + 0x68]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.00444872
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 0x4653ff
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x465419
test byte [ecx], 0x80
je 0x465419
test dword [esi + 0x64], 0x10000
je 0x465412
mov eax, dword [esi + 0x74]
jmp 0x465415
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 0x465446
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x465446
test dl, dl
je 0x4654a3
test dword [ecx], 0x100000
jne 0x465484
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.0045ee63
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4654b3
test ebx, ebx
je 0x465565
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 0x46553f
comiss xmm2, xmm1
jbe 0x46553f
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.0045e678
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0x34]
test ebx, ebx
je 0x465565
comiss xmm2, xmm1
jbe 0x465565
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.0045e678
cmp byte [esp + 0x12], 0
je 0x46562e
mov ebx, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [ebx + eax*8]
mov dword [esp + 0x34], eax
cmp ebx, eax
ja 0x46562e
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.0045e678
add ebx, 8
cmp ebx, dword [esp + 0x34]
jbe 0x465589
mov eax, dword [esp + 0x18]
test eax, eax
je 0x465695
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [esi + 0x100]
jb 0x465695
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x465695
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.0045e4fe
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jne 0x465700
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x100]
jb 0x465700
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x465700
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.0045e4fe
movss xmm2, dword [0x488a38]
jmp 0x46570e
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x3c]
jne 0x46572e
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x46572e
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 0x46571d
cmp ebx, dword [esp + 0x20]
jne 0x46582b
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.0044277d
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 0x465805
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 0x4657e5
mov edx, dword [esi + 0x10]
mov ecx, edi
add edx, 0x20
call fcn.0046610c
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [edi + 0x264]
call fcn.0045ee63
test byte [esi + 0x64], 1
jne 0x465834
inc dword [esi + 0x68]
pop edi
mov byte [esi + 0x1d7], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret