Function at 0x41a130
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x4be710]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.00415f60
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41a164
mov dword [ebx + 0x491c], 0
xor eax, eax
jmp 0x41a16a
mov eax, dword [ebx + 0x491c]
cmp dword [ebx + 0x4920], 0
je 0x41a1b3
test eax, eax
jne 0x41a1b3
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x4a90ac]
movss xmm1, dword [ebx + 0x492c]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4944]
maxss xmm1, xmm0
movss dword [ebx + 0x492c], xmm1
jb 0x41a1b3
comiss xmm0, xmm1
jb 0x41a1b3
mov dword [ebx + 0x4920], eax
or edx, 0xffffffff
mov esi, 0x4a187d
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x41a1ce
cmp byte [esi], al
jne 0x41a1ce
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4a1cc0]
test al, al
jne 0x41a1c0
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x4be710]
mov dword [ebp - 0xc], edx
test al, 2
je 0x41a203
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x41a207
mov byte [ebp - 3], 0
mov esi, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x41a23d
mov ecx, dword [ebx + 0x4914]
test ecx, ecx
je 0x41a23d
push 0x1001
call fcn.00414e50
mov edi, dword [0x4be710]
add esp, 4
test al, al
je 0x41a23d
mov byte [ebp - 1], 1
jmp 0x41a245
mov byte [ebp - 1], 0
test esi, esi
jne 0x41a271
mov ecx, dword [ebx + 0x4918]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x41a274
push 0x1001
mov edx, esi
call fcn.00414e50
mov edi, dword [0x4be710]
add esp, 4
test al, al
je 0x41a274
mov byte [ebp - 2], 1
jmp 0x41a27e
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x41a2b1
cmp byte [ebp - 3], 0
je 0x41a2b1
cmp dword [ebx + 0x491c], 0
jne 0x41a2b1
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.004132b0
add esp, 4
test al, al
je 0x41a2b1
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x41a2d4
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x41a2e0
cmp dword [ebx + 0x491c], 0
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
jne 0x41a2e0
test al, al
jne 0x41a2dc
test cl, cl
je 0x41a2e0
mov al, 1
jmp 0x41a2e2
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x41a2f1
test al, al
je 0x41a441
mov eax, dword [ebx + 0x47c8]
test eax, eax
jne 0x41a31c
mov ecx, dword [ebx + 0x3e0c]
mov edx, connect
push 0xffffffffffffffff
dec ecx
call fcn.0041a020
add esp, 4
test eax, eax
je 0x41a441
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebx + 0x4920], eax
mov dword [ebx + 0x491c], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x492c], 0
add eax, 2
mov dword [ebx + 0x4928], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x493c], 0
mov dword [ebx + 0x4940], 0
mov dword [ebx + 0x4934], 0
mov dword [ebx + 0x4938], 0
mov byte [ebx + 0x4930], dl
mov dword [ebx + 0x47f8], eax
jne 0x41a390
cmp byte [ebp - 2], 0
je 0x41a441
mov eax, dword [ebx + 0x4918]
or eax, dword [ebx + 0x4914]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x41a3c0
mov edx, 0x1000
mov ecx, edi
call fcn.00406310
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x41a3e1
mov edx, 0x2000
mov ecx, edi
call fcn.00406310
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x41a402
mov edx, 0x4000
mov ecx, edi
call fcn.00406310
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x41a423
mov edx, 0x8000
mov ecx, edi
call fcn.00406310
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x41a441
mov edx, 0x800
mov ecx, edi
call fcn.00406310
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4928]
mov esi, dword [ebx + 0x491c]
movss xmm7, dword [0x4a8e3c]
movss xmm1, dword [0x4a8e08]
movss xmm5, dword [0x4a8e88]
movss dword [ebx + 0x4928], xmm0
test esi, esi
je 0x41a5b9
cmp dword [ebx + 0x47f8], 3
jne 0x41a535
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x41a4a0
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x492c]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x492c], xmm6
call fcn.004132b0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.004132b0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x41a501
mov ecx, eax
call fcn.0041a090
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x491c]
mov dword [ebx + 0x492c], 0x3f800000
jmp 0x41a504
mov ebx, dword [ebp - 0x14]
mov edx, 0x26b
mov ecx, edi
call fcn.00412ca0
cmp byte [eax], 0
je 0x41a589
mov edx, 0x26b
call fcn.00406310
cmp byte [eax + 8], 0
jne 0x41a589
movss xmm1, dword [0x4a8e08]
test esi, esi
je 0x41a5b9
cmp dword [ebx + 0x47f8], 2
xorps xmm6, xmm6
jne 0x41a5bc
movss xmm0, dword [ebx + 0x4928]
mov edx, 0xf800
mov eax, dword [ebx + 0x4914]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4918]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x41a646
xorps xmm5, xmm5
jmp 0x41a64a
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4930], al
je 0x41a5a6
cmp dword [ebx + 0x47c8], 0
je 0x41a5af
mov byte [ebp - 8], 1
jmp 0x41a5af
mov eax, dword [ebx + 0x491c]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x491c], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x41a5e9
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.004132b0
add esp, 4
test al, al
je 0x41a5e9
mov byte [ebx + 0x4930], 1
mov dword [ebx + 0x47f8], 2
cmp byte [ebx + 0x4930], 0
je 0x41a79e
cmp dword [ebx + 0x47f8], 2
jne 0x41a79e
cmp dword [ebx + 0x3778], 0
jg 0x41a6a4
cmp byte [ebx + 0xddc], 0
jne 0x41a6a4
cmp byte [ebx + 0xddd], 0
jne 0x41a6a4
cmp byte [ebx + 0xddf], 0
mov ecx, dword [0x4be710]
jne 0x41a6aa
mov edx, 0x4000
call fcn.00406310
cmp dword [eax], 0xffffffff
je 0x41a6b1
jmp 0x41a6aa
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x492c]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x492c], xmm0
test al, al
jne 0x41a68d
cmp byte [ebp - 2], al
jne 0x41a68d
mov eax, dword [ebx + 0xde0]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x41a5bc
mov eax, dword [ebx + 0x491c]
mov dword [ebp - 0x18], eax
jmp 0x41a5bc
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.0041a090
jmp 0x41a5bc
mov ecx, dword [0x4be710]
mov byte [ebx + 0x4930], 0
mov edx, 0x4000
call fcn.00412ca0
comiss xmm6, dword [eax + 8]
ja 0x41a776
cmp byte [eax], 0
jne 0x41a776
mov edx, 0x4000
call fcn.00406310
cmp byte [eax + 8], 0
jne 0x41a776
cmp byte [ebx + 0x4930], 0
je 0x41a776
cmp dword [ebx + 0x3e94], 0
je 0x41a701
cmp byte [ebx + 0x3ea1], 0
je 0x41a776
lea eax, [ebx + 0x36a8]
test eax, eax
jne 0x41a711
lea eax, [ecx + 0xdc0]
movss xmm0, dword [eax]
movss xmm1, dword [0x4a9190]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x41a730
comiss xmm2, xmm1
jb 0x41a730
mov dl, 1
jmp 0x41a732
xor dl, dl
lea eax, [ebx + 0xdc0]
test eax, eax
jne 0x41a742
lea eax, [ecx + 0xdc0]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x41a759
comiss xmm2, xmm1
jb 0x41a759
mov al, 1
jmp 0x41a75b
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov esi, 1
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, esi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.00412ca0
cmp byte [eax], 0
je 0x41a795
mov edx, 0x4000
call fcn.00406310
cmp byte [eax + 8], 0
je 0x41a7a4
mov byte [ebx + 0x4930], 0
jmp 0x41a7a4
mov ecx, dword [0x4be710]
mov eax, dword [ebx + 0x491c]
test eax, eax
je 0x41a929
test byte [eax + 0xc], 4
jne 0x41a929
mov eax, dword [ebx + 0x47f8]
cmp eax, 2
jne 0x41a7fd
cmp byte [ebx + 0xddd], 0
jne 0x41a929
mov edx, 0x203
call fcn.00412ca0
mov edx, 0x201
mov edi, eax
call fcn.00412ca0
mov edx, 0x202
mov esi, eax
call fcn.00412ca0
mov edx, 0x204
jmp 0x41a82d
cmp eax, 3
jne 0x41a929
mov edx, 0x27b
call fcn.00412ca0
mov edx, 0x279
mov edi, eax
call fcn.00412ca0
mov edx, 0x27a
mov esi, eax
call fcn.00412ca0
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.00412ca0
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x41a85c
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x41a929
movss xmm1, dword [ebx + 0x58]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x5c]
mulss xmm0, dword [0x4a9128]
mov byte [ebx + 0x4803], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4934]
addss xmm3, dword [ebx + 0x4938]
cvttss2si eax, xmm2
movss dword [ebx + 0x4934], xmm2
movss dword [ebx + 0x4938], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x41a8ce
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x41a929
mov eax, dword [ebx + 0x491c]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x300]
addss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x1c], xmm0
call fcn.00412880
movss xmm0, dword [ebx + 0x4934]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4934], xmm0
movss xmm0, dword [ebx + 0x4938]
subss xmm0, xmm4
movss dword [ebx + 0x4938], xmm0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x41a9b8
mov eax, dword [ebx + 0x47c8]
test eax, eax
je 0x41a946
cmp esi, dword [eax + 0x300]
je 0x41a9ae
xor edx, edx
xor ecx, ecx
call fcn.0040a0e0
mov eax, dword [0x4be710]
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
mov eax, dword [esi + 0x310]
test eax, eax
je 0x41a978
cmp byte [eax + 0xab], 0
cmovne esi, eax
xor dl, dl
mov ecx, esi
call fcn.004162e0
mov ecx, esi
call fcn.00412370
cmp dword [esi + 0x314], 0
jne 0x41a99a
xor dl, dl
mov ecx, esi
call fcn.00417ea0
cmp word [esi + 0x14e], 2
jne 0x41a9ae
mov dword [ebx + 0x47fc], 1
mov dword [ebx + 0x491c], 0
cmp byte [ebp - 8], 0
je 0x41aa7d
cmp dword [ebx + 0x47c8], 0
je 0x41aa7d
xor edx, edx
xor ecx, ecx
call fcn.0040a0e0
mov esi, dword [ebx + 0x47c8]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x41aa19
nop dword [eax]
test byte [esi + 0x14c], 2
jne 0x41aa19
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x41aa19
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x41a9f0
mov edi, dword [ebx + 0x47c8]
cmp esi, edi
je 0x41aa30
mov ecx, esi
call fcn.00412370
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47c8]
test byte [eax + 0x14c], 2
je 0x41aa4a
mov ecx, dword [ebx + 0x47fc]
xor ecx, 1
jmp 0x41aa4c
xor ecx, ecx
cmp ecx, dword [ebx + 0x47fc]
je 0x41aa7d
cmp ecx, 1
jne 0x41aa63
mov dword [eax + 0x318], 0
call fcn.00417de0
mov eax, dword [0x4be710]
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret