Function at 0x10059050
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1014a440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x101864e8]
xor eax, eax
push edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x14], al
call fcn.100555c0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1005908b
mov dword [esi + 0x4c00], 0
xor eax, eax
jmp 0x10059091
mov eax, dword [esi + 0x4c00]
cmp dword [esi + 0x4c04], 0
je 0x100590da
test eax, eax
jne 0x100590da
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1013afa4]
movss xmm1, dword [esi + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x4c2c]
maxss xmm1, xmm0
movss dword [esi + 0x4c10], xmm1
jb 0x100590da
comiss xmm0, xmm1
jb 0x100590da
mov dword [esi + 0x4c04], eax
or ebx, 0xffffffff
mov edx, 0x1013621d
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x100590f5
cmp byte [edx], al
jne 0x100590f5
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 + 0x10136688]
test al, al
jne 0x100590e7
mov eax, dword [esi + 8]
not ebx
mov edi, dword [0x101864e8]
test al, 2
je 0x10059127
test byte [esi + 0xc], 1
mov byte [ebp - 0xe], 1
jne 0x1005912b
mov byte [ebp - 0xe], 0
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10059166
mov ecx, dword [esi + 0x4bf8]
test ecx, ecx
je 0x10059166
push 0x10001
mov edx, ebx
call fcn.100549a0
mov edi, dword [0x101864e8]
add esp, 4
test al, al
je 0x10059163
mov byte [ebp - 0xf], 1
jmp 0x1005916e
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0xf], 0
test eax, eax
jne 0x10059197
mov ecx, dword [esi + 0x4bfc]
test ecx, ecx
je 0x10059197
push 0x10001
mov edx, ebx
call fcn.100549a0
mov edi, dword [0x101864e8]
add esp, 4
test al, al
je 0x10059197
mov byte [ebp - 0x10], 1
jmp 0x100591a1
cmp dword [ebp - 0x18], 0
mov byte [ebp - 0x10], 0
jne 0x100591d4
cmp byte [ebp - 0xe], 0
je 0x100591d4
cmp dword [esi + 0x4c00], 0
jne 0x100591d4
push 0
xor edx, edx
mov ecx, 0x279
call fcn.10052ad0
add esp, 4
test al, al
je 0x100591d4
mov al, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0xe], 1
mov dl, byte [ebp - 0xe]
jmp 0x100591f7
xor dl, dl
cmp dword [ebp - 0x18], 0
mov byte [ebp - 0xe], dl
jne 0x10059203
cmp dword [esi + 0x4c00], 0
mov cl, byte [ebp - 0x10]
mov al, byte [ebp - 0xf]
mov byte [ebp - 0xe], dl
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xf], al
jne 0x10059203
test al, al
jne 0x100591ff
test cl, cl
je 0x10059203
mov al, 1
jmp 0x10059205
xor al, al
mov byte [ebp - 0xd], al
test dl, dl
jne 0x10059214
test al, al
je 0x100592cc
mov eax, dword [esi + 0x4a38]
test eax, eax
jne 0x1005923f
mov ecx, dword [esi + 0x3f4c]
mov edx, reloc.WS2_32.dll_accept
push 0xffffffffffffffff
dec ecx
call fcn.10058f40
add esp, 4
test eax, eax
je 0x100592cc
mov dl, byte [ebp - 0xe]
mov eax, dword [eax + 0x30c]
mov dword [esi + 0x4c04], eax
mov dword [esi + 0x4c00], eax
movzx eax, byte [ebp - 0xd]
xor eax, 1
mov dword [esi + 0x4c10], 0
add eax, 2
mov dword [esi + 0x4c0c], 0
cmp byte [ebp - 0xf], 0
mov dword [esi + 0x4c24], 0
mov dword [esi + 0x4c28], 0
mov dword [esi + 0x4c1c], 0
mov dword [esi + 0x4c20], 0
mov byte [esi + 0x4c14], dl
mov dword [esi + 0x4a7c], eax
jne 0x100592af
cmp byte [ebp - 0x10], 0
je 0x100592cc
push ecx
mov ecx, dword [esi + 0x4bfc]
mov edx, ebx
or ecx, dword [esi + 0x4bf8]
and ecx, 0xf800
call fcn.10054880
add esp, 4
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x4c0c]
mov eax, dword [esi + 0x4c00]
movss xmm1, dword [0x1013af00]
movss xmm2, dword [0x1013aeec]
movss xmm6, dword [0x1013af58]
movss dword [esi + 0x4c0c], xmm0
test eax, eax
je 0x10059430
cmp dword [esi + 0x4a7c], 3
jne 0x100593b3
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x1005932b
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [esi + 0x4c10]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x281
push 1
movss dword [esi + 0x4c10], xmm7
call fcn.10052ad0
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.10052ad0
movzx ecx, al
add esp, 4
mov eax, dword [esi + 0x4c00]
movzx edx, bl
sub edx, ecx
je 0x1005938d
mov ecx, edx
call fcn.10058fb0
mov eax, dword [esi + 0x4c00]
movaps xmm7, xmm6
mov dword [esi + 0x4c10], 0x3f800000
cmp byte [edi + 0x35b4], 0
je 0x10059400
cmp byte [edi + 0x45f8], 0
jne 0x10059400
movss xmm1, dword [0x1013af00]
movss xmm2, dword [0x1013aeec]
test eax, eax
je 0x10059430
cmp dword [esi + 0x4a7c], 2
xorps xmm7, xmm7
jne 0x10059433
movss xmm0, dword [esi + 0x4c0c]
mov edx, 0xf800
mov eax, dword [esi + 0x4bf8]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [esi + 0x4bfc]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x1005946f
xorps xmm6, xmm6
jmp 0x10059473
comiss xmm6, xmm7
seta al
and byte [esi + 0x4c14], al
je 0x1005941d
cmp dword [esi + 0x4a38], 0
je 0x10059426
mov byte [ebp - 0x14], 1
jmp 0x10059426
mov eax, dword [esi + 0x4c00]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x4c00], 0
xorps xmm7, xmm7
mov eax, dword [ebp - 0x20]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], 0x211
mov dword [ebp - 8], 0x215
mov ebx, dword [edi]
test al, al
je 0x10059463
push 0
or edx, 0xffffffff
mov ecx, ebx
call fcn.10052ad0
add esp, 4
test al, al
jne 0x100594c6
mov eax, dword [ebp - 0x20]
add edi, 4
lea ecx, [ebp - 4]
cmp edi, ecx
jne 0x10059447
jmp 0x100594dd
minss xmm6, xmm0
movss xmm0, dword [esi + 0x4c10]
mov al, byte [ebp - 0xf]
maxss xmm0, xmm6
movss dword [esi + 0x4c10], xmm0
test al, al
jne 0x100594af
cmp byte [ebp - 0x10], al
jne 0x100594af
mov eax, dword [esi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10059433
mov eax, dword [esi + 0x4c00]
mov dword [ebp - 0x1c], eax
jmp 0x10059433
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10058fb0
jmp 0x10059433
mov byte [esi + 0x4c14], 1
mov dword [esi + 0x4c18], ebx
mov dword [esi + 0x4a7c], 2
cmp byte [esi + 0x4c14], 0
mov edi, 1
je 0x1005971f
cmp dword [esi + 0x4a7c], 2
jne 0x1005971f
cmp dword [esi + 0x3898], 0
jg 0x10059520
cmp byte [esi + 0xe1c], 0
jne 0x10059520
cmp byte [esi + 0xe1d], 0
jne 0x10059520
cmp byte [esi + 0xe1f], 0
je 0x10059527
mov byte [esi + 0x4c14], 0
mov ecx, dword [esi + 0x4c18]
cmp ecx, 0x200
jl 0x10059541
cmp ecx, 0x29a
jl 0x10059664
cmp ecx, 0x1000
je 0x10059664
cmp ecx, 0x2000
je 0x10059664
cmp ecx, 0x4000
je 0x10059664
cmp ecx, 0x8000
je 0x10059664
cmp ecx, 0x800
je 0x10059664
mov ebx, dword [0x101864e8]
mov eax, dword [ebp - 0x14]
mov edx, 0x4000
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.10045180
lea eax, [eax + eax*2]
cmp dword [ebx + eax*4 + 0x2844], 0xffffffff
je 0x100595a9
mov byte [esi + 0x4c14], 0
mov edi, dword [esi + 0x4c18]
mov eax, edi
mov dl, byte [ebp - 0x14]
test edi, 0xf800
je 0x100595c8
mov edx, edi
mov ecx, ebx
call fcn.10045180
mov dl, byte [ebp - 0x14]
cmp eax, 0x1ff
ja 0x100595e3
mov ecx, dword [ebx + eax*4 + 0xb8]
mov byte [ebp - 0x14], dl
cmp ecx, 0xffffffff
je 0x100595e3
mov eax, ecx
mov byte [ebp - 0x14], dl
add eax, eax
comiss xmm7, dword [ebx + eax*8 + 0xe2c]
ja 0x10059701
cmp byte [ebx + eax*8 + 0xe24], 0
jne 0x10059701
xor edx, edx
mov ecx, edi
call fcn.100547d0
test al, al
je 0x10059701
cmp byte [esi + 0x4c14], 0
je 0x10059701
cmp dword [esi + 0x3fdc], 0
je 0x10059635
cmp byte [esi + 0x3fe9], 0
je 0x10059701
lea eax, [esi + 0xe00]
test eax, eax
jne 0x10059645
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x1013b034]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100596c1
comiss xmm2, xmm1
jb 0x100596c1
mov dl, 1
jmp 0x100596c3
mov ebx, dword [0x101864e8]
cmp byte [ebx + 0x48cc], 0
je 0x10059692
cmp dword [ebx + 0x3fdc], 0xffffffff
je 0x10059692
lea eax, [ecx - 0x200]
cmp eax, 0x76
ja 0x10059692
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x100595a2
test ecx, 0xf800
je 0x100596a5
mov edx, ecx
mov ecx, ebx
call fcn.10045180
mov ecx, eax
lea eax, [ecx + ecx*2]
cmp dword [ebx + eax*4 + 0x2844], 0xffffffff
je 0x10059583
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x100595a2
xor dl, dl
lea eax, [esi + 0x37c8]
test eax, eax
jne 0x100596d3
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100596ea
comiss xmm2, xmm1
jb 0x100596ea
mov cl, 1
jmp 0x100596ec
xor cl, cl
mov eax, dword [ebp - 0x14]
cmp dl, cl
movzx eax, al
mov edi, 1
cmove eax, edi
mov dword [ebp - 0x14], eax
jmp 0x10059706
mov edi, 1
mov ecx, dword [esi + 0x4c18]
xor edx, edx
call fcn.10052a70
test al, al
jne 0x10059725
mov byte [esi + 0x4c14], al
jmp 0x10059725
mov ebx, dword [0x101864e8]
mov eax, dword [esi + 0x4c00]
test eax, eax
je 0x10059881
test byte [eax + 0xc], 4
jne 0x10059881
mov eax, dword [esi + 0x4a7c]
movaps xmm2, xmm7
movaps xmm3, xmm7
cmp eax, 2
jne 0x10059779
cmp byte [esi + 0xe1d], 0
jne 0x1005979e
movss xmm3, dword [ebx + 0x2e70]
movss xmm2, dword [ebx + 0x2e50]
subss xmm3, dword [ebx + 0x2e60]
subss xmm2, dword [ebx + 0x2e40]
jmp 0x1005979e
cmp eax, 3
jne 0x1005979e
movss xmm3, dword [ebx + 0x36d0]
movss xmm2, dword [ebx + 0x36b0]
subss xmm3, dword [ebx + 0x36c0]
subss xmm2, dword [ebx + 0x36a0]
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x100597b4
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10059881
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x1013aff0]
mov byte [esi + 0x4a93], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x4c1c]
addss xmm3, dword [esi + 0x4c20]
cvttss2si eax, xmm2
movss dword [esi + 0x4c1c], xmm2
movss dword [esi + 0x4c20], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x10059826
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x10059881
mov eax, dword [esi + 0x4c00]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x30c]
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.10051e70
movss xmm0, dword [esi + 0x4c1c]
add esp, 4
subss xmm0, xmm5
movss dword [esi + 0x4c1c], xmm0
movss xmm0, dword [esi + 0x4c20]
subss xmm0, xmm4
movss dword [esi + 0x4c20], xmm0
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10059900
mov eax, dword [esi + 0x4a38]
test eax, eax
je 0x1005989a
cmp ebx, dword [eax + 0x30c]
je 0x100598f6
xor edx, edx
xor ecx, ecx
call fcn.10048400
mov eax, dword [0x101864e8]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.10055600
mov edx, edi
mov ecx, ebx
call fcn.100519d0
mov edi, dword [esi + 0x4a38]
cmp dword [edi + 0x324], 0
jne 0x100598e2
xor dl, dl
mov ecx, edi
call fcn.10056cb0
cmp word [edi + 0x156], 2
jne 0x100598f6
mov dword [esi + 0x4a80], 1
mov dword [esi + 0x4c00], 0
cmp byte [ebp - 0x14], 0
je 0x100599c4
cmp dword [esi + 0x4a38], 0
je 0x100599c4
xor edx, edx
xor ecx, ecx
call fcn.10048400
mov edi, dword [esi + 0x4a38]
cmp dword [edi + 0x304], 0
lea ecx, [edi + 0x304]
je 0x1005995e
test byte [edi + 0x154], 2
jne 0x1005995e
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1005995e
mov edi, dword [ecx]
cmp dword [edi + 0x304], 0
lea ecx, [edi + 0x304]
jne 0x10059935
mov ebx, dword [esi + 0x4a38]
cmp edi, ebx
je 0x10059977
xor edx, edx
mov ecx, edi
call fcn.100519d0
mov dword [edi + 0x320], ebx
mov eax, dword [esi + 0x4a38]
test byte [eax + 0x154], 2
je 0x10059991
mov ecx, dword [esi + 0x4a80]
xor ecx, 1
jmp 0x10059993
xor ecx, ecx
cmp ecx, dword [esi + 0x4a80]
je 0x100599c4
cmp ecx, 1
jne 0x100599aa
mov dword [eax + 0x328], 0
call fcn.10056b80
mov eax, dword [0x101864e8]
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.100cacb6
mov esp, ebp
pop ebp
ret