joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3b30
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov ecx, dword [ecx + 0x14]
mov edi, dword [ecx + 4]
mov dword [esp + 0xc], edi
mov edi, dword [ecx]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
lea edi, [esi + 0x20]
jmp 0x4a3b80
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x1c]
mov ebx, eax
shr ebx, 5
add ebx, dword [esp + 0xc]
sub esi, 0x61c88647
xor ecx, ebx
lea ebx, [esi + eax]
xor ecx, ebx
add edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [esp + 0x10]
mov ebx, edx
shl ebx, 4
add ebx, dword [esp + 0x14]
xor ecx, ebx
lea ebx, [esi + edx]
xor ecx, ebx
add eax, ecx
dec edi
jne 0x4a3b80
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
bswap eax
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
add esp, 0xc
ret 8

Function at 0x4a3bf0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov ecx, dword [ecx + 0x14]
mov edi, dword [ecx + 8]
mov dword [esp + 0xc], edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edi
mov esi, 0xc6ef3720
mov dword [esp + 0x10], ecx
mov edi, 0x20
lea ecx, [ecx]
mov ecx, edx
shr ecx, 5
add ecx, dword [esp + 0x1c]
mov ebx, edx
shl ebx, 4
add ebx, dword [esp + 0xc]
xor ecx, ebx
lea ebx, [esi + edx]
xor ecx, ebx
sub eax, ecx
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x10]
mov ebx, eax
shr ebx, 5
add ebx, dword [esp + 0x14]
xor ecx, ebx
lea ebx, [esi + eax]
xor ecx, ebx
sub edx, ecx
add esi, 0x61c88647
dec edi
jne 0x4a3c40
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
add esp, 0xc
ret 8
Function at 0x4a3ce0
Capabilities:
Encrypt data using twofish

Disassembly:
push ecx
mov al, byte [esp + 0xc]
test al, al
je 0x4a3db3
movzx eax, al
mov cl, byte [eax + 0x50832f]
mov eax, dword [esp + 0x10]
add eax, eax
add eax, eax
lea edx, [eax + 1]
and edx, 0x1f
push ebx
mov bl, byte [edx + 0x508210]
lea edx, [eax + 2]
and edx, 0x1f
movzx edx, byte [edx + 0x508210]
mov byte [esp + 0x10], dl
lea edx, [eax + 3]
and eax, 0x1f
movzx eax, byte [eax + 0x508210]
movzx eax, byte [eax + 0x50832f]
and edx, 0x1f
movzx edx, byte [edx + 0x508210]
mov byte [esp + 7], dl
push esi
movzx esi, cl
add eax, esi
cdq
mov ecx, 0xff
idiv ecx
mov ecx, dword [esp + 0x10]
movzx eax, bl
push edi
mov edi, 0xff
movzx edx, byte [edx + 0x508230]
xor byte [ecx], dl
movzx eax, byte [eax + 0x50832f]
add eax, esi
cdq
idiv edi
movzx eax, byte [esp + 0x18]
movzx edx, byte [edx + 0x508230]
xor byte [ecx + 1], dl
movzx eax, byte [eax + 0x50832f]
add eax, esi
cdq
idiv edi
movzx eax, byte [esp + 0xf]
movzx edx, byte [edx + 0x508230]
xor byte [ecx + 2], dl
movzx eax, byte [eax + 0x50832f]
add eax, esi
mov esi, edi
cdq
idiv esi
pop edi
pop esi
pop ebx
movzx edx, byte [edx + 0x508230]
xor byte [ecx + 3], dl
pop ecx
ret
Function at 0x4a3dc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, ecx
mov ecx, dword [edx + 0x54]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor eax, dword [esi]
push edi
mov edi, dword [ecx + 8]
xor edi, dword [esi + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
xor eax, dword [esi + 4]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [esi + 0xc]
mov esi, dword [edx + 0x34]
mov dword [esp + 0x14], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [edx + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [edx + 0x54]
mov dword [esp + 0x10], edi
mov edi, dword [edx + 0x44]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
add esi, 0x24
mov dword [esp + 0x24], 8
lea esp, [esp]
mov ebp, dword [esp + 0x18]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [ebp + edx*4]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x34]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [edi + ebx*4]
movzx ebx, al
mov eax, dword [esp + 0x1c]
xor edx, dword [eax + ebx*4]
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, ebp
shr ecx, 0x10
movzx ebp, cl
xor eax, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
shr ebx, 0x18
xor eax, dword [edi + ebx*4]
movzx ebx, byte [esp + 0x34]
xor eax, dword [ebp + ebx*4]
mov ebp, dword [esi - 4]
mov ebx, dword [esi]
mov ecx, dword [esp + 0x28]
add eax, edx
add ebp, eax
xor ebp, dword [esp + 0x10]
add ebx, edx
add ebx, eax
ror ebp, 1
rol ecx, 1
xor ecx, ebx
mov edx, ecx
shr edx, 8
movzx ebx, dl
mov edx, dword [esp + 0x18]
mov eax, ecx
shr eax, 0x18
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x14]
xor edx, dword [eax + ebx*4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor edx, dword [edi + eax*4]
mov eax, dword [esp + 0x1c]
movzx ebx, cl
xor edx, dword [eax + ebx*4]
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov dword [esp + 0x10], ebp
shr ecx, 0x10
movzx ebp, cl
xor eax, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
shr ebx, 0x18
xor eax, dword [edi + ebx*4]
movzx ebx, byte [esp + 0x10]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [esi + 4]
add eax, edx
add ebx, eax
xor ebx, dword [esp + 0x34]
mov ebp, dword [esi + 8]
mov ecx, dword [esp + 0x28]
ror ebx, 1
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x20]
add ebp, edx
rol ebx, 1
add eax, ebp
xor eax, ebx
add esi, 0x10
dec dword [esp + 0x24]
mov dword [esp + 0x20], eax
jne 0x4a3e20
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x54]
mov edi, dword [edx + 0x10]
xor ecx, dword [edx + 0x14]
xor eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x34]
xor esi, dword [edx + 0x18]
mov edx, dword [esp + 0x38]
xor edi, dword [esp + 0x10]
mov dword [edx + 8], esi
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
mov dword [edx + 0xc], eax
pop ebx
add esp, 0x20
ret 8
Function at 0x4a3f80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
mov edx, ecx
mov ecx, dword [edx + 0x54]
mov ebx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x14]
push ebp
mov ebp, dword [edx + 0x14]
push esi
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x1c]
push edi
mov edi, dword [esp + 0x3c]
xor ebx, dword [edi + 8]
xor esi, dword [edi]
xor eax, dword [edi + 4]
xor ecx, dword [edi + 0xc]
mov edi, dword [edx + 0x44]
mov dword [esp + 0x3c], ebx
mov ebx, dword [edx + 0x34]
mov dword [esp + 0x10], ebx
mov ebx, dword [edx + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [edx + 0x54]
mov dword [esp + 0x20], ebx
lea ebx, [edx + 0x94]
add edx, 0x90
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], 8
mov edi, edi
mov ebx, eax
shr ebx, 8
mov edx, eax
movzx ebx, bl
shr edx, 0x18
mov edx, dword [ebp + edx*4]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x20]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [edi + ebx*4]
movzx eax, al
xor edx, dword [ebp + eax*4]
mov eax, esi
shr eax, 8
movzx eax, al
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x10]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
xor eax, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 8]
shr esi, 0x18
xor eax, dword [edi + esi*4]
movzx esi, byte [esp + 0x1c]
xor eax, dword [ebp + esi*4]
mov esi, dword [esp + 0x3c]
add eax, edx
add ebx, eax
rol esi, 1
xor esi, ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 8]
add ebx, edx
add ebx, eax
xor ecx, ebx
mov ebx, dword [esp + 0x10]
ror ecx, 1
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, ecx
shr edx, 0x18
mov edx, dword [ebp + edx*4]
xor edx, dword [ebx + eax*4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor edx, dword [edi + eax*4]
mov eax, dword [esp + 0x20]
movzx ebx, cl
xor edx, dword [eax + ebx*4]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x3c], esi
movzx ebx, bl
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, esi
shr ecx, 0x10
movzx esi, cl
xor eax, dword [ebx + esi*4]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx]
shr esi, 0x18
xor eax, dword [edi + esi*4]
movzx esi, byte [esp + 0x3c]
xor eax, dword [ebp + esi*4]
mov esi, dword [esp + 0x1c]
add eax, edx
rol esi, 1
add ebx, eax
xor esi, ebx
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x30]
add ebx, edx
add eax, ebx
xor eax, dword [esp + 0x24]
mov edx, 0x10
sub dword [esp + 0x14], edx
sub dword [esp + 0x18], edx
ror eax, 1
dec dword [esp + 0x28]
mov dword [esp + 0x24], eax
jne 0x4a3ff0
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 0x54]
xor esi, dword [edx + 8]
mov edi, dword [edx]
xor ecx, dword [edx + 4]
xor eax, dword [edx + 0xc]
mov edx, dword [esp + 0x40]
xor edi, dword [esp + 0x3c]
mov dword [edx + 8], esi
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
mov dword [edx + 0xc], eax
pop ebx
add esp, 0x28
ret 8
Function at 0x4a49e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
bswap eax
mov ecx, dword [ecx + 0x14]
mov esi, 0x20
jmp 0x4a4a10
mov edi, eax
shr edi, 5
mov ebx, eax
shl ebx, 4
xor edi, ebx
add edi, eax
xor edi, dword [ecx]
add ecx, 8
add edx, edi
mov edi, edx
shr edi, 5
mov ebx, edx
shl ebx, 4
xor edi, ebx
add edi, edx
xor edi, dword [ecx - 4]
add eax, edi
dec esi
jne 0x4a4a10
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
bswap eax
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
bswap eax
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
pop ecx
ret 8

Function at 0x4a4a60
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
bswap eax
mov edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
bswap eax
mov ecx, dword [ecx + 0x14]
lea esi, [ecx + 0xf8]
add ecx, 0xfc
mov edi, 0x20
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
xor ebx, dword [ecx]
sub ecx, 8
sub eax, ebx
mov ebx, eax
shr ebx, 5
mov ebp, eax
shl ebp, 4
xor ebx, ebp
add ebx, eax
xor ebx, dword [esi]
sub esi, 8
sub edx, ebx
dec edi
jne 0x4a4a98
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
bswap eax
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
bswap eax
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
pop ebx
pop ecx
ret 8
Function at 0x4a61a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004a6100
mov ebp, dword [esp + 0x24]
xor eax, eax
jmp 0x4a61c0
mov cl, byte [eax + ebp]
mov esi, dword [esp + 0x10]
ror cl, 3
mov byte [esi + eax], cl
xor byte [esi + 8], cl
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x10]
lea esi, [eax + edx]
movzx edx, byte [eax + ebp + 8]
mov byte [esi], dl
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 9]
movzx edx, byte [esi]
mov byte [edi], dl
movzx edx, dl
xor byte [ecx + 0x11], dl
inc eax
cmp eax, 8
jne 0x4a61c0
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x4a624e
xor ecx, ecx
xor eax, eax
mov esi, dword [esp + 0x10]
mov dl, byte [esi + eax]
ror dl, 2
mov byte [esi + eax], dl
inc eax
cmp eax, 0x12
jne 0x4a6205
xor eax, eax
lea ebx, [ebx]
movzx edx, byte [ecx + eax + 0x509800]
mov esi, dword [esp + 0x10]
mov dl, byte [edx + esi]
add dl, byte [ecx + eax + 0x509730]
mov ebp, dword [ebx + 0x14]
lea esi, [ecx + eax]
inc eax
mov byte [esi + ebp + 8], dl
cmp eax, 0x10
jne 0x4a6220
inc edi
add ecx, eax
cmp edi, dword [ebx + 0x24]
jne 0x4a6203
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x14]
push edx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x4a6540
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [ecx + 0x24]
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
add edi, dword [edx]
add eax, dword [edx + 4]
xor ebx, ebx
test ebp, ebp
je 0x4a65d7
mov edx, dword [ecx + 0x14]
add edx, 0xc
push esi
mov ecx, eax
and ecx, 0x1f
mov esi, eax
xor esi, edi
rol esi, cl
add ebx, 4
add edx, 0x20
add esi, dword [edx - 0x24]
xor eax, esi
mov ecx, esi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 0x20]
mov ecx, eax
and ecx, 0x1f
mov edi, eax
xor edi, esi
rol edi, cl
add edi, dword [edx - 0x1c]
xor eax, edi
mov ecx, edi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 0x18]
mov ecx, eax
and ecx, 0x1f
mov esi, eax
xor esi, edi
rol esi, cl
add esi, dword [edx - 0x14]
xor eax, esi
mov ecx, esi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 0x10]
mov ecx, eax
mov edi, eax
and ecx, 0x1f
xor edi, esi
rol edi, cl
add edi, dword [edx - 0xc]
mov ecx, edi
xor eax, edi
and ecx, 0x1f
rol eax, cl
add eax, dword [edx - 8]
cmp ebx, ebp
jne 0x4a6564
pop esi
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
pop edi
pop ebp
mov dword [ecx + 4], eax
pop ebx
ret 8
Function at 0x4a65f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x4a6679
mov ecx, dword [ebx + 0x14]
push esi
lea esi, [ecx + edi*8 - 4]
lea esp, [esp]
sub eax, dword [esi + 8]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
sub esi, 0x20
xor eax, edx
sub edx, dword [esi + 0x24]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub eax, dword [esi + 0x20]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
xor eax, edx
sub edx, dword [esi + 0x1c]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub eax, dword [esi + 0x18]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
xor eax, edx
sub edx, dword [esi + 0x14]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub eax, dword [esi + 0x10]
mov ecx, edx
and ecx, 0x1f
ror eax, cl
xor eax, edx
sub edx, dword [esi + 0xc]
mov ecx, eax
and ecx, 0x1f
ror edx, cl
xor edx, eax
sub edi, 4
jne 0x4a6610
pop esi
mov ecx, dword [ebx + 0x14]
sub eax, dword [ecx + 4]
sub edx, dword [ecx]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
ret 8
Function at 0x4a70d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
mov dword [esp + 4], ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004a7020
mov ecx, dword [esp + 0x24]
xor eax, eax
shr ecx, 1
je 0x4a7105
mov edx, dword [esp + 0x20]
mov si, word [edx + eax*2]
mov edi, dword [esp + 0xc]
rol si, 8
mov word [edi + eax*2], si
inc eax
cmp eax, ecx
jne 0x4a70f0
push ebx
push ebp
mov ebx, 1
mov eax, 0x10
mov dword [esp + 0x2c], 8
lea esp, [esp]
mov esi, dword [esp + 0x14]
movzx ecx, word [eax + esi - 0x10]
mov edx, ecx
shr ecx, 7
movzx ecx, word [ecx*2 + 0x4f9780]
and edx, 0x7f
xor cx, dx
movzx edx, byte [edx + 0x4f9700]
movzx edi, cx
mov ecx, ebx
and ecx, 7
movzx ecx, word [esi + ecx*2]
mov ebp, ecx
and ecx, 0x1ff
shr ebp, 9
xor dx, bp
xor dx, di
and dx, 0x7f
xor ecx, edi
movzx ecx, word [ecx*2 + 0x4f9780]
movzx edx, dx
xor cx, dx
shl edx, 9
or cx, dx
mov word [eax + esi], cx
mov ecx, dword [esp + 0x14]
movzx edx, word [eax + ecx]
shr dx, 9
mov word [eax + ecx + 0x10], dx
mov ecx, dword [esp + 0x14]
movzx edx, word [eax + ecx]
mov esi, 0x1ff
and dx, si
mov word [eax + ecx + 0x20], dx
add eax, 2
inc ebx
dec dword [esp + 0x2c]
jne 0x4a7120
mov ecx, dword [esp + 0x10]
pop ebp
xor eax, eax
pop ebx
lea ebx, [ebx]
movzx edx, byte [eax + 0x4f9be8]
mov edi, dword [esp + 0xc]
movzx edx, word [edi + edx*2]
mov esi, dword [ecx + 0x14]
mov word [esi + eax*2], dx
movzx edx, byte [eax + 0x4f9b80]
mov edi, dword [esp + 0xc]
movzx edx, word [edi + edx*2]
mov esi, dword [ecx + 0x24]
mov word [esi + eax*2], dx
inc eax
cmp eax, 0x64
jne 0x4a71c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
push edx
mov edx, dword [esp + 0x10]
push edx
call eax
pop edi
pop esi
add esp, 0x14
ret 8

Function at 0x4a7320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5ed3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x53450c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x30]
mov edi, dword [ecx]
add eax, eax
push eax
push edx
mov edx, dword [edi + 4]
mov dword [esp + 0x20], 1
call edx
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
push edx
mov edx, dword [esi + 0x14]
push edx
mov byte [esp + 0x20], 0
call eax
test byte [esp + 0x20], 1
mov dword [esi], vtable.Botan::SymmetricAlgorithm.0
je 0x4a7394
push esi
call fcn.0045e266
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4a7d30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e5f03
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53450c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov eax, 0x20
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 8
lea ecx, [esi + 0x14]
mov dword [esp + 0x38], 0
mov dword [esi], vtable.Botan::GOST_28147_89.0
call fcn.00486300
lea ecx, [esi + 0x24]
mov byte [esp + 0x38], 1
call fcn.0048aa90
xor esi, esi
xor ecx, ecx
mov edi, 0xb
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov ebx, ecx
mov ebp, ecx
inc ecx
mov edx, ecx
shr ebx, 1
and ebp, 1
shr edx, 1
and ecx, 1
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
and edi, 0x1f
jmp 0x4a7dda
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov ecx, eax
and ecx, 0xf
lea ecx, [ebx + ecx*4]
mov cl, byte [ecx + edx]
movzx ecx, cl
test ebp, ebp
jne 0x4a7df7
shr ecx, 4
jmp 0x4a7dfa
and ecx, 0xf
mov ebp, dword [esp + 0x24]
mov ebx, eax
shr ebx, 4
cmp dword [esp + 0x28], 0
lea ebx, [ebp + ebx*4]
mov dl, byte [ebx + edx]
movzx edx, dl
jne 0x4a7e19
shr edx, 4
jmp 0x4a7e1c
and edx, 0xf
movzx ebx, dl
movzx edx, cl
shl ebx, 4
or ebx, edx
mov edx, dword [esp + 0x2c]
mov ecx, edi
rol ebx, cl
mov ecx, dword [edx + 0x14]
inc eax
add esi, 4
mov dword [esi + ecx - 4], ebx
cmp eax, 0x100
jne 0x4a7dd2
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edi, 8
add ecx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
cmp edi, 0x2b
jne 0x4a7daa
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4a86f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x10], 0x20
nop
mov edx, edi
and edx, 3
mov ecx, 3
sub ecx, edx
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, eax
shr edx, cl
mov ebp, 0xffffff
inc edi
movzx ecx, dl
movzx edx, byte [ecx + 0x5098d0]
mov ebx, dword [edx*4 + 0x5099d0]
mov ecx, esi
rol ebx, cl
add esi, 8
xor ebx, eax
mov eax, 0xffffff
sar eax, cl
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x10], 8
shl ebp, cl
mov ecx, dword [esp + 0x14]
shl edx, cl
sub ecx, 8
or eax, ebp
and eax, ebx
or eax, edx
mov dword [esp + 0x14], ecx
cmp esi, 0x20
jne 0x4a8710
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4a8780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
push ebp
lea eax, [edx*8]
mov ecx, 0x20
sub ecx, eax
push esi
mov ebp, 0xffffff
shl ebp, cl
mov ecx, eax
mov esi, 0xffffff
sar esi, cl
mov ecx, 3
sub ecx, edx
add ecx, ecx
push edi
xor edi, edi
or ebp, esi
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x2c]
mov ebx, dword [ebx + 4]
xor edx, edx
xor esi, esi
mov eax, edi
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4a8834
mov ecx, dword [esp + 0x28]
and ecx, 3
mov ebp, 3
sub ebp, ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov ebx, dword [edi]
mov ecx, ebp
shr ebx, cl
add edi, 4
movzx ecx, bl
xor ecx, eax
movzx eax, byte [ecx + 0x5098d0]
mov ecx, dword [esp + 0x28]
mov ebx, dword [eax*4 + 0x5099d0]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, esi
rol ebx, cl
inc esi
xor edx, ebx
cmp esi, dword [esp + 0x14]
jb 0x4a87f5
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
shl eax, cl
mov esi, ebp
and esi, edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
or eax, esi
mov dword [edx + edi*4], eax
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x100
jne 0x4a87c6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4a8cf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 0x34]
mov edx, dword [eax + 4]
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x20], eax
je 0x4a8e0c
push ebx
mov ebx, dword [ecx + 0x14]
add ebx, eax
mov eax, dword [esp + 0x14]
bswap eax
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [ecx + 0x24]
add eax, edi
add edi, esi
add esi, edx
add edx, ebp
mov ebp, edx
and ebp, 0xff
shr edx, 8
xor edx, dword [ebx + ebp*4]
mov ebp, esi
and ebp, 0xff
shr esi, 8
xor esi, dword [ebx + ebp*4]
mov ebp, edi
and ebp, 0xff
shr edi, 8
xor edi, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov ebp, eax
and ebp, 0xff
shr eax, 8
xor eax, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
lea ebx, [eax + ebx + 4]
mov eax, dword [esp + 0x14]
bswap eax
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [ecx + 0x24]
add eax, edi
add edi, esi
add esi, edx
add edx, ebp
mov ebp, edx
and ebp, 0xff
shr edx, 8
xor edx, dword [ebx + ebp*4]
mov ebp, esi
and ebp, 0xff
shr esi, 8
xor esi, dword [ebx + ebp*4]
mov ebp, edi
and ebp, 0xff
shr edi, 8
xor edi, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov ebp, eax
shr eax, 8
and ebp, 0xff
xor eax, dword [ebx + ebp*4]
mov dword [esp + 0x14], edi
mov ebp, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x24]
jne 0x4a8d24
pop ebx
mov eax, dword [ecx + 0x34]
mov dword [eax], ebp
mov eax, dword [ecx + 0x34]
mov dword [eax + 4], edx
mov edx, dword [ecx + 0x34]
mov dword [edx + 8], esi
mov eax, dword [ecx + 0x34]
mov dword [eax + 0xc], edi
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 0xc]
pop edi
pop esi
mov dword [edx + 0x10], eax
mov dword [ecx + 0x54], 0
pop ebp
add esp, 0x10
ret 4