joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f7b0
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 0x1001f85f
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 + 0x100f50b8]
mov edx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x100f54b8]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100f60b8]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100f64b8]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x100f4cb8]
mov ecx, edx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x100f5cb8]
movzx ecx, bl
xor eax, dword [ecx*4 + 0x100f58b8]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x100f68b8]
sub dword [ebp + 8], 1
jne 0x1001f7d7
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1001f87d
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100f4cb8]
sub edi, 1
jne 0x1001f863
pop edi
not eax
pop esi
mov dword [ebx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001f980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10122bf8
push 0x100b0b90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10129124]
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 0x1001fa23
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x1001fa23
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x1001fa23
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x1001fa23
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1001fa2c
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.100af1bd
mov esp, ebp
pop ebp
ret
Function at 0x1001fd50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10129124]
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 0x1001fe19
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x1001fd96
sub edi, 0x8000000
jmp 0x1001fe11
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 0x1001fe19
cmp dword [ebp - 0x10], 0x10000
jne 0x1001fdfc
cmp dword [ebp - 0x14], 0x10000
jb 0x1001fdfc
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1001fed4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1001fe19
sub edi, 0x10000
jmp 0x1001fe11
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 0x1001fd81
movzx eax, si
test eax, eax
je 0x1001fe28
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x1001fed2
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x1001fe55
add esi, 0x8000000
jmp 0x1001feca
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 0x1001fed2
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x1001feb5
cmp ecx, 0x10000
jb 0x1001feb5
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1001fed4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1001fed2
add esi, 0x10000
jmp 0x1001feca
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x1001feca
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x1001fe40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100af1bd
mov esp, ebp
pop ebp
ret
Function at 0x1001ff60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10129124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1012dfa8], 0
jne 0x1001ffe9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x1012dfa8
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1001ffe9
push esi
mov esi, dword [0x1012dfb4]
mov dword [0x1012dfbc], eax
mov dword [0x1012dfb8], eax
mov dword [0x1012dfb0], eax
push edi
test esi, esi
je 0x1001ffca
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 0x1001ffe1
mov esi, dword [esi + 4]
test esi, esi
jne 0x1001ffb1
xor eax, eax
pop edi
mov dword [0x1012df64], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af1bd
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001ffcc
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.100af1bd
mov esp, ebp
pop ebp
ret
Function at 0x10020440
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1012df64]
push esi
mov esi, ecx
test eax, eax
jne 0x100204ae
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x1002045a
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.100af516
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1002049b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.100af1ee
add esp, 8
mov dword [0x1012df64], esi
mov eax, esi
mov dword [0x1012dfb0], 0
pop edi
pop esi
ret
mov eax, dword [0x1012dfb8]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x1012dfb8], edi
pop edi
pop esi
ret
Function at 0x100217e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10021808
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10085850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1002a1f0
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 0x1002a222
jl 0x1002a215
test ecx, ecx
jne 0x1002a222
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 0x1002a2e2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10014c50
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1002a28e
jg 0x1002a24d
test esi, esi
je 0x1002a28e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1002a265
mov eax, dword [esp + 0x10]
jl 0x1002a25f
cmp eax, esi
jae 0x1002a265
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100b0fd0
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 0x1002a2af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1002a2cb
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 0x1002a234
jl 0x1002a2cb
test ecx, ecx
jne 0x1002a234
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 0x1002a321
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x1002a321
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.100b0fd0
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 0x1002a390
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x1002a347
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 0x1002a379
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100ba61a
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x1002a3a4
cmp edi, eax
ja 0x1002a355
test ecx, ecx
je 0x1002a390
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100ba61a
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 0x10033b00
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 0x10033b2d
cmp eax, ebx
jge 0x10033b21
call fcn.100332a0
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 0x10033b50
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 0x10033b36
mov dword [esi + 8], edi
jns 0x10033b74
mov ecx, dword [0x1012c888]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jge 0x10033b97
mov edi, dword [esi + 4]
mov eax, dword [esi]
nop
cmp eax, edi
jb 0x10033b88
xor dl, dl
jmp 0x10033b8d
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x10033b80
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 0x10033bdf
mov ecx, dword [0x1012c888]
mov eax, dword fs:[0x2c]
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], 0x100f969c
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x10033c0a
mov ecx, dword [0x1012c888]
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 0x10033c28
push edi
mov ecx, esi
call fcn.100333e0
add esp, 4
test eax, eax
je 0x10033b6b
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.100b0fd0
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 0x100499f0
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 0x10049a3c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10049a1f
cmp edi, 2
jb 0x10049a1f
cmp byte [esi], cl
jne 0x10049a1f
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 + 0x101076a8]
test edi, edi
jne 0x10049a05
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10049a6b
cmp cl, 0x23
jne 0x10049a52
cmp byte [esi], cl
jne 0x10049a52
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 + 0x101076a8]
test cl, cl
jne 0x10049a43
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10049c00
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 0x10049c12
test esi, esi
jne 0x10049c29
push 0x5e4
push 0x100ffeec
push str.filename__mode
call fcn.100b8ede
add esp, 0xc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10049c36
mov dword [ebx], 0
mov edx, esi
mov ecx, edi
call fcn.10049a80
mov esi, eax
test esi, esi
je 0x10049d1e
push esi
call fcn.100bb17c
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10049d15
push 2
push 0
push esi
call fcn.100ba09d
add esp, 0xc
test eax, eax
jne 0x10049d15
push esi
call fcn.100bb17c
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10049d15
push 0
push dword [ebp + 8]
push esi
call fcn.100ba09d
add esp, 0xc
test eax, eax
jne 0x10049d15
mov eax, dword [0x1012d2ac]
test eax, eax
je 0x10049ca8
inc dword [eax + 0x374]
push dword [0x1012d2a8]
push edi
call fcn.100490b0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x10049d15
push esi
push edi
push 1
push eax
call fcn.100ba61a
add esp, 0x10
push esi
cmp eax, edi
je 0x10049cff
call fcn.100ba98b
mov eax, dword [0x1012d2ac]
add esp, 4
test eax, eax
je 0x10049ce7
dec dword [eax + 0x374]
push dword [0x1012d2a8]
push dword [ebp + 8]
call fcn.100490c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100ba98b
add esp, 4
test ebx, ebx
je 0x10049d0d
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100ba98b
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1004bfc0
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 0x1004bfee
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100b8ede
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 + 0x101076a8]
sub edi, 1
jne 0x1004c002
mov ecx, dword [0x1012d2ac]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a50], eax
jne 0x1004c034
mov dword [ecx + 0x1a54], eax
cmp dword [ecx + 0x1a8c], eax
jne 0x1004c043
mov byte [ecx + 0x1a90], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10129124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0xc4]
test edx, edx
jg 0x1004c08b
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100b8ede
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 + 0x101076a8]
sub edi, 1
jne 0x1004c0e5
mov eax, dword [0x1012d2ac]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a50], edx
jne 0x1004c116
mov dword [eax + 0x1a54], edx
cmp dword [eax + 0x1a8c], edx
jne 0x1004c125
mov byte [eax + 0x1a90], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100af1bd
mov esp, ebp
pop ebp
ret 4
Function at 0x1004e490
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 0x1004e4a9
cmp byte [edi + 0x2e1d], 0
je 0x1004e4c0
push 0xf67
push 0x10101048
push str._g.Initialized___g.SettingsLoaded
call fcn.100b8ede
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0x10100fdc
mov esi, 0x10101431
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x1004e4ee
cmp byte [esi], al
jne 0x1004e4ee
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 + 0x101076a8]
test al, al
jne 0x1004e4e0
mov esi, dword [edi + 0x2e30]
not edx
mov ecx, dword [edi + 0x2e34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x1005b840
mov dword [ebp - 0x14], 0x1005b8e0
mov dword [ebp - 0x10], 0x1005b970
mov dword [ebp - 0xc], 0x1005ba40
mov dword [ebp - 8], 0x1005bb60
cmp esi, ecx
jne 0x1004e5dc
inc esi
test ecx, ecx
je 0x1004e553
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004e558
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1004e5dc
mov eax, dword [0x1012d2ac]
test eax, eax
je 0x1004e570
inc dword [eax + 0x374]
push dword [0x1012d2a8]
lea eax, [esi + esi*8]
shl eax, 2
push eax
call fcn.100490b0
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2e38]
test eax, eax
je 0x1004e5d0
mov ecx, dword [edi + 0x2e30]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.100b0fd0
mov ecx, dword [edi + 0x2e38]
add esp, 0xc
test ecx, ecx
je 0x1004e5c1
mov eax, dword [0x1012d2ac]
test eax, eax
je 0x1004e5c1
dec dword [eax + 0x374]
push dword [0x1012d2a8]
push ecx
call fcn.100490c0
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 0x1004fa90
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 0x1004facd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1004fab3
cmp byte [esi], bl
jne 0x1004fab3
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 + 0x101076a8]
test bl, bl
jne 0x1004faa4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1004fa20
Function at 0x100551a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1012d2ac]
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 0x100551de
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100b8ede
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 + 0x101076a8]
sub esi, 1
jne 0x100551f0
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10055239
inc ecx
test esi, esi
je 0x10055225
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1005522a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1005c640
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 0x100baf3f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100b0510
mov eax, dword [0x10129124]
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.100c8a33
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100baf81
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100bb0dd
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100d84b0
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 + 0x1012cc08]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100cb734
mov ecx, dword [esi*4 + 0x1012cc08]
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 0x100bb0d6
cmp eax, dword [edi + ecx + 0x24]
jne 0x100bb0d6
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 0x100bb0d6
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100cb734
add esp, 0x14
test edx, edx
jl 0x100bb0d6
jg 0x100bb04c
test eax, eax
jb 0x100bb0d6
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100bb0d6
jl 0x100bb066
cmp dword [ebp - 0x1008], eax
ja 0x100bb0d6
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100bb084
test ebx, ebx
je 0x100bb0bd
cmp ecx, edi
jae 0x100bb0bd
mov al, byte [ecx]
cmp al, 0xd
jne 0x100bb09e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100bb0aa
cmp byte [ecx + 1], 0xa
jne 0x100bb0aa
inc ecx
jmp 0x100bb0aa
movzx eax, al
movsx eax, byte [eax + 0x101293a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100bb084
cmp edx, ebx
jne 0x100bb084
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100bb0db
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100af1bd
leave
ret

Function at 0x100c93cc
Capabilities:
Print debug messages

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

Function at 0x100ca467
Capabilities:
Read file on windows

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