Function at 0x1005c800
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1009f040]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1009c60c]
or edx, 0xffffffff
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], 0
mov ecx, dword [0x100a3d98]
xor bl, bl
push edi
mov dword [ebp - 0x48], ecx
xor edi, edi
mov eax, dword [esi + 4]
xorps xmm5, xmm5
mov byte [esi + 0x1a9], 1
and eax, 0xe000
mov byte [esi + 0x189], 0
xorps xmm7, xmm7
mov dword [esi + 0x30], 0
xorps xmm4, xmm4
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x194], 0xff
maxss xmm0, dword [ecx + 0x1550]
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], edx
movss dword [esi + 0x9c], xmm0
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x44], edi
test ecx, ecx
jle 0x1005cab6
mov dword [ebp - 0x4c], 1
nop
mov eax, dword [esi + 0x18]
mov dl, byte [edi + eax]
movsx ebx, dl
mov byte [ebp - 0x15], dl
cmp ebx, edi
je 0x1005c8c7
mov byte [esi + 0x1a9], 0
movsx eax, byte [esi + 0x18b]
imul edi, ebx, 0x68
add edi, dword [esi + 0x10]
cmp eax, ebx
jg 0x1005c8fe
push 0
mov edx, edi
mov ecx, esi
call fcn.1005c660
mov dl, byte [ebp - 0x15]
add esp, 4
or eax, 0xffffffff
mov dword [edi + 0x30], 0
mov word [edi + 0x50], ax
mov dword [edi + 0x1c], 0xbf800000
test byte [esi + 4], 4
je 0x1005c909
test byte [edi], 0x40
je 0x1005c90d
mov byte [edi + 0x5b], 1
mov al, byte [edi + 0x5b]
cmp byte [edi + 0x5a], al
je 0x1005c932
mov byte [edi + 0x5a], al
mov byte [esi + 0x1a8], 1
cmp byte [edi + 0x5a], 0
jne 0x1005c932
cmp byte [edi + 0x56], 0xff
je 0x1005c932
mov byte [esi + 0x1a4], 1
cmp byte [edi + 0x56], 0
jle 0x1005c948
test dword [esi + 4], 0x4000000
jne 0x1005c948
mov byte [esi + 0x1a4], 1
test byte [edi], 8
je 0x1005c953
comiss xmm5, dword [edi + 0x10]
jmp 0x1005c957
comiss xmm5, dword [edi + 0x18]
seta al
test al, al
je 0x1005c964
mov word [edi + 0x62], 0x707
cmp byte [edi + 0x5a], 0
jne 0x1005c979
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov byte [edi + 0x53], 0xff
jmp 0x1005caa4
mov eax, dword [ebp - 0x1c]
mov byte [edi + 0x54], al
mov byte [edi + 0x55], 0xff
cmp eax, 0xffffffff
je 0x1005c994
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
mov byte [ecx + eax + 0x55], dl
jmp 0x1005c99a
mov byte [esi + 0x194], dl
mov cl, byte [esi + 0x189]
xor edx, edx
mov al, cl
inc al
mov byte [esi + 0x189], al
mov eax, ebx
mov byte [edi + 0x53], cl
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esi + 0x30], ecx
or dword [esi + 0x34], edx
xor eax, eax
movsx edx, byte [edi + 0x52]
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
mov edx, ebx
cmovae ecx, eax
mov dword [ebp - 0x1c], edx
or dword [esi + 0x28], eax
or dword [esi + 0x2c], ecx
cmp byte [edi + 0x60], 0
jne 0x1005ca45
movss xmm1, dword [edi + 0x40]
maxss xmm1, dword [edi + 0x44]
movss xmm2, dword [edi + 0x34]
mov eax, dword [edi]
subss xmm1, xmm2
test eax, 0x800
jne 0x1005ca1d
movss xmm0, dword [edi + 0x4c]
subss xmm0, xmm2
maxss xmm1, xmm0
test al, 8
je 0x1005ca38
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm5
jbe 0x1005ca38
test byte [esi + 4], 1
je 0x1005ca35
test al, 0x10
je 0x1005ca38
movaps xmm1, xmm0
maxss xmm1, dword [esi + 0x9c]
movss dword [edi + 0x14], xmm1
mov ecx, dword [edi]
mov eax, ecx
mov ebx, dword [ebp - 0x30]
shr eax, 4
not al
movzx ebx, bl
and al, 1
cmovne ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], ebx
test cl, 8
je 0x1005ca75
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm5
jbe 0x1005ca75
test al, al
jne 0x1005ca75
movss dword [edi + 0x14], xmm0
mov ebx, dword [ebp - 0x20]
mov eax, 1
cmp byte [edi + 0x62], 0
movss xmm0, dword [edi + 0x14]
movzx ebx, bl
cmovne ebx, eax
mov dword [ebp - 0x20], ebx
test cl, 4
je 0x1005ca9d
inc dword [ebp - 0x24]
addss xmm7, xmm0
jmp 0x1005caa4
inc dword [ebp - 0x28]
maxss xmm4, xmm0
mov edi, dword [ebp - 0x44]
mov ecx, dword [esi + 0x54]
inc edi
mov dword [ebp - 0x44], edi
cmp edi, ecx
jl 0x1005c8b0
mov eax, dword [esi + 4]
test al, 8
je 0x1005cad4
cmp byte [esi + 0x188], 0
jne 0x1005cad4
test eax, 0x8000000
jne 0x1005cad4
mov byte [esi + 0x1a4], 1
mov byte [esi + 0x195], dl
test bl, bl
je 0x1005cafd
mov eax, dword [esi + 0x168]
cmp dword [esi + 0x164], eax
je 0x1005caf6
mov byte [eax + 0x8f], 0
mov ecx, dword [esi + 0x54]
mov byte [esi + 0x1a8], 1
xor ebx, ebx
mov word [esi + 0x196], 0xffff
movaps xmm2, xmm5
movaps xmm6, xmm5
test ecx, ecx
jle 0x1005ccb8
movss xmm3, dword [0x1009c6c8]
xor edi, edi
mov dword [ebp - 0x20], edi
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x30]
and ecx, dword [esi + 0x34]
or edx, ecx
je 0x1005cca6
mov edi, dword [esi + 0x10]
add edi, dword [ebp - 0x20]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 4
not cl
and cl, 1
test al, 8
je 0x1005cbee
cmp dword [ebp - 0x2c], 0x4000
movss xmm1, dword [edi + 0x14]
jne 0x1005cb7d
cmp byte [edi + 0x62], 0
jne 0x1005cb7a
test cl, cl
jne 0x1005cb7d
movaps xmm1, xmm4
mov al, byte [edi + 0x62]
test al, al
je 0x1005cbba
movss dword [edi + 0x10], xmm1
cmp al, 1
jbe 0x1005cbe4
cmp byte [esi + 0x1a3], 0
je 0x1005cbe4
cmp byte [edi + 0x60], 0
jne 0x1005cbe4
movss xmm0, dword [esi + 0x9c]
mulss xmm0, xmm3
maxss xmm1, xmm0
movss dword [edi + 0x10], xmm1
addss xmm2, xmm1
jmp 0x1005cc8f
test cl, cl
jne 0x1005cbe4
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x40]
and ecx, dword [esi + 0x44]
or edx, ecx
je 0x1005cbe4
movss dword [edi + 0x10], xmm1
addss xmm2, dword [edi + 0x10]
jmp 0x1005cc8f
cmp byte [edi + 0x62], 0
jne 0x1005cc02
movss xmm1, dword [edi + 0x18]
comiss xmm5, xmm1
ja 0x1005cc02
test cl, cl
jne 0x1005cc47
movss xmm1, dword [edi + 0x1c]
comiss xmm1, xmm5
jbe 0x1005cc13
movss dword [edi + 0x18], xmm1
jmp 0x1005cc47
cmp dword [ebp - 0x2c], 0x6000
jne 0x1005cc38
movss xmm1, dword [edi + 0x14]
movd xmm0, dword [ebp - 0x24]
divss xmm1, xmm7
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [edi + 0x18], xmm1
jmp 0x1005cc47
movss xmm1, dword [0x1009c60c]
mov dword [edi + 0x18], 0x3f800000
mov al, byte [esi + 0x196]
addss xmm6, xmm1
cmp al, 0xff
je 0x1005cc67
movsx eax, al
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
mov al, byte [ecx + eax + 0x52]
cmp al, byte [edi + 0x52]
jle 0x1005cc6d
mov byte [esi + 0x196], bl
mov al, byte [esi + 0x197]
cmp al, 0xff
je 0x1005cc89
movsx eax, al
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
mov al, byte [ecx + eax + 0x52]
cmp al, byte [edi + 0x52]
jge 0x1005cc8f
mov byte [esi + 0x197], bl
mov byte [edi + 0x60], 0
movss xmm0, dword [esi + 0xa4]
mov edi, dword [ebp - 0x20]
addss xmm0, xmm0
addss xmm2, xmm0
mov ecx, dword [esi + 0x54]
inc ebx
add edi, 0x68
mov dword [ebp - 0x20], edi
cmp ebx, ecx
jl 0x1005cb23
movsx edi, byte [esi + 0x189]
movups xmm0, xmmword [esi + 0xf4]
mov eax, dword [ebp - 0x28]
movss xmm4, dword [esi + 0xb0]
addss xmm4, dword [esi + 0xac]
movss xmm1, dword [esi + 0xa0]
mov edx, dword [esi + 4]
addss xmm1, xmm1
mov byte [esi + 0x18a], al
lea eax, [edi - 1]
movups xmmword [ebp - 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm0
addss xmm4, xmm1
test edx, 0x1000000
je 0x1005cd2f
movss xmm0, dword [esi + 0xbc]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1005cd2f
movss xmm3, dword [esi + 0x10c]
subss xmm3, dword [esi + 0x104]
jmp 0x1005cd39
movss xmm3, dword [ebp - 0x38]
subss xmm3, dword [ebp - 0x40]
movss xmm1, dword [esi + 0xa4]
subss xmm3, xmm4
movd xmm0, edi
addss xmm1, xmm1
cvtdq2ps xmm0, xmm0
xor ebx, ebx
subss xmm3, xmm2
mulss xmm1, xmm0
addss xmm1, xmm4
movaps xmm2, xmm3
movss dword [esi + 0xc0], xmm1
test ecx, ecx
jle 0x1005ce3a
movss xmm1, dword [0x1009c570]
xor edi, edi
mov dword [ebp - 0x2c], edi
nop
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x30]
and ecx, dword [esi + 0x34]
or edx, ecx
je 0x1005ce25
mov ecx, dword [esi + 0x10]
add ecx, edi
mov edx, dword [ecx]
test dl, 4
je 0x1005cdde
movss xmm0, dword [ecx + 0x18]
divss xmm0, xmm6
mulss xmm0, xmm3
maxss xmm0, dword [esi + 0x9c]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x10], xmm0
subss xmm2, xmm0
cmp byte [ecx + 0x55], 0xff
jne 0x1005cdf5
cmp byte [esi + 0x196], 0xff
je 0x1005cdf5
or edx, 0x40000000
mov dword [ecx], edx
movss xmm0, dword [ecx + 0x10]
maxss xmm0, dword [esi + 0x9c]
mov edi, dword [ebp - 0x2c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 4], xmm0
addss xmm0, dword [esi + 0xc0]
movss dword [esi + 0xc0], xmm0
mov ecx, dword [esi + 0x54]
inc ebx
add edi, 0x68
mov dword [ebp - 0x2c], edi
cmp ebx, ecx
jl 0x1005cd80
mov edx, dword [esi + 4]
movss xmm1, dword [0x1009c60c]
comiss xmm2, xmm1
jb 0x1005ceb6
test edx, 0x80000
jne 0x1005ceb6
comiss xmm6, xmm5
lea edi, [ecx - 1]
jbe 0x1005ceb6
comiss xmm2, xmm1
jb 0x1005ceb6
test edi, edi
js 0x1005ceb6
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x28]
and ecx, dword [esi + 0x2c]
or edx, ecx
je 0x1005ceb3
mov eax, dword [esi + 0x18]
movsx eax, byte [eax + edi]
imul eax, eax, 0x68
add eax, dword [esi + 0x10]
test byte [eax], 4
je 0x1005ceb3
movss xmm0, dword [eax + 0x10]
subss xmm2, xmm1
addss xmm0, xmm1
movss dword [eax + 0x10], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, xmm1
movss dword [eax + 4], xmm0
dec edi
jmp 0x1005ce57
movss xmm1, dword [esi + 0xd8]
lea ecx, [ebp - 0x14]
movss xmm0, dword [esi + 0xd4]
xor edx, edx
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [ebp - 0x10], xmm1
addss xmm1, dword [esi + 0xb4]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0xe0]
mov word [esi + 0x18c], 0xffff
maxss xmm0, xmm1
movss dword [ebp - 8], xmm0
call fcn.10007380
mov cl, byte [esi + 0x19c]
movss xmm1, dword [ebp - 0x40]
test cl, cl
mov byte [ebp - 0x15], al
setg bh
mov dword [ebp - 0x28], 0
test cl, cl
jle 0x1005cf31
movss xmm3, dword [esi + 0xd4]
jmp 0x1005cf34
movaps xmm3, xmm1
addss xmm3, dword [esi + 0xa0]
movups xmm0, xmmword [esi + 0x104]
mov edx, dword [esi + 0x54]
xor ecx, ecx
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [ebp - 0x24], ecx
subss xmm3, dword [esi + 0xac]
movups xmmword [ebp - 0x14], xmm0
test edx, edx
jle 0x1005d414
movss xmm7, dword [ebp - 8]
movss xmm6, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x14]
nop word [eax + eax]
mov eax, dword [esi + 0x18]
mov bl, byte [ecx + eax]
movsx ecx, bl
imul edi, ecx, 0x68
mov dword [ebp - 0x1c], ecx
add edi, dword [esi + 0x10]
cmp byte [esi + 0x19a], 0
jg 0x1005cfba
movsx eax, byte [esi + 0x19c]
cmp ecx, eax
jl 0x1005cfba
xor al, al
jmp 0x1005cfbc
mov al, 1
mov byte [edi + 0x61], al
test bh, bh
je 0x1005cfe0
movsx eax, byte [esi + 0x19c]
cmp eax, dword [ebp - 0x28]
jne 0x1005cfe0
movaps xmm0, xmm1
xor bh, bh
subss xmm0, dword [esi + 0xd4]
addss xmm3, xmm0
and dword [edi], 0xff0fffff
xor edx, edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x28]
and ecx, dword [esi + 0x2c]
or edx, ecx
jne 0x1005d0b8
movss xmm0, dword [ebp - 0x3c]
movss xmm5, dword [ebp - 0x10]
comiss xmm5, xmm0
mov dword [edi + 4], edx
mov dword [edi + 0x2c], 0x7f7fffff
movss dword [edi + 0x28], xmm3
movss dword [edi + 0x20], xmm3
movss dword [edi + 0x34], xmm3
movss dword [edi + 0xc], xmm3
movss dword [edi + 8], xmm3
movss dword [edi + 0x24], xmm0
jbe 0x1005d048
movaps xmm1, xmm5
jmp 0x1005d04f
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm4, xmm3
jbe 0x1005d059
movaps xmm0, xmm4
jmp 0x1005d060
movaps xmm0, xmm6
minss xmm0, xmm3
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm1
movss xmm0, dword [edi + 0x2c]
comiss xmm5, xmm0
jbe 0x1005d079
movaps xmm1, xmm5
jmp 0x1005d080
movaps xmm1, xmm7
minss xmm1, xmm0
movaps xmm2, xmm3
comiss xmm4, xmm2
jbe 0x1005d08d
movaps xmm0, xmm4
jmp 0x1005d094
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x28], xmm0
movss dword [edi + 0x2c], xmm1
mov word [edi + 0x5d], 0
mov byte [edi + 0x5c], 0
mov byte [edi + 0x5f], 1
mov dword [edi + 0x3c], 0x3f800000
jmp 0x1005d3fb
cmp byte [ebp - 0x15], 0
je 0x1005d0df
mov eax, dword [ebp - 0x48]
movss xmm1, dword [eax + 0xe4]
comiss xmm1, dword [edi + 0x20]
jb 0x1005d0df
movss xmm0, dword [edi + 0x28]
comiss xmm0, xmm1
jbe 0x1005d0df
mov byte [esi + 0x18c], bl
mov ecx, dword [ebp - 0x1c]
movss xmm1, dword [0x1009c7a8]
movss dword [edi + 8], xmm3
movss xmm6, dword [esi + 0xa4]
movss xmm7, dword [esi + 0xb0]
movaps xmm5, xmm6
mov eax, dword [esi + 4]
addss xmm5, xmm6
imul edx, ecx, 0x68
movaps xmm2, xmm5
addss xmm2, dword [esi + 0x9c]
add edx, dword [esi + 0x10]
addss xmm2, dword [esi + 0xac]
addss xmm2, xmm7
test eax, 0x1000000
je 0x1005d170
mov al, byte [edx + 0x52]
mov cl, byte [esi + 0x19b]
cmp al, cl
jge 0x1005d1b1
movss xmm1, dword [esi + 0x10c]
movsx ecx, cl
movsx eax, al
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm1, xmm0
subss xmm1, dword [edx + 8]
subss xmm1, dword [esi + 0xa0]
subss xmm1, xmm6
subss xmm1, xmm7
jmp 0x1005d1b1
test eax, 0x40000
jne 0x1005d1b4
movsx eax, byte [edx + 0x53]
movsx ecx, byte [esi + 0x189]
movss xmm1, dword [esi + 0xfc]
sub ecx, eax
dec ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm1, xmm0
subss xmm1, dword [edx + 8]
subss xmm1, xmm7
subss xmm1, xmm5
subss xmm1, dword [esi + 0xa0]
mov ecx, dword [ebp - 0x1c]
movss xmm2, dword [edi + 4]
movss xmm0, dword [edi + 0x10]
minss xmm2, xmm1
movss xmm5, dword [ebp - 0x10]
movss xmm7, dword [ebp - 8]
movss dword [edi + 4], xmm2
minss xmm0, dword [esi + 0x9c]
maxss xmm2, xmm0
movaps xmm1, xmm2
movss dword [edi + 4], xmm2
movss xmm0, dword [esi + 0xa4]
addss xmm1, xmm3
addss xmm0, xmm0
mulss xmm2, dword [0x1009c5d0]
addss xmm1, dword [esi + 0xac]
cvttss2si eax, xmm2
addss xmm1, dword [esi + 0xb0]
addss xmm1, xmm0
movaps xmm0, xmm3
movss dword [edi + 0xc], xmm1
addss xmm0, dword [esi + 0xa4]
addss xmm0, dword [esi + 0xac]
movss dword [edi + 0x34], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xa4]
subss xmm0, dword [esi + 0xb0]
movss dword [edi + 0x20], xmm3
movss dword [edi + 0x28], xmm1
mov dword [edi + 0x2c], 0x7f7fffff
movss dword [edi + 0x38], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x3c], xmm0
movss xmm0, dword [ebp - 0x3c]
comiss xmm5, xmm0
movss dword [edi + 0x24], xmm0
jbe 0x1005d27b
movaps xmm1, xmm5
jmp 0x1005d282
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm4, xmm3
movss xmm6, dword [ebp - 0xc]
jbe 0x1005d291
movaps xmm0, xmm4
jmp 0x1005d298
movaps xmm0, xmm6
minss xmm0, xmm3
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm1
movss xmm0, dword [edi + 0x2c]
comiss xmm5, xmm0
jbe 0x1005d2b1
movaps xmm1, xmm5
jmp 0x1005d2b8
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [edi + 0x28]
comiss xmm4, xmm2
jbe 0x1005d2c7
movaps xmm0, xmm4
jmp 0x1005d2ce
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x28], xmm0
movss dword [edi + 0x2c], xmm1
comiss xmm0, dword [edi + 0x20]
mov byte [edi + 0x5d], 1
seta bl
mov byte [edi + 0x5c], bl
test bl, bl
je 0x1005d33c
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esi + 0x38], ecx
or dword [esi + 0x3c], edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
xor edx, edx
mov byte [edi + 0x5e], 1
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esi + 0x40], ecx
or dword [esi + 0x44], edx
cmp byte [edi + 0x5a], 0
je 0x1005d34e
cmp byte [esi + 0x1af], 0
jne 0x1005d34e
xor al, al
jmp 0x1005d350
cmp byte [edi + 0x62], 0
jne 0x1005d307
cmp byte [edi + 0x63], 0
jne 0x1005d307
mov byte [edi + 0x5e], 0
jmp 0x1005d329
mov al, 1
mov ecx, dword [edi]
or ecx, 0x100000
mov byte [edi + 0x5f], al
mov dword [edi], ecx
test bl, bl
je 0x1005d369
or ecx, 0x200000
mov dword [edi], ecx
cmp byte [edi + 0x56], 0xff
je 0x1005d377
or ecx, 0x400000
mov dword [edi], ecx
movsx eax, byte [esi + 0x18c]
cmp eax, dword [ebp - 0x1c]
jne 0x1005d38b
or ecx, 0x800000
mov dword [edi], ecx
movss xmm0, dword [edi + 0x34]
shufps xmm0, xmm0, 0
movups xmmword [edi + 0x40], xmm0
cmp byte [esi + 0x1af], 0
jne 0x1005d3a7
shr byte [edi + 0x62], 1
shr byte [edi + 0x63], 1
movsx eax, byte [esi + 0x19c]
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jge 0x1005d3ce
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [0x1009c60c]
comiss xmm4, xmm0
ja 0x1005d3ce
movaps xmm4, xmm6
minss xmm4, xmm0
movss xmm0, dword [edi + 4]
inc ecx
addss xmm0, dword [esi + 0xac]
movss xmm1, dword [esi + 0xa4]
addss xmm1, xmm1
mov dword [ebp - 0x28], ecx
addss xmm0, dword [esi + 0xb0]
addss xmm0, xmm1
addss xmm3, xmm0
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x54]
inc ecx
movss xmm1, dword [ebp - 0x40]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x1005cf90
mov dl, al
movsx eax, byte [esi + 0x195]
movss xmm1, dword [esi + 0xf4]
imul ecx, eax, 0x68
cmp byte [ebp - 0x15], 0
mov eax, dword [esi + 0x10]
maxss xmm1, dword [ecx + eax + 0x28]
je 0x1005d454
cmp byte [esi + 0x18c], 0xff
jne 0x1005d454
mov eax, dword [ebp - 0x48]
movss xmm0, dword [eax + 0xe4]
comiss xmm0, xmm1
jb 0x1005d454
mov byte [esi + 0x18c], dl
cmp byte [ebp - 0x30], 0
jne 0x1005d467
mov eax, dword [esi + 4]
test al, 1
je 0x1005d467
and eax, 0xfffffffe
mov dword [esi + 4], eax
cmp byte [esi + 0x197], 0xff
je 0x1005d477
and dword [esi + 4], 0xfffeffff
test dword [esi + 4], 0x10000
je 0x1005d4a4
movss xmm0, dword [esi + 0x10c]
minss xmm0, xmm1
movss dword [esi + 0xfc], xmm1
movss dword [esi + 0xdc], xmm1
movss dword [esi + 0x10c], xmm0
mov eax, dword [esi + 0x168]
mov ecx, esi
movups xmm0, xmmword [esi + 0xf4]
movups xmmword [eax + 0x220], xmm0
mov eax, dword [esi + 0x104]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x94], eax
call fcn.1005ef70
test byte [esi + 4], 1
je 0x1005d4e4
mov ecx, esi
call fcn.1005d690
cmp byte [esi + 0x1a6], 0
mov dword [esi + 0xb8], 0
mov byte [esi + 0x1a1], 1
mov byte [esi + 0x1a5], 0
je 0x1005d5ad
mov ax, word [esi + 0x60]
cmp ax, word [esi + 0x62]
jne 0x1005d5ad
mov edi, dword [esi]
mov edx, 0x1009ba6d
not edi
mov al, 0x23
mov ebx, edi
cmp al, 0x23
jne 0x1005d532
cmp byte [edx], al
jne 0x1005d532
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x1008b860]
test al, al
jne 0x1005d524
not ebx
mov edx, 0x141
mov ecx, ebx
call fcn.10011be0
test al, al
je 0x1005d5a6
mov ecx, esi
call fcn.10061010
mov edi, dword [0x100a3d98]
mov eax, dword [edi + 0x1b9c]
cmp dword [edi + 0x1d00], eax
jne 0x1005d588
mov dword [edi + 0x1e00], eax
mov dword [edi + 0x1e04], 2
test dword [eax + 8], 0x1000000
je 0x1005d598
mov byte [edi + 0x1b46], 1
call fcn.1000f980
mov byte [edi + 0x1b46], 0
jmp 0x1005d5ad
mov byte [esi + 0x1a6], 0
cmp byte [esi + 0x1a4], 0
je 0x1005d5c3
test byte [esi + 4], 8
je 0x1005d5c3
mov ecx, esi
call fcn.1005ffc0
test dword [esi + 4], 0x100000
mov eax, dword [esi + 0x168]
mov edi, dword [eax + 0x284]
je 0x1005d5f7
mov ecx, dword [esi + 0x178]
push 2
push edi
call fcn.10054ea0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086e3f
mov esp, ebp
pop ebp
ret
movss xmm0, dword [eax + 0x230]
movss xmm1, dword [eax + 0x234]
mov ecx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm1
maxss xmm0, dword [eax + 0x238]
maxss xmm1, dword [eax + 0x23c]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
cmp ecx, ebx
jne 0x1005d658
inc ecx
test ebx, ebx
je 0x1005d645
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x1005d64a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3c]
call fcn.1005a050
mov eax, dword [edi + 0x3c]
mov ecx, edi
mov edx, dword [edi + 0x44]
add eax, eax
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edx + eax*8], xmm0
inc dword [edi + 0x3c]
movups xmmword [edi + 0x60], xmm0
call fcn.10051200
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086e3f
mov esp, ebp
pop ebp
ret