Function at 0x10019080
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10100b74]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.100150f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100190b4
mov dword [ebx + 0x4ba0], 0
xor eax, eax
jmp 0x100190ba
mov eax, dword [ebx + 0x4ba0]
cmp dword [ebx + 0x4ba4], 0
je 0x10019103
test eax, eax
jne 0x10019103
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100501d4]
movss xmm1, dword [ebx + 0x4bb0]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4bc8]
maxss xmm1, xmm0
movss dword [ebx + 0x4bb0], xmm1
jb 0x10019103
comiss xmm0, xmm1
jb 0x10019103
mov dword [ebx + 0x4ba4], eax
or edx, 0xffffffff
mov esi, 0x1004b12d
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x1001911e
cmp byte [esi], al
jne 0x1001911e
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 + 0x1004b580]
test al, al
jne 0x10019110
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x10100b74]
mov dword [ebp - 0xc], edx
test al, 2
je 0x10019153
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10019157
mov byte [ebp - 3], 0
mov ecx, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
test ecx, ecx
jne 0x100191b6
mov eax, dword [ebx + 0x4b98]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100191b6
push 0x1101
mov ecx, eax
call fcn.100123b0
mov esi, dword [ebp - 0xc]
add esp, 4
test al, al
je 0x100191ab
mov ecx, dword [ebp - 0x1c]
mov edx, esi
push 0x1101
call fcn.10014020
add esp, 4
test al, al
je 0x100191ab
mov edi, dword [0x10100b74]
mov byte [ebp - 1], 1
jmp 0x100191c1
mov edi, dword [0x10100b74]
mov ecx, dword [ebp - 0x10]
jmp 0x100191b9
mov esi, dword [ebp - 0xc]
mov byte [ebp - 1], 0
test ecx, ecx
jne 0x1001920b
mov eax, dword [ebx + 0x4b9c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1001920b
push 0x1101
mov edx, esi
mov ecx, eax
call fcn.100123b0
add esp, 4
test al, al
je 0x10019205
mov ecx, dword [ebp - 0x1c]
mov edx, esi
push 0x1101
call fcn.10014020
add esp, 4
test al, al
je 0x10019205
mov edi, dword [0x10100b74]
mov byte [ebp - 2], 1
jmp 0x10019215
mov edi, dword [0x10100b74]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x10019248
cmp byte [ebp - 3], 0
je 0x10019248
cmp dword [ebx + 0x4ba0], 0
jne 0x10019248
push 0
xor edx, edx
mov ecx, 0x279
call fcn.100124b0
add esp, 4
test al, al
je 0x10019248
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x1001926b
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x10019277
cmp dword [ebx + 0x4ba0], 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 0x10019277
test al, al
jne 0x10019273
test cl, cl
je 0x10019277
mov al, 1
jmp 0x10019279
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x10019288
test al, al
je 0x100193d8
mov eax, dword [ebx + 0x49f0]
test eax, eax
jne 0x100192b3
mov ecx, dword [ebx + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.10018f70
add esp, 4
test eax, eax
je 0x100193d8
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4ba4], eax
mov dword [ebx + 0x4ba0], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4bb0], 0
add eax, 2
mov dword [ebx + 0x4bac], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4bc0], 0
mov dword [ebx + 0x4bc4], 0
mov dword [ebx + 0x4bb8], 0
mov dword [ebx + 0x4bbc], 0
mov byte [ebx + 0x4bb4], dl
mov dword [ebx + 0x4a20], eax
jne 0x10019327
cmp byte [ebp - 2], 0
je 0x100193d8
mov eax, dword [ebx + 0x4b9c]
or eax, dword [ebx + 0x4b98]
mov dword [ebp - 0x10], eax
test eax, 0x1000
je 0x10019357
mov edx, 0x1000
mov ecx, edi
call fcn.100041e0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x2000
je 0x10019378
mov edx, 0x2000
mov ecx, edi
call fcn.100041e0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x4000
je 0x10019399
mov edx, 0x4000
mov ecx, edi
call fcn.100041e0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x8000
je 0x100193ba
mov edx, 0x8000
mov ecx, edi
call fcn.100041e0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0x10]
test eax, 0x800
je 0x100193d8
mov edx, 0x800
mov ecx, edi
call fcn.100041e0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4bac]
mov esi, dword [ebx + 0x4ba0]
movss xmm7, dword [0x1005011c]
movss xmm1, dword [0x1005010c]
movss xmm5, dword [0x1005016c]
movss dword [ebx + 0x4bac], xmm0
test esi, esi
je 0x10019550
cmp dword [ebx + 0x4a20], 3
jne 0x100194cc
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10019437
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x4bb0]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x281
push 1
movss dword [ebx + 0x4bb0], xmm6
call fcn.100124b0
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.100124b0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x10019498
mov ecx, eax
call fcn.10018fe0
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x4ba0]
mov dword [ebx + 0x4bb0], 0x3f800000
jmp 0x1001949b
mov ebx, dword [ebp - 0x14]
mov edx, 0x279
mov ecx, edi
call fcn.10011f10
cmp byte [eax], 0
je 0x10019520
mov edx, 0x279
call fcn.100041e0
cmp byte [eax + 8], 0
jne 0x10019520
movss xmm1, dword [0x1005010c]
test esi, esi
je 0x10019550
cmp dword [ebx + 0x4a20], 2
xorps xmm6, xmm6
jne 0x10019553
movss xmm0, dword [ebx + 0x4bac]
mov edx, 0xf800
mov eax, dword [ebx + 0x4b98]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4b9c]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x100195e2
xorps xmm5, xmm5
jmp 0x100195e6
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4bb4], al
je 0x1001953d
cmp dword [ebx + 0x49f0], 0
je 0x10019546
mov byte [ebp - 8], 1
jmp 0x10019546
mov eax, dword [ebx + 0x4ba0]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x4ba0], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x20], 0
je 0x10019580
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.100124b0
add esp, 4
test al, al
je 0x10019580
mov byte [ebx + 0x4bb4], 1
mov dword [ebx + 0x4a20], 2
cmp byte [ebx + 0x4bb4], 0
mov edi, 1
je 0x10019735
cmp dword [ebx + 0x4a20], 2
jne 0x10019735
cmp dword [ebx + 0x3898], 0
jg 0x10019640
cmp byte [ebx + 0xe1c], 0
jne 0x10019640
cmp byte [ebx + 0xe1d], 0
jne 0x10019640
cmp byte [ebx + 0xe1f], 0
mov ecx, dword [0x10100b74]
jne 0x10019646
mov edx, 0x4000
call fcn.100041e0
cmp dword [eax], 0xffffffff
je 0x1001964d
jmp 0x10019646
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x4bb0]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x4bb0], xmm0
test al, al
jne 0x10019629
cmp byte [ebp - 2], al
jne 0x10019629
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10019553
mov eax, dword [ebx + 0x4ba0]
mov dword [ebp - 0x18], eax
jmp 0x10019553
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10018fe0
jmp 0x10019553
mov ecx, dword [0x10100b74]
mov byte [ebx + 0x4bb4], 0
mov edx, 0x4000
call fcn.10011f10
comiss xmm6, dword [eax + 8]
ja 0x1001970d
cmp byte [eax], 0
jne 0x1001970d
mov edx, 0x4000
call fcn.100041e0
cmp byte [eax + 8], 0
jne 0x1001970d
cmp byte [ebx + 0x4bb4], 0
je 0x1001970d
cmp dword [ebx + 0x3fd8], 0
je 0x1001969d
cmp byte [ebx + 0x3fe5], 0
je 0x1001970d
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x100196ad
lea eax, [ecx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x100502ac]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100196cc
comiss xmm2, xmm1
jb 0x100196cc
mov dl, 1
jmp 0x100196ce
xor dl, dl
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x100196de
lea eax, [ecx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100196f5
comiss xmm2, xmm1
jb 0x100196f5
mov al, 1
jmp 0x100196f7
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, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.10011f10
cmp byte [eax], 0
je 0x1001972c
mov edx, 0x4000
call fcn.100041e0
cmp byte [eax + 8], 0
je 0x1001973b
mov byte [ebx + 0x4bb4], 0
jmp 0x1001973b
mov ecx, dword [0x10100b74]
mov eax, dword [ebx + 0x4ba0]
test eax, eax
je 0x100198c5
test byte [eax + 0xc], 4
jne 0x100198c5
mov eax, dword [ebx + 0x4a20]
cmp eax, 2
jne 0x10019794
cmp byte [ebx + 0xe1d], 0
jne 0x100198c5
mov edx, 0x203
call fcn.10011f10
mov edx, 0x201
mov edi, eax
call fcn.10011f10
mov edx, 0x202
mov esi, eax
call fcn.10011f10
mov edx, 0x204
jmp 0x100197c4
cmp eax, 3
jne 0x100198c5
mov edx, 0x289
call fcn.10011f10
mov edx, 0x287
mov edi, eax
call fcn.10011f10
mov edx, 0x288
mov esi, eax
call fcn.10011f10
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.10011f10
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x100197f3
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x100198c0
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x10050268]
mov byte [ebx + 0x4a33], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4bb8]
addss xmm3, dword [ebx + 0x4bbc]
cvttss2si eax, xmm2
movss dword [ebx + 0x4bb8], xmm2
movss dword [ebx + 0x4bbc], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x10019865
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x100198c0
mov eax, dword [ebx + 0x4ba0]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x308]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x20], xmm0
call fcn.10011a60
movss xmm0, dword [ebx + 0x4bb8]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4bb8], xmm0
movss xmm0, dword [ebx + 0x4bbc]
subss xmm0, xmm4
movss dword [ebx + 0x4bbc], xmm0
mov edi, 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10019944
mov eax, dword [ebx + 0x49f0]
test eax, eax
je 0x100198de
cmp esi, dword [eax + 0x308]
je 0x1001993a
xor edx, edx
xor ecx, ecx
call fcn.10007720
mov eax, dword [0x10100b74]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4a31], 1
mov byte [eax + 0x4a33], 1
call fcn.10015340
mov edx, edi
mov ecx, esi
call fcn.100114d0
mov esi, dword [ebx + 0x49f0]
cmp dword [esi + 0x31c], 0
jne 0x10019926
xor dl, dl
mov ecx, esi
call fcn.10016b60
cmp word [esi + 0x156], 2
jne 0x1001993a
mov dword [ebx + 0x4a24], 1
mov dword [ebx + 0x4ba0], 0
cmp byte [ebp - 8], 0
je 0x10019a0f
cmp dword [ebx + 0x49f0], 0
je 0x10019a0f
xor edx, edx
xor ecx, ecx
call fcn.10007720
mov esi, dword [ebx + 0x49f0]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x100199a9
nop dword [eax]
test byte [esi + 0x154], 2
jne 0x100199a9
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x100199a9
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x10019980
mov edi, dword [ebx + 0x49f0]
cmp esi, edi
je 0x100199c2
xor edx, edx
mov ecx, esi
call fcn.100114d0
mov dword [esi + 0x318], edi
mov eax, dword [ebx + 0x49f0]
test byte [eax + 0x154], 2
je 0x100199dc
mov ecx, dword [ebx + 0x4a24]
xor ecx, 1
jmp 0x100199de
xor ecx, ecx
cmp ecx, dword [ebx + 0x4a24]
je 0x10019a0f
cmp ecx, 1
jne 0x100199f5
mov dword [eax + 0x320], 0
call fcn.10016a50
mov eax, dword [0x10100b74]
mov word [eax + 0x4a31], 1
mov byte [eax + 0x4a33], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret