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

Disassembly:
mov eax, 0x2c
call fcn.00544cc0
mov eax, dword [0x5ca120]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x4ef612
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x4ef58b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004ee310
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x4ef527
cmp dword [esp + 0x10], 0
je 0x4ef5f9
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005448c8
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005448c8
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005448c8
add esp, 0x2c
ret
Function at 0x4f1a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00544cc0
mov eax, dword [0x5ca120]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0xc], edx
push esi
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax + 5]
movzx eax, byte [eax + 6]
mov ebp, dword [esp + 0x54]
shl ebx, 8
or ebx, eax
mov esi, dword [ebp]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
je 0x4f1c02
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x4f1b7b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004f0a40
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x38], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x3a], al
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
xor al, byte [ebp]
inc esi
mov byte [ebx + ebp], al
inc ebp
and esi, 7
cmp dword [esp + 0x14], 0
jne 0x4f1b17
cmp dword [esp + 0x10], 0
je 0x4f1be9
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x2c]
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov byte [eax + 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005448c8
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005448c8
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005448c8
add esp, 0x2c
ret
Function at 0x4f1c20
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.00544cc0
push ebx
mov ebx, dword [esp + 0x10]
push esi
push 0x1048
push 0x5a0358
push ebx
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x48
jle 0x4f1c51
mov ecx, 0x48
push edi
mov edi, dword [esp + 0x20]
mov eax, edi
add ecx, edi
lea esi, [ebx + 8]
mov dword [esp + 0x18], 6
push ebp
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4f1c70
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1c7f
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1c8e
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1c9d
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4f1caa
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1cb9
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1cc8
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1cd7
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4f1ce4
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1cf3
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1d02
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x4f1d11
mov eax, edi
xor dword [esi], edx
add esi, 0xc
dec dword [esp + 0x1c]
jne 0x4f1c66
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
xor esi, esi
pop ebp
lea ecx, [ecx]
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.004f0a40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4], ecx
mov dword [ebx + esi*4 + 4], edx
add esi, 2
add esp, 8
cmp esi, 0x12
jl 0x4f1d30
xor esi, esi
pop edi
lea eax, [esp + 8]
push ebx
push eax
call fcn.004f0a40
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + esi*4 + 0x48], ecx
mov dword [ebx + esi*4 + 0x4c], edx
add esi, 2
add esp, 8
cmp esi, 0x400
jl 0x4f1d58
pop esi
pop ebx
add esp, 8
ret
Function at 0x4f4930
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00544cc0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebp
mov ebp, ecx
shr ebp, 3
mov dword [esp + 4], ebp
cmp eax, ecx
jb 0x4f4a27
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
nop
xor edi, edi
test ebp, ebp
je 0x4f4a09
lea ebx, [ebx]
movzx eax, byte [esi + 7]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 6]
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [esi + 5]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 4]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 3]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 2]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 1]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ebp, edx
or ecx, eax
push ebp
push ecx
add esi, 8
call fcn.004f4710
xor dword [ebx + edi*8], eax
xor dword [ebx + edi*8 + 4], edx
mov ebp, dword [esp + 0x18]
inc edi
add esp, 8
cmp edi, ebp
jb 0x4f4970
call fcn.004f45c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
jae 0x4f4960
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x4f4b00
Capabilities:
Hash data using sha256

Disassembly:
push edi
push 0x74
push 0
push esi
mov edi, ecx
call sub.MSVCR100.dll_memset
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
mov eax, dword [edi + 8]
xor dword [esi + 8], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
xor dword [esi + 0x18], eax
mov edi, dword [edi + 0x1c]
xor dword [esi + 0x1c], edi
add esp, 0xc
pop edi
ret
Function at 0x4f6af0
Capabilities:
Hash data using sha256

Disassembly:
push 0xe8
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
ret

Function at 0x4f6b70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.004f6af0
mov edx, edi
lea ecx, [edi + 0x18]
lea eax, [esi + 8]
sub edx, esi
mov ebx, 2
jmp 0x4f6b90
mov esi, dword [ecx - 0x18]
mov edi, dword [ecx - 0x14]
xor dword [eax - 8], esi
xor dword [eax - 4], edi
mov esi, dword [edx + eax]
mov edi, dword [edx + eax + 4]
xor dword [eax], esi
xor dword [eax + 4], edi
mov esi, dword [ecx - 8]
mov edi, dword [ecx - 4]
xor dword [eax + 8], esi
xor dword [eax + 0xc], edi
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
xor dword [eax + 0x10], esi
xor dword [eax + 0x14], edi
add eax, 0x20
add ecx, 0x20
dec ebx
jne 0x4f6b90
pop edi
pop esi
pop ebx
ret
Function at 0x504800
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x5062f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.00544cc0
mov eax, dword [0x5ca120]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x50647a
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.004b7450
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004b74d0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004b3fa0
push ebp
call fcn.004b7450
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.004b74d0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.004b3fa0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x506333
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.005448c8
add esp, 0xa0
ret
Function at 0x50abe0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x50aca3
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x50ac01
cmp al, 0x6b
jne 0x50aca3
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x50ac67
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x50ac21
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x50ac21
cmp al, 0xbb
jne 0x50ac47
inc ecx
cmp ecx, esi
jl 0x50ac11
sub esi, ecx
test ecx, ecx
jne 0x50ac6a
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00446d70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00446d70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x50ac90
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00446d70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00446d70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x522140
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push ebp
lea ecx, [ebx + 0xc]
push esi
lea eax, [edx + 4]
sub ebx, edx
mov ebp, 4
mov esi, dword [eax - 4]
mov edx, dword [ecx - 0xc]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax - 4], esi
xor dword [ecx - 0xc], edx
mov esi, dword [eax]
mov edx, dword [ebx + eax]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax], esi
xor dword [ebx + eax], edx
mov esi, dword [eax + 4]
mov edx, dword [ecx - 4]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 4], esi
xor dword [ecx - 4], edx
mov esi, dword [eax + 8]
mov edx, dword [ecx]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 8], esi
xor dword [ecx], edx
add eax, 0x10
add ecx, 0x10
dec ebp
jne 0x522152
pop esi
pop ebp
pop ebx
ret
Function at 0x530ea0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x2b4
call fcn.00544cc0
mov eax, dword [0x5ca120]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
mov ebx, dword [esp + 0x2c0]
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
mov esi, dword [esp + 0x2d4]
push edi
mov edi, dword [esp + 0x2c8]
lea eax, [esp + 0x88]
push eax
call fcn.004a48f0
push 0x20
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.004a5790
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.004a5040
movzx ecx, byte [esp + 0x237]
and byte [esp + 0x218], 0xf8
and cl, 0x3f
lea edx, [esp + 0xa0]
or cl, 0x40
push edx
mov byte [esp + 0x23b], cl
call fcn.004a48f0
push 0x20
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.004a5790
mov edx, dword [esp + 0x2f8]
push edx
lea eax, [esp + 0xb4]
push ebx
push eax
call fcn.004a5790
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x278]
push edx
call fcn.004a5040
lea esi, [esp + 0x27c]
call fcn.0052aac0
lea eax, [esp + 0x19c]
push eax
mov ecx, esi
call fcn.00529320
lea ecx, [esp + 0x50]
add esp, 0x40
push ecx
lea ecx, [esp + 0x1b4]
call fcn.00526900
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x16c]
call fcn.00524640
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x19c]
call fcn.00524640
push edi
lea ecx, [esp + 0x78]
call fcn.005243a0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.005243a0
movzx ecx, byte [esp + 0x2c]
shl cl, 7
xor byte [edi + 0x1f], cl
lea edx, [esp + 0xa4]
push edx
call fcn.004a48f0
push 0x20
lea eax, [esp + 0xac]
push edi
push eax
call fcn.004a5790
push 0x20
lea ecx, [esp + 0xb8]
push ebp
push ecx
call fcn.004a5790
mov edx, dword [esp + 0x308]
push edx
lea eax, [esp + 0xc4]
push ebx
push eax
call fcn.004a5790
add esp, 0x44
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x284]
push edx
call fcn.004a5040
lea esi, [esp + 0x288]
call fcn.0052aac0
mov eax, esi
push eax
add edi, 0x20
push edi
lea edx, [esp + 0x250]
lea ecx, [esp + 0x210]
call fcn.0052cb80
lea ecx, [esp + 0x98]
push 0xd8
push ecx
call fcn.00484bb0
lea edx, [esp + 0x258]
push 0x40
push edx
call fcn.00484bb0
lea eax, [esp + 0x220]
push 0x40
push eax
call fcn.00484bb0
mov ecx, dword [esp + 0x2e8]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005448c8
add esp, 0x2b4
ret
Function at 0x531440
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x15c
call fcn.00544cc0
mov eax, dword [0x5ca120]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x164]
push esi
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0x11c]
push ecx
push 0x20
push eax
call fcn.004a58c0
mov dl, byte [esp + 0x147]
and byte [esp + 0x128], 0xf8
and dl, 0x3f
lea eax, [esp + 0x88]
or dl, 0x40
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x14b], dl
call fcn.00529320
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00526900
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x98]
call fcn.00524640
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xc8]
call fcn.00524640
push esi
lea ecx, [esp + 0x7c]
call fcn.005243a0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.005243a0
mov cl, byte [esp + 0x30]
lea edx, [esp + 0x148]
shl cl, 7
xor byte [esi + 0x1f], cl
push 0x40
push edx
call fcn.00484bb0
mov ecx, dword [esp + 0x190]
add esp, 0x34
pop esi
xor ecx, esp
call fcn.005448c8
add esp, 0x15c
ret
Function at 0x531560
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.00544cc0
mov eax, dword [0x5ca120]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
lea edx, [esp + 0x3c]
mov byte [esp + 0x14b], cl
push edx
lea ecx, [esp + 0x130]
mov dword [esp + 0x14], eax
call fcn.00529320
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add ecx, eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x94]
add edx, ecx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x98]
add esi, edx
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x9c]
add edi, esi
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0xa0]
add ebx, edi
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0xa4]
add ebx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x70]
sub esi, dword [esp + 0x74]
sub edi, dword [esp + 0x78]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 0xa8]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0xac]
add ebx, dword [esp + 0x84]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0xb0]
add ebx, dword [esp + 0x88]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0xb4]
add ebp, ebx
sub ebx, dword [esp + 0x8c]
mov dword [esp + 0x128], eax
mov dword [esp + 0x104], ebp
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x12c], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
call fcn.00526900
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, edx
call fcn.00524640
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xf0]
call fcn.005243a0
lea ecx, [esp + 0x140]
push 0x20
push ecx
call fcn.00484bb0
mov ecx, dword [esp + 0x168]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005448c8
add esp, 0x140
ret
Function at 0x53b500
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x53b519
mov esi, edi
mov edi, eax
jmp 0x53b51b
mov esi, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call fcn.004a16c0
add esp, 8
test eax, eax
jne 0x53b534
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x53b555
jmp 0x53b540
mov ecx, dword [edi]
mov edx, dword [esi]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x53b540
cmp eax, dword [esi + 4]
jge 0x53b570
lea ebx, [ebx]
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [esi + 4]
jl 0x53b560
mov edx, dword [esi + 4]
push ebx
mov dword [ebx + 4], edx
call fcn.004a1150
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret