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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x67f3c0]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [0x6815a8]
xor ecx, ecx
push esi
push edi
mov edi, dword [esp + 0x98]
xorps xmm0, xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], ecx
mov eax, dword [edi]
mov byte [edi + 0x67], 0
mov byte [esp + 0x44], cl
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], 1
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x7c], xmm0
test eax, eax
jle 0x4a04c9
xor esi, esi
xor edx, edx
mov ecx, dword [edi + 8]
mov eax, dword [ecx + edx + 0xc]
cmp eax, dword [edi + 0x24]
jl 0x4a0485
cmp byte [ecx + edx + 0x2c], 0
jne 0x4a0485
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x50], eax
je 0x4a0407
movups xmm0, xmmword [ecx + edx]
movups xmmword [ecx + esi], xmm0
movups xmm0, xmmword [ecx + edx + 0x10]
movups xmmword [ecx + esi + 0x10], xmm0
movups xmm0, xmmword [ecx + edx + 0x20]
movups xmmword [ecx + esi + 0x20], xmm0
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x50]
mov word [eax + esi + 0x2a], cx
mov eax, dword [eax + esi + 4]
test al, 0x40
je 0x4a041f
xor ecx, ecx
jmp 0x4a042a
test al, 0x80
mov ecx, 0
setne cl
inc ecx
cmp dword [esp + 0x50], 0
jle 0x4a0470
mov eax, dword [edi + 8]
mov eax, dword [esi + eax - 0x2c]
test al, 0x40
je 0x4a0440
xor eax, eax
jmp 0x4a044b
test al, 0x80
mov eax, 0
setne al
inc eax
test ecx, ecx
jne 0x4a0458
test eax, eax
je 0x4a0470
mov byte [esp + 0x44], 1
cmp eax, 2
jne 0x4a0470
mov eax, dword [esp + 0x44]
cmp ecx, 2
movzx eax, al
cmovne eax, dword [esp + 0x48]
mov dword [esp + 0x44], eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x50]
inc dword [esp + eax*4 + 0x6c]
inc ecx
mov dword [esp + 0x50], ecx
add esi, 0x30
jmp 0x4a04b6
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx + edx]
jne 0x4a0494
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [ecx + edx]
jne 0x4a04a3
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [ecx + edx]
mov ecx, dword [esp + 0x50]
jne 0x4a04b6
mov dword [edi + 0x18], 0
inc dword [esp + 0x40]
add edx, 0x30
mov eax, dword [edi]
cmp dword [esp + 0x40], eax
jl 0x4a03c6
cmp eax, ecx
je 0x4a053b
mov esi, dword [edi + 4]
cmp ecx, esi
jle 0x4a0537
test esi, esi
je 0x4a04e3
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x4a04e8
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
cmp esi, dword [edi + 4]
jle 0x4a0537
lea eax, [esi + esi*2]
shl eax, 4
push eax
call fcn.00477650
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x48], eax
test edx, edx
je 0x4a052d
mov ecx, dword [edi]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push edx
push eax
call fcn.00513870
push dword [edi + 8]
call fcn.00477680
mov eax, dword [esp + 0x58]
add esp, 0x10
mov ecx, dword [esp + 0x50]
mov dword [edi + 8], eax
mov dword [edi + 4], esi
mov dword [edi], ecx
mov eax, ecx
cmp byte [esp + 0x44], 0
je 0x4a055a
cmp eax, 1
jbe 0x4a055a
push 0x4a1920
push 0x30
push eax
push dword [edi + 8]
call fcn.005231d0
add esp, 0x10
mov edx, dword [esp + 0x6c]
test edx, edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
jle 0x4a0586
lea eax, [ecx + edx]
test eax, eax
jle 0x4a0586
mov eax, dword [esp + 0x58]
movss xmm0, dword [eax + 0x38a8]
jmp 0x4a058d
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x74], xmm0
test ecx, ecx
jle 0x4a05ab
test edx, edx
jle 0x4a05ab
movss xmm0, dword [eax + 0x38a8]
jmp 0x4a05ae
xorps xmm0, xmm0
xor eax, eax
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x18]
movss dword [esp + 0x80], xmm0
test eax, eax
je 0x4a05d8
mov dword [esp + 0x50], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x60]
test edx, edx
je 0x4a070c
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
jle 0x4a0705
mov esi, dword [edi + 8]
cmp dword [esi], edx
je 0x4a0603
inc eax
add esi, 0x30
cmp eax, ecx
jl 0x4a05f2
jmp 0x4a0705
test esi, esi
je 0x4a0705
test byte [esi + 4], 0x20
jne 0x4a0705
movzx eax, word [edi + 0x64]
mov ecx, esi
sub ecx, dword [edi + 8]
cwde
mov dword [esp + 0x48], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, word [edi + 0x64]
movsx ecx, dx
add eax, ecx
js 0x4a0705
cmp eax, dword [edi]
jge 0x4a0705
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edi + 8]
mov dword [esp + 0x38], eax
mov edx, dword [eax + 4]
test dl, 0x20
jne 0x4a0705
xor edx, dword [esi + 4]
test dl, 0xc0
jne 0x4a0705
movups xmm0, xmmword [esi]
lea edx, [esi + 0x30]
mov dword [esp + 0x54], edx
movzx edx, word [edi + 0x64]
mov ecx, dword [esp + 0x54]
test dx, dx
movups xmmword [esp + 0x5c], xmm0
cmovle ecx, eax
add eax, 0x30
movups xmm0, xmmword [esi + 0x10]
test dx, dx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
movups xmmword [esp + 0x18], xmm0
movups xmm0, xmmword [esi + 0x20]
cmovle esi, eax
movups xmmword [esp + 8], xmm0
jg 0x4a06b4
neg ecx
lea eax, [ecx + ecx*2]
shl eax, 4
push eax
push dword [esp + 0x58]
push esi
call fcn.00513870
mov eax, dword [esp + 0x44]
add esp, 0xc
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x18]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 8]
movups xmmword [eax + 0x20], xmm0
test dword [edi + 0xc], 0x400000
je 0x4a06f4
call fcn.00477610
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x50]
cmp eax, dword [edi + 0x14]
cmove ecx, eax
mov dword [esp + 0x50], ecx
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x4a08a9
mov eax, dword [0x6815a8]
mov esi, dword [eax + 0x3f04]
movss xmm0, dword [eax + 0x3894]
movaps xmm2, xmm0
mov dword [esp + 0x4c], esi
addss xmm2, dword [eax + 0x3c98]
movss xmm1, dword [esi + 0x108]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esi + 0x10c]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x2c]
movss dword [esi + 0x10c], xmm0
movss dword [esi + 0x108], xmm1
addss xmm2, dword [edi + 0x28]
movss dword [edi + 0x28], xmm2
movups xmm0, xmmword [eax + 0x391c]
lea eax, [esp + 0x5c]
push eax
movups xmmword [esp + 0x60], xmm0
push 0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x672008]
movss dword [esp + 0x70], xmm0
call fcn.0047c8d0
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0x15
movups xmmword [esp + 0x18], xmm0
call fcn.0047c8d0
push 0x50
push 0
push 0x54b490
call fcn.004996d0
push 2
mov byte [esp + 0x57], al
call fcn.0047c4b0
xor ecx, ecx
add esp, 0x20
mov dword [esp + 0x54], ecx
cmp byte [esp + 0x37], cl
je 0x4a0880
mov dword [esp + 0x48], ecx
cmp dword [edi], ecx
jle 0x4a0877
xor eax, eax
mov dword [esp + 0x38], eax
nop dword [eax]
mov esi, dword [edi + 8]
add esi, eax
test dword [esi + 4], 0x200000
jne 0x4a0863
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a0819
mov ecx, dword [ecx]
jmp 0x4a0822
mov ecx, dword [edi + 0x8c]
add ecx, dword [esi + 0x24]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
mov eax, dword [edi + 0x14]
cmp eax, dword [esi]
push 0
sete al
mov dword [esp + 0x2c], 0
movzx eax, al
push eax
push ecx
call fcn.0049f440
mov ecx, dword [esp + 0x64]
add esp, 0x10
test al, al
mov eax, dword [esp + 0x38]
cmovne ecx, esi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
inc ecx
add eax, 0x30
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], eax
cmp ecx, dword [edi]
jl 0x4a0800
mov esi, dword [esp + 0x4c]
call fcn.00473980
mov ecx, dword [esp + 0x54]
movss xmm0, dword [esp + 0x2c]
movss dword [esi + 0x108], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esi + 0x10c], xmm0
test ecx, ecx
je 0x4a08a9
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x84]
mov edx, dword [edi]
add eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 0x43b4]
cmp edx, ecx
jle 0x4a0968
test ecx, ecx
je 0x4a08f1
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, ecx
jmp 0x4a08f6
mov eax, 8
cmp eax, edx
mov esi, edx
cmovg esi, eax
cmp esi, ecx
jle 0x4a0962
lea eax, [esi + esi*2]
shl eax, 2
push eax
call fcn.00477650
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 0x43b8]
test edx, edx
je 0x4a0950
mov ecx, dword [ecx + 0x43b0]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push edx
push eax
call fcn.00513870
mov eax, dword [esp + 0x64]
push dword [eax + 0x43b8]
call fcn.00477680
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x43b8], eax
mov dword [ecx + 0x43b4], esi
jmp 0x4a096a
mov ecx, dword [esp + 0x58]
jmp 0x4a096a
mov ecx, eax
mov dword [ecx + 0x43b0], edx
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0xffffffff
mov byte [esp + 0x38], cl
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x4a0b59
xor edx, edx
mov dword [esp + 0x40], edx
mov esi, dword [edi + 8]
add esi, edx
test ecx, ecx
je 0x4a09a7
mov eax, dword [ecx + 0x10]
cmp eax, dword [esi + 0x10]
jge 0x4a09b5
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
mov edx, 1
mov eax, dword [esi]
cmp eax, dword [edi + 0x14]
movzx ecx, cl
cmove ecx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x4a09e6
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x4144], eax
cmove ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a09f1
mov ecx, dword [ecx]
jmp 0x4a09fa
mov ecx, dword [edi + 0x8c]
add ecx, dword [esi + 0x24]
mov eax, dword [esi + 4]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x20]
shr eax, 0x14
not al
and eax, 0xffffff01
comiss xmm1, xmm0
mov dword [esp + 0x2c], eax
ja 0x4a0a9a
mov eax, dword [0x6815a8]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
push ecx
push eax
call fcn.00469880
mov eax, dword [esp + 0x50]
add esp, 0x14
cmp byte [esp + 0x2c], 0
movss xmm0, dword [esp + 0x20]
movss xmm2, dword [eax + 0x3890]
addss xmm0, xmm2
je 0x4a0a6e
movss xmm1, dword [eax + 0x3c98]
addss xmm1, dword [eax + 0x38a8]
jmp 0x4a0a76
movss xmm1, dword [0x672010]
mov eax, dword [0x6815a8]
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [eax + 0x3c98]
mulss xmm0, dword [0x672054]
minss xmm1, xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 4]
movss dword [esi + 0x1c], xmm1
test al, 0x40
je 0x4a0aaa
xor edx, edx
jmp 0x4a0ab5
test al, 0x80
mov edx, 0
setne dl
inc edx
lea eax, [edx + edx*2]
cmp edx, dword [esp + 0x4c]
jne 0x4a0aca
mov ecx, dword [esp + 0x58]
movss xmm0, dword [ecx + 0x38a8]
mov ecx, dword [esp + edx*4 + 0x60]
addss xmm1, xmm0
mov dword [esp + 0x4c], edx
addss xmm1, dword [esp + eax*4 + 0x70]
movss dword [esp + eax*4 + 0x70], xmm1
lea eax, [ecx + 1]
mov dword [esp + edx*4 + 0x60], eax
lea ecx, [ecx + ecx*2]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [eax + 0x43b8]
mov dword [eax + ecx*4], edx
movss xmm0, dword [esi + 0x1c]
movss dword [eax + ecx*4 + 8], xmm0
movss dword [eax + ecx*4 + 4], xmm0
mov ecx, edx
mov eax, dword [esi + 0x1c]
inc ecx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x18], eax
add edx, 0x30
mov eax, dword [edi]
cmp ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], edx
jl 0x4a0996
movss xmm0, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x74]
mov dword [esp + 0x44], esi
movss dword [esp + 0x40], xmm0
jmp 0x4a0b5d
mov esi, dword [esp + 0x78]
movss xmm0, dword [esp + 0x70]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x40]
movss xmm2, dword [esp + 0x7c]
addss xmm2, dword [esp + 0x30]
movss dword [esp + 0x4c], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm3
movss dword [esp + 0x54], xmm2
addss xmm1, xmm2
addss xmm1, dword [esp + 0x4c]
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x4a0bfb
cmp eax, 1
jle 0x4a0bfb
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x4a0bfb
test al, al
jns 0x4a0bfb
push edi
call fcn.004a1350
movss xmm2, dword [esp + 0x58]
mov ecx, eax
add esp, 4
xorps xmm3, xmm3
test ecx, ecx
je 0x4a0bfb
test dword [ecx + 4], 0x200000
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
jne 0x4a0bfb
mov dword [edi + 0x14], eax
movss xmm1, dword [esp + 0x4c]
movss xmm4, dword [esp + 0x3c]
movss xmm0, dword [edi + 0x30]
addss xmm1, xmm4
subss xmm0, dword [edi + 0x28]
comiss xmm0, xmm1
seta cl
test cl, cl
je 0x4a0c33
subss xmm0, xmm4
subss xmm0, dword [esp + 0x4c]
subss xmm2, xmm0
maxss xmm2, xmm3
jmp 0x4a0c3a
movaps xmm2, xmm1
subss xmm2, xmm0
comiss xmm2, xmm3
jbe 0x4a0d54
test byte [edi + 0xc], 0x40
jne 0x4a0c75
test cl, cl
jne 0x4a0d54
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x6c]
add esi, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
test cl, cl
je 0x4a0c8c
mov eax, dword [esp + 0x84]
add eax, edx
jmp 0x4a0c92
test cl, cl
je 0x4a0c51
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x4c], esi
jmp 0x4a0c92
xor eax, eax
mov dword [esp + 0x44], esi
lea esi, [eax + eax*2]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
push ecx
movss dword [esp], xmm2
push dword [esp + 0x48]
mov eax, dword [eax + 0x43b8]
shl esi, 2
add eax, esi
push eax
call fcn.0049fd10
mov eax, dword [esp + 0x50]
add esp, 0xc
add eax, dword [esp + 0x54]
xorps xmm3, xmm3
cmp dword [esp + 0x54], eax
jge 0x4a0d54
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x43b8]
mov eax, dword [esi + ecx]
lea edx, [eax + eax*2]
cvttss2si eax, dword [esi + ecx + 4]
shl edx, 4
add edx, dword [edi + 8]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
ja 0x4a0d2f
mov eax, dword [edx + 4]
test al, 0x40
je 0x4a0d03
xor eax, eax
jmp 0x4a0d0e
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [edx + 0x18]
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x70]
subss xmm1, xmm2
movss dword [edx + 0x18], xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x70], xmm0
add esi, 0xc
sub dword [esp + 0x4c], 1
jne 0x4a0cd0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x40], xmm0
xor edx, edx
mov dword [esp + 0x4c], 0
movaps xmm2, xmm3
mov dword [edi + 0x40], 0
mov dword [esp + 0x44], edx
nop dword [eax]
lea ecx, [edx + edx*2]
shl ecx, 2
lea eax, [esp + 0x70]
add eax, ecx
mov dword [esp + 0x54], ecx
cmp edx, 2
jne 0x4a0da1
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm3
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [eax]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
mov esi, dword [esp + ecx + 0x6c]
xor ecx, ecx
test esi, esi
jle 0x4a0e0e
lea eax, [esi - 1]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
lea edx, [eax + eax*2]
shl edx, 4
nop dword [eax]
mov eax, dword [edi + 8]
movss dword [eax + edx + 0x14], xmm2
mov dword [eax + edx + 0x24], 0xffffffff
cmp ecx, dword [esp + 0x3c]
jge 0x4a0de9
mov edi, dword [esp + 0x58]
movss xmm0, dword [edi + 0x38a8]
mov edi, dword [esp + 0x28]
jmp 0x4a0dec
movaps xmm0, xmm3
addss xmm0, dword [eax + edx + 0x18]
inc ecx
add edx, 0x30
addss xmm2, xmm0
cmp ecx, esi
jl 0x4a0dc0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x44]
add eax, ecx
jmp 0x4a0e12
mov ecx, dword [esp + 0x54]
movss xmm1, dword [esp + ecx + 0x74]
inc edx
add dword [esp + 0x4c], esi
addss xmm2, xmm1
mov dword [esp + 0x44], edx
movaps xmm0, xmm1
addss xmm0, dword [eax]
maxss xmm0, xmm3
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp edx, 3
jl 0x4a0d70
push 0
lea ecx, [edi + 0x84]
call fcn.00486e40
cmp byte [esp + 0x38], 0
jne 0x4a0e5e
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 0x14]
mov eax, ecx
test ecx, ecx
jne 0x4a0e7d
cmp dword [edi + 0x18], ecx
jne 0x4a0e7d
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4a0e7d
mov ecx, dword [ecx]
mov eax, ecx
mov dword [edi + 0x14], ecx
jmp 0x4a0e81
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [edi + 0x1c], eax
mov byte [edi + 0x68], 0
mov eax, dword [esi + 0x4274]
test eax, eax
je 0x4a0eab
mov edx, dword [eax + 0x388]
test edx, edx
je 0x4a0eab
cmp dword [edx + 0x30], edi
jne 0x4a0eab
mov ecx, dword [eax + 4]
mov dword [edi + 0x1c], ecx
test ecx, ecx
je 0x4a10c4
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x4a10c4
mov esi, dword [edi + 8]
cmp dword [esi], ecx
je 0x4a0fba
inc eax
add esi, 0x30
cmp eax, edx
jl 0x4a0ec2
xorps xmm5, xmm5
mov esi, dword [esp + 0x58]
movss xmm7, dword [edi + 0x28]
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x40]
subss xmm0, xmm7
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm4, dword [edi + 0x4c]
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm5
movss dword [edi + 0x48], xmm3
movss xmm6, dword [edi + 0x30]
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm5
ucomiss xmm3, xmm4
movss dword [edi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x4a10ea
movss xmm0, dword [esi + 0x3c98]
mulss xmm0, dword [0x54b4c8]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
andps xmm0, xmmword [0x6722d0]
divss xmm0, dword [0x547160]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [esi + 0x3ea0]
jl 0x4a10e0
movss xmm1, dword [esi + 0x3c98]
mulss xmm1, dword [0x672044]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x4a10e0
comiss xmm4, xmm3
mulss xmm2, dword [esi + 0x18]
jbe 0x4a10cc
addss xmm3, xmm2
minss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x4a10f1
test esi, esi
je 0x4a0ed2
test byte [esi + 4], 0xc0
jne 0x4a0ed2
mov ecx, dword [0x6815a8]
mov eax, 0x2aaaaaab
movss xmm3, dword [edi + 0x30]
xorps xmm5, xmm5
subss xmm3, dword [edi + 0x28]
movss xmm4, dword [esp + 0x70]
movss xmm0, dword [ecx + 0x3c98]
mov ecx, esi
sub ecx, dword [edi + 8]
imul ecx
subss xmm3, xmm4
mov eax, dword [esp + 0x6c]
subss xmm3, dword [esp + 0x88]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x28], ecx
subss xmm3, dword [esp + 0x30]
cmp ecx, eax
jle 0x4a102f
movaps xmm1, xmm0
xorps xmm1, xmmword [0x6722f0]
jmp 0x4a1032
xorps xmm1, xmm1
movss xmm2, dword [esi + 0x14]
mov ecx, dword [edi]
subss xmm2, xmm4
mov eax, dword [esp + 0x28]
sub ecx, dword [esp + 0x84]
inc eax
addss xmm1, xmm2
cmp eax, ecx
jl 0x4a1059
movss xmm0, dword [0x672010]
addss xmm2, dword [esi + 0x18]
movss xmm4, dword [edi + 0x4c]
comiss xmm4, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x4a10a8
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x4a10a8
subss xmm2, xmm3
comiss xmm2, xmm4
jbe 0x4a0ed5
subss xmm1, xmm3
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm5
movss dword [edi + 0x50], xmm1
jmp 0x4a0ed5
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm5
movss dword [edi + 0x50], xmm0
jmp 0x4a0ed5
xorps xmm5, xmm5
jmp 0x4a0ed9
comiss xmm3, xmm4
jbe 0x4a10e3
subss xmm3, xmm2
maxss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x4a10f1
movaps xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x4a10f1
mov dword [edi + 0x54], 0
movss xmm0, dword [esp + 0x70]
subss xmm6, dword [esp + 0x88]
mov eax, dword [edi + 0x28]
addss xmm0, xmm7
mov ecx, dword [edi + 0x2c]
push ecx
subss xmm6, dword [esp + 0x34]
addss xmm0, dword [esp + 0x44]
movss dword [edi + 0x5c], xmm6
movss dword [edi + 0x58], xmm0
mov esi, dword [esi + 0x3f04]
mov dword [esi + 0x108], eax
lea eax, [esp + 0x24]
mov dword [esi + 0x10c], ecx
movss xmm0, dword [edi + 0x40]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x78]
movss dword [esp], xmm0
push eax
call fcn.00476f50
movss xmm1, dword [edi + 0x44]
add esp, 8
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0x128]
mov ecx, dword [esp + 0x90]
pop edi
maxss xmm0, xmm1
movss dword [esi + 0x128], xmm0
pop esi
xor ecx, esp
call fcn.00511a59
add esp, 0x8c
ret