Function at 0x1001cbf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10167324]
push esi
xor esi, esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 8], 0
call fcn.10018680
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1001cc21
mov dword [ebx + 0x4ce8], esi
xor eax, eax
jmp 0x1001cc27
mov eax, dword [ebx + 0x4ce8]
cmp dword [ebx + 0x4cec], esi
je 0x1001cc6f
test eax, eax
jne 0x1001cc6f
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1015cb18]
movss xmm1, dword [ebx + 0x4cf8]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4d10]
maxss xmm1, xmm0
movss dword [ebx + 0x4cf8], xmm1
jb 0x1001cc6f
comiss xmm0, xmm1
jb 0x1001cc6f
mov dword [ebx + 0x4cec], esi
or edx, 0xffffffff
mov esi, 0x10126b35
mov al, 0x23
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1001cc8e
cmp byte [esi], al
jne 0x1001cc8e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10129e08]
test al, al
jne 0x1001cc80
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x10167324]
mov dword [ebp - 0xc], edx
test al, 2
je 0x1001ccc3
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x1001ccc7
mov byte [ebp - 3], 0
mov esi, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x1001ccfd
mov ecx, dword [ebx + 0x4ce0]
test ecx, ecx
je 0x1001ccfd
push 0x1001
call fcn.10016ed0
mov edi, dword [0x10167324]
add esp, 4
test al, al
je 0x1001ccfd
mov byte [ebp - 1], 1
jmp 0x1001cd05
mov byte [ebp - 1], 0
test esi, esi
jne 0x1001cd31
mov ecx, dword [ebx + 0x4ce4]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x1001cd34
push 0x1001
mov edx, esi
call fcn.10016ed0
mov edi, dword [0x10167324]
add esp, 4
test al, al
je 0x1001cd34
mov byte [ebp - 2], 1
jmp 0x1001cd3e
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x1001cd71
cmp byte [ebp - 3], 0
je 0x1001cd71
cmp dword [ebx + 0x4ce8], 0
jne 0x1001cd71
push 0
xor edx, edx
mov ecx, 0x279
call fcn.10015170
add esp, 4
test al, al
je 0x1001cd71
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x1001cd94
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x1001cda0
cmp dword [ebx + 0x4ce8], 0
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
jne 0x1001cda0
test al, al
jne 0x1001cd9c
test cl, cl
je 0x1001cda0
mov al, 1
jmp 0x1001cda2
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x1001cdb1
test al, al
je 0x1001cf01
mov eax, dword [ebx + 0x4b34]
test eax, eax
jne 0x1001cddc
mov ecx, dword [ebx + 0x4028]
mov edx, reloc.WS2_32.dll_accept
push 0xffffffffffffffff
dec ecx
call fcn.1001cae0
add esp, 4
test eax, eax
je 0x1001cf01
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x340]
mov dword [ebx + 0x4cec], eax
mov dword [ebx + 0x4ce8], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4cf8], 0
add eax, 2
mov dword [ebx + 0x4cf4], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4d08], 0
mov dword [ebx + 0x4d0c], 0
mov dword [ebx + 0x4d00], 0
mov dword [ebx + 0x4d04], 0
mov byte [ebx + 0x4cfc], dl
mov dword [ebx + 0x4b64], eax
jne 0x1001ce50
cmp byte [ebp - 2], 0
je 0x1001cf01
mov eax, dword [ebx + 0x4ce4]
or eax, dword [ebx + 0x4ce0]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x1001ce80
mov edx, 0x1000
mov ecx, edi
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x1001cea1
mov edx, 0x2000
mov ecx, edi
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x1001cec2
mov edx, 0x4000
mov ecx, edi
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x1001cee3
mov edx, 0x8000
mov ecx, edi
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x1001cf01
mov edx, 0x800
mov ecx, edi
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x4cf4]
addss xmm0, dword [ebx + 0x18]
mov esi, dword [ebx + 0x4ce8]
mov eax, esi
movss xmm7, dword [0x1015c9c0]
movss xmm1, dword [0x1015c99c]
movss xmm5, dword [0x1015ca30]
movss dword [ebx + 0x4cf4], xmm0
mov dword [ebp - 0xc], eax
test esi, esi
je 0x1001d000
cmp dword [ebx + 0x4b64], 3
mov dword [ebp - 0xc], esi
jne 0x1001d004
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1001cf68
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x4cf8]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x281
push 1
movss dword [ebx + 0x4cf8], xmm6
call fcn.10015170
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.10015170
movzx ecx, al
add esp, 4
movzx eax, bl
mov dword [ebp - 0xc], esi
sub eax, ecx
je 0x1001cfd1
mov ecx, eax
call fcn.1001cb50
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov eax, dword [ebx + 0x4ce8]
mov esi, eax
mov dword [ebx + 0x4cf8], 0x3f800000
mov dword [ebp - 0xc], eax
jmp 0x1001cfd4
mov ebx, dword [ebp - 0x14]
mov edx, 0x279
mov ecx, edi
call fcn.10014b60
cmp byte [eax], 0
je 0x1001d058
mov edx, 0x279
call fcn.10002ff0
cmp byte [eax + 8], 0
jne 0x1001d058
movss xmm1, dword [0x1015c99c]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1001d082
cmp dword [ebx + 0x4b64], 2
xorps xmm6, xmm6
jne 0x1001d085
movss xmm0, dword [ebx + 0x4cf4]
mov edx, 0xf800
mov eax, dword [ebx + 0x4ce0]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4ce4]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x1001d114
xorps xmm5, xmm5
jmp 0x1001d118
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4cfc], al
je 0x1001d075
cmp dword [ebx + 0x4b34], 0
je 0x1001d078
mov byte [ebp - 8], 1
jmp 0x1001d078
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x4ce8], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x1001d0b2
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.10015170
add esp, 4
test al, al
je 0x1001d0b2
mov byte [ebx + 0x4cfc], 1
mov dword [ebx + 0x4b64], 2
cmp byte [ebx + 0x4cfc], 0
mov esi, 1
je 0x1001d264
cmp dword [ebx + 0x4b64], 2
jne 0x1001d264
cmp dword [ebx + 0x38d0], 0
jg 0x1001d16f
cmp byte [ebx + 0xe28], 0
jne 0x1001d16f
cmp byte [ebx + 0xe29], 0
jne 0x1001d16f
cmp byte [ebx + 0xe2b], 0
mov ecx, dword [0x10167324]
jne 0x1001d175
mov edx, 0x4000
call fcn.10002ff0
cmp dword [eax], 0xffffffff
je 0x1001d17c
jmp 0x1001d175
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x4cf8]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x4cf8], xmm0
test al, al
jne 0x1001d158
cmp byte [ebp - 2], al
jne 0x1001d158
mov eax, dword [ebx + 0xe2c]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1001d085
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
jmp 0x1001d085
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.1001cb50
jmp 0x1001d085
mov ecx, dword [0x10167324]
mov byte [ebx + 0x4cfc], 0
mov edx, 0x4000
call fcn.10014b60
comiss xmm6, dword [eax + 8]
ja 0x1001d23c
cmp byte [eax], 0
jne 0x1001d23c
mov edx, 0x4000
call fcn.10002ff0
cmp byte [eax + 8], 0
jne 0x1001d23c
cmp byte [ebx + 0x4cfc], 0
je 0x1001d23c
cmp dword [ebx + 0x40b0], 0
je 0x1001d1cc
cmp byte [ebx + 0x40bd], 0
je 0x1001d23c
lea eax, [ebx + 0x37d4]
test eax, eax
jne 0x1001d1dc
lea eax, [ecx + 0xe08]
movss xmm0, dword [eax]
movss xmm1, dword [0x1015cc8c]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001d1fb
comiss xmm2, xmm1
jb 0x1001d1fb
mov dl, 1
jmp 0x1001d1fd
xor dl, dl
lea eax, [ebx + 0xe08]
test eax, eax
jne 0x1001d20d
lea eax, [ecx + 0xe08]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001d224
comiss xmm2, xmm1
jb 0x1001d224
mov al, 1
jmp 0x1001d226
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, esi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.10014b60
cmp byte [eax], 0
je 0x1001d25b
mov edx, 0x4000
call fcn.10002ff0
cmp byte [eax + 8], 0
je 0x1001d26a
mov byte [ebx + 0x4cfc], 0
jmp 0x1001d26a
mov ecx, dword [0x10167324]
mov eax, dword [ebx + 0x4ce8]
test eax, eax
je 0x1001d3ef
test byte [eax + 0xc], 4
jne 0x1001d3ef
mov eax, dword [ebx + 0x4b64]
cmp eax, 2
jne 0x1001d2c3
cmp byte [ebx + 0xe29], 0
jne 0x1001d3ef
mov edx, 0x203
call fcn.10014b60
mov edx, 0x201
mov edi, eax
call fcn.10014b60
mov edx, 0x202
mov esi, eax
call fcn.10014b60
mov edx, 0x204
jmp 0x1001d2f3
cmp eax, 3
jne 0x1001d3ef
mov edx, 0x289
call fcn.10014b60
mov edx, 0x287
mov edi, eax
call fcn.10014b60
mov edx, 0x288
mov esi, eax
call fcn.10014b60
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.10014b60
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x1001d322
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x1001d3ef
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x1015cbf0]
mov byte [ebx + 0x4b7b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4d00]
addss xmm3, dword [ebx + 0x4d04]
cvttss2si eax, xmm2
movss dword [ebx + 0x4d00], xmm2
movss dword [ebx + 0x4d04], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x1001d394
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x1001d3ef
mov eax, dword [ebx + 0x4ce8]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x348]
addss xmm0, dword [ecx + 0x44]
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x48]
movss dword [ebp - 0x1c], xmm0
call fcn.10014590
movss xmm0, dword [ebx + 0x4d00]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4d00], xmm0
movss xmm0, dword [ebx + 0x4d04]
subss xmm0, xmm4
movss dword [ebx + 0x4d04], xmm0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1001d493
mov eax, dword [ebx + 0x4b34]
test eax, eax
je 0x1001d411
cmp esi, dword [eax + 0x340]
je 0x1001d489
mov edi, dword [eax + 0x30]
jmp 0x1001d413
xor edi, edi
xor edx, edx
xor ecx, ecx
call fcn.10009200
mov eax, dword [0x10167324]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4b79], 1
mov byte [eax + 0x4b7b], 1
call fcn.10018990
mov edx, 1
mov ecx, esi
call fcn.10013b80
mov esi, dword [ebx + 0x4b34]
cmp dword [esi + 0x358], 0
jne 0x1001d45e
xor dl, dl
mov ecx, esi
call fcn.1001a710
cmp word [esi + 0x186], 2
jne 0x1001d472
mov dword [ebx + 0x4b68], 1
mov ecx, dword [esi + 0x30]
cmp ecx, edi
je 0x1001d489
mov eax, dword [ebx + 0x38fc]
test eax, eax
je 0x1001d489
push ecx
call eax
add esp, 4
mov dword [ebx + 0x4ce8], 0
cmp byte [ebp - 8], 0
je 0x1001d562
cmp dword [ebx + 0x4b34], 0
je 0x1001d562
xor edx, edx
xor ecx, ecx
call fcn.10009200
mov edi, dword [ebx + 0x4b34]
mov esi, edi
cmp dword [esi + 0x338], 0
lea ecx, [esi + 0x338]
je 0x1001d50c
nop word [eax + eax]
test byte [esi + 0x184], 2
jne 0x1001d4f9
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001d4f9
mov esi, dword [ecx]
cmp dword [esi + 0x338], 0
lea ecx, [esi + 0x338]
jne 0x1001d4d0
cmp esi, edi
je 0x1001d50c
xor edx, edx
mov ecx, esi
call fcn.10013b80
mov dword [esi + 0x354], edi
mov eax, dword [ebx + 0x4b34]
test byte [eax + 0x184], 2
je 0x1001d526
mov ecx, dword [ebx + 0x4b68]
xor ecx, 1
jmp 0x1001d528
xor ecx, ecx
cmp ecx, dword [ebx + 0x4b68]
je 0x1001d562
cmp ecx, 1
jne 0x1001d548
cmp dword [esi + 0x3bc], 0
jne 0x1001d548
mov dword [eax + 0x35c], 0
call fcn.1001a670
mov eax, dword [0x10167324]
mov word [eax + 0x4b79], 1
mov byte [eax + 0x4b7b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret