joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f2920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x601ab3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
cmp dword [0x6ed6ac], 0
jne 0x4f2960
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
mov dword [esi], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 8], 2
call fcn.004dc670
push 8
call fcn.004d6190
mov dword [esi + 0xc], eax
add esp, 8
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov dword [esp + 0x14], 0
cmp dword [0x6ed6ac], 0
jne 0x4f29b8
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
mov dword [esi + 0x14], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0x1c], 2
call fcn.004dc670
push 8
call fcn.004d6190
mov dword [esi + 0x20], eax
add esp, 8
mov dword [esi + 0x24], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov byte [esp + 0x14], 1
cmp dword [0x6ed6ac], 0
jne 0x4f2a0e
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
mov dword [esi + 0x28], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0x30], 2
call fcn.004dc670
push 8
call fcn.004d6190
mov dword [esi + 0x34], eax
add esp, 8
mov dword [esi + 0x38], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x34]
mov dword [eax], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4f3560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x601c94
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x58]
lea ecx, [ebx - 4]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], 0
mov eax, dword [ecx]
mov dword [esp + 0x18], edi
call dword [eax + 0x10]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test esi, esi
je 0x4f35df
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
jmp 0x4f35d0
cmp dword [eax], 0
jne 0x4f3664
sub eax, 4
dec esi
jne 0x4f35d0
xor esi, esi
cmp dword [0x6ed6ac], 0
jne 0x4f35f9
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
mov dword [edi], vtable.CryptoPP::Integer.0
push 0
mov dword [edi + 8], 0
call fcn.004dc670
add esp, 4
mov dword [edi + 0xc], 0
push 0
push esi
push ebp
mov ecx, edi
mov dword [esp + 0x5c], 1
call fcn.005013e0
mov dword [esp + 0x50], 0
mov ecx, ebx
mov eax, dword [ebx]
push 0
push edi
push 1
mov eax, dword [eax + 0x44]
mov dword [esp + 0x20], 1
call eax
test al, al
jne 0x4f3682
lea ecx, [esp + 0x1c]
call fcn.004da0a0
push 0x67dfcc
lea eax, [esp + 0x20]
push eax
call fcn.005c8210
test esi, esi
je 0x4f35df
lea ecx, [ecx + esi*4]
add ecx, 0xfffffffc
call fcn.004f1980
sub eax, 4
lea esi, [eax + esi*4]
jmp 0x4f35e1
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005c46a4
add esp, 0x40
ret 0xc
Function at 0x4f3ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x601d48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.004ee5d0
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov word [esp + 0x34], 0x3000
mov dword [esp + 8], vtable.CryptoPP::DERSequenceEncoder.1.0
mov dword [esp + 0xc], vtable.CryptoPP::DERSequenceEncoder.0
mov dword [esp + 0x48], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
lea edx, [esp + 8]
push edx
call dword [eax + 8]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 4]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 8]
call fcn.004f2200
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.004f2170
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret 4
Function at 0x4f3d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x601db8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
cmp dword [0x6ed6ac], 0
mov dword [esp + 0x18], 0
jne 0x4f3d82
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004dc670
push 8
call fcn.004d6190
mov ebx, eax
mov dword [esp + 0x48], 0
add esp, 8
mov dword [esp + 0x3c], ebx
mov dword [ebx], 1
mov dword [ebx + 4], 0
lea edi, [esi - 4]
mov dword [esp + 0x78], 0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test esi, esi
je 0x4f3deb
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
cmp dword [eax], 0
jne 0x4f3e00
sub eax, 4
dec esi
jne 0x4f3de0
xor esi, esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
imul eax, esi
cmp eax, 5
jae 0x4f3e19
xor eax, eax
jmp 0x4f3e79
test esi, esi
je 0x4f3deb
lea ecx, [ecx + esi*4]
add ecx, 0xfffffffc
call fcn.004d4950
lea esi, [esi - 1]
shl esi, 5
add esi, eax
jmp 0x4f3ded
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x657ba0]
movsd qword [esp + 0x1c], xmm0
call fcn.005c9340
movsd xmm1, qword [0x657960]
call fcn.005ca0a0
movsd xmm1, qword [0x657950]
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [esp + 0x1c]
call fcn.005ca0a0
mulsd xmm0, qword [str.333333]
mulsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [0x657978]
call fcn.005c8e91
add eax, eax
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00500fb0
add esp, 8
mov edi, eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
mov byte [esp + 0x78], 1
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d90a0
add esp, 0xc
mov esi, eax
mov byte [esp + 0x78], 2
cmp dword [edi + 0x10], 1
je 0x4f3ed0
cmp dword [esi + 0x10], 1
je 0x4f3ec9
push esi
mov ecx, edi
call fcn.005041f0
jmp 0x4f3ee5
mov eax, 1
jmp 0x4f3ee5
cmp dword [esi + 0x10], 1
je 0x4f3edb
or eax, 0xffffffff
jmp 0x4f3ee5
push esi
mov ecx, edi
call fcn.005041f0
neg eax
mov ecx, dword [ebp + 8]
test eax, eax
cmovs esi, edi
push esi
call fcn.00500d50
mov edx, dword [esp + 0x4c]
xor eax, eax
mov esi, dword [esp + 0x50]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x4f3f17
call fcn.005fa578
jmp 0x4f3f1c
call fcn.005c663b
mov edx, dword [esp + 0x64]
xor eax, eax
mov esi, dword [esp + 0x68]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x4f3f43
call fcn.005fa578
jmp 0x4f3f48
call fcn.005c663b
add esp, 4
xor eax, eax
mov edi, ebx
mov ecx, 2
rep stosd dword es:[edi], eax
push ebx
call fcn.005c663b
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f4aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x600780
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x19
push str.Integer:_division_by_zero
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0045a6b0
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.005ceb31
mov byte [esp + 0x30], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045abf0
cmp dword [esp + 0x20], 0x10
jb 0x4f4b50
push dword [esp + 0xc]
call fcn.004d6210
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Integer::DivideByZero.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005c46a4
add esp, 0x2c
ret

Function at 0x4f4b80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6009d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x32
push str.Integer:_no_integer_satisfies_the_given_parameters
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045a6b0
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005ceb31
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045abf0
cmp dword [esp + 0x24], 0x10
jb 0x4f4c36
push dword [esp + 0x10]
call fcn.004d6210
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Integer::RandomNumberNotFound.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret
Function at 0x501880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6020e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.004ee5d0
mov eax, dword [ebp + 8]
mov dword [esp + 8], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0xc], vtable.CryptoPP::DERGeneralEncoder.1.0
mov dword [esp + 0x30], eax
mov word [esp + 0x34], 0x200
push 1
sub esp, 8
mov dword [esp + 0x54], 0
mov ecx, esi
call fcn.005015a0
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00501730
lea ecx, [esp + 8]
call fcn.004f2200
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.004f2170
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret 4

Function at 0x503f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602468
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x10], ecx
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 2
call fcn.004d4950
dec eax
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004f4cf0
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.005010e0
mov edx, dword [esp + 0x20]
xor eax, eax
mov esi, dword [esp + 0x24]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x504018
call fcn.005fa578
jmp 0x50401d
call fcn.005c663b
mov eax, dword [ebx + 0xc]
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
and eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x506d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6028aa
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.005c3ac0
mov dword [esp + 0x20], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x20], 6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x506e29
lea eax, [esp + 0x28]
mov dword [esp + 0x28], str.bad_locale_name
push eax
lea ecx, [esp + 0x10]
call fcn.005ceace
push 0x67e26c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], vtable.std::runtime_error.0
push eax
call fcn.005c8210
push eax
push esi
call fcn.005c4203
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4
Function at 0x50c200
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + str.cw]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x6ed8c0], ecx
mov dword [eax*8 + 0x6ed8c4], edx
inc eax
cmp eax, 0x100
jl 0x50c204
xorps xmm0, xmm0
pop edi
movlpd qword [0x6ee0c8], xmm0
movlpd qword [0x6ee0c0], xmm0
mov byte [0x6ed667], 1
pop esi
ret

Function at 0x50c270
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x641490]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x6f0020], eax
mov dword [edx*8 + 0x6f0024], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x50c280
pop edi
pop esi
pop ebp
mov byte [0x6ed666], 1
pop ebx
add esp, 0x10
ret
Function at 0x50dac0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x50db0e
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movdqa xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movdqa xmmword [eax], xmm0
dec edx
jne 0x50daf0
movdqa xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x50db30
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqa xmm1, xmmword [eax]
movdqa xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movdqa xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movdqa xmm0, xmmword [esi]
pxor xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edi, 1
jbe 0x50dbe5
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
jmp 0x50dba0
dec dword [esp + 0xc]
lea edi, [edi + 0x10]
movdqa xmm1, xmmword [edi - 0x10]
movdqa xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenc xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenc xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x50dba0
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movdqa xmm0, xmmword [ecx]
movdqa xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenclast xmm0, xmm1
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x50fcc0
Capabilities:
Encrypt data using rc6

Disassembly:
push 0xffffffffffffffff
push 0x603208
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
je 0x50fcf2
lea ebx, [edi + 4]
jmp 0x50fcf4
xor ebx, ebx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x14]
push edx
push 0x6ad91c
push str.Rounds
mov eax, dword [ecx]
mov dword [esp + 0x20], 0x14
call dword [eax + 4]
mov esi, dword [esp + 0x14]
push ebx
push esi
call fcn.004ed5b0
lea eax, [esi*2 + 4]
mov dword [edi + 0x10], esi
push eax
lea ecx, [edi + 0x14]
call fcn.004ec2d0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
add ecx, 3
mov dword [esp + 0x40], 1
shr ecx, 2
lea eax, [esp + 0x40]
cmp ecx, 1
mov dword [esp + 0x14], ecx
cmovae eax, edx
mov ebp, dword [eax]
push ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
call fcn.004dc670
add esp, 4
test ebp, ebp
jne 0x50fd71
xor ebx, ebx
jmp 0x50fd83
lea eax, [ebp*4]
push eax
call fcn.004d6190
add esp, 4
mov ebx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x3c]
lea esi, [ebp*4]
push eax
mov dword [esp + 0x34], 0
push dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
push esi
push ebx
mov dword [esp + 0x50], 4
call fcn.005cda59
mov eax, dword [esp + 0x4c]
sub esi, eax
push esi
add eax, ebx
push 0
push eax
call fcn.005c8180
add esp, 0x1c
lea edx, [esp + 0x40]
lea ecx, [esp + 0x14]
call fcn.004e14c0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0xb7e15163
mov eax, 1
cmp dword [edi + 0x18], eax
jbe 0x50fdfd
mov ecx, dword [edi + 0x1c]
lea edx, [ecx + eax*4]
inc eax
mov ecx, dword [edx - 4]
sub ecx, 0x61c88647
mov dword [edx], ecx
cmp eax, dword [edi + 0x18]
jb 0x50fde6
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x38], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], 0
cmovae ecx, edx
mov dword [esp + 0x40], 0
xor esi, esi
mov eax, dword [ecx]
lea eax, [eax + eax*2]
mov dword [esp + 0x38], eax
test eax, eax
je 0x50fe7b
xor edx, edx
mov eax, esi
div dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
lea ecx, [eax + edx*4]
xor edx, edx
mov eax, dword [ecx]
add eax, dword [esp + 0x40]
add eax, dword [esp + 0x3c]
rol eax, 3
mov dword [ecx], eax
mov dword [esp + 0x3c], eax
mov eax, esi
div ebp
mov eax, dword [ebx + edx*4]
lea edx, [ebx + edx*4]
add eax, dword [esp + 0x40]
inc esi
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x3c]
rol eax, cl
mov dword [esp + 0x40], eax
mov dword [edx], eax
cmp esi, dword [esp + 0x38]
jb 0x50fe30
xor eax, eax
mov edi, ebx
mov ecx, ebp
rep stosd dword es:[edi], eax
push ebx
call fcn.005c663b
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
Function at 0x50feb0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x18]
push ebp
mov edx, dword [eax]
mov ebp, dword [eax + 8]
push esi
mov esi, dword [ebx]
add esi, dword [eax + 4]
push edi
mov edi, dword [ebx + 4]
add ebx, 8
add edi, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
test eax, eax
je 0x50ff20
mov edi, edi
lea ecx, [esi*2 + 1]
imul ecx, esi
lea edx, [edi*2 + 1]
imul edx, edi
rol ecx, 5
mov eax, ecx
rol edx, 5
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, edx
xor esi, ebp
mov ebp, edi
rol esi, cl
mov edi, eax
add esi, dword [ebx + 4]
mov ecx, edx
rol edi, cl
add edi, dword [ebx]
add ebx, 8
dec dword [esp + 0x10]
jne 0x50fee0
mov edx, dword [ebx]
add ebp, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
test eax, eax
je 0x50ff35
mov ecx, dword [eax]
jmp 0x50ff37
xor ecx, ecx
xor ecx, edx
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
test eax, eax
je 0x50ff4e
add eax, 4
test eax, eax
je 0x50ff4e
mov ecx, dword [eax]
jmp 0x50ff50
xor ecx, ecx
xor ecx, esi
mov dword [edx + 4], ecx
test eax, eax
je 0x50ff64
add eax, 4
test eax, eax
je 0x50ff64
mov ecx, dword [eax]
jmp 0x50ff66
xor ecx, ecx
xor ecx, ebp
mov dword [edx + 8], ecx
test eax, eax
je 0x50ff85
add eax, 4
test eax, eax
je 0x50ff85
mov eax, dword [eax]
xor eax, edi
pop edi
pop esi
pop ebp
mov dword [edx + 0xc], eax
pop ebx
pop ecx
ret 0xc
xor eax, eax
xor eax, edi
pop edi
pop esi
pop ebp
mov dword [edx + 0xc], eax
pop ebx
pop ecx
ret 0xc