Function at 0x417ee0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4b31e4]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x14], al
call fcn.00410890
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x417f1e
mov dword [ebx + 0x4c00], 0
xor ecx, ecx
jmp 0x417f24
mov ecx, dword [ebx + 0x4c00]
cmp dword [ebx + 0x4c04], 0
je 0x417f6d
test ecx, ecx
jne 0x417f6d
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x494360]
movss xmm1, dword [ebx + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4c2c]
maxss xmm1, xmm0
movss dword [ebx + 0x4c10], xmm1
jb 0x417f6d
comiss xmm0, xmm1
jb 0x417f6d
mov dword [ebx + 0x4c04], ecx
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x492005
or edi, 0xffffffff
nop word [eax + eax]
cmp al, 0x23
jne 0x417f8e
cmp byte [esi], al
jne 0x417f8e
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 + 0x4903e0]
test al, al
jne 0x417f80
mov eax, dword [ebx + 8]
not edx
mov dword [ebp - 0x18], edx
test al, 2
je 0x417fbd
test byte [ebx + 0xc], 1
mov byte [ebp - 0xe], 1
jne 0x417fc1
mov byte [ebp - 0xe], 0
and eax, 0xffffff01
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
jne 0x418024
mov esi, dword [ebx + 0x4bf8]
test esi, esi
je 0x418024
mov edi, edx
test edx, edx
je 0x417fe4
cmp edx, 0xffffffff
jne 0x417ff8
mov eax, dword [0x4b31e4]
cmp edx, 0xffffffff
je 0x417ff2
test edx, edx
jne 0x417ff8
mov edi, dword [eax + 0x48d8]
push 0x11001
push edi
push esi
call fcn.0041eb70
add esp, 0xc
test al, al
je 0x418024
push 0x11021
push edi
push esi
call fcn.00413250
add esp, 0xc
test al, al
je 0x418024
mov byte [ebp - 0xf], 1
jmp 0x41802e
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0xf], 0
jne 0x41808f
mov edi, dword [ebx + 0x4bfc]
mov esi, dword [ebp - 0x18]
test edi, edi
je 0x418092
mov eax, esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x418049
cmp esi, 0xffffffff
jne 0x418061
mov ecx, dword [0x4b31e4]
cmp esi, 0xffffffff
je 0x418058
test esi, esi
jne 0x418061
mov eax, dword [ecx + 0x48d8]
mov dword [ebp - 0x18], eax
push 0x11001
push eax
push edi
call fcn.0041eb70
add esp, 0xc
test al, al
je 0x418092
push 0x11021
push dword [ebp - 0x18]
push edi
call fcn.00413250
add esp, 0xc
test al, al
je 0x418092
mov byte [ebp - 0x10], 1
jmp 0x41809c
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0x10], 0
jne 0x4180cf
cmp byte [ebp - 0xe], 0
je 0x4180cf
cmp dword [ebx + 0x4c00], 0
jne 0x4180cf
push 0
push 0
push 0x279
call fcn.004133c0
add esp, 0xc
test al, al
je 0x4180cf
mov al, byte [ebp - 0x10]
mov cl, byte [ebp - 0xf]
mov byte [ebp - 0xe], 1
mov dl, byte [ebp - 0xe]
jmp 0x4180f2
xor dl, dl
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0xe], dl
jne 0x4180fe
cmp dword [ebx + 0x4c00], 0
mov al, byte [ebp - 0x10]
mov cl, byte [ebp - 0xf]
mov byte [ebp - 0xe], dl
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], cl
jne 0x4180fe
test cl, cl
jne 0x4180fa
test al, al
je 0x4180fe
mov al, 1
jmp 0x418100
xor al, al
mov byte [ebp - 0xd], al
test dl, dl
jne 0x41810f
test al, al
je 0x4181c8
mov eax, dword [ebx + 0x4a38]
test eax, eax
jne 0x41813b
mov eax, dword [ebx + 0x3f4c]
push 0xffffffffffffffff
dec eax
push connect
push eax
call fcn.0040eb70
add esp, 0xc
test eax, eax
je 0x4181c8
mov dl, byte [ebp - 0xe]
mov eax, dword [eax + 0x30c]
mov dword [ebx + 0x4c04], eax
mov dword [ebx + 0x4c00], eax
movzx eax, byte [ebp - 0xd]
xor eax, 1
mov dword [ebx + 0x4c10], 0
add eax, 2
mov dword [ebx + 0x4c0c], 0
cmp byte [ebp - 0xf], 0
mov dword [ebx + 0x4c24], 0
mov dword [ebx + 0x4c28], 0
mov dword [ebx + 0x4c1c], 0
mov dword [ebx + 0x4c20], 0
mov byte [ebx + 0x4c14], dl
mov dword [ebx + 0x4a7c], eax
jne 0x4181ab
cmp byte [ebp - 0x10], 0
je 0x4181c8
mov eax, dword [ebx + 0x4bfc]
or eax, dword [ebx + 0x4bf8]
push 0
and eax, 0xf800
push esi
push eax
call fcn.0041e050
add esp, 0xc
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4c0c]
mov esi, dword [ebx + 0x4c00]
movss xmm3, dword [0x4942d4]
movss xmm4, dword [0x4942c0]
movss xmm1, dword [0x494310]
movss dword [ebx + 0x4c0c], xmm0
test esi, esi
je 0x4183b8
cmp dword [ebx + 0x4a7c], 3
jne 0x4182d5
subss xmm0, xmm3
xorps xmm2, xmm2
divss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x418225
xorps xmm1, xmm1
jmp 0x418229
minss xmm1, xmm0
movss xmm0, dword [ebx + 0x4c10]
maxss xmm0, xmm1
push 1
push 0
push 0x281
movss dword [ebp - 0x18], xmm0
movss dword [ebx + 0x4c10], xmm0
call fcn.004133c0
push 1
push 0
push 0x282
mov bl, al
call fcn.004133c0
movzx ecx, al
add esp, 0x18
movzx eax, bl
sub eax, ecx
je 0x418296
push eax
call fcn.00418900
mov ebx, dword [ebp - 0x24]
add esp, 4
movss xmm1, dword [0x494310]
movaps xmm0, xmm1
mov esi, dword [ebx + 0x4c00]
mov dword [ebx + 0x4c10], 0x3f800000
jmp 0x4182a6
movss xmm1, dword [0x494310]
movss xmm0, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov eax, dword [0x4b31e4]
cmp byte [eax + 0x35b4], 0
je 0x41832e
cmp byte [eax + 0x45f8], 0
jne 0x41832e
movss xmm3, dword [0x4942d4]
movss xmm4, dword [0x4942c0]
test esi, esi
je 0x4183b8
cmp dword [ebx + 0x4a7c], 2
jne 0x4183b8
movss xmm2, dword [ebx + 0x4c0c]
mov edx, 0xf800
mov eax, dword [ebx + 0x4bf8]
subss xmm2, xmm3
movss xmm0, dword [ebx + 0x4c10]
test eax, eax
mov ecx, edx
xorps xmm3, xmm3
cmovne ecx, eax
mov eax, dword [ebx + 0x4bfc]
test eax, eax
divss xmm2, xmm4
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm3, xmm2
jbe 0x41836a
xorps xmm1, xmm1
jmp 0x41836e
comiss xmm1, xmm0
seta al
and byte [ebx + 0x4c14], al
je 0x418355
cmp dword [ebx + 0x4a38], 0
je 0x41835e
mov byte [ebp - 0x14], 1
mov dword [ebx + 0x4c00], 0
jmp 0x4183b8
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x4c00], 0
jmp 0x4183b8
minss xmm1, xmm2
mov al, byte [ebp - 0xf]
maxss xmm0, xmm1
movss dword [ebx + 0x4c10], xmm0
test al, al
jne 0x4183a2
cmp byte [ebp - 0x10], al
jne 0x4183a2
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x4183b8
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x20], eax
jmp 0x4183b8
movzx eax, al
xor eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.00418900
add esp, 4
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0xc]
mov dword [ebp - 0xc], 0x211
mov dword [ebp - 8], 0x215
nop dword [eax]
mov edi, dword [esi]
test al, al
je 0x4183ea
push 0
push 0xffffffffffffffff
push edi
call fcn.004133c0
add esp, 0xc
test al, al
jne 0x4183f6
mov eax, dword [ebp - 0x28]
add esi, 4
lea ecx, [ebp - 4]
cmp esi, ecx
jne 0x4183d0
jmp 0x41840d
mov byte [ebx + 0x4c14], 1
mov dword [ebx + 0x4c18], edi
mov dword [ebx + 0x4a7c], 2
cmp byte [ebx + 0x4c14], 0
je 0x418624
cmp dword [ebx + 0x4a7c], 2
jne 0x418624
cmp dword [ebx + 0x3898], 0
jg 0x41844b
cmp byte [ebx + 0xe1c], 0
jne 0x41844b
cmp byte [ebx + 0xe1d], 0
jne 0x41844b
cmp byte [ebx + 0xe1f], 0
je 0x418452
mov byte [ebx + 0x4c14], 0
mov ecx, dword [ebx + 0x4c18]
cmp ecx, 0x200
jl 0x418468
cmp ecx, 0x29a
jl 0x418498
cmp ecx, 0x1000
je 0x418498
cmp ecx, 0x2000
je 0x418498
cmp ecx, 0x4000
je 0x418498
cmp ecx, 0x8000
je 0x418498
cmp ecx, 0x800
je 0x418498
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x4184ec
mov esi, dword [0x4b31e4]
cmp byte [esi + 0x48cc], 0
je 0x4184c5
cmp dword [esi + 0x3fdc], 0xffffffff
je 0x4184c5
lea eax, [ecx - 0x200]
cmp eax, 0x76
ja 0x4184c5
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x4184fa
test ecx, 0xf800
je 0x4184d9
push ecx
push esi
call fcn.00409780
add esp, 8
mov ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 0x14]
cmp dword [esi + eax*4 + 0x2844], 0xffffffff
mov dword [ebp - 0x14], ecx
jne 0x4184fa
mov eax, dword [0x4b31e4]
cmp dword [eax + 0x4764], 0xffffffff
je 0x418501
mov byte [ebx + 0x4c14], 0
mov esi, dword [ebx + 0x4c18]
mov dl, cl
mov edi, dword [0x4b31e4]
mov eax, esi
mov byte [ebp - 0xd], dl
test esi, 0xf800
je 0x418529
push esi
push edi
call fcn.00409780
mov dl, byte [ebp - 0xd]
add esp, 8
cmp eax, 0x1ff
ja 0x418544
mov ecx, dword [edi + eax*4 + 0xb8]
mov byte [ebp - 0x14], dl
cmp ecx, 0xffffffff
je 0x418544
mov eax, ecx
mov byte [ebp - 0x14], dl
add eax, eax
xorps xmm0, xmm0
comiss xmm0, dword [edi + eax*8 + 0xe2c]
ja 0x41860c
cmp byte [edi + eax*8 + 0xe24], 0
jne 0x41860c
push 0
push esi
call fcn.004241b0
add esp, 8
test al, al
je 0x41860c
cmp byte [ebx + 0x4c14], 0
je 0x41860c
cmp dword [ebx + 0x3fdc], 0
je 0x418597
cmp byte [ebx + 0x3fe9], 0
je 0x41860c
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x4185ab
mov eax, dword [0x4b31e4]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x4943b0]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x4185ca
comiss xmm2, xmm1
jb 0x4185ca
mov dl, 1
jmp 0x4185cc
xor dl, dl
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x4185e0
mov eax, dword [0x4b31e4]
add eax, 0xe00
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x4185f7
comiss xmm2, xmm1
jb 0x4185f7
mov cl, 1
jmp 0x4185f9
xor cl, cl
mov eax, dword [ebp - 0x14]
cmp dl, cl
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [ebp - 0x14], eax
push dword [ebx + 0x4c18]
call fcn.004132b0
add esp, 4
test al, al
jne 0x418624
mov byte [ebx + 0x4c14], al
mov eax, dword [ebx + 0x4c00]
test eax, eax
je 0x41879a
test byte [eax + 0xc], 4
jne 0x41879a
mov eax, dword [ebx + 0x4a7c]
xorps xmm4, xmm4
xorps xmm2, xmm2
xorps xmm3, xmm3
cmp eax, 2
jne 0x418680
cmp byte [ebx + 0xe1d], 0
jne 0x4186aa
mov eax, dword [0x4b31e4]
movss xmm2, dword [eax + 0x2e50]
movss xmm3, dword [eax + 0x2e70]
subss xmm2, dword [eax + 0x2e40]
subss xmm3, dword [eax + 0x2e60]
jmp 0x4186aa
cmp eax, 3
jne 0x4186aa
mov eax, dword [0x4b31e4]
movss xmm2, dword [eax + 0x36b0]
movss xmm3, dword [eax + 0x36d0]
subss xmm2, dword [eax + 0x36a0]
subss xmm3, dword [eax + 0x36c0]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x4186c0
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x41879a
movss xmm1, dword [ebx + 0x3c]
minss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x494394]
mov byte [ebx + 0x4a93], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4c1c]
addss xmm3, dword [ebx + 0x4c20]
cvttss2si esi, xmm2
cvttss2si edi, xmm3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm4
movss dword [ebx + 0x4c1c], xmm2
movss dword [ebx + 0x4c20], xmm3
lahf
cvtdq2ps xmm1, xmm1
test ah, 0x44
jp 0x418732
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x41879a
mov eax, dword [ebx + 0x4c00]
lea ecx, [ebp - 0x2c]
push 1
push ecx
mov eax, dword [eax + 0x30c]
push eax
addss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x28], xmm0
call fcn.0041ee60
movss xmm0, dword [ebx + 0x4c1c]
add esp, 0xc
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [ebx + 0x4c1c], xmm0
movss xmm0, dword [ebx + 0x4c20]
subss xmm0, xmm1
movss dword [ebx + 0x4c20], xmm0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x41881c
mov eax, dword [ebx + 0x4a38]
test eax, eax
je 0x4187b3
cmp esi, dword [eax + 0x30c]
je 0x418812
push 0
push 0
call fcn.0041d850
mov eax, dword [0x4b31e4]
push 0
push esi
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.00409370
push 1
push esi
call fcn.0040ed60
mov esi, dword [ebx + 0x4a38]
add esp, 0x18
cmp dword [esi + 0x324], 0
jne 0x4187fe
push 0
push esi
call fcn.004152b0
add esp, 8
cmp word [esi + 0x156], 2
jne 0x418812
mov dword [ebx + 0x4a80], 1
mov dword [ebx + 0x4c00], 0
cmp byte [ebp - 0x14], 0
je 0x4188e9
cmp dword [ebx + 0x4a38], 0
je 0x4188e9
push 0
push 0
call fcn.0041d850
mov esi, dword [ebx + 0x4a38]
add esp, 8
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x41887d
test byte [esi + 0x154], 2
jne 0x41887d
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x41887d
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x418854
mov edi, dword [ebx + 0x4a38]
cmp esi, edi
je 0x418898
push 0
push esi
call fcn.0040ed60
add esp, 8
mov dword [esi + 0x320], edi
mov ecx, dword [ebx + 0x4a38]
test byte [ecx + 0x154], 2
je 0x4188b2
mov eax, dword [ebx + 0x4a80]
xor eax, 1
jmp 0x4188b4
xor eax, eax
cmp eax, dword [ebx + 0x4a80]
je 0x4188e9
cmp eax, 1
jne 0x4188cb
mov dword [ecx + 0x328], 0
push eax
call fcn.00416040
mov eax, dword [0x4b31e4]
add esp, 4
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret