Function at 0x1005b300
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x1012d2ac]
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 0x1005b33c
push 0x26e5
push 0x10106bf8
push str.g.Initialized
call fcn.100b8ede
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp - 0x18]
test edx, edx
jne 0x1005b351
mov edx, eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1005b345
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 0x1005b396
test esi, esi
je 0x1005b375
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1005b37a
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0x2e24]
push eax
call fcn.1005ca10
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.100b0fd0
mov byte [esi], 0
add esp, 0xc
mov eax, dword [ebx + 0x2e30]
xor esi, esi
test eax, eax
jle 0x1005b47c
xor edi, edi
mov ecx, eax
nop dword [eax + eax]
test esi, esi
js 0x1005b3d8
cmp esi, eax
jl 0x1005b3f5
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
mov ecx, dword [ebx + 0x2e30]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
cmp dword [edi + eax + 0xc], 0
je 0x1005b465
test esi, esi
js 0x1005b40a
cmp esi, ecx
jl 0x1005b42d
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
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 0x1005b43c
cmp esi, ecx
jl 0x1005b45c
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
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 0x1005b3d0
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 0x1005b65f
mov al, byte [ecx]
cmp al, 0xa
je 0x1005b740
cmp al, 0xd
je 0x1005b740
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp ecx, dword [ebp - 0xc]
jae 0x1005b4c5
mov ebx, dword [ebp - 0xc]
mov al, byte [edi]
cmp al, 0xa
je 0x1005b4bf
cmp al, 0xd
je 0x1005b4bf
inc edi
cmp edi, ebx
jb 0x1005b4b0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1005b650
cmp al, 0x5b
jne 0x1005b634
cmp edi, ecx
jbe 0x1005b634
cmp byte [edi - 1], 0x5d
lea esi, [edi - 1]
jne 0x1005b631
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.100b16c0
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1005b64a
lea ecx, [eax + 1]
sub esi, ecx
push esi
push 0x5b
push ecx
call fcn.100b16c0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1005b64a
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 [0x1012d2ac]
mov dword [ebp - 8], eax
mov al, byte [edx]
inc edx
test al, al
je 0x1005b57a
or edi, 0xffffffff
cmp al, 0x23
jne 0x1005b55e
cmp byte [edx], al
jne 0x1005b55e
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 + 0x101076a8]
test al, al
jne 0x1005b550
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x2e30]
test eax, eax
jle 0x1005b5d2
xor edx, edx
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x1005b598
cmp esi, eax
jl 0x1005b5b2
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
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 0x1005b5e1
mov eax, dword [eax + 0x2e30]
inc esi
add edx, 0x24
mov dword [ebp - 0x1c], edx
cmp esi, eax
jl 0x1005b590
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 8], esi
jmp 0x1005b650
test esi, esi
js 0x1005b5ed
cmp esi, dword [eax + 0x2e30]
jl 0x1005b60d
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
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 0x1005b5d7
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 0x1005b64d
mov esi, dword [ebp - 8]
test edx, edx
je 0x1005b650
test esi, esi
je 0x1005b650
mov eax, dword [edx + 0x14]
push ecx
push esi
push edx
push ebx
call eax
add esp, 0x10
jmp 0x1005b64d
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea ecx, [edi + 1]
cmp ecx, dword [ebp - 0xc]
jb 0x1005b491
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov byte [ebx + 0x2e1d], 1
push dword [ebp - 0x18]
push edi
call fcn.100b0fd0
mov eax, dword [ebx + 0x2e30]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x1005b739
xor edi, edi
mov ecx, eax
nop dword [eax]
test esi, esi
js 0x1005b698
cmp esi, eax
jl 0x1005b6b5
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
mov ecx, dword [ebx + 0x2e30]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
cmp dword [edi + eax + 0x18], 0
je 0x1005b725
test esi, esi
js 0x1005b6ca
cmp esi, ecx
jl 0x1005b6ed
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
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 0x1005b6fc
cmp esi, ecx
jl 0x1005b71c
push 0x583
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.i___0__i___Size
call fcn.100b8ede
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 0x1005b690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1005b491