joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044a50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10044bbd
lea eax, [ecx - 1]
mov esi, dword [0x1022ff78]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1022ff80
lea eax, [edi + edi]
push eax
call fcn.10044480
mov eax, dword [0x1022ff78]
lea ebx, [edi - 1]
mov dword [0x1022ff8c], ebx
mov dword [0x1022ff90], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10044bb4
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x1022ff80]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10044b12
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10044b7f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x10044b4c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10044b44
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x10044b7f
cmp ebx, edx
je 0x10044b5c
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10044b90
cmp ebx, edx
jne 0x10044b50
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x10044bb4
mov ebx, dword [0x1022ff8c]
jmp 0x10044ac0
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10044b7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.1011e242
int3
Function at 0x1005d070
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 0x1005d11f
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 + 0x101ba098]
mov edx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x101ba498]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101bb098]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101bb498]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x101b9c98]
mov ecx, edx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x101bac98]
movzx ecx, bl
xor eax, dword [ecx*4 + 0x101ba898]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x101bb898]
sub dword [ebp + 8], 1
jne 0x1005d097
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1005d13d
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101b9c98]
sub edi, 1
jne 0x1005d123
pop edi
not eax
pop esi
mov dword [ebx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1005d240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1020f5d8
push 0x101378d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x102241c0]
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 0x1005d2e3
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x1005d2e3
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x1005d2e3
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x1005d2e3
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1005d2ec
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.10135ef1
mov esp, ebp
pop ebp
ret
Function at 0x1005d5e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102241c0]
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 0x1005d6a9
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x1005d626
sub edi, 0x8000000
jmp 0x1005d6a1
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 0x1005d6a9
cmp dword [ebp - 0x10], 0x10000
jne 0x1005d68c
cmp dword [ebp - 0x14], 0x10000
jb 0x1005d68c
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1005d764
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1005d6a9
sub edi, 0x10000
jmp 0x1005d6a1
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 0x1005d611
movzx eax, si
test eax, eax
je 0x1005d6b8
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x1005d762
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x1005d6e5
add esi, 0x8000000
jmp 0x1005d75a
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 0x1005d762
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x1005d745
cmp ecx, 0x10000
jb 0x1005d745
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1005d764
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1005d762
add esi, 0x10000
jmp 0x1005d75a
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x1005d75a
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x1005d6d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10135ef1
mov esp, ebp
pop ebp
ret
Function at 0x1005d780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102241c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1023023c], 0
jne 0x1005d809
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x1023023c
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1005d809
push esi
mov esi, dword [0x10230248]
mov dword [0x10230250], eax
mov dword [0x1023024c], eax
mov dword [0x10230244], eax
push edi
test esi, esi
je 0x1005d7ea
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 0x1005d801
mov esi, dword [esi + 4]
test esi, esi
jne 0x1005d7d1
xor eax, eax
pop edi
mov dword [0x10230238], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10135ef1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1005d7ec
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.10135ef1
mov esp, ebp
pop ebp
ret
Function at 0x1005dc50
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x10230238]
push esi
mov esi, ecx
test eax, eax
jne 0x1005dcbe
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x1005dc6a
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.10136231
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1005dcab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.1013621e
add esp, 8
mov dword [0x10230238], esi
mov eax, esi
mov dword [0x10230244], 0
pop edi
pop esi
ret
mov eax, dword [0x1023024c]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x1023024c], edi
pop edi
pop esi
ret
Function at 0x1005f5e0
Capabilities:
Create thread

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
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 0x1007b632
jl 0x1007b625
test ecx, ecx
jne 0x1007b632
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 0x1007b70f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1007b662
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x1007b664
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x1007b6b8
jg 0x1007b675
test esi, esi
je 0x1007b6b8
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x1007b689
jl 0x1007b683
cmp ecx, esi
jae 0x1007b689
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.10137e80
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x1007b6dc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1007b6f8
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x1007b647
jl 0x1007b6f8
test ecx, ecx
jne 0x1007b647
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
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]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1007b74d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1007b74d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10137e80
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1007b7b7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1007b773
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1007b7a2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1014273d
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1007b7b7
cmp edi, eax
ja 0x1007b780
test edi, edi
je 0x1007b7b7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1014273d
add esp, 0x10
sub edi, eax
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 0x10084320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x1008434b
cmp eax, edi
jge 0x1008433b
call fcn.10083af0
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edi, eax
test eax, eax
jle 0x1008437a
mov edx, dword [esi + 0xc]
push ebx
mov bl, dl
nop dword [eax]
mov byte [ebp + ecx - 4], bl
lea eax, [edi - 8]
shr edx, 8
inc ecx
mov dword [esi + 0xc], edx
mov edi, eax
mov bl, dl
test eax, eax
jg 0x10084360
pop ebx
mov dword [esi + 8], edi
jns 0x1008439d
mov ecx, dword [0x10228440]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0xc], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jge 0x100843be
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x100843af
xor dl, dl
jmp 0x100843b4
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x100843a5
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 1]
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 0x10084404
mov ecx, dword [0x10228440]
mov eax, dword fs:[0x2c]
pop edi
pop esi
mov eax, dword [eax + ecx*4]
mov dword [eax + 0xc], 0x101c6b10
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x1008442e
mov ecx, dword [0x10228440]
mov eax, dword fs:[0x2c]
pop edi
pop esi
mov eax, dword [eax + ecx*4]
mov dword [eax + 0xc], 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 0x1008444c
push edi
mov ecx, esi
call fcn.10083c20
add esp, 4
test eax, eax
je 0x10084395
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.10137e80
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008e3a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1394
call fcn.10137250
mov eax, dword [0x102241c0]
xor eax, esp
mov dword [esp + 0x1390], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call fcn.10120634
mov dword [esp + 0x1394], 0xffffffff
mov esi, 1
mov dword [esp + 0x14], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [esp + esi*4 + 0x14], eax
inc esi
cmp esi, 0x270
jb 0x1008e3e0
sub edi, ebx
mov dword [esp + 0x10], 0x270
lea ecx, [esp + 0x10]
cmp edi, 0xffffffff
jne 0x1008e42b
call fcn.100b0af0
add eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1390]
xor ecx, esp
call fcn.10135ef1
mov esp, ebp
pop ebp
ret
inc edi
call fcn.100b0af0
mul edi
mov dword [esp + 0xc], eax
mov ecx, edx
cmp eax, edi
jae 0x1008e461
mov eax, edi
xor edx, edx
neg eax
div edi
mov esi, edx
cmp dword [esp + 0xc], esi
jae 0x1008e461
nop dword [eax]
lea ecx, [esp + 0x10]
call fcn.100b0af0
mul edi
mov ecx, edx
cmp eax, esi
jb 0x1008e450
pop edi
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x1398]
pop esi
pop ebx
xor ecx, esp
call fcn.10135ef1
mov esp, ebp
pop ebp
ret
Function at 0x100aee00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100aee31
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100aee20
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x100b0af0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x100b0b4d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x100b0b10
mov eax, dword [esi]
jmp 0x100b0c2b
cmp eax, 0x4e0
jb 0x100b0c2b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x100b0b66
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x100b0bb1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c0e20
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 0x100c0e81
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100c0e64
cmp edi, 2
jb 0x100c0e64
cmp byte [esi], cl
jne 0x100c0e64
cmp byte [esi + 1], cl
jne 0x100c0e64
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101e4b58]
jmp 0x100c0e35
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101e4b58]
test edi, edi
jne 0x100c0e35
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100c0eb0
cmp cl, 0x23
jne 0x100c0e97
cmp byte [esi], cl
jne 0x100c0e97
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 + 0x101e4b58]
test cl, cl
jne 0x100c0e88
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100c1040
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 0x100c1052
test esi, esi
jne 0x100c1069
push 0x5e4
push 0x101dd4b8
push str.filename__mode
call fcn.10140c96
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x100c1076
mov dword [eax], 0
mov edx, esi
mov ecx, edi
call fcn.100c0ec0
mov esi, eax
test esi, esi
je 0x100c114a
push esi
call fcn.1014323e
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x100c1141
push 2
push 0
push esi
call fcn.10142b1a
add esp, 0xc
test eax, eax
jne 0x100c1141
push esi
call fcn.1014323e
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100c1141
push 0
push ebx
push esi
call fcn.10142b1a
add esp, 0xc
test eax, eax
jne 0x100c1141
mov eax, dword [0x102290c0]
test eax, eax
je 0x100c10e1
inc dword [eax + 0x374]
push edi
call fcn.101412cf
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100c1141
push esi
push edi
push 1
push ebx
call fcn.1014273d
add esp, 0x10
push esi
cmp eax, edi
je 0x100c1129
call fcn.10141b53
mov eax, dword [0x102290c0]
add esp, 4
test eax, eax
je 0x100c1119
dec dword [eax + 0x374]
push ebx
call fcn.10140444
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10141b53
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x100c113a
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10141b53
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100c2ed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc4], 0
jg 0x100c2ef7
push 0x58d
push str.D:_aSickoMenuSickoMenuincludesimguiimgui.h
push str.Size___0
call fcn.10140c96
add esp, 0xc
mov ecx, dword [esi + 0xc4]
mov edi, 4
mov eax, dword [esi + 0xcc]
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 + 0x101e4b58]
sub edi, 1
jne 0x100c2f11
mov ecx, dword [0x102290c0]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a50], eax
jne 0x100c2f43
mov dword [ecx + 0x1a54], eax
cmp dword [ecx + 0x1a8c], eax
jne 0x100c2f52
mov byte [ecx + 0x1a90], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102241c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc4], 0
jg 0x100c2f94
push 0x58d
push str.D:_aSickoMenuSickoMenuincludesimguiimgui.h
push str.Size___0
call fcn.10140c96
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 ecx, dword [esi + 0xc4]
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 + ecx*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 + 0x101e4b58]
sub edi, 1
jne 0x100c2ff4
mov eax, dword [0x102290c0]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a50], edx
jne 0x100c3025
mov dword [eax + 0x1a54], edx
cmp dword [eax + 0x1a8c], edx
jne 0x100c3034
mov byte [eax + 0x1a90], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.10135ef1
mov esp, ebp
pop ebp
ret 4