joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push esi
mov esi, ecx
mov edx, dword [esi + 0x1b7dc]
mov dword [esi + 0x1cec0], 0
test edx, edx
jle 0x10073a5e
push ebx
push ebp
xor eax, eax
push edi
test eax, eax
je 0x100738ba
lea eax, [esi + 0x1c354]
mov ecx, esi
mov dword [esi + 0x1cebc], eax
mov eax, dword [esi + 0x28]
shr eax, 0x1e
push 2
mov dword [esi + 0x1cecc], eax
call fcn.10072a60
mov edi, dword [esi + 0x1cec0]
mov ebx, dword [esi + 0x1cecc]
mov edx, dword [esi + 0x1b7dc]
jmp 0x100738d4
lea eax, [esi + 0x1b7ec]
mov dword [esi + 0x1cecc], 0
xor edi, edi
mov dword [esi + 0x1cebc], eax
xor ebx, ebx
mov eax, dword [esi + 0x1b7e4]
mov cl, byte [eax + edi]
mov byte [esi + 0x1ced3], cl
mov byte [esi + 0x1ced4], 0
mov word [esi + 0x1ced1], 0
mov byte [esi + 0x1ced0], 0
cmp ebx, 1
jne 0x1007391c
mov byte [esi + 0x1ced4], 0x80
mov word [esi + 0x1ced1], 0x8080
mov byte [esi + 0x1ced0], 0x80
sub cl, byte [eax + edi - 1]
jmp 0x10073945
cmp ebx, 2
jne 0x1007394e
mov byte [esi + 0x1ced4], 0x80
mov word [esi + 0x1ced1], 0x8080
mov byte [esi + 0x1ced0], 0x80
movzx eax, byte [eax + edi - 1]
imul eax, eax, 0xb
sar eax, 4
sub cl, al
add cl, 0x80
mov byte [esi + 0x1ced3], cl
mov dword [esi + 0x1cec4], edi
cmp edi, dword [esi + 0x1b7d8]
jge 0x10073a3e
mov edx, dword [esi + 0x1b7dc]
nop word [eax + eax]
mov al, byte [esi + 0x1ced3]
mov ch, byte [esi + 0x1ced0]
mov ebx, dword [esi + 0x1cecc]
mov byte [esi + 0x1ced0], al
mov byte [esp + 0x12], al
mov al, byte [esi + 0x1ced4]
mov byte [esi + 0x1ced1], al
mov byte [esi + 0x1ced2], ch
mov ebp, dword [esi + 0x1b7e4]
mov byte [esp + 0x13], al
lea eax, [edi + ebp]
mov cl, byte [eax + edx]
mov byte [esi + 0x1ced3], cl
cmp ebx, 1
jne 0x100739bf
sub cl, byte [eax + edx - 1]
jmp 0x100739d4
cmp ebx, 2
jne 0x100739dd
lea eax, [edx + ebp]
movzx eax, byte [eax + edi - 1]
imul eax, eax, 0xb
sar eax, 4
sub cl, al
sub cl, 0x80
mov byte [esi + 0x1ced3], cl
movzx eax, byte [esp + 0x13]
movzx ebx, byte [esp + 0x12]
movzx edi, ch
mov edx, edi
movzx ecx, cl
sub edx, eax
sub ecx, ebx
sub ebx, edi
mov eax, dword [esi + edx*4 + 0x1d2d4]
add eax, dword [esi + ecx*4 + 0x1e2cc]
mov ecx, esi
add eax, dword [esi + ebx*4 + 0x1dad0]
cdq
xor eax, edx
sub eax, edx
mov dword [esi + 0x1cec8], eax
call fcn.10073a90
mov edx, dword [esi + 0x1b7dc]
add dword [esi + 0x1cec4], edx
mov edi, dword [esi + 0x1cec4]
mov ecx, dword [esi + 0x1b7d8]
cmp edi, ecx
jl 0x10073970
jmp 0x10073a44
mov ecx, dword [esi + 0x1b7d8]
mov eax, dword [esi + 0x1cec0]
inc eax
mov dword [esi + 0x1cec0], eax
cmp eax, edx
jl 0x10073881
pop edi
pop ebp
pop ebx
jmp 0x10073a64
mov ecx, dword [esi + 0x1b7d8]
mov eax, dword [esi + 0x1b7e4]
mov dword [esi + 0x1b7e8], ecx
mov ecx, dword [esi + 0x1b7e0]
mov dword [esi + 0x1b7e0], eax
mov dword [esi + 0x1b7e4], ecx
pop esi
pop ecx
ret
Function at 0x10073fb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, dword [ebx + 8]
mov edi, dword [esp + 0x10]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x10074002
test esi, esi
je 0x10073ffc
movzx eax, word [ebx + 0x13e]
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
shr ax, 8
movzx ecx, cl
xor ax, word [ecx*2 + 0x1017a798]
movzx eax, ax
mov word [ebx + 0x13e], ax
sub esi, 1
jne 0x10073fd6
pop edi
pop esi
pop ebx
ret 8
push 0x101eb630
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xa0000030
push eax
call fcn.10143df0
int3
Function at 0x10076560
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016268b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x101ed004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov al, byte [esi + 8]
mov byte [edi + 8], al
lea eax, [esi + 0xc]
push eax
mov dword [ecx], 0x101d1eb4
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.10010220
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
mov dword [ecx], 0x101d1eb4
push eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.10010220
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x4c], ecx
movups xmm0, xmmword [esi + 0x50]
movups xmmword [edi + 0x50], xmm0
movups xmm0, xmmword [esi + 0x60]
movups xmmword [edi + 0x60], xmm0
movq xmm0, qword [esi + 0x70]
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov eax, dword [eax + 0x7c]
mov esi, dword [esi + 0x78]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x100766d5
mov ecx, eax
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
call fcn.10076870
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
lea eax, [edi + edi*4]
mov edi, dword [ebp - 0x10]
lea eax, [ecx + eax*8]
mov dword [edi + 0x80], eax
mov ecx, dword [edi + 0x78]
mov eax, dword [ebp - 0x18]
nop dword [eax]
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
add esi, 0x28
movq qword [ecx + 0x20], xmm0
add ecx, 0x28
cmp esi, eax
jne 0x100766b0
mov dword [edi + 0x7c], ecx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x84]
mov eax, edi
mov byte [edi + 0x84], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1007adf0
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 0x10160100
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101ed004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1000
call fcn.10146843
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.10146843
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.10143f10
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.101427a2
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 0x1007bc00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
cmp esi, 0x10
jb 0x1007bcdf
movzx edx, word [ebx + 2]
mov ax, dx
shr ax, 8
movzx edi, ax
cmp edx, 2
je 0x1007bc2c
cmp edx, 3
jne 0x1007bcdf
movzx eax, byte [ebx + 0xe]
movzx ecx, byte [ebx + 0xf]
add ecx, eax
movzx eax, byte [ebx + 0xd]
add ecx, eax
movzx eax, byte [ebx + 0xc]
add ecx, eax
movzx eax, byte [ebx + 0xb]
add ecx, eax
movzx eax, byte [ebx + 9]
add ecx, eax
movzx eax, byte [ebx + 7]
add ecx, eax
movzx eax, byte [ebx + 6]
add ecx, eax
movzx eax, byte [ebx + 5]
add ecx, eax
movzx eax, byte [ebx + 1]
add ecx, eax
movzx eax, byte [ebx + 0xa]
add ecx, eax
movzx eax, dl
add ecx, eax
movzx eax, byte [ebx]
add ecx, eax
movzx eax, byte [ebx + 8]
add ecx, edi
add ecx, eax
and ecx, 0x800000ff
jns 0x1007bc8e
dec ecx
or ecx, 0xffffff00
inc ecx
cmp byte [ebx + 4], cl
jne 0x1007bcdf
movzx eax, word [ebx + 0xa]
test ax, ax
je 0x1007bcdf
mov edi, eax
lea eax, [edi + 0x10]
cmp esi, eax
jl 0x1007bcdf
xor eax, eax
lea esi, [ebx + 0x10]
test edi, edi
je 0x1007bcd3
nop
movsx ecx, byte [esi]
lea esi, [esi + 1]
mov edx, eax
shl eax, 8
shr edx, 8
xor edx, ecx
movzx ecx, dl
xor ax, word [ecx*2 + 0x1016be98]
movzx eax, ax
sub edi, 1
jne 0x1007bcb0
cmp word [ebx + 8], ax
jne 0x1007bcdf
pop edi
pop esi
mov al, 1
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x1007e100
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
mov esi, ecx
test ebp, ebp
jle 0x1007e165
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]
movzx ecx, byte [ebx + ecx]
inc ebx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1017ad70]
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 [ecx*4 + 0x1017ad70]
mov dword [esi + 8], edx
cmp ebx, ebp
jl 0x1007e120
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1007e170
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
push 0
push dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 0x18], esi
call fcn.10143f10
mov edx, dword [esi]
add esp, 0xc
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], edx
test ebp, ebp
je 0x1007e200
mov esi, dword [esp + 0x14]
push ebx
mov bl, byte [esi]
lea esi, [esi + 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 byte [esi - 1], dl
mov edx, dword [esp + 0x1c]
xor ecx, edx
movzx ecx, cl
shr edx, 8
xor edx, dword [ecx*4 + 0x1017ad70]
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 [ecx*4 + 0x1017ad70]
sub ebp, 1
jne 0x1007e1a2
mov esi, dword [esp + 0x10]
pop ebx
mov dword [esi + 4], edi
pop edi
mov dword [esi], edx
mov dword [esi + 8], eax
pop esi
pop ebp
pop ecx
ret 8
Function at 0x1007e350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162a69
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101ed004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 0xc]
mov dword [ebx + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov edi, dword [ebp + 8]
mov edx, 0x10
mov eax, edi
mov dword [ebx], 0
mul edx
mov dword [ebx + 8], 0
mov dword [ebx + 0x44], edi
seto cl
mov dword [ebp + 8], edi
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.1015d6d9
add esp, 4
mov dword [ebp - 0x14], eax
push 0x100012f0
push 0x1007e320
push edi
lea esi, [eax + 4]
mov byte [ebp - 4], 5
push 0x10
push esi
mov dword [eax], edi
call fcn.1015d737
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x1007e440
push eax
call edi
mov dword [ebx + 0x24], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 1
push 1
push 0
call esi
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1007e464
push eax
call edi
mov dword [ebx + 0x28], 0
push 0
push 0
push 1
push 0
call esi
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1007e482
push eax
call edi
mov dword [ebx + 0x30], 0
push 0
push 0
push 1
push 0
call esi
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1007e4a0
push eax
call edi
mov dword [ebx + 0x2c], 0
push 0
push 0
push 1
push 0
call esi
mov dword [ebx + 0x2c], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007e4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162ad1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101ed004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx], 0
jne 0x1007e6aa
mov edi, dword [ebp + 8]
push 0x50
mov dword [ebx], edi
call fcn.101427a2
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.10143f10
add esp, 0x10
lea eax, [edi + edi*2]
mov ecx, esi
push eax
call fcn.1007e350
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x28], eax
mov dword [ebp - 0x14], 0
mov dword [eax + 8], ebx
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebx + 0x28]
push 0x10086d30
push 0
push 0
call fcn.1014f1f4
mov ecx, dword [ebx + 0x28]
add esp, 0x18
mov dword [ecx], eax
mov eax, dword [ebx + 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov ecx, dword [ebx + 0x28]
mov edx, 0x78
mov dword [ecx + 4], eax
xor ecx, ecx
mov edi, dword [ebx]
mov eax, edi
mul edx
mov dword [ebp - 0x14], edi
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.1015d6d9
add esp, 4
mov dword [ebp - 0x18], eax
push 0x1007e2d0
push 0x1007e210
push edi
lea esi, [eax + 4]
mov dword [ebp - 4], 1
push 0x78
push esi
mov dword [eax], edi
call fcn.1015d737
mov dword [ebp - 4], 0xffffffff
xor edi, edi
mov dword [ebx + 0x24], esi
cmp dword [ebx], edi
jle 0x1007e676
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebx + 0x24]
add esi, eax
mov eax, dword [ebp + 0xc]
push 0x38
push 0
push esi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ebx
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x60], eax
call fcn.10143f10
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov ecx, esi
call fcn.10090c40
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push esi
push 0x1007ec30
push 0
push 0
call fcn.1014f1f4
add esp, 0x30
mov dword [esi + 0x4c], eax
test eax, eax
je 0x1007e6a3
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [esi + 0x70], eax
test edi, edi
jle 0x1007e664
push dword [ebp + 0x14]
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 0x14]
inc edi
add eax, 0x78
mov dword [ebp - 0x14], eax
cmp edi, dword [ebx]
jl 0x1007e5e1
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.1007e6b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10142783
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.100918e0
xor eax, eax
jmp 0x1007e685
Function at 0x10080f50
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x1048
call fcn.1015dc90
push esi
mov esi, ecx
push 0x10dd
push 0
lea eax, [esi + 0x1048]
push eax
call fcn.10143f10
push 0x1048
lea eax, [esp + 0x14]
push 0x101dc708
push eax
call fcn.10146160
push 0x1048
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10146160
add esp, 0x24
mov dword [esi + 0x2128], 0
mov eax, esi
pop esi
add esp, 0x1048
ret
Function at 0x10081200
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 0x1008138f
push ebp
push esi
push edi
lea edi, [ebx + 0x41]
lea eax, [edx + 0x1044]
lea ecx, [edi + 0x1044]
cmp edi, eax
ja 0x10081256
cmp ecx, edx
jb 0x10081256
mov ecx, edi
sub edx, edi
mov esi, 0x412
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x10081246
jmp 0x10081265
push 0x1048
push edx
push edi
call fcn.10146160
add esp, 0xc
push ebx
call fcn.10080fb0
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 0x10081270
lea esi, [ebx + 0x45]
mov edi, 9
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.100813b0
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 0x10081338
lea esi, [ebx + 0x8d]
lea ebp, [edi + 4]
mov edi, 0x80
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.100813b0
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 0x10081367
sub ebp, 1
jne 0x10081362
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 0x100813b0
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 0x100813d0
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 0x10089c70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
xor edx, edx
nop dword [eax]
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x101f1fd0], eax
inc edx
cmp edx, 0x100
jb 0x10089c90
mov eax, 0x101f1fd4
mov esi, 0x1c0
mov edx, dword [eax - 4]
lea eax, [eax + 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101f1fd0]
mov dword [eax + 0x3ec], edx
mov edx, dword [eax - 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101f1fd0]
mov dword [eax + 0x3f0], edx
mov edx, dword [eax - 0xc]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101f1fd0]
mov dword [eax + 0x3f4], edx
mov edx, dword [eax - 8]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101f1fd0]
mov dword [eax + 0x3f8], edx
sub esi, 1
jne 0x10089d34
lea ecx, [esp + 0xc]
mov dword [0x101f1fcc], 0x100d5e80
call fcn.100d6280
test eax, eax
je 0x10089e74
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr edx, 8
mov eax, ecx
mov edi, edx
and eax, 0xf00
and edi, 0xff000
and edx, 0xf00
and ecx, 0xf0
or edi, eax
or edx, ecx
shr edi, 8
shr edx, 4
mov eax, 0x101812c4
xor ecx, ecx
mov ebx, dword [esp + 0x10]
cmp dword [eax - 8], ebx
jne 0x10089dfe
mov ebx, dword [esp + 0x14]
cmp dword [eax - 4], ebx
mov ebx, dword [esp + 0x18]
jne 0x10089dfe
cmp dword [eax], ebx
je 0x10089e1c
add esi, 0xc
inc ecx
add eax, 0xc
cmp esi, 0x24
jb 0x10089de4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10142783
mov esp, ebp
pop ebp
ret
sub ecx, 0
je 0x10089e4a
sub ecx, 1
je 0x10089e39
sub ecx, 1
jne 0x10089e74
cmp edi, 6
jb 0x10089e74
jne 0x10089e6a
cmp edx, 0xf
jb 0x10089e74
jmp 0x10089e6a
cmp edi, 5
jb 0x10089e74
jne 0x10089e6a
cmp edx, 6
jb 0x10089e74
cmp edx, 0xa
jmp 0x10089e68
cmp edi, 6
jb 0x10089e74
jne 0x10089e6a
cmp edx, 0x1c
je 0x10089e74
cmp edx, 0x26
je 0x10089e74
cmp edx, 0x27
je 0x10089e74
cmp edx, 0x35
je 0x10089e74
cmp edx, 0x36
je 0x10089e74
mov dword [0x101f1fcc], fcn.100d5f20
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10142783
mov esp, ebp
pop ebp
ret