joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de3b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1012b124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100b09f1
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10099648
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001fff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
not eax
mov dword [ebp - 4], ebx
cmp edi, 8
jb 0x1002009f
mov ecx, edi
shr ecx, 3
mov dword [ebp + 8], ecx
mov ebx, dword [esi + 4]
sub edi, 8
mov ecx, dword [esi]
add esi, 8
xor ecx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
mov dword [ebp + 0xc], ecx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x100f64a8]
mov edx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x100f68a8]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100f74a8]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100f78a8]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x100f60a8]
mov ecx, edx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x100f70a8]
movzx ecx, bl
xor eax, dword [ecx*4 + 0x100f6ca8]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x100f7ca8]
sub dword [ebp + 8], 1
jne 0x10020017
mov ebx, dword [ebp - 4]
test edi, edi
je 0x100200bd
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100f60a8]
sub edi, 1
jne 0x100200a3
pop edi
not eax
pop esi
mov dword [ebx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100201c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101244d0
push 0x100b2070
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1012b124]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x10020263
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10020263
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10020263
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10020263
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1002026c
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100b0698
mov esp, ebp
pop ebp
ret
Function at 0x10020590
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1012b124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x10020659
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x100205d6
sub edi, 0x8000000
jmp 0x10020651
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10020659
cmp dword [ebp - 0x10], 0x10000
jne 0x1002063c
cmp dword [ebp - 0x14], 0x10000
jb 0x1002063c
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10020714
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10020659
sub edi, 0x10000
jmp 0x10020651
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x100205c1
movzx eax, si
test eax, eax
je 0x10020668
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x10020712
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x10020695
add esi, 0x8000000
jmp 0x1002070a
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call ebx
test eax, eax
je 0x10020712
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x100206f5
cmp ecx, 0x10000
jb 0x100206f5
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10020714
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10020712
add esi, 0x10000
jmp 0x1002070a
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x1002070a
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x10020680
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b0698
mov esp, ebp
pop ebp
ret
Function at 0x100207a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012b124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10130258], 0
jne 0x10020829
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x10130258
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10020829
push esi
mov esi, dword [0x10130264]
mov dword [0x1013026c], eax
mov dword [0x10130268], eax
mov dword [0x10130260], eax
push edi
test esi, esi
je 0x1002080a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x10020821
mov esi, dword [esi + 4]
test esi, esi
jne 0x100207f1
xor eax, eax
pop edi
mov dword [0x10130214], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b0698
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002080c
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.100b0698
mov esp, ebp
pop ebp
ret
Function at 0x10020c80
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x10130214]
push esi
mov esi, ecx
test eax, eax
jne 0x10020cee
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x10020c9a
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.100b09f1
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10020cdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.100b06c9
add esp, 8
mov dword [0x10130214], esi
mov eax, esi
mov dword [0x10130260], 0
pop edi
pop esi
ret
mov eax, dword [0x10130268]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x10130268], edi
pop edi
pop esi
ret
Function at 0x10022020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10022048
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10087110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1002a6f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1002a722
jl 0x1002a715
test ecx, ecx
jne 0x1002a722
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1002a7e2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10015a70
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1002a78e
jg 0x1002a74d
test esi, esi
je 0x1002a78e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1002a765
mov eax, dword [esp + 0x10]
jl 0x1002a75f
cmp eax, esi
jae 0x1002a765
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100b24b0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1002a7af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1002a7cb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1002a734
jl 0x1002a7cb
test ecx, ecx
jne 0x1002a734
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1002a821
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x1002a821
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.100b24b0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x1002a890
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x1002a847
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x1002a879
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100bbafa
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x1002a8a4
cmp edi, eax
ja 0x1002a855
test ecx, ecx
je 0x1002a890
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100bbafa
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10033ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov ebx, eax
mov edi, eax
and ebx, 7
je 0x1003401d
cmp eax, ebx
jge 0x10034011
call fcn.10033790
mov eax, dword [esi + 8]
mov ecx, ebx
shr dword [esi + 0xc], cl
sub eax, ebx
mov dword [esi + 8], eax
mov edi, eax
xor ecx, ecx
test eax, eax
jle 0x10034040
mov edx, dword [esi + 0xc]
mov al, byte [esi + 0xc]
mov byte [ebp + ecx - 4], al
inc ecx
lea eax, [edi - 8]
shr edx, 8
mov dword [esi + 0xc], edx
mov edi, eax
test eax, eax
jg 0x10034026
mov dword [esi + 8], edi
jns 0x10034064
mov ecx, dword [0x1012e948]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], 0x100fa84c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jge 0x10034087
mov edi, dword [esi + 4]
mov eax, dword [esi]
nop
cmp eax, edi
jb 0x10034078
xor dl, dl
jmp 0x1003407d
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x10034070
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x100340cf
mov ecx, dword [0x1012e948]
mov eax, dword fs:[0x2c]
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], str.zlib_corrupt
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x100340fa
mov ecx, dword [0x1012e948]
mov eax, dword fs:[0x2c]
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], str.read_past_buffer
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x10034118
push edi
mov ecx, esi
call fcn.100338d0
add esp, 4
test eax, eax
je 0x1003405b
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.100b24b0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004a290
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1004a2dc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1004a2bf
cmp edi, 2
jb 0x1004a2bf
cmp byte [esi], cl
jne 0x1004a2bf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10108b18]
test edi, edi
jne 0x1004a2a5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1004a30b
cmp cl, 0x23
jne 0x1004a2f2
cmp byte [esi], cl
jne 0x1004a2f2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10108b18]
test cl, cl
jne 0x1004a2e3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1004a4a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x1004a4b2
test esi, esi
jne 0x1004a4c9
push 0x5e4
push 0x10101358
push str.filename__mode
call fcn.100ba3be
add esp, 0xc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1004a4d6
mov dword [ebx], 0
mov edx, esi
mov ecx, edi
call fcn.1004a320
mov esi, eax
test esi, esi
je 0x1004a5be
push esi
call fcn.100bc65c
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1004a5b5
push 2
push 0
push esi
call fcn.100bb57d
add esp, 0xc
test eax, eax
jne 0x1004a5b5
push esi
call fcn.100bc65c
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1004a5b5
push 0
push dword [ebp + 8]
push esi
call fcn.100bb57d
add esp, 0xc
test eax, eax
jne 0x1004a5b5
mov eax, dword [0x1012f36c]
test eax, eax
je 0x1004a548
inc dword [eax + 0x374]
push dword [0x1012f368]
push edi
call fcn.10049950
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x1004a5b5
push esi
push edi
push 1
push eax
call fcn.100bbafa
add esp, 0x10
push esi
cmp eax, edi
je 0x1004a59f
call fcn.100bbe6b
mov eax, dword [0x1012f36c]
add esp, 4
test eax, eax
je 0x1004a587
dec dword [eax + 0x374]
push dword [0x1012f368]
push dword [ebp + 8]
call fcn.10049960
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100bbe6b
add esp, 4
test ebx, ebx
je 0x1004a5ad
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100bbe6b
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1004c860
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc4]
test ecx, ecx
jg 0x1004c88e
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100ba3be
mov ecx, dword [esi + 0xc4]
add esp, 0xc
mov eax, dword [esi + 0xcc]
mov edi, 4
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10108b18]
sub edi, 1
jne 0x1004c8a2
mov ecx, dword [0x1012f36c]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a50], eax
jne 0x1004c8d4
mov dword [ecx + 0x1a54], eax
cmp dword [ecx + 0x1a8c], eax
jne 0x1004c8e3
mov byte [ecx + 0x1a90], 1
pop ebp
ret 4

Function at 0x1004c8f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1012b124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0xc4]
test edx, edx
jg 0x1004c92b
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100ba3be
mov edx, dword [esi + 0xc4]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, 0x10
movss xmm0, dword [ecx]
subss xmm0, dword [esi + 0xc]
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + edx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10108b18]
sub edi, 1
jne 0x1004c985
mov eax, dword [0x1012f36c]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a50], edx
jne 0x1004c9b6
mov dword [eax + 0x1a54], edx
cmp dword [eax + 0x1a8c], edx
jne 0x1004c9c5
mov byte [eax + 0x1a90], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100b0698
mov esp, ebp
pop ebp
ret 4
Function at 0x1004ed30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x1004ed49
cmp byte [edi + 0x2e1d], 0
je 0x1004ed60
push 0xf67
push 0x1010246c
push str._g.Initialized___g.SettingsLoaded
call fcn.100ba3be
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0x10102464
mov esi, 0x101026cd
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x1004ed8e
cmp byte [esi], al
jne 0x1004ed8e
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 + 0x10108b18]
test al, al
jne 0x1004ed80
mov esi, dword [edi + 0x2e30]
not edx
mov ecx, dword [edi + 0x2e34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x1005c070
mov dword [ebp - 0x14], 0x1005c110
mov dword [ebp - 0x10], 0x1005c1a0
mov dword [ebp - 0xc], 0x1005c270
mov dword [ebp - 8], 0x1005c390
cmp esi, ecx
jne 0x1004ee7c
inc esi
test ecx, ecx
je 0x1004edf3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004edf8
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1004ee7c
mov eax, dword [0x1012f36c]
test eax, eax
je 0x1004ee10
inc dword [eax + 0x374]
push dword [0x1012f368]
lea eax, [esi + esi*8]
shl eax, 2
push eax
call fcn.10049950
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2e38]
test eax, eax
je 0x1004ee70
mov ecx, dword [edi + 0x2e30]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.100b24b0
mov ecx, dword [edi + 0x2e38]
add esp, 0xc
test ecx, ecx
je 0x1004ee61
mov eax, dword [0x1012f36c]
test eax, eax
je 0x1004ee61
dec dword [eax + 0x374]
push dword [0x1012f368]
push ecx
call fcn.10049960
add esp, 8
mov dword [edi + 0x2e38], ebx
mov dword [edi + 0x2e34], esi
mov eax, dword [edi + 0x2e30]
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x2e38]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [edi + 0x2e30]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10050330
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1005036d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10050353
cmp byte [esi], bl
jne 0x10050353
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10108b18]
test bl, bl
jne 0x10050344
pop edi
pop esi
not ecx
pop ebx
jmp fcn.100502c0
Function at 0x10055a40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1012f36c]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a18]
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
test eax, eax
jg 0x10055a7e
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100ba3be
mov eax, dword [edi]
add esp, 0xc
mov ebx, dword [edi + 8]
lea edx, [ebp - 4]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10108b18]
sub esi, 1
jne 0x10055a90
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10055ad9
inc ecx
test esi, esi
je 0x10055ac5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10055aca
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1005ce70
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bc41f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100b19f0
mov eax, dword [0x1012b124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100c9ed3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100bc461
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100bc5bd
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100d9910
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1012ecc8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100ccbd4
mov ecx, dword [esi*4 + 0x1012ecc8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100bc5b6
cmp eax, dword [edi + ecx + 0x24]
jne 0x100bc5b6
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100bc5b6
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ccbd4
add esp, 0x14
test edx, edx
jl 0x100bc5b6
jg 0x100bc52c
test eax, eax
jb 0x100bc5b6
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100bc5b6
jl 0x100bc546
cmp dword [ebp - 0x1008], eax
ja 0x100bc5b6
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100bc564
test ebx, ebx
je 0x100bc59d
cmp ecx, edi
jae 0x100bc59d
mov al, byte [ecx]
cmp al, 0xd
jne 0x100bc57e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100bc58a
cmp byte [ecx + 1], 0xa
jne 0x100bc58a
inc ecx
jmp 0x100bc58a
movzx eax, al
movsx eax, byte [eax + 0x1012b3a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100bc564
cmp edx, ebx
jne 0x100bc564
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100bc5bb
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100b0698
leave
ret

Function at 0x100ca86c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ca7ee

Function at 0x100cb907
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cb778