Function at 0x1003d200
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x1020b1f4]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
call fcn.100373a0
mov edi, eax
test edi, edi
je 0x1003d233
mov dword [ebx + 0x4bc0], 0
xor ecx, ecx
jmp 0x1003d239
mov ecx, dword [ebx + 0x4bc0]
cmp dword [ebx + 0x4bc4], 0
je 0x1003d282
test ecx, ecx
jne 0x1003d282
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x101ccf18]
movss xmm1, dword [ebx + 0x4bd0]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4be8]
maxss xmm1, xmm0
movss dword [ebx + 0x4bd0], xmm1
jb 0x1003d282
comiss xmm0, xmm1
jb 0x1003d282
mov dword [ebx + 0x4bc4], ecx
or edx, 0xffffffff
mov esi, 0x101ce91d
mov al, 0x23
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x1003d29e
cmp byte [esi], al
jne 0x1003d29e
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 + 0x101cd328]
test al, al
jne 0x1003d290
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x1003d2d0
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x1003d2d4
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x1003d303
mov eax, dword [ebx + 0x4bb8]
test eax, eax
je 0x1003d303
push 0x1001
push edx
push eax
call fcn.10043620
add esp, 0xc
test al, al
je 0x1003d303
mov byte [ebp - 1], 1
jmp 0x1003d30b
mov byte [ebp - 1], 0
test edi, edi
jne 0x1003d331
mov eax, dword [ebx + 0x4bbc]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x1003d334
push 0x1001
push esi
push eax
call fcn.10043620
add esp, 0xc
test al, al
je 0x1003d334
mov byte [ebp - 2], 1
jmp 0x1003d33c
mov esi, dword [ebp - 0xc]
mov byte [ebp - 2], 0
test edi, edi
jne 0x1003d36f
cmp byte [ebp - 3], 0
je 0x1003d36f
cmp dword [ebx + 0x4bc0], 0
jne 0x1003d36f
push 0
push 0
push 0x279
call fcn.10039220
add esp, 0xc
test al, al
je 0x1003d36f
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x1003d38f
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x1003d39b
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 + 0x4bc0], edi
jne 0x1003d39b
test al, al
jne 0x1003d397
test cl, cl
je 0x1003d39b
mov al, 1
jmp 0x1003d39d
xor al, al
mov byte [ebp - 5], al
test dl, dl
jne 0x1003d3ac
test al, al
je 0x1003d465
mov eax, dword [ebx + 0x4a10]
test eax, eax
jne 0x1003d3d8
mov eax, dword [ebx + 0x3f6c]
push 0xffffffffffffffff
dec eax
push reloc.WS2_32.dll_accept
push eax
call fcn.10035f40
add esp, 0xc
test eax, eax
je 0x1003d465
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4bc4], eax
mov dword [ebx + 0x4bc0], eax
movzx eax, byte [ebp - 5]
xor eax, 1
mov dword [ebx + 0x4bd0], 0
add eax, 2
mov dword [ebx + 0x4bcc], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4be0], 0
mov dword [ebx + 0x4be4], 0
mov dword [ebx + 0x4bd8], 0
mov dword [ebx + 0x4bdc], 0
mov byte [ebx + 0x4bd4], dl
mov dword [ebx + 0x4a40], eax
jne 0x1003d448
cmp byte [ebp - 2], 0
je 0x1003d465
mov eax, dword [ebx + 0x4bbc]
or eax, dword [ebx + 0x4bb8]
push 0
and eax, 0xf800
push esi
push eax
call fcn.10042c90
add esp, 0xc
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4bcc]
mov esi, dword [ebx + 0x4bc0]
movss xmm1, dword [0x101ceb00]
movss xmm3, dword [0x101ceaf4]
movss xmm2, dword [0x101ccef4]
movss dword [ebx + 0x4bcc], xmm0
test esi, esi
je 0x1003d5f6
cmp dword [ebx + 0x4a40], 3
jne 0x1003d572
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x1003d4c2
xorps xmm2, xmm2
jmp 0x1003d4c6
minss xmm2, xmm0
movss xmm0, dword [ebx + 0x4bd0]
maxss xmm0, xmm2
push 1
push 0
push 0x282
movss dword [ebp - 0xc], xmm0
movss dword [ebx + 0x4bd0], xmm0
call fcn.10039220
push 1
push 0
push 0x281
mov bl, al
call fcn.10039220
movzx ecx, al
add esp, 0x18
movzx eax, bl
sub ecx, eax
je 0x1003d533
push ecx
call fcn.1003da90
mov ebx, dword [ebp - 0x10]
add esp, 4
movss xmm2, dword [0x101ccef4]
movaps xmm0, xmm2
mov esi, dword [ebx + 0x4bc0]
mov dword [ebx + 0x4bd0], 0x3f800000
jmp 0x1003d543
movss xmm2, dword [0x101ccef4]
movss xmm0, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x1020b1f4]
cmp byte [eax + 0x35b4], 0
je 0x1003d5c6
cmp byte [eax + 0x45e8], 0
jne 0x1003d5c6
movss xmm1, dword [0x101ceb00]
movss xmm3, dword [0x101ceaf4]
test esi, esi
je 0x1003d5f6
cmp dword [ebx + 0x4a40], 2
jne 0x1003d5f6
movss xmm0, dword [ebx + 0x4bcc]
mov edx, 0xf800
mov eax, dword [ebx + 0x4bb8]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
xorps xmm1, xmm1
cmovne ecx, eax
mov eax, dword [ebx + 0x4bbc]
test eax, eax
divss xmm0, xmm3
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm1, xmm0
jbe 0x1003d713
xorps xmm2, xmm2
jmp 0x1003d717
comiss xmm2, xmm0
seta al
and byte [ebx + 0x4bd4], al
je 0x1003d5e3
cmp dword [ebx + 0x4a10], 0
je 0x1003d5ec
mov byte [ebp - 4], 1
jmp 0x1003d5ec
mov eax, dword [ebx + 0x4bc0]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x4bc0], 0
xorps xmm1, xmm1
cmp byte [ebp - 0x18], 0
je 0x1003d63e
mov ecx, dword [0x1020b1f4]
cmp byte [ecx + 0x37a4], 0
je 0x1003d63e
movss xmm0, dword [ecx + 0x37a8]
comiss xmm1, xmm0
ja 0x1003d63e
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003d63e
cmp dword [ecx + 0x4754], 0xffffffff
jne 0x1003d63e
mov byte [ebx + 0x4bd4], 1
mov dword [ebx + 0x4a40], 2
cmp byte [ebx + 0x4bd4], 0
je 0x1003d7cc
cmp dword [ebx + 0x4a40], 2
jne 0x1003d7cc
cmp dword [ebx + 0x3898], 0
jg 0x1003d68a
cmp byte [ebx + 0xe1c], 0
jne 0x1003d68a
cmp byte [ebx + 0xe1d], 0
jne 0x1003d68a
cmp byte [ebx + 0xe1f], 0
jne 0x1003d68a
mov eax, dword [0x1020b1f4]
cmp dword [eax + 0x4754], 0xffffffff
je 0x1003d691
mov byte [ebx + 0x4bd4], 0
mov eax, dword [0x1020b1f4]
comiss xmm1, dword [eax + 0x37ac]
ja 0x1003d7ae
cmp byte [eax + 0x37a4], 0
jne 0x1003d7ae
cmp byte [eax + 0x475c], 0
jne 0x1003d7c5
cmp byte [ebx + 0x4bd4], 0
je 0x1003d7ae
cmp dword [ebx + 0x3ff8], 0
je 0x1003d6e0
cmp byte [ebx + 0x4005], 0
je 0x1003d7ae
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x1003d6f4
mov eax, dword [0x1020b1f4]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x101ceb74]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1003d775
comiss xmm2, xmm1
jb 0x1003d775
mov cl, 1
jmp 0x1003d777
minss xmm2, xmm0
movss xmm0, dword [ebx + 0x4bd0]
mov al, byte [ebp - 1]
maxss xmm0, xmm2
movss dword [ebx + 0x4bd0], xmm0
test al, al
jne 0x1003d75a
cmp byte [ebp - 2], al
jne 0x1003d75a
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1003d5f9
mov eax, dword [ebx + 0x4bc0]
mov dword [ebp - 0x14], eax
jmp 0x1003d5f9
movzx eax, al
xor eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.1003da90
add esp, 4
jmp 0x1003d5f9
xor cl, cl
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x1003d78b
mov eax, dword [0x1020b1f4]
add eax, 0xe00
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1003d7a2
comiss xmm2, xmm1
jb 0x1003d7a2
mov al, 1
jmp 0x1003d7a4
xor al, al
cmp al, cl
jne 0x1003d7ae
mov byte [ebp - 4], 1
jmp 0x1003d7c5
mov eax, dword [0x1020b1f4]
cmp byte [eax + 0x37a4], 0
je 0x1003d7c5
cmp byte [eax + 0x475c], 0
je 0x1003d7cc
mov byte [ebx + 0x4bd4], 0
mov eax, dword [ebx + 0x4bc0]
test eax, eax
je 0x1003d937
test byte [eax + 0xc], 4
jne 0x1003d937
mov eax, dword [ebx + 0x4a40]
cmp eax, 2
jne 0x1003d812
cmp byte [ebx + 0xe1d], 0
jne 0x1003d937
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x1003d82f
cmp eax, 3
jne 0x1003d937
push 0x28a
push 0x289
push 0x288
push 0x287
lea eax, [ebp - 0x1c]
push eax
call fcn.10036cd0
add esp, 0x14
xorps xmm2, xmm2
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1003d85d
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1003d937
movss xmm1, dword [ebx + 0x3c]
minss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x101ceb60]
mov byte [ebx + 0x4a53], 1
mulss xmm1, xmm0
mulss xmm4, xmm1
mulss xmm3, xmm1
addss xmm4, dword [ebx + 0x4bd8]
addss xmm3, dword [ebx + 0x4bdc]
cvttss2si esi, xmm4
cvttss2si edi, xmm3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm2
movss dword [ebx + 0x4bd8], xmm4
movss dword [ebx + 0x4bdc], xmm3
lahf
cvtdq2ps xmm1, xmm1
test ah, 0x44
jp 0x1003d8cf
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1003d937
mov eax, dword [ebx + 0x4bc0]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov eax, dword [eax + 0x308]
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.100433a0
movss xmm0, dword [ebx + 0x4bd8]
add esp, 0xc
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [ebx + 0x4bd8], xmm0
movss xmm0, dword [ebx + 0x4bdc]
subss xmm0, xmm1
movss dword [ebx + 0x4bdc], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1003d9b9
mov eax, dword [ebx + 0x4a10]
test eax, eax
je 0x1003d950
cmp esi, dword [eax + 0x308]
je 0x1003d9af
push 0
push 0
call fcn.100426f0
mov eax, dword [0x1020b1f4]
push 0
push esi
mov word [eax + 0x4a51], 1
mov byte [eax + 0x4a53], 1
call fcn.10033d50
push 1
push esi
call fcn.10036090
mov esi, dword [ebx + 0x4a10]
add esp, 0x18
cmp dword [esi + 0x31c], 0
jne 0x1003d99b
push 0
push esi
call fcn.1003a7e0
add esp, 8
cmp word [esi + 0x156], 2
jne 0x1003d9af
mov dword [ebx + 0x4a44], 1
mov dword [ebx + 0x4bc0], 0
cmp byte [ebp - 4], 0
je 0x1003da86
cmp dword [ebx + 0x4a10], 0
je 0x1003da86
push 0
push 0
call fcn.100426f0
mov esi, dword [ebx + 0x4a10]
add esp, 8
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x1003da1a
test byte [esi + 0x154], 2
jne 0x1003da1a
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1003da1a
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x1003d9f1
mov edi, dword [ebx + 0x4a10]
cmp esi, edi
je 0x1003da35
push 0
push esi
call fcn.10036090
add esp, 8
mov dword [esi + 0x318], edi
mov ecx, dword [ebx + 0x4a10]
test byte [ecx + 0x154], 2
je 0x1003da4f
mov eax, dword [ebx + 0x4a44]
xor eax, 1
jmp 0x1003da51
xor eax, eax
cmp eax, dword [ebx + 0x4a44]
je 0x1003da86
cmp eax, 1
jne 0x1003da68
mov dword [ecx + 0x320], 0
push eax
call fcn.1003b3b0
mov eax, dword [0x1020b1f4]
add esp, 4
mov word [eax + 0x4a51], 1
mov byte [eax + 0x4a53], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret