Function at 0x418860
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x44c428]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], ebx
mov edx, dword [ebx + 0x49bc]
sub edx, 1
mov dword [ebp - 0x18], edi
mov byte [ebp - 8], 0
js 0x4188b0
mov eax, dword [ebx + 0x49c4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x4188a8
test dword [edi + 0xc], 0x8000000
jne 0x4189a2
sub eax, 0x28
sub edx, 1
jns 0x418895
lea eax, [ebx + 0x4ba0]
xor edi, edi
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp dword [ebx + 0x4ba4], 0
je 0x418906
test eax, eax
jne 0x418906
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x44a018]
movss xmm1, dword [ebx + 0x4bb0]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4bc8]
maxss xmm1, xmm0
movss dword [ebx + 0x4bb0], xmm1
jb 0x418906
comiss xmm0, xmm1
jb 0x418906
mov dword [ebx + 0x4ba4], eax
or edx, 0xffffffff
mov esi, 0x44507d
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x418921
cmp byte [esi], al
jne 0x418921
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4454f0]
test al, al
jne 0x418913
mov ebx, dword [ebp - 0x14]
not edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x418953
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x418957
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x4189b8
mov eax, dword [ebx + 0x4b98]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4189b8
push 0x1101
mov ecx, eax
call fcn.004118c0
mov esi, dword [ebp - 0x10]
add esp, 4
test al, al
je 0x4189bb
mov ecx, dword [ebp - 0x1c]
mov edx, esi
push 0x1101
call fcn.004134f0
add esp, 4
test al, al
je 0x4189bb
mov byte [ebp - 1], 1
jmp 0x4189c3
lea eax, [ebx + 0x4ba0]
mov dword [eax], 0
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x4188bd
mov esi, dword [ebp - 0x10]
mov byte [ebp - 1], 0
test edi, edi
jne 0x418a01
mov eax, dword [ebx + 0x4b9c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x418a01
push 0x1101
mov edx, esi
mov ecx, eax
call fcn.004118c0
add esp, 4
test al, al
je 0x418a01
mov ecx, dword [ebp - 0x1c]
mov edx, esi
push 0x1101
call fcn.004134f0
add esp, 4
test al, al
je 0x418a01
mov byte [ebp - 2], 1
jmp 0x418a09
mov byte [ebp - 2], 0
test edi, edi
jne 0x418a3c
cmp byte [ebp - 3], 0
je 0x418a3c
cmp dword [ebx + 0x4ba0], 0
jne 0x418a3c
push 0
xor edx, edx
mov ecx, 0x279
call fcn.00411a30
add esp, 4
test al, al
je 0x418a3c
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x418a5c
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x418a68
mov cl, byte [ebp - 2]
mov al, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
cmp dword [ebx + 0x4ba0], edi
jne 0x418a68
test al, al
jne 0x418a64
test cl, cl
je 0x418a68
mov al, 1
jmp 0x418a6a
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x418a79
test al, al
je 0x418bbb
mov eax, dword [ebx + 0x49f0]
test eax, eax
jne 0x418aa4
mov ecx, dword [ebx + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00418750
add esp, 4
test eax, eax
je 0x418bbb
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4ba4], eax
mov dword [ebx + 0x4ba0], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4bb0], 0
add eax, 2
mov dword [ebx + 0x4bac], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4bc0], 0
mov dword [ebx + 0x4bc4], 0
mov dword [ebx + 0x4bb8], 0
mov dword [ebx + 0x4bbc], 0
mov byte [ebx + 0x4bb4], dl
mov dword [ebx + 0x4a20], eax
jne 0x418b18
cmp byte [ebp - 2], 0
je 0x418bbb
mov edi, dword [ebx + 0x4b9c]
or edi, dword [ebx + 0x4b98]
mov ecx, dword [0x44c428]
test edi, 0x1000
je 0x418b47
mov edx, 0x1000
call fcn.00403cc0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x418b64
mov edx, 0x2000
call fcn.00403cc0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x418b81
mov edx, 0x4000
call fcn.00403cc0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x418b9e
mov edx, 0x8000
call fcn.00403cc0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x418bbb
mov edx, 0x800
call fcn.00403cc0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x4bac]
lea esi, [ebx + 0x4ba0]
addss xmm0, dword [ebx + 0x18]
mov eax, dword [esi]
mov edi, eax
movss xmm7, dword [0x449f60]
movss xmm1, dword [0x449f4c]
movss xmm5, dword [0x449fb8]
movss dword [ebx + 0x4bac], xmm0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x418cb1
cmp dword [ebx + 0x4a20], 3
jne 0x418cb9
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x418c21
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x4bb0]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x281
push 1
movss dword [ebx + 0x4bb0], xmm6
call fcn.00411a30
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.00411a30
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x418c81
mov ecx, eax
call fcn.004187c0
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov edi, dword [esi]
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x4bb0], 0x3f800000
jmp 0x418c84
mov ebx, dword [ebp - 0x14]
mov ecx, dword [0x44c428]
mov edx, 0x279
call fcn.00411420
cmp byte [eax], 0
je 0x418d0d
mov edx, 0x279
call fcn.00403cc0
cmp byte [eax + 8], 0
jne 0x418d0d
movss xmm1, dword [0x449f4c]
test edi, edi
je 0x418d39
cmp dword [ebx + 0x4a20], 2
xorps xmm6, xmm6
jne 0x418d3c
movss xmm0, dword [ebx + 0x4bac]
mov edx, 0xf800
mov eax, dword [ebx + 0x4b98]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4b9c]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x418dcb
xorps xmm5, xmm5
jmp 0x418dcf
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4bb4], al
je 0x418d2a
cmp dword [ebx + 0x49f0], 0
je 0x418d33
mov byte [ebp - 8], 1
jmp 0x418d33
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], esi
mov dword [esi], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x20], 0
je 0x418d69
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.00411a30
add esp, 4
test al, al
je 0x418d69
mov byte [ebx + 0x4bb4], 1
mov dword [ebx + 0x4a20], 2
cmp byte [ebx + 0x4bb4], 0
mov edi, 1
je 0x418f18
cmp dword [ebx + 0x4a20], 2
jne 0x418f18
cmp dword [ebx + 0x3898], 0
jg 0x418e23
cmp byte [ebx + 0xe1c], 0
jne 0x418e23
cmp byte [ebx + 0xe1d], 0
jne 0x418e23
cmp byte [ebx + 0xe1f], 0
mov ecx, dword [0x44c428]
jne 0x418e29
mov edx, 0x4000
call fcn.00403cc0
cmp dword [eax], 0xffffffff
je 0x418e30
jmp 0x418e29
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x4bb0]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x4bb0], xmm0
test al, al
jne 0x418e0c
cmp byte [ebp - 2], al
jne 0x418e0c
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x418d3c
mov dword [ebp - 0x18], edi
jmp 0x418d3c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.004187c0
jmp 0x418d3c
mov ecx, dword [0x44c428]
mov byte [ebx + 0x4bb4], 0
mov edx, 0x4000
call fcn.00411420
comiss xmm6, dword [eax + 8]
ja 0x418ef0
cmp byte [eax], 0
jne 0x418ef0
mov edx, 0x4000
call fcn.00403cc0
cmp byte [eax + 8], 0
jne 0x418ef0
cmp byte [ebx + 0x4bb4], 0
je 0x418ef0
cmp dword [ebx + 0x3fd8], 0
je 0x418e80
cmp byte [ebx + 0x3fe5], 0
je 0x418ef0
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x418e90
lea eax, [ecx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x44a0bc]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x418eaf
comiss xmm2, xmm1
jb 0x418eaf
mov dl, 1
jmp 0x418eb1
xor dl, dl
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x418ec1
lea eax, [ecx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x418ed8
comiss xmm2, xmm1
jb 0x418ed8
mov al, 1
jmp 0x418eda
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.00411420
cmp byte [eax], 0
je 0x418f0f
mov edx, 0x4000
call fcn.00403cc0
cmp byte [eax + 8], 0
je 0x418f1e
mov byte [ebx + 0x4bb4], 0
jmp 0x418f1e
mov ecx, dword [0x44c428]
mov eax, dword [esi]
test eax, eax
je 0x4190a3
test byte [eax + 0xc], 4
jne 0x4190a3
mov eax, dword [ebx + 0x4a20]
cmp eax, 2
jne 0x418f73
cmp byte [ebx + 0xe1d], 0
jne 0x4190a3
mov edx, 0x203
call fcn.00411420
mov edx, 0x201
mov edi, eax
call fcn.00411420
mov edx, 0x202
mov esi, eax
call fcn.00411420
mov edx, 0x204
jmp 0x418fa3
cmp eax, 3
jne 0x4190a3
mov edx, 0x289
call fcn.00411420
mov edx, 0x287
mov edi, eax
call fcn.00411420
mov edx, 0x288
mov esi, eax
call fcn.00411420
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.00411420
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x418fd2
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x4190a0
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x44a068]
mov byte [ebx + 0x4a33], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4bb8]
addss xmm3, dword [ebx + 0x4bbc]
cvttss2si eax, xmm2
movss dword [ebx + 0x4bb8], xmm2
movss dword [ebx + 0x4bbc], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x419044
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x4190a0
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov eax, dword [esi]
mov ecx, dword [eax + 0x308]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x20], xmm0
call fcn.00411110
movss xmm0, dword [ebx + 0x4bb8]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4bb8], xmm0
movss xmm0, dword [ebx + 0x4bbc]
subss xmm0, xmm4
movss dword [ebx + 0x4bbc], xmm0
jmp 0x4190a3
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x419121
mov eax, dword [ebx + 0x49f0]
test eax, eax
je 0x4190bc
cmp edi, dword [eax + 0x308]
je 0x41911b
xor edx, edx
xor ecx, ecx
call fcn.00407d40
mov eax, dword [0x44c428]
xor dl, dl
mov ecx, edi
mov word [eax + 0x4a31], 1
mov byte [eax + 0x4a33], 1
call fcn.00414b60
mov edx, 1
mov ecx, edi
call fcn.00410b50
mov edi, dword [ebx + 0x49f0]
cmp dword [edi + 0x31c], 0
jne 0x419107
xor dl, dl
mov ecx, edi
call fcn.00416370
cmp word [edi + 0x156], 2
jne 0x41911b
mov dword [ebx + 0x4a24], 1
mov dword [esi], 0
cmp byte [ebp - 8], 0
je 0x4191e9
cmp dword [ebx + 0x49f0], 0
je 0x4191e9
xor edx, edx
xor ecx, ecx
call fcn.00407d40
mov edi, dword [ebx + 0x49f0]
mov esi, edi
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x41919c
nop dword [eax + eax]
test byte [esi + 0x154], 2
jne 0x419189
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x419189
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x419160
cmp esi, edi
je 0x41919c
xor edx, edx
mov ecx, esi
call fcn.00410b50
mov dword [esi + 0x318], edi
mov eax, dword [ebx + 0x49f0]
test byte [eax + 0x154], 2
je 0x4191b6
mov ecx, dword [ebx + 0x4a24]
xor ecx, 1
jmp 0x4191b8
xor ecx, ecx
cmp ecx, dword [ebx + 0x4a24]
je 0x4191e9
cmp ecx, 1
jne 0x4191cf
mov dword [eax + 0x320], 0
call fcn.004162c0
mov eax, dword [0x44c428]
mov word [eax + 0x4a31], 1
mov byte [eax + 0x4a33], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret