Function at 0x10018c30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10198a88]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 8], al
call fcn.100133a0
mov edi, eax
test edi, edi
je 0x10018c63
mov dword [ebx + 0x4c00], 0
xor ecx, ecx
jmp 0x10018c69
mov ecx, dword [ebx + 0x4c00]
cmp dword [ebx + 0x4c04], 0
je 0x10018cb2
test ecx, ecx
jne 0x10018cb2
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1012a2c4]
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 0x10018cb2
comiss xmm0, xmm1
jb 0x10018cb2
mov dword [ebx + 0x4c04], ecx
or edx, 0xffffffff
mov esi, 0x1012a055
mov al, 0x23
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x10018cce
cmp byte [esi], al
jne 0x10018cce
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 + 0x101288b8]
test al, al
jne 0x10018cc0
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x10018d00
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10018d04
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x10018d33
mov eax, dword [ebx + 0x4bf8]
test eax, eax
je 0x10018d33
push 0x10001
push edx
push eax
call fcn.1001e8d0
add esp, 0xc
test al, al
je 0x10018d33
mov byte [ebp - 1], 1
jmp 0x10018d3b
mov byte [ebp - 1], 0
test edi, edi
jne 0x10018d61
mov eax, dword [ebx + 0x4bfc]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x10018d64
push 0x10001
push esi
push eax
call fcn.1001e8d0
add esp, 0xc
test al, al
je 0x10018d64
mov byte [ebp - 2], 1
jmp 0x10018d6c
mov esi, dword [ebp - 0xc]
mov byte [ebp - 2], 0
test edi, edi
jne 0x10018d9f
cmp byte [ebp - 3], 0
je 0x10018d9f
cmp dword [ebx + 0x4c00], 0
jne 0x10018d9f
push 0
push 0
push 0x279
call fcn.10014d90
add esp, 0xc
test al, al
je 0x10018d9f
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x10018dbf
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x10018dcb
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 + 0x4c00], edi
jne 0x10018dcb
test al, al
jne 0x10018dc7
test cl, cl
je 0x10018dcb
mov al, 1
jmp 0x10018dcd
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x10018ddc
test al, al
je 0x10018e95
mov eax, dword [ebx + 0x4a38]
test eax, eax
jne 0x10018e08
mov eax, dword [ebx + 0x3f4c]
push 0xffffffffffffffff
dec eax
push reloc.WS2_32.dll_accept
push eax
call fcn.10012440
add esp, 0xc
test eax, eax
je 0x10018e95
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x30c]
mov dword [ebx + 0x4c04], eax
mov dword [ebx + 0x4c00], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4c10], 0
add eax, 2
mov dword [ebx + 0x4c0c], 0
cmp byte [ebp - 1], 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 0x10018e78
cmp byte [ebp - 2], 0
je 0x10018e95
mov eax, dword [ebx + 0x4bfc]
or eax, dword [ebx + 0x4bf8]
push 0
and eax, 0xf800
push esi
push eax
call fcn.1001dbd0
add esp, 0xc
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4c0c]
mov esi, dword [ebx + 0x4c00]
movss xmm3, dword [0x1012a254]
movss xmm4, dword [0x1012a244]
movss xmm1, dword [0x1012a290]
movss dword [ebx + 0x4c0c], xmm0
test esi, esi
je 0x1001908b
cmp dword [ebx + 0x4a7c], 3
jne 0x10018fe4
subss xmm0, xmm3
xorps xmm2, xmm2
divss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x10018ef2
xorps xmm1, xmm1
jmp 0x10018ef6
minss xmm1, xmm0
movss xmm0, dword [ebx + 0x4c10]
maxss xmm0, xmm1
push 1
push 0
push 0x282
movss dword [ebp - 0xc], xmm0
movss dword [ebx + 0x4c10], xmm0
call fcn.10014d90
push 1
push 0
push 0x281
mov bl, al
call fcn.10014d90
movzx ecx, al
add esp, 0x18
movzx eax, bl
sub ecx, eax
je 0x10018f63
push ecx
call fcn.100195a0
mov ebx, dword [ebp - 0x10]
add esp, 4
movss xmm1, dword [0x1012a290]
movaps xmm0, xmm1
mov esi, dword [ebx + 0x4c00]
mov dword [ebx + 0x4c10], 0x3f800000
jmp 0x10018f73
movss xmm1, dword [0x1012a290]
movss xmm0, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x10198a88]
cmp byte [eax + 0x35b4], 0
je 0x10018f8a
cmp byte [eax + 0x45f8], 0
je 0x10018fcc
comiss xmm1, xmm0
seta al
and byte [ebx + 0x4c14], al
je 0x10018fb4
cmp dword [ebx + 0x4a38], 0
je 0x10018fbd
mov byte [ebp - 8], 1
mov dword [ebx + 0x4c00], 0
jmp 0x1001908b
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x4c00], 0
jmp 0x1001908b
movss xmm3, dword [0x1012a254]
movss xmm4, dword [0x1012a244]
test esi, esi
je 0x1001908b
cmp dword [ebx + 0x4a7c], 2
jne 0x1001908b
movss xmm2, dword [ebx + 0x4c0c]
mov edx, 0xf800
mov eax, dword [ebx + 0x4bf8]
subss xmm2, xmm3
test eax, eax
mov ecx, edx
xorps xmm0, xmm0
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 xmm0, xmm2
jbe 0x10019035
xorps xmm1, xmm1
jmp 0x10019039
minss xmm1, xmm2
movss xmm0, dword [ebx + 0x4c10]
mov al, byte [ebp - 1]
maxss xmm0, xmm1
movss dword [ebx + 0x4c10], xmm0
test al, al
jne 0x10019075
cmp byte [ebp - 2], al
jne 0x10019075
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1001908b
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x14], eax
jmp 0x1001908b
movzx eax, al
xor eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.100195a0
add esp, 4
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x24], 0x211
mov edi, 0x211
mov dword [ebp - 0x20], 0x215
test al, al
je 0x100190bc
push 0
push 0xffffffffffffffff
push edi
call fcn.10014d90
add esp, 0xc
test al, al
jne 0x100190ca
mov eax, dword [ebp - 0x18]
add esi, 4
lea ecx, [ebp - 0x1c]
cmp esi, ecx
je 0x100190e1
mov edi, dword [esi]
jmp 0x100190a4
mov byte [ebx + 0x4c14], 1
mov dword [ebx + 0x4c18], edi
mov dword [ebx + 0x4a7c], 2
cmp byte [ebx + 0x4c14], 0
je 0x100192d1
cmp dword [ebx + 0x4a7c], 2
jne 0x100192d1
cmp dword [ebx + 0x3898], 0
jg 0x1001911f
cmp byte [ebx + 0xe1c], 0
jne 0x1001911f
cmp byte [ebx + 0xe1d], 0
jne 0x1001911f
cmp byte [ebx + 0xe1f], 0
je 0x10019126
mov byte [ebx + 0x4c14], 0
mov ecx, dword [ebx + 0x4c18]
cmp ecx, 0x200
jl 0x1001913c
cmp ecx, 0x29a
jl 0x10019164
cmp ecx, 0x1000
je 0x10019164
cmp ecx, 0x2000
je 0x10019164
cmp ecx, 0x4000
je 0x10019164
cmp ecx, 0x8000
je 0x10019164
cmp ecx, 0x800
jne 0x100191a8
mov esi, dword [0x10198a88]
cmp byte [esi + 0x48cc], 0
je 0x10019187
cmp dword [esi + 0x3fdc], 0xffffffff
je 0x10019187
lea eax, [ecx - 0x200]
cmp eax, 0x76
jbe 0x100191b6
test ecx, 0xf800
je 0x1001919b
push ecx
push esi
call fcn.100105a0
add esp, 8
mov ecx, eax
lea eax, [ecx + ecx*2]
cmp dword [esi + eax*4 + 0x2844], 0xffffffff
jne 0x100191b6
mov eax, dword [0x10198a88]
cmp dword [eax + 0x4764], 0xffffffff
je 0x100191bd
mov byte [ebx + 0x4c14], 0
mov esi, dword [ebx + 0x4c18]
mov eax, esi
mov edi, dword [0x10198a88]
test esi, 0xf800
je 0x100191dd
push esi
push edi
call fcn.100105a0
add esp, 8
cmp eax, 0x1ff
ja 0x100191f1
mov ecx, dword [edi + eax*4 + 0xb8]
cmp ecx, 0xffffffff
cmovne eax, ecx
add eax, eax
xorps xmm0, xmm0
comiss xmm0, dword [edi + eax*8 + 0xe2c]
ja 0x100192b9
cmp byte [edi + eax*8 + 0xe24], 0
jne 0x100192b9
push 0
push esi
call fcn.1001ea20
add esp, 8
test al, al
je 0x100192b9
cmp byte [ebx + 0x4c14], 0
je 0x100192b9
cmp dword [ebx + 0x3fdc], 0
je 0x10019244
cmp byte [ebx + 0x3fe9], 0
je 0x100192b9
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x10019258
mov eax, dword [0x10198a88]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x1012a2fc]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10019277
comiss xmm2, xmm1
jb 0x10019277
mov cl, 1
jmp 0x10019279
xor cl, cl
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x1001928d
mov eax, dword [0x10198a88]
add eax, 0xe00
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100192a4
comiss xmm2, xmm1
jb 0x100192a4
mov al, 1
jmp 0x100192a6
xor al, al
mov edx, dword [ebp - 8]
cmp cl, al
movzx edx, dl
mov esi, 1
cmove edx, esi
mov dword [ebp - 8], edx
push dword [ebx + 0x4c18]
call fcn.10014c80
add esp, 4
test al, al
jne 0x100192d1
mov byte [ebx + 0x4c14], al
mov eax, dword [ebx + 0x4c00]
test eax, eax
je 0x10019447
test byte [eax + 0xc], 4
jne 0x10019447
mov eax, dword [ebx + 0x4a7c]
xorps xmm4, xmm4
xorps xmm2, xmm2
xorps xmm3, xmm3
cmp eax, 2
jne 0x1001932d
cmp byte [ebx + 0xe1d], 0
jne 0x10019357
mov eax, dword [0x10198a88]
movss xmm3, dword [eax + 0x2e70]
movss xmm2, dword [eax + 0x2e50]
subss xmm3, dword [eax + 0x2e60]
subss xmm2, dword [eax + 0x2e40]
jmp 0x10019357
cmp eax, 3
jne 0x10019357
mov eax, dword [0x10198a88]
movss xmm3, dword [eax + 0x36d0]
movss xmm2, dword [eax + 0x36b0]
subss xmm3, dword [eax + 0x36c0]
subss xmm2, dword [eax + 0x36a0]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1001936d
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x10019447
movss xmm1, dword [ebx + 0x3c]
minss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1012a2ec]
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 0x100193df
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10019447
mov eax, dword [ebx + 0x4c00]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov eax, dword [eax + 0x30c]
push eax
addss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x18], xmm0
call fcn.1001e650
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 - 0x14]
test esi, esi
je 0x100194c9
mov eax, dword [ebx + 0x4a38]
test eax, eax
je 0x10019460
cmp esi, dword [eax + 0x30c]
je 0x100194bf
push 0
push 0
call fcn.1001d570
mov eax, dword [0x10198a88]
push 0
push esi
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.10010230
push 1
push esi
call fcn.10012630
mov esi, dword [ebx + 0x4a38]
add esp, 0x18
cmp dword [esi + 0x324], 0
jne 0x100194ab
push 0
push esi
call fcn.100161a0
add esp, 8
cmp word [esi + 0x156], 2
jne 0x100194bf
mov dword [ebx + 0x4a80], 1
mov dword [ebx + 0x4c00], 0
cmp byte [ebp - 8], 0
je 0x10019596
cmp dword [ebx + 0x4a38], 0
je 0x10019596
push 0
push 0
call fcn.1001d570
mov esi, dword [ebx + 0x4a38]
add esp, 8
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x1001952a
test byte [esi + 0x154], 2
jne 0x1001952a
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001952a
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x10019501
mov edi, dword [ebx + 0x4a38]
cmp esi, edi
je 0x10019545
push 0
push esi
call fcn.10012630
add esp, 8
mov dword [esi + 0x320], edi
mov ecx, dword [ebx + 0x4a38]
test byte [ecx + 0x154], 2
je 0x1001955f
mov eax, dword [ebx + 0x4a80]
xor eax, 1
jmp 0x10019561
xor eax, eax
cmp eax, dword [ebx + 0x4a80]
je 0x10019596
cmp eax, 1
jne 0x10019578
mov dword [ecx + 0x328], 0
push eax
call fcn.10016d80
mov eax, dword [0x10198a88]
add esp, 4
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret