Function at 0x1005bb80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x1012f36c]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x10], edx
cmp byte [ebx], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x1005bbbc
push 0x26e5
push 0x10108064
push str.g.Initialized
call fcn.100ba3ee
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp - 0x18]
test edx, edx
jne 0x1005bbd1
mov edx, eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1005bbc5
sub edx, ecx
mov dword [ebp - 0x10], edx
mov esi, dword [ebx + 0x2e28]
lea eax, [ebx + 0x2e24]
lea edi, [edx + 1]
cmp edi, esi
jle 0x1005bc16
test esi, esi
je 0x1005bbf5
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1005bbfa
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0x2e24]
push eax
call fcn.1005d290
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x2e24]
mov dword [eax], edi
mov edi, dword [ebx + 0x2e2c]
push edx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
lea esi, [edi + edx]
push edi
mov dword [ebp - 0xc], esi
call fcn.100b24e0
mov byte [esi], 0
add esp, 0xc
mov eax, dword [ebx + 0x2e30]
xor esi, esi
test eax, eax
jle 0x1005bcfc
xor edi, edi
mov ecx, eax
nop dword [eax + eax]
test esi, esi
js 0x1005bc58
cmp esi, eax
jl 0x1005bc75
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov ecx, dword [ebx + 0x2e30]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
cmp dword [edi + eax + 0xc], 0
je 0x1005bce5
test esi, esi
js 0x1005bc8a
cmp esi, ecx
jl 0x1005bcad
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov eax, dword [ebx + 0x2e38]
add esp, 0xc
mov ecx, dword [ebx + 0x2e30]
mov edx, dword [eax + edi + 0xc]
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x1005bcbc
cmp esi, ecx
jl 0x1005bcdc
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov eax, dword [ebx + 0x2e38]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add eax, edi
push eax
push ebx
call edx
add esp, 8
mov eax, dword [ebx + 0x2e30]
inc esi
add edi, 0x24
mov ecx, eax
cmp esi, eax
jl 0x1005bc50
mov edi, dword [ebp - 0x20]
xor esi, esi
xor edx, edx
mov ecx, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
cmp edi, dword [ebp - 0xc]
jae 0x1005bedf
mov al, byte [ecx]
cmp al, 0xa
je 0x1005bfc0
cmp al, 0xd
je 0x1005bfc0
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp ecx, dword [ebp - 0xc]
jae 0x1005bd45
mov ebx, dword [ebp - 0xc]
mov al, byte [edi]
cmp al, 0xa
je 0x1005bd3f
cmp al, 0xd
je 0x1005bd3f
inc edi
cmp edi, ebx
jb 0x1005bd30
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1005bed0
cmp al, 0x5b
jne 0x1005beb4
cmp edi, ecx
jbe 0x1005beb4
cmp byte [edi - 1], 0x5d
lea esi, [edi - 1]
jne 0x1005beb1
inc ecx
mov byte [esi], 0
mov eax, esi
mov dword [ebp - 0x28], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.100b2bd0
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1005beca
lea ecx, [eax + 1]
sub esi, ecx
push esi
push 0x5b
push ecx
call fcn.100b2bd0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1005beca
mov eax, dword [ebp - 0x24]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1012f36c]
mov dword [ebp - 8], eax
mov al, byte [edx]
inc edx
test al, al
je 0x1005bdfa
or edi, 0xffffffff
cmp al, 0x23
jne 0x1005bdde
cmp byte [edx], al
jne 0x1005bdde
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 + 0x10108b18]
test al, al
jne 0x1005bdd0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x2e30]
test eax, eax
jle 0x1005be52
xor edx, edx
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x1005be18
cmp esi, eax
jl 0x1005be32
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2e38]
cmp dword [edx + ecx + 4], ebx
je 0x1005be61
mov eax, dword [eax + 0x2e30]
inc esi
add edx, 0x24
mov dword [ebp - 0x1c], edx
cmp esi, eax
jl 0x1005be10
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 8], esi
jmp 0x1005bed0
test esi, esi
js 0x1005be6d
cmp esi, dword [eax + 0x2e30]
jl 0x1005be8d
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov ecx, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ecx + 0x2e38]
lea eax, [esi + esi*8]
lea edx, [ecx + eax*4]
mov dword [ebp - 4], edx
test edx, edx
je 0x1005be57
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push edx
push ebx
call eax
mov esi, eax
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x1005becd
mov esi, dword [ebp - 8]
test edx, edx
je 0x1005bed0
test esi, esi
je 0x1005bed0
mov eax, dword [edx + 0x14]
push ecx
push esi
push edx
push ebx
call eax
add esp, 0x10
jmp 0x1005becd
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea ecx, [edi + 1]
cmp ecx, dword [ebp - 0xc]
jb 0x1005bd11
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov byte [ebx + 0x2e1d], 1
push dword [ebp - 0x18]
push edi
call fcn.100b24e0
mov eax, dword [ebx + 0x2e30]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x1005bfb9
xor edi, edi
mov ecx, eax
nop dword [eax]
test esi, esi
js 0x1005bf18
cmp esi, eax
jl 0x1005bf35
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov ecx, dword [ebx + 0x2e30]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
cmp dword [edi + eax + 0x18], 0
je 0x1005bfa5
test esi, esi
js 0x1005bf4a
cmp esi, ecx
jl 0x1005bf6d
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov eax, dword [ebx + 0x2e38]
add esp, 0xc
mov ecx, dword [ebx + 0x2e30]
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x28], edx
test esi, esi
js 0x1005bf7c
cmp esi, ecx
jl 0x1005bf9c
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100ba3ee
mov eax, dword [ebx + 0x2e38]
add esp, 0xc
mov edx, dword [ebp - 0x28]
add eax, edi
push eax
push ebx
call edx
add esp, 8
mov eax, dword [ebx + 0x2e30]
inc esi
add edi, 0x24
mov ecx, eax
cmp esi, eax
jl 0x1005bf10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1005bd11