Function at 0x10018b40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x100dbf3c]
push edi
xor edi, edi
mov byte [ebp - 0xc], 0
mov dword [ebp - 0x10], edi
call fcn.100150a0
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10018b74
mov dword [esi + 0x4c00], 0
xor eax, eax
jmp 0x10018b7a
mov eax, dword [esi + 0x4c00]
cmp dword [esi + 0x4c04], 0
je 0x10018bc3
test eax, eax
jne 0x10018bc3
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100ccb40]
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 0x10018bc3
comiss xmm0, xmm1
jb 0x10018bc3
mov dword [esi + 0x4c04], eax
or ebx, 0xffffffff
mov edx, 0x100c6aa5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x10018bde
cmp byte [edx], al
jne 0x10018bde
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 + 0x100c1290]
test al, al
jne 0x10018bd0
mov eax, dword [esi + 8]
not ebx
mov edi, dword [ebp - 8]
test al, 2
je 0x10018c0d
test byte [esi + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10018c11
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x10018c3e
mov ecx, dword [esi + 0x4bf8]
test ecx, ecx
je 0x10018c3e
push 0x10001
mov edx, ebx
call fcn.100142b0
add esp, 4
mov byte [ebp - 1], 1
test al, al
jne 0x10018c42
mov byte [ebp - 1], 0
test edi, edi
jne 0x10018c67
mov ecx, dword [esi + 0x4bfc]
test ecx, ecx
je 0x10018c67
push 0x10001
mov edx, ebx
call fcn.100142b0
add esp, 4
mov byte [ebp - 2], 1
test al, al
jne 0x10018c6b
mov byte [ebp - 2], 0
test edi, edi
jne 0x10018c97
cmp byte [ebp - 3], 0
je 0x10018c97
cmp dword [esi + 0x4c00], edi
jne 0x10018c97
push edi
xor edx, edx
mov ecx, 0x279
call fcn.10012420
add esp, 4
test al, al
je 0x10018c97
mov cl, 1
xor eax, eax
jmp 0x10018c9f
mov eax, dword [esi + 0x4c00]
xor cl, cl
cmp dword [ebp - 8], 0
mov edi, eax
mov byte [ebp - 3], cl
jne 0x10018cbe
test eax, eax
jne 0x10018cbe
cmp byte [ebp - 1], al
jne 0x10018cb8
cmp byte [ebp - 2], al
je 0x10018cbe
mov al, 1
xor edi, edi
jmp 0x10018cc0
xor al, al
mov byte [ebp - 4], al
test cl, cl
jne 0x10018ccf
test al, al
je 0x10018d91
mov eax, dword [esi + 0x4a3c]
test eax, eax
jne 0x10018cfa
mov ecx, dword [esi + 0x3f4c]
mov edx, reloc.WS2_32.dll_accept
push 0xffffffffffffffff
dec ecx
call fcn.10018a30
mov cl, byte [ebp - 3]
add esp, 4
test eax, eax
je 0x10018d91
mov edi, dword [eax + 0x308]
mov dword [esi + 0x4c24], 0
mov eax, dword [esi + 0x4c24]
mov dword [esi + 0x4c1c], eax
mov dword [esi + 0x4c28], 0
mov eax, dword [esi + 0x4c28]
mov dword [esi + 0x4c20], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [esi + 0x4c04], edi
add eax, 2
mov dword [esi + 0x4c00], edi
cmp byte [ebp - 1], 0
mov dword [esi + 0x4c10], 0
mov dword [esi + 0x4c0c], 0
mov byte [esi + 0x4c14], cl
mov dword [esi + 0x4a80], eax
jne 0x10018d6e
cmp byte [ebp - 2], 0
je 0x10018d91
push ecx
mov ecx, dword [esi + 0x4bfc]
mov edx, ebx
or ecx, dword [esi + 0x4bf8]
and ecx, 0xf800
call fcn.10014190
mov edi, dword [esi + 0x4c00]
add esp, 4
movss xmm0, dword [esi + 0x18]
movss xmm1, dword [0x100cca98]
movss xmm2, dword [0x100cca88]
movss xmm6, dword [0x100ccaf0]
addss xmm0, dword [esi + 0x4c0c]
movss dword [esi + 0x4c0c], xmm0
test edi, edi
je 0x10018eab
cmp dword [esi + 0x4a80], 3
jne 0x10018eab
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x10018dea
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.10012420
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.10012420
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x10018e40
mov ecx, eax
call fcn.10018aa0
mov dword [esi + 0x4c10], 0x3f800000
movaps xmm7, xmm6
mov ebx, dword [0x100dbf3c]
cmp byte [ebx + 0x35b4], 0
je 0x10018e5f
xor edx, edx
mov ecx, 0x279
call fcn.100140e0
test al, al
jne 0x10018e99
comiss xmm6, xmm7
seta al
and al, byte [esi + 0x4c14]
mov byte [esi + 0x4c14], al
je 0x10018e82
cmp dword [esi + 0x4a3c], 0
je 0x10018e82
mov byte [ebp - 0xc], 1
jmp 0x10018e8f
test al, al
jne 0x10018e8f
mov edi, dword [esi + 0x4c00]
mov dword [ebp - 0x10], edi
mov dword [esi + 0x4c00], 0
movss xmm1, dword [0x100cca98]
movss xmm2, dword [0x100cca88]
jmp 0x10018eb1
mov ebx, dword [0x100dbf3c]
mov edi, dword [esi + 0x4c00]
xorps xmm7, xmm7
test edi, edi
je 0x10018f5c
cmp dword [esi + 0x4a80], 2
jne 0x10018f5c
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 0x10018f10
xorps xmm6, xmm6
jmp 0x10018f14
minss xmm6, xmm0
movss xmm0, dword [esi + 0x4c10]
mov al, byte [ebp - 1]
maxss xmm0, xmm6
movss dword [esi + 0x4c10], xmm0
test al, al
jne 0x10018f4a
cmp byte [ebp - 2], al
jne 0x10018f4a
mov eax, dword [esi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10018f5c
mov dword [ebp - 0x10], edi
jmp 0x10018f5c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10018aa0
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x211
mov dword [ebp - 0x18], 0x215
test al, al
je 0x10018f93
mov eax, dword [edi]
or edx, 0xffffffff
push 0
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.10012420
add esp, 4
test al, al
jne 0x10019051
mov eax, dword [ebp - 0x14]
add edi, 4
lea ecx, [ebp - 0x14]
cmp edi, ecx
jne 0x10018f70
mov al, byte [esi + 0x4c14]
mov edi, 1
test al, al
je 0x100191ed
cmp dword [esi + 0x4a80], 2
jne 0x100191ed
cmp dword [esi + 0x3898], 0
jg 0x10018fe1
cmp byte [esi + 0xe1c], 0
jne 0x10018fe1
cmp byte [esi + 0xe1d], 0
jne 0x10018fe1
cmp byte [esi + 0xe1f], 0
je 0x10018fe8
mov byte [esi + 0x4c14], 0
mov edi, dword [esi + 0x4c18]
cmp edi, 0x200
jl 0x10018ffe
cmp edi, 0x29a
jl 0x10019026
cmp edi, 0x1000
je 0x10019026
cmp edi, 0x2000
je 0x10019026
cmp edi, 0x4000
je 0x10019026
cmp edi, 0x8000
je 0x10019026
cmp edi, 0x800
jne 0x10019097
cmp byte [ebx + 0x48cc], 0
je 0x10019072
cmp dword [ebx + 0x3fdc], 0xffffffff
je 0x10019072
lea eax, [edi - 0x200]
cmp eax, 0x76
ja 0x10019072
mov ecx, ebx
mov byte [esi + 0x4c14], 0
mov dword [ebp - 8], ecx
jmp 0x100190bf
mov eax, dword [ebp - 8]
mov dword [esi + 0x4c18], eax
mov al, 1
mov byte [esi + 0x4c14], 1
mov dword [esi + 0x4a80], 2
jmp 0x10018fa3
mov eax, edi
test edi, 0xf800
je 0x10019085
mov edx, edi
mov ecx, ebx
call fcn.10005b80
lea eax, [eax + eax*2]
mov ecx, ebx
cmp dword [ebx + eax*4 + 0x2844], 0xffffffff
mov dword [ebp - 8], ecx
jne 0x100190b3
mov ecx, ebx
mov edx, 0x4000
mov dword [ebp - 8], ecx
call fcn.10005b80
lea eax, [eax + eax*2]
cmp dword [ecx + eax*4 + 0x2844], 0xffffffff
je 0x100190bc
mov byte [esi + 0x4c14], 0
jmp 0x100190bf
mov dword [ebp - 8], ecx
mov edx, edi
mov eax, edi
and edx, 0xf800
mov dword [ebp - 0x14], edx
je 0x100190d5
mov edx, edi
call fcn.10005b80
cmp eax, 0x1ff
ja 0x100190e9
mov ecx, dword [ecx + eax*4 + 0xb8]
cmp ecx, 0xffffffff
cmovne eax, ecx
mov ecx, dword [ebp - 8]
add eax, eax
comiss xmm7, dword [ecx + eax*8 + 0xe2c]
ja 0x100191a3
cmp byte [ecx + eax*8 + 0xe24], 0
jne 0x100191a3
xor edx, edx
mov ecx, edi
call fcn.100140e0
test al, al
je 0x100191a3
cmp byte [esi + 0x4c14], 0
je 0x100191a3
cmp dword [esi + 0x3fdc], 0
je 0x10019136
cmp byte [esi + 0x3fe9], 0
je 0x100191a3
lea eax, [esi + 0xe00]
test eax, eax
jne 0x10019146
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x100ccba8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10019165
comiss xmm2, xmm1
jb 0x10019165
mov cl, 1
jmp 0x10019167
xor cl, cl
lea eax, [esi + 0x37c8]
test eax, eax
jne 0x10019177
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001918e
comiss xmm2, xmm1
jb 0x1001918e
mov al, 1
jmp 0x10019190
xor al, al
mov edx, dword [ebp - 0xc]
cmp cl, al
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x14], 0
mov eax, edi
je 0x100191b4
mov edx, edi
mov ecx, ebx
call fcn.10005b80
cmp eax, 0x1ff
ja 0x100191c8
mov ecx, dword [ebx + eax*4 + 0xb8]
cmp ecx, 0xffffffff
cmovne eax, ecx
add eax, eax
cmp byte [ebx + eax*8 + 0xe24], 0
je 0x100191e1
xor edx, edx
mov ecx, edi
call fcn.100140e0
test al, al
jne 0x100191e8
mov byte [esi + 0x4c14], 0
mov edi, 1
mov eax, dword [esi + 0x4c00]
test eax, eax
je 0x10019355
test byte [eax + 0xc], 4
jne 0x10019355
mov eax, dword [esi + 0x4a80]
cmp eax, 2
jne 0x1001923f
cmp byte [esi + 0xe1d], 0
jne 0x10019355
movss xmm3, dword [ebx + 0x2e70]
movss xmm2, dword [ebx + 0x2e50]
subss xmm3, dword [ebx + 0x2e60]
subss xmm2, dword [ebx + 0x2e40]
jmp 0x10019268
cmp eax, 3
jne 0x10019355
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 0x1001927e
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10019355
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x100ccb78]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x4c1c]
addss xmm3, dword [esi + 0x4c20]
movss dword [esi + 0x4c1c], xmm2
movss dword [esi + 0x4c20], xmm3
mov byte [esi + 0x4a93], 1
cvttss2si eax, dword [esi + 0x4c1c]
movd xmm5, eax
cvttss2si eax, dword [esi + 0x4c20]
cvtdq2ps xmm5, xmm5
movd xmm4, eax
ucomiss xmm5, xmm7
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x100192f8
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x10019355
mov eax, dword [esi + 0x4c00]
lea edx, [ebp - 0x1c]
push 1
mov ecx, dword [eax + 0x308]
movss xmm0, dword [ecx + 0x18]
addss xmm0, xmm5
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ecx + 0x1c]
addss xmm0, xmm4
movss dword [ebp - 0x18], xmm0
call fcn.100114a0
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 - 0x10]
test ebx, ebx
je 0x100193d4
mov eax, dword [esi + 0x4a3c]
test eax, eax
je 0x1001936e
cmp ebx, dword [eax + 0x308]
je 0x100193ca
xor edx, edx
xor ecx, ecx
call fcn.100092f0
mov eax, dword [0x100dbf3c]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.100150e0
mov edx, edi
mov ecx, ebx
call fcn.10010fd0
mov edi, dword [esi + 0x4a3c]
cmp dword [edi + 0x320], 0
jne 0x100193b6
xor dl, dl
mov ecx, edi
call fcn.10016740
cmp word [edi + 0x156], 2
jne 0x100193ca
mov dword [esi + 0x4a84], 1
mov dword [esi + 0x4c00], 0
cmp byte [ebp - 0xc], 0
je 0x10019493
cmp dword [esi + 0x4a3c], 0
je 0x10019493
xor edx, edx
xor ecx, ecx
call fcn.100092f0
mov ebx, dword [esi + 0x4a3c]
mov edi, ebx
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
je 0x10019439
nop dword [eax + eax]
test byte [edi + 0x154], 2
jne 0x10019439
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10019439
mov edi, dword [ecx]
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
jne 0x10019410
cmp edi, ebx
je 0x10019452
xor edx, edx
mov ecx, edi
call fcn.10010fd0
mov dword [edi + 0x31c], ebx
mov ebx, dword [esi + 0x4a3c]
mov edx, dword [esi + 0x4a84]
mov ecx, edx
mov al, byte [ebx + 0x154]
xor ecx, 1
xor esi, esi
and al, 2
cmove ecx, esi
cmp ecx, edx
je 0x10019493
cmp ecx, 1
jne 0x10019479
mov dword [ebx + 0x324], esi
call fcn.100165e0
mov eax, dword [0x100dbf3c]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret