joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088360
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d010
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1000
call fcn.101554b7
push 0x1000
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x1000
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.101554b7
mov dword [edi + 0x38], eax
lea esi, [edi + 0x70]
mov dword [edi + 0x3c], 0x1000
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
push 0x64
push 0
push esi
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x4c], vtable.CArkAutoByte.0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x64], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
call fcn.10152e30
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0x270f
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.1015144f
add esp, 0x18
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [edi + 0x1c], eax
mov eax, edi
mov byte [edi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100894c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
cmp edi, 0x10
jb 0x1008955f
movzx ecx, word [esi + 2]
mov dx, cx
shr dx, 8
cmp ecx, 2
je 0x100894e5
cmp ecx, 3
jne 0x1008955f
mov al, byte [esi + 0xf]
add al, byte [esi + 0xe]
add al, byte [esi + 0xd]
add al, byte [esi + 0xc]
add al, byte [esi + 0xb]
add al, byte [esi + 9]
add al, byte [esi + 7]
add al, byte [esi + 6]
add al, byte [esi + 5]
add al, byte [esi + 1]
add al, dl
add al, cl
add al, byte [esi + 8]
add al, byte [esi + 0xa]
add al, byte [esi]
cmp byte [esi + 4], al
jne 0x1008955f
movzx eax, word [esi + 0xa]
test ax, ax
je 0x1008955f
mov ebx, eax
lea eax, [ebx + 0x10]
cmp edi, eax
jl 0x1008955f
xor edx, edx
lea edi, [esi + 0x10]
test ebx, ebx
je 0x10089553
nop
movsx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, edx
shl edx, 8
shr ecx, 8
xor ecx, eax
movzx eax, cl
xor dx, word [eax*2 + 0x1018d708]
movzx edx, dx
sub ebx, 1
jne 0x10089530
cmp word [esi + 8], dx
jne 0x1008955f
pop edi
pop esi
mov al, 1
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x1008c290
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub esp, 0x48
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
mov esi, ecx
lea eax, [esi + 0x4c]
mov dword [esi + 0xc], 0
push eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x44], 0
mov byte [esi + 0x48], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x20], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x78], 0
push 0x8000
mov dword [esi + 0x7c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.101554b7
mov dword [esi + 0x24], eax
add esp, 4
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1008c355
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1008c37b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp byte [0x101e6b51], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x9c], 0
mov byte [esi + 0xa0], 0
je 0x1008c3cb
mov byte [0x101e6b51], 0
mov ecx, 0x101fa7e8
call fcn.1000d1a0
push 0
mov dword [esi + 0xc], eax
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
call fcn.10154ef2
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov ecx, esi
push 4
lea eax, [esp + 0xc]
push eax
call fcn.100a59b0
push 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.100a59b0
push 8
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.100a59b0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 8
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.100a59b0
push 0x20
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x1008c474
push 0x20
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.100a59b0
mov ecx, dword [esp + 0x44]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10151433
add esp, 0x48
ret
Function at 0x1008fb90
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x18]
mov eax, ecx
cdq
push esi
mov ebx, dword [ebp + 0x71e8]
push edi
cmp dword [ebp + 0x71ec], edx
jg 0x1008fbb2
jl 0x1008fbb4
cmp ebx, eax
jb 0x1008fbb4
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov eax, ebx
mov edi, dword [esp + 0x1c]
cdq
push edx
mov esi, dword [ecx]
push eax
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edx
call dword [esi + 0x18]
test eax, eax
je 0x1008fc22
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ecx, dword [eax]
test ebx, ebx
je 0x1008fc02
mov esi, dword [ebp + 0x71f4]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
movzx eax, word [esi + eax*2]
xor ecx, eax
sub edx, 1
jne 0x1008fbe5
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
sub dword [ebp + 0x71e8], eax
mov eax, dword [esp + 0x10]
sbb dword [ebp + 0x71ec], eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0x101e45fc
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xa0000015
push eax
call fcn.10153200
int3

Function at 0x1008fe30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov edx, 2
cmp dword [esp + 0x10], edx
push ebp
cmovge edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, ecx
xor ecx, ecx
mov dword [esi], edx
mov edx, ebx
mov dword [esi + 4], 0
mov eax, dword [edi + 0x71f8]
cmp dword [eax + ebx*8 + 4], ecx
je 0x1008fe9b
movzx ebx, word [edi + 0x2a]
add ebx, 0xfffffffd
cmp ecx, ebx
jae 0x1008fe97
mov eax, dword [edi + 0x34]
inc ecx
add eax, ecx
shl edx, 5
movzx eax, byte [eax + ebp + 2]
xor edx, eax
mov eax, dword [edi + 0x71f8]
and edx, 0x7fff
cmp dword [eax + edx*8 + 4], 0
jne 0x1008fe70
mov ebx, dword [esp + 0x14]
movzx eax, word [edi + 0x2a]
add eax, 0xfffffffd
cmp ecx, eax
push esi
cmove edx, ebx
xor ebx, ebx
cmp ecx, eax
movzx eax, word [edi + 0x2a]
push eax
cmovne ebx, ecx
mov ecx, edi
push ebx
push ebp
push edx
call fcn.1008fc40
test ebx, ebx
je 0x1008fedc
lea eax, [ebx + 3]
cmp dword [esi], eax
jae 0x1008fedc
push esi
lea eax, [ebx + 2]
mov ecx, edi
push eax
push 0
push ebp
push dword [esp + 0x24]
call fcn.1008fc40
mov eax, dword [edi + 0x40]
cmp dword [esi], eax
jbe 0x1008fee5
mov dword [esi], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x10091410
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10180983
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
lea edi, [eax + 0x18]
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
lea esi, [edi + 0x68]
mov byte [ebp - 4], 6
push 0x58
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1015144f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x70]
mov byte [ebp - 4], 7
push 0x58
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1015144f
xorps xmm0, xmm0
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
movups xmmword [edi + 0x84], xmm0
movups xmmword [edi + 0x94], xmm0
movups xmmword [edi + 0xa4], xmm0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0xf
mov byte [edi + 0xa4], 0
mov esi, dword [ebp - 0x10]
mov dword [esi + 0xd8], 0
movups xmmword [esi + 0xdc], xmm0
mov dword [esi + 0xec], 0
xor eax, eax
mov dword [esi + 0xf0], 7
mov word [esi + 0xdc], ax
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 9
call fcn.1006c3c0
mov byte [esi + 0x16c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10096940
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10096972
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1009696d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], al
add byte [eax], al
jne 0x10096957
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1009695f
cmp edx, ebx
jne 0x10096aad
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1009692e
add eax, dword [eax + 4]
jmp 0x1009691b
mov dword [ebp + 0xc], ebx
jmp 0x1009697d

Function at 0x10096980
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10096995
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100969b3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10096a11
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100969f8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10096a01
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10096a0b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100969ed
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10096977
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10096a5e
dec eax
je 0x10096a55
sub eax, 3
je 0x10096a4c
mov dword [ebp - 4], 0x40
jmp 0x10096a7b
mov dword [ebp - 4], 4
jmp 0x10096a61
mov dword [ebp - 4], 0x20
jmp 0x10096a61
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10096aad
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10096a2d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100962be
retf
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10098f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10180e10
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi], 2
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x40], eax
mov eax, dword [0x101c5980]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov byte [ebp - 4], 1
push 0xc
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
call fcn.1015144f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x88]
push eax
mov dword [esi + 0x6c], 0x100729e0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 3
push 0x28
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
call fcn.1015144f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa8], 0
push 0x1009e660
push 0x1009e5f0
push 0x20
push 0x68
lea eax, [esi + 0xac]
mov byte [ebp - 4], 5
push eax
call fcn.10178510
push 0x80
push 0
lea eax, [esi + 0xdac]
push eax
call fcn.10152e30
mov dword [esi + 0xe30], 0
add esp, 0xc
mov dword [esi + 0xe34], 0
mov byte [esi + 0xe38], 0
mov dword [esi + 0xe40], 0
mov dword [esi + 0xe44], 0
mov dword [esi + 0xe48], 0
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x10099131
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa8], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xa8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x1009cab0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x1048
call fcn.10178bb0
push esi
mov esi, ecx
push 0x10dd
push 0
lea eax, [esi + 0x1048]
push eax
call fcn.10152e30
push 0x1048
lea eax, [esp + 0x14]
push 0x101d2458
push eax
call fcn.101528b0
push 0x1048
lea eax, [esp + 0x20]
push eax
push esi
call fcn.101528b0
add esp, 0x24
mov dword [esi + 0x2128], 0
mov eax, esi
pop esi
add esp, 0x1048
ret
Function at 0x1009cd70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
cmp byte [ebx], 0
je 0x1009ceff
push ebp
push esi
push edi
lea edi, [ebx + 0x41]
lea eax, [edx + 0x1044]
lea ecx, [edi + 0x1044]
cmp edi, eax
ja 0x1009cdc6
cmp ecx, edx
jb 0x1009cdc6
mov ecx, edi
sub edx, edi
mov esi, 0x412
mov eax, dword [ecx + edx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x1009cdb6
jmp 0x1009cdd5
push 0x1048
push edx
push edi
call fcn.101528b0
add esp, 0xc
push ebx
call fcn.1009cb10
xor ebp, ebp
nop dword [eax]
mov eax, 0xcccccccd
lea esi, [ebp + 2]
mul ebp
mov ecx, ebp
lea edi, [edi + 0x18]
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x1089]
lea ecx, [esi - 1]
xor dword [edi - 0x18], eax
mov eax, 0xcccccccd
mul ecx
mov ecx, ebp
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x108d]
mov ecx, ebp
xor dword [edi - 0x14], eax
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x1091]
lea ecx, [esi + 1]
xor dword [edi - 0x10], eax
mov eax, 0xcccccccd
mul ecx
mov ecx, ebp
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x1095]
lea ecx, [esi + 2]
xor dword [edi - 0xc], eax
mov eax, 0xcccccccd
mul ecx
mov ecx, ebp
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x1099]
lea ecx, [esi + 3]
xor dword [edi - 8], eax
mov eax, 0xcccccccd
mul ecx
mov ecx, ebp
add ebp, 6
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, dword [ebx + ecx*4 + 0x109d]
xor dword [edi - 4], eax
cmp ebp, 0x12
jl 0x1009cde0
lea esi, [ebx + 0x45]
mov edi, 9
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.1009cf20
mov eax, dword [esp + 0x10]
lea esi, [esi + 8]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi - 8], eax
sub edi, 1
jne 0x1009cea8
lea esi, [ebx + 0x8d]
lea ebp, [edi + 4]
mov edi, 0x80
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.1009cf20
mov eax, dword [esp + 0x10]
mov dword [esi - 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x1009ced7
sub ebp, 1
jne 0x1009ced2
pop edi
pop esi
pop ebp
mov dword [ebx + 0x3d], 0
mov dword [ebx + 0x39], 0
pop ebx
add esp, 8
ret 4
Function at 0x1009cf20
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov ebp, 0x10
mov dword [esp + 0x10], ecx
lea ebx, [edi + 0x41]
nop
xor eax, dword [ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov dword [esp + 0x1c], eax
shr ecx, 0x10
mov edx, eax
movzx ecx, cl
shr edx, 0x18
mov esi, dword [edi + ecx*4 + 0x489]
mov ecx, eax
add esi, dword [edi + edx*4 + 0x89]
mov edx, dword [esp + 0x1c]
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor esi, dword [edi + ecx*4 + 0x889]
add esi, dword [edi + eax*4 + 0xc89]
xor esi, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov eax, esi
sub ebp, 1
jne 0x1009cf40
mov ebp, dword [esp + 0x18]
mov ecx, dword [edi + 0x85]
xor ecx, edx
mov dword [ebp], ecx
mov ecx, dword [edi + 0x81]
pop edi
xor ecx, eax
pop esi
mov dword [ebp + 4], ecx
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x1009e110
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x1009e202
push 0x40
lea eax, [esp + 0x34]
mov dword [esp + 0x10], 0
push 0
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x6a09e667
mov dword [esp + 0x20], 0xbb67ae85
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
call fcn.10152e30
mov cl, byte [esi]
add esp, 0xc
test cl, cl
je 0x1009e1eb
nop
mov eax, dword [esp + 8]
lea edx, [esp + 0x30]
shr eax, 5
and eax, 0xf
lea edx, [edx + eax*4]
movsx eax, cl
movzx ecx, al
mov eax, dword [edx]
shl eax, 8
or ecx, eax
mov dword [edx], ecx
mov eax, dword [esp + 8]
add eax, 8
mov dword [esp + 8], eax
jne 0x1009e1d3
inc dword [esp + 0xc]
jmp 0x1009e1da
test eax, 0x1ff
jne 0x1009e1e3
lea ecx, [esp + 8]
call fcn.100d4df0
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x1009e1a0
lea ecx, [esp + 8]
call fcn.100d7270
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret
Function at 0x100a59b0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
mov esi, ecx
test ebp, ebp
jle 0x100a5a14
mov eax, dword [esi]
mov edx, dword [esi + 8]
push edi
mov edi, dword [esi + 4]
nop dword [eax + eax]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esi + 0xc]
movzx ecx, byte [ecx + ebx]
inc ebx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebp + ecx*4]
movzx ecx, al
add ecx, edi
mov dword [esi], eax
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
mov dword [esi + 4], edi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ebp + ecx*4]
mov dword [esi + 8], edx
cmp ebx, dword [esp + 0x18]
jl 0x100a59d0
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x100a5a20
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push ebx
mov esi, ecx
push 0
push ebp
mov dword [esp + 0x20], esi
call fcn.10152e30
mov eax, dword [esi + 0xc]
add esp, 0xc
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], edx
test ebx, ebx
je 0x100a5aba
mov esi, ebx
nop word [eax + eax]
mov bl, byte [ebp]
lea ebp, [ebp + 1]
mov ecx, eax
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
movzx ecx, bl
shr edx, 8
xor dl, bl
mov ebx, dword [esp + 0x10]
mov byte [ebp - 1], dl
mov edx, dword [esp + 0x1c]
xor ecx, edx
movzx ecx, cl
shr edx, 8
xor edx, dword [ebx + ecx*4]
movzx ecx, dl
add ecx, edi
mov dword [esp + 0x1c], edx
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
shr ecx, 0x18
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebx + ecx*4]
sub esi, 1
jne 0x100a5a60
mov esi, dword [esp + 0x14]
mov dword [esi + 4], edi
pop edi
mov dword [esi], edx
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 8
ret 8