Function at 0x100185f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x100d9f38]
push edi
xor edi, edi
mov byte [ebp - 0xc], 0
mov dword [ebp - 0x10], edi
call fcn.10014b70
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10018624
mov dword [esi + 0x4c00], 0
xor eax, eax
jmp 0x1001862a
mov eax, dword [esi + 0x4c00]
cmp dword [esi + 0x4c04], 0
je 0x10018673
test eax, eax
jne 0x10018673
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100cbb50]
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 0x10018673
comiss xmm0, xmm1
jb 0x10018673
mov dword [esi + 0x4c04], eax
or ebx, 0xffffffff
mov al, 0x23
mov edx, 0x100c591d
or edi, 0xffffffff
cmp al, 0x23
jne 0x1001868e
cmp byte [edx], al
jne 0x1001868e
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 + 0x100c0290]
test al, al
jne 0x10018680
mov eax, dword [esi + 8]
not ebx
mov edi, dword [ebp - 8]
test al, 2
je 0x100186bd
test byte [esi + 0xc], 1
mov byte [ebp - 3], 1
jne 0x100186c1
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x100186ee
mov ecx, dword [esi + 0x4bf8]
test ecx, ecx
je 0x100186ee
push 0x10001
mov edx, ebx
call fcn.10013d80
add esp, 4
mov byte [ebp - 1], 1
test al, al
jne 0x100186f2
mov byte [ebp - 1], 0
test edi, edi
jne 0x10018717
mov ecx, dword [esi + 0x4bfc]
test ecx, ecx
je 0x10018717
push 0x10001
mov edx, ebx
call fcn.10013d80
add esp, 4
mov byte [ebp - 2], 1
test al, al
jne 0x1001871b
mov byte [ebp - 2], 0
test edi, edi
jne 0x10018747
cmp byte [ebp - 3], 0
je 0x10018747
cmp dword [esi + 0x4c00], edi
jne 0x10018747
push edi
xor edx, edx
mov ecx, 0x279
call fcn.10011ee0
add esp, 4
test al, al
je 0x10018747
mov cl, 1
xor eax, eax
jmp 0x1001874f
mov eax, dword [esi + 0x4c00]
xor cl, cl
cmp dword [ebp - 8], 0
mov edi, eax
mov byte [ebp - 3], cl
jne 0x1001876e
test eax, eax
jne 0x1001876e
cmp byte [ebp - 1], al
jne 0x10018768
cmp byte [ebp - 2], al
je 0x1001876e
mov al, 1
xor edi, edi
jmp 0x10018770
xor al, al
mov byte [ebp - 4], al
test cl, cl
jne 0x1001877f
test al, al
je 0x10018841
mov eax, dword [esi + 0x4a3c]
test eax, eax
jne 0x100187aa
mov ecx, dword [esi + 0x3f4c]
mov edx, reloc.WS2_32.dll_accept
push 0xffffffffffffffff
dec ecx
call fcn.100184e0
mov cl, byte [ebp - 3]
add esp, 4
test eax, eax
je 0x10018841
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 0x1001881e
cmp byte [ebp - 2], 0
je 0x10018841
push ecx
mov ecx, dword [esi + 0x4bfc]
mov edx, ebx
or ecx, dword [esi + 0x4bf8]
and ecx, 0xf800
call fcn.10013c60
mov edi, dword [esi + 0x4c00]
add esp, 4
movss xmm0, dword [esi + 0x18]
movss xmm1, dword [0x100cbaa8]
movss xmm2, dword [0x100cba98]
movss xmm6, dword [0x100cbb00]
addss xmm0, dword [esi + 0x4c0c]
movss dword [esi + 0x4c0c], xmm0
test edi, edi
je 0x1001895b
cmp dword [esi + 0x4a80], 3
jne 0x1001895b
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x1001889a
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.10011ee0
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.10011ee0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x100188f0
mov ecx, eax
call fcn.10018550
mov dword [esi + 0x4c10], 0x3f800000
movaps xmm7, xmm6
mov ebx, dword [0x100d9f38]
cmp byte [ebx + 0x35b4], 0
je 0x1001890f
xor edx, edx
mov ecx, 0x279
call fcn.10013bb0
test al, al
jne 0x10018949
comiss xmm6, xmm7
seta al
and al, byte [esi + 0x4c14]
mov byte [esi + 0x4c14], al
je 0x10018932
cmp dword [esi + 0x4a3c], 0
je 0x10018932
mov byte [ebp - 0xc], 1
jmp 0x1001893f
test al, al
jne 0x1001893f
mov edi, dword [esi + 0x4c00]
mov dword [ebp - 0x10], edi
mov dword [esi + 0x4c00], 0
movss xmm1, dword [0x100cbaa8]
movss xmm2, dword [0x100cba98]
jmp 0x10018961
mov ebx, dword [0x100d9f38]
mov edi, dword [esi + 0x4c00]
xorps xmm7, xmm7
test edi, edi
je 0x10018a0c
cmp dword [esi + 0x4a80], 2
jne 0x10018a0c
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 0x100189c0
xorps xmm6, xmm6
jmp 0x100189c4
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 0x100189fa
cmp byte [ebp - 2], al
jne 0x100189fa
mov eax, dword [esi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10018a0c
mov dword [ebp - 0x10], edi
jmp 0x10018a0c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10018550
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x211
mov dword [ebp - 0x18], 0x215
test al, al
je 0x10018a43
mov eax, dword [edi]
or edx, 0xffffffff
push 0
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.10011ee0
add esp, 4
test al, al
jne 0x10018b01
mov eax, dword [ebp - 0x14]
add edi, 4
lea ecx, [ebp - 0x14]
cmp edi, ecx
jne 0x10018a20
mov al, byte [esi + 0x4c14]
mov edi, 1
test al, al
je 0x10018c9d
cmp dword [esi + 0x4a80], 2
jne 0x10018c9d
cmp dword [esi + 0x3898], 0
jg 0x10018a91
cmp byte [esi + 0xe1c], 0
jne 0x10018a91
cmp byte [esi + 0xe1d], 0
jne 0x10018a91
cmp byte [esi + 0xe1f], 0
je 0x10018a98
mov byte [esi + 0x4c14], 0
mov edi, dword [esi + 0x4c18]
cmp edi, 0x200
jl 0x10018aae
cmp edi, 0x29a
jl 0x10018ad6
cmp edi, 0x1000
je 0x10018ad6
cmp edi, 0x2000
je 0x10018ad6
cmp edi, 0x4000
je 0x10018ad6
cmp edi, 0x8000
je 0x10018ad6
cmp edi, 0x800
jne 0x10018b47
cmp byte [ebx + 0x48cc], 0
je 0x10018b22
cmp dword [ebx + 0x3fdc], 0xffffffff
je 0x10018b22
lea eax, [edi - 0x200]
cmp eax, 0x76
ja 0x10018b22
mov ecx, ebx
mov byte [esi + 0x4c14], 0
mov dword [ebp - 8], ecx
jmp 0x10018b6f
mov eax, dword [ebp - 8]
mov dword [esi + 0x4c18], eax
mov al, 1
mov byte [esi + 0x4c14], 1
mov dword [esi + 0x4a80], 2
jmp 0x10018a53
mov eax, edi
test edi, 0xf800
je 0x10018b35
mov edx, edi
mov ecx, ebx
call fcn.10005770
lea eax, [eax + eax*2]
mov ecx, ebx
cmp dword [ebx + eax*4 + 0x2844], 0xffffffff
mov dword [ebp - 8], ecx
jne 0x10018b63
mov ecx, ebx
mov edx, 0x4000
mov dword [ebp - 8], ecx
call fcn.10005770
lea eax, [eax + eax*2]
cmp dword [ecx + eax*4 + 0x2844], 0xffffffff
je 0x10018b6c
mov byte [esi + 0x4c14], 0
jmp 0x10018b6f
mov dword [ebp - 8], ecx
mov edx, edi
mov eax, edi
and edx, 0xf800
mov dword [ebp - 0x14], edx
je 0x10018b85
mov edx, edi
call fcn.10005770
cmp eax, 0x1ff
ja 0x10018b99
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 0x10018c53
cmp byte [ecx + eax*8 + 0xe24], 0
jne 0x10018c53
xor edx, edx
mov ecx, edi
call fcn.10013bb0
test al, al
je 0x10018c53
cmp byte [esi + 0x4c14], 0
je 0x10018c53
cmp dword [esi + 0x3fdc], 0
je 0x10018be6
cmp byte [esi + 0x3fe9], 0
je 0x10018c53
lea eax, [esi + 0xe00]
test eax, eax
jne 0x10018bf6
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x100cbbb8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10018c15
comiss xmm2, xmm1
jb 0x10018c15
mov cl, 1
jmp 0x10018c17
xor cl, cl
lea eax, [esi + 0x37c8]
test eax, eax
jne 0x10018c27
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10018c3e
comiss xmm2, xmm1
jb 0x10018c3e
mov al, 1
jmp 0x10018c40
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 0x10018c64
mov edx, edi
mov ecx, ebx
call fcn.10005770
cmp eax, 0x1ff
ja 0x10018c78
mov ecx, dword [ebx + eax*4 + 0xb8]
cmp ecx, 0xffffffff
cmovne eax, ecx
add eax, eax
cmp byte [ebx + eax*8 + 0xe24], 0
je 0x10018c91
xor edx, edx
mov ecx, edi
call fcn.10013bb0
test al, al
jne 0x10018c98
mov byte [esi + 0x4c14], 0
mov edi, 1
mov eax, dword [esi + 0x4c00]
test eax, eax
je 0x10018e05
test byte [eax + 0xc], 4
jne 0x10018e05
mov eax, dword [esi + 0x4a80]
cmp eax, 2
jne 0x10018cef
cmp byte [esi + 0xe1d], 0
jne 0x10018e05
movss xmm2, dword [ebx + 0x2e50]
movss xmm3, dword [ebx + 0x2e70]
subss xmm2, dword [ebx + 0x2e40]
subss xmm3, dword [ebx + 0x2e60]
jmp 0x10018d18
cmp eax, 3
jne 0x10018e05
movss xmm2, dword [ebx + 0x36b0]
movss xmm3, dword [ebx + 0x36d0]
subss xmm2, dword [ebx + 0x36a0]
subss xmm3, dword [ebx + 0x36c0]
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x10018d2e
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10018e05
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x100cbb88]
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 0x10018da8
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x10018e05
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.10010f90
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 0x10018e84
mov eax, dword [esi + 0x4a3c]
test eax, eax
je 0x10018e1e
cmp ebx, dword [eax + 0x308]
je 0x10018e7a
xor edx, edx
xor ecx, ecx
call fcn.10008ee0
mov eax, dword [0x100d9f38]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.10014bb0
mov edx, edi
mov ecx, ebx
call fcn.10010ad0
mov edi, dword [esi + 0x4a3c]
cmp dword [edi + 0x320], 0
jne 0x10018e66
xor dl, dl
mov ecx, edi
call fcn.10016210
cmp word [edi + 0x156], 2
jne 0x10018e7a
mov dword [esi + 0x4a84], 1
mov dword [esi + 0x4c00], 0
cmp byte [ebp - 0xc], 0
je 0x10018f43
cmp dword [esi + 0x4a3c], 0
je 0x10018f43
xor edx, edx
xor ecx, ecx
call fcn.10008ee0
mov ebx, dword [esi + 0x4a3c]
mov edi, ebx
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
je 0x10018ee9
nop dword [eax + eax]
test byte [edi + 0x154], 2
jne 0x10018ee9
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10018ee9
mov edi, dword [ecx]
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
jne 0x10018ec0
cmp edi, ebx
je 0x10018f02
xor edx, edx
mov ecx, edi
call fcn.10010ad0
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 0x10018f43
cmp ecx, 1
jne 0x10018f29
mov dword [ebx + 0x324], esi
call fcn.100160b0
mov eax, dword [0x100d9f38]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret