Function at 0x4204e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x648d90]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov edx, dword [ebx + 0x47d4]
sub edx, 1
mov dword [ebp - 0x18], edi
mov byte [ebp - 8], 0
js 0x420530
mov eax, dword [ebx + 0x47dc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x420528
test dword [edi + 0xc], 0x8000000
jne 0x420600
sub eax, 0x28
sub edx, 1
jns 0x420515
lea eax, [ebx + 0x4968]
xor edi, edi
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp dword [ebx + 0x496c], 0
je 0x420586
test eax, eax
jne 0x420586
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x515c64]
movss xmm1, dword [ebx + 0x4978]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4990]
maxss xmm1, xmm0
movss dword [ebx + 0x4978], xmm1
jb 0x420586
comiss xmm0, xmm1
jb 0x420586
mov dword [ebx + 0x496c], eax
or edx, 0xffffffff
mov esi, 0x5156f5
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x4205a1
cmp byte [esi], al
jne 0x4205a1
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 + 0x5100a0]
test al, al
jne 0x420593
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x4205d3
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x4205d7
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x420616
mov ecx, dword [ebx + 0x4960]
test ecx, ecx
je 0x420616
push ecx
call fcn.0041bc70
add esp, 4
test al, al
je 0x420616
mov byte [ebp - 1], 1
jmp 0x42061e
lea eax, [ebx + 0x4968]
mov dword [eax], 0
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x42053d
mov byte [ebp - 1], 0
test edi, edi
jne 0x420640
mov ecx, dword [ebx + 0x4964]
mov esi, dword [ebp - 0x14]
test ecx, ecx
je 0x420643
push ecx
mov edx, esi
call fcn.0041bc70
add esp, 4
test al, al
je 0x420643
mov byte [ebp - 2], 1
jmp 0x42064b
mov esi, dword [ebp - 0x14]
mov byte [ebp - 2], 0
test edi, edi
jne 0x42067e
cmp byte [ebp - 3], 0
je 0x42067e
cmp dword [ebx + 0x4968], 0
jne 0x42067e
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.0041a1c0
add esp, 4
test al, al
je 0x42067e
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x42069e
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x4206aa
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 + 0x4968], edi
jne 0x4206aa
test al, al
jne 0x4206a6
test cl, cl
je 0x4206aa
mov al, 1
jmp 0x4206ac
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x4206bb
test al, al
je 0x4207fd
mov eax, dword [ebx + 0x47fc]
test eax, eax
jne 0x4206e6
mov ecx, dword [ebx + 0x3e3c]
mov edx, getpeername
push 0xffffffffffffffff
dec ecx
call fcn.004203d0
add esp, 4
test eax, eax
je 0x4207fd
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebx + 0x496c], eax
mov dword [ebx + 0x4968], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4978], 0
add eax, 2
mov dword [ebx + 0x4974], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4988], 0
mov dword [ebx + 0x498c], 0
mov dword [ebx + 0x4980], 0
mov dword [ebx + 0x4984], 0
mov byte [ebx + 0x497c], dl
mov dword [ebx + 0x482c], eax
jne 0x42075a
cmp byte [ebp - 2], 0
je 0x4207fd
mov edi, dword [ebx + 0x4964]
or edi, dword [ebx + 0x4960]
mov ecx, dword [0x648d90]
test edi, 0x1000
je 0x420789
mov edx, 0x1000
call fcn.0040da00
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x4207a6
mov edx, 0x2000
call fcn.0040da00
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x4207c3
mov edx, 0x4000
call fcn.0040da00
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x4207e0
mov edx, 0x8000
call fcn.0040da00
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x4207fd
mov edx, 0x800
call fcn.0040da00
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x4974]
lea esi, [ebx + 0x4968]
addss xmm0, dword [ebx + 0x18]
mov eax, dword [esi]
mov edi, eax
movss xmm7, dword [0x515bac]
movss xmm1, dword [0x515b98]
movss xmm5, dword [0x515c08]
movss dword [ebx + 0x4974], xmm0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4208f3
cmp dword [ebx + 0x482c], 3
jne 0x4208fb
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x420863
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x4978]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x4978], xmm6
call fcn.0041a1c0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.0041a1c0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x4208c3
mov ecx, eax
call fcn.00420440
mov ebx, dword [ebp - 0x10]
movaps xmm6, xmm5
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x4978], 0x3f800000
jmp 0x4208c6
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x648d90]
mov edx, 0x26b
call fcn.00419c20
cmp byte [eax], 0
je 0x42094f
mov edx, 0x26b
call fcn.0040da00
cmp byte [eax + 8], 0
jne 0x42094f
movss xmm1, dword [0x515b98]
test edi, edi
je 0x42097b
cmp dword [ebx + 0x482c], 2
xorps xmm6, xmm6
jne 0x42097e
movss xmm0, dword [ebx + 0x4974]
mov edx, 0xf800
mov eax, dword [ebx + 0x4960]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4964]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x420a0d
xorps xmm5, xmm5
jmp 0x420a11
comiss xmm5, xmm6
seta al
and byte [ebx + 0x497c], al
je 0x42096c
cmp dword [ebx + 0x47fc], 0
je 0x420975
mov byte [ebp - 8], 1
jmp 0x420975
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], esi
mov dword [esi], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x4209ab
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.0041a1c0
add esp, 4
test al, al
je 0x4209ab
mov byte [ebx + 0x497c], 1
mov dword [ebx + 0x482c], 2
cmp byte [ebx + 0x497c], 0
mov edi, 1
je 0x420b5a
cmp dword [ebx + 0x482c], 2
jne 0x420b5a
cmp dword [ebx + 0x3770], 0
jg 0x420a65
cmp byte [ebx + 0xdd4], 0
jne 0x420a65
cmp byte [ebx + 0xdd5], 0
jne 0x420a65
cmp byte [ebx + 0xdd7], 0
mov ecx, dword [0x648d90]
jne 0x420a6b
mov edx, 0x4000
call fcn.0040da00
cmp dword [eax], 0xffffffff
je 0x420a72
jmp 0x420a6b
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x4978]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x4978], xmm0
test al, al
jne 0x420a4e
cmp byte [ebp - 2], al
jne 0x420a4e
mov eax, dword [ebx + 0xdd8]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x42097e
mov dword [ebp - 0x18], edi
jmp 0x42097e
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00420440
jmp 0x42097e
mov ecx, dword [0x648d90]
mov byte [ebx + 0x497c], 0
mov edx, 0x4000
call fcn.00419c20
comiss xmm6, dword [eax + 8]
ja 0x420b32
cmp byte [eax], 0
jne 0x420b32
mov edx, 0x4000
call fcn.0040da00
cmp byte [eax + 8], 0
jne 0x420b32
cmp byte [ebx + 0x497c], 0
je 0x420b32
cmp dword [ebx + 0x3ec4], 0
je 0x420ac2
cmp byte [ebx + 0x3ed1], 0
je 0x420b32
lea eax, [ebx + 0x36a0]
test eax, eax
jne 0x420ad2
lea eax, [ecx + 0xdb8]
movss xmm0, dword [eax]
movss xmm1, dword [0x515cc8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x420af1
comiss xmm2, xmm1
jb 0x420af1
mov dl, 1
jmp 0x420af3
xor dl, dl
lea eax, [ebx + 0xdb8]
test eax, eax
jne 0x420b03
lea eax, [ecx + 0xdb8]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x420b1a
comiss xmm2, xmm1
jb 0x420b1a
mov al, 1
jmp 0x420b1c
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 - 0x10]
cmove eax, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.00419c20
cmp byte [eax], 0
je 0x420b51
mov edx, 0x4000
call fcn.0040da00
cmp byte [eax + 8], 0
je 0x420b60
mov byte [ebx + 0x497c], 0
jmp 0x420b60
mov ecx, dword [0x648d90]
mov eax, dword [esi]
test eax, eax
je 0x420ce5
test byte [eax + 0xc], 4
jne 0x420ce5
mov eax, dword [ebx + 0x482c]
cmp eax, 2
jne 0x420bb5
cmp byte [ebx + 0xdd5], 0
jne 0x420ce5
mov edx, 0x203
call fcn.00419c20
mov edx, 0x201
mov edi, eax
call fcn.00419c20
mov edx, 0x202
mov esi, eax
call fcn.00419c20
mov edx, 0x204
jmp 0x420be5
cmp eax, 3
jne 0x420ce5
mov edx, 0x27b
call fcn.00419c20
mov edx, 0x279
mov edi, eax
call fcn.00419c20
mov edx, 0x27a
mov esi, eax
call fcn.00419c20
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.00419c20
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x420c14
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x420ce2
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x515c9c]
mov byte [ebx + 0x4837], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4980]
addss xmm3, dword [ebx + 0x4984]
cvttss2si eax, xmm2
movss dword [ebx + 0x4980], xmm2
movss dword [ebx + 0x4984], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x420c86
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x420ce2
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov eax, dword [esi]
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.00419940
movss xmm0, dword [ebx + 0x4980]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4980], xmm0
movss xmm0, dword [ebx + 0x4984]
subss xmm0, xmm4
movss dword [ebx + 0x4984], xmm0
jmp 0x420ce5
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x420d63
mov eax, dword [ebx + 0x47fc]
test eax, eax
je 0x420cfe
cmp edi, dword [eax + 0x300]
je 0x420d5d
xor edx, edx
xor ecx, ecx
call fcn.00411010
mov eax, dword [0x648d90]
xor dl, dl
mov ecx, edi
mov word [eax + 0x4835], 1
mov byte [eax + 0x4837], 1
call fcn.0041c990
mov edx, 1
mov ecx, edi
call fcn.00419380
mov edi, dword [ebx + 0x47fc]
cmp dword [edi + 0x314], 0
jne 0x420d49
xor dl, dl
mov ecx, edi
call fcn.0041e1f0
cmp word [edi + 0x14e], 2
jne 0x420d5d
mov dword [ebx + 0x4830], 1
mov dword [esi], 0
cmp byte [ebp - 8], 0
je 0x420e29
cmp dword [ebx + 0x47fc], 0
je 0x420e29
xor edx, edx
xor ecx, ecx
call fcn.00411010
mov edi, dword [ebx + 0x47fc]
mov esi, edi
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x420ddc
nop word [eax + eax]
test byte [esi + 0x14c], 2
jne 0x420dc9
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x420dc9
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x420da0
cmp esi, edi
je 0x420ddc
xor edx, edx
mov ecx, esi
call fcn.00419380
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47fc]
test byte [eax + 0x14c], 2
je 0x420df6
mov ecx, dword [ebx + 0x4830]
xor ecx, 1
jmp 0x420df8
xor ecx, ecx
cmp ecx, dword [ebx + 0x4830]
je 0x420e29
cmp ecx, 1
jne 0x420e0f
mov dword [eax + 0x318], 0
call fcn.0041e150
mov eax, dword [0x648d90]
mov word [eax + 0x4835], 1
mov byte [eax + 0x4837], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret