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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov edx, edi
mov byte [ebx], 0
cmp dword [ebp + 0xc], edx
mov ecx, esi
cmovle edx, dword [ebp + 0xc]
test eax, eax
cmovg ecx, eax
cmp ecx, esi
cmovg ecx, esi
mov dword [ebp + 0xc], ecx
test edx, edx
jle 0x4db071
sub dword [ebp + 0x10], ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, edx
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x4db060
mov ebx, dword [ebp + 8]
movzx esi, byte [edx + ebx - 1]
cmp edx, edi
jge 0x4db09c
mov ecx, ebx
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
add eax, esi
movzx eax, al
mov al, byte [eax + 0x5bcbf0]
mov byte [edx + ebx], al
inc edx
movzx esi, al
cmp edx, edi
jl 0x4db080
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
lea eax, [ecx + 7]
neg ecx
sar eax, 3
and ecx, 7
sub edi, eax
mov dword [ebp + 8], eax
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
sar edx, cl
and edx, eax
mov al, byte [edx + 0x5bcbf0]
movzx ecx, al
mov byte [esi], al
test edi, edi
je 0x4db0eb
mov edx, dword [ebp + 8]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
mov al, byte [eax + 0x5bcbf0]
movzx ecx, al
mov byte [esi], al
sub edi, 1
jne 0x4db0d1
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
nop dword [eax]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x4db100
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dc760
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004dc980
add esp, 0xc
test eax, eax
js 0x4dc972
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x4dc7e9
mov eax, dword [ebp + 0x10]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x4dc7a0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x4dc96e
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x5bd0f0]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x5be4f0]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5bdcf0]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be0f0]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be8f0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x5bd0f0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5be0f0]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be4f0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5bdcf0]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be8f0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x5bd0f0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5be0f0]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be4f0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5bdcf0]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be8f0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x5bd0f0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5be0f0]
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be4f0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5bdcf0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5bd0f0]
xor ecx, dword [eax*4 + 0x5be8f0]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x4dc800
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x4decf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [eax + 0xf]
mov ecx, eax
and eax, 0xf
add eax, eax
and ecx, 0xfffffff0
push edi
mov ebx, dword [esi + eax*8 + 8]
mov edi, dword [esi + eax*8]
mov edx, dword [esi + eax*8 + 4]
mov eax, dword [esi + eax*8 + 0xc]
add esi, ecx
mov ecx, ebx
mov dword [ebp - 0xc], ebx
and ecx, 0xf
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x5beec8]
mov dword [ebp - 4], ecx
mov ecx, edi
shrd ecx, edx, 4
shl edi, 0x1c
xor ebx, ecx
shr edx, 4
mov ecx, dword [ebp - 4]
xor ebx, dword [esi]
xor ecx, edx
xor ecx, dword [esi + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 4
mov dword [ebp - 8], ebx
xor ecx, dword [esi + 8]
shr eax, 4
or eax, edi
mov dword [ebp - 0xc], ecx
xor eax, dword [esi + 0xc]
mov esi, 0xe
mov dword [ebp - 0x14], esi
nop dword [eax]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [esi + ecx]
xor esi, esi
mov edi, ecx
and ecx, 0xf
shl ecx, 4
and edi, 0xfffffff0
add edx, ecx
mov ecx, dword [ebp - 0xc]
shrd dword [ebp - 0xc], eax, 4
and ecx, 0xf
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
shr eax, 4
mov ebx, dword [ecx*4 + 0x5beec8]
mov ecx, dword [ebp - 8]
shrd ecx, edx, 4
shr edx, 4
xor esi, ecx
mov ecx, dword [ebp - 8]
xor ebx, edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
shl ecx, 0x1c
or ecx, eax
mov dword [ebp - 8], 0
xor esi, dword [edx]
xor ebx, dword [edx + 4]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], esi
xor esi, esi
or esi, dword [ebp - 0xc]
xor esi, dword [edx + 8]
mov edx, dword [ebp + 0xc]
mov eax, esi
and eax, 0xf
shrd esi, ecx, 4
shr ecx, 4
mov eax, dword [eax*4 + 0x5beec8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
shrd eax, ebx, 4
xor dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shr ebx, 4
xor eax, ebx
mov ebx, dword [ebp - 8]
xor eax, dword [edi + edx + 4]
xor ebx, dword [edi + edx]
xor edx, edx
mov dword [ebp - 4], eax
or edx, esi
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
shl eax, 0x1c
or eax, ecx
mov dword [ebp - 8], ebx
mov ecx, dword [ebp + 0xc]
xor edx, dword [edi + ecx + 8]
xor eax, dword [edi + ecx + 0xc]
sub esi, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jns 0x4ded70
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
bswap ebx
bswap ecx
bswap edx
bswap eax
pop edi
mov dword [esi + 4], ebx
mov dword [esi], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e0fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x14
xor ecx, ecx
test edx, edx
je 0x4e10b7
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
cmp edx, 0x40
jb 0x4e1095
lea eax, [edx - 1]
add eax, ebx
cmp esi, eax
ja 0x4e0fee
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x4e1095
lea eax, [edx - 1]
add eax, edi
cmp esi, eax
ja 0x4e1004
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x4e1095
mov eax, edx
mov edx, edi
sub edx, ebx
and eax, 0xffffffc0
mov dword [ebp - 4], edx
mov edx, esi
sub edx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, ebx
mov ebx, dword [ebp - 4]
mov edx, edi
sub edx, esi
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x30]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], edx
lea edx, [esi + 0x10]
movups xmm0, xmmword [eax]
mov esi, dword [ebp - 0xc]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edi + eax - 0x40], xmm1
movups xmm1, xmmword [esi + edx - 0x40]
mov esi, dword [ebp - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [esi + ecx - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [edx - 0x30], xmm1
movups xmm1, xmmword [esi + ecx]
mov esi, dword [ebp + 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp ecx, dword [ebp - 0x14]
jb 0x4e1032
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, edx
jae 0x4e10b4
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x4e10a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e1180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x14]
cmp esi, ebx
jbe 0x4e122b
mov ecx, dword [edi + 0x18]
cmp esi, ecx
jb 0x4e11d4
mov eax, esi
sub eax, ecx
add eax, 4
and eax, 0xfffffffc
add eax, ecx
push 0x71
mov dword [edi + 0x18], eax
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_modes_ocb128.c
shl eax, 4
push eax
push dword [edi + 0x40]
call fcn.00457bb0
add esp, 0x10
test eax, eax
jne 0x4e11d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x40], eax
cmp ebx, esi
jae 0x4e1228
mov ecx, ebx
mov eax, esi
shl ecx, 4
mov esi, edi
sub eax, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
nop dword [eax]
mov eax, dword [esi + 0x40]
add eax, ecx
mov bl, byte [eax]
lea edi, [eax + 0x10]
push edi
shr bl, 7
push 1
neg bl
push eax
and bl, 0x87
call fcn.004e0f10
mov ecx, dword [ebp - 4]
add esp, 0xc
xor byte [edi + 0xf], bl
add ecx, 0x10
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x4e11f0
mov esi, dword [ebp + 0xc]
mov ebx, esi
mov edi, dword [ebp + 8]
mov dword [edi + 0x14], ebx
shl esi, 4
add esi, dword [edi + 0x40]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e58e0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x5c0ff8
push esi
call fcn.0053f3e0
mov ebx, dword [ebp + 0x10]
mov edi, 0x48
add esp, 0xc
mov dword [ebp + 8], 0
cmp dword [ebp + 0xc], edi
mov eax, ebx
cmovle edi, dword [ebp + 0xc]
add edi, ebx
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
mov ecx, dword [ebp + 8]
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x4e5920
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
call fcn.004e6360
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x4e5972
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.004e6360
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x4e5996
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fb2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, 1
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
shl ebx, cl
call fcn.004a1920
add esp, 8
test eax, eax
jne 0x4fb301
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jg 0x4fb365
xor ecx, ecx
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0xc], ecx
jle 0x4fb49f
xor esi, esi
xor eax, eax
test ebx, ebx
jle 0x4fb346
nop dword [eax]
mov ecx, eax
xor ecx, dword [ebp + 0x14]
lea edx, [ecx - 1]
not ecx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
neg edx
and edx, 1
neg edx
and edx, dword [edi + eax*4]
inc eax
or esi, edx
cmp eax, ebx
jl 0x4fb320
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + ecx*4], esi
inc ecx
lea eax, [ebx*4]
mov dword [ebp + 0x18], ecx
add edi, eax
cmp ecx, dword [ebp + 0xc]
jl 0x4fb314
jmp 0x4fb49f
mov edx, dword [ebp + 0x14]
lea ecx, [esi - 2]
sar edx, cl
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], esi
lea eax, [esi - 1]
and ecx, eax
mov eax, edx
mov dword [ebp - 0x10], ecx
not eax
shr eax, 0x1f
lea ecx, [edx - 1]
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 1
and ecx, 1
neg ecx
mov dword [ebp - 0x20], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 2
and ecx, 1
xor edx, 3
neg ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
neg ecx
and eax, edx
and ecx, 1
neg eax
xor edx, edx
and eax, 1
mov dword [ebp - 0xc], edx
neg ecx
neg eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], edx
jle 0x4fb49f
lea eax, [ebx*4]
mov dword [ebp - 0x28], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0x18], eax
test esi, esi
jle 0x4fb487
lea eax, [esi + esi*2]
lea edx, [edi + esi*4]
lea ecx, [edi + esi*8]
mov dword [ebp - 8], edx
lea eax, [edi + eax*4]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [eax]
mov esi, ebx
mov ecx, dword [ecx]
and ecx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
xor esi, dword [ebp - 0x10]
or ecx, eax
mov edx, dword [edx]
and edx, dword [ebp - 0x1c]
mov eax, dword [edi + ebx*4]
or edx, ecx
and eax, dword [ebp - 0x20]
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
or eax, edx
mov edx, dword [ebp - 8]
and ecx, esi
mov esi, dword [ebp - 0x24]
neg ecx
and ecx, 1
inc ebx
neg ecx
add edx, 4
and ecx, eax
mov dword [ebp - 8], edx
or dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add eax, 4
add ecx, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], ecx
cmp ebx, esi
jl 0x4fb425
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add edi, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebp + 0xc]
jl 0x4fb405
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fdda0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x4fde24
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4fddb9
cmp al, 0x6b
jne 0x4fde24
inc ecx
cmp al, 0x6b
jne 0x4fddfb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4fddd9
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4fddd9
cmp dl, 0xbb
jne 0x4fdded
inc eax
cmp eax, esi
jl 0x4fddc7
sub esi, eax
test eax, eax
jne 0x4fddfe
push 0x50
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x4fde30
push 0x48
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x4fde30
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x4fde12
push 0x59
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x4fde30
push esi
push ecx
push dword [ebp + 8]
call fcn.0053f3e0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x3d
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00457620
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x5077f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
lea eax, [ebp - 0x40]
push eax
push 0x20
push dword [ebp + 0xc]
call fcn.004d4bd0
mov al, byte [ebp - 0x21]
and byte [ebp - 0x40], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x21], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0050b5a0
lea eax, [ebp - 0xe0]
push eax
push dword [ebp + 8]
call fcn.0050b530
lea eax, [ebp - 0x40]
push 0x40
push eax
call fcn.00457920
add esp, 0x24
mov esp, ebp
pop ebp
ret

Function at 0x507850
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.004d5510
push 0x20
push dword [ebp + 0x18]
lea eax, [ebp - 0x158]
push eax
call fcn.004d55e0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d4cf0
mov al, byte [ebp - 0x21]
and byte [ebp - 0x40], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x21], al
lea eax, [ebp - 0x158]
push eax
call fcn.004d5510
push 0x20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004d55e0
push dword [ebp + 0x10]
lea eax, [ebp - 0x158]
push dword [ebp + 0xc]
push eax
call fcn.004d55e0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004d4cf0
lea eax, [ebp - 0x80]
push eax
call fcn.0050f8e0
add esp, 0x40
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0050b5a0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
push esi
call fcn.0050b530
lea eax, [ebp - 0x158]
push eax
call fcn.004d5510
push 0x20
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.004d55e0
push 0x20
push dword [ebp + 0x14]
lea eax, [ebp - 0x158]
push eax
call fcn.004d55e0
push dword [ebp + 0x10]
lea eax, [ebp - 0x158]
push dword [ebp + 0xc]
push eax
call fcn.004d55e0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004d4cf0
add esp, 0x40
lea eax, [ebp - 0x198]
push eax
call fcn.0050f8e0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.0050bc00
lea eax, [ebp - 0x158]
push 0xd8
push eax
call fcn.00457920
lea eax, [ebp - 0x80]
push 0x40
push eax
call fcn.00457920
lea eax, [ebp - 0x40]
push 0x40
push eax
call fcn.00457920
add esp, 0x2c
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x507b60
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x60], xmm1
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x70], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x51], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0050b5a0
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xc0]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x28], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x24], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x20], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x1c], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xc], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 8], eax
lea eax, [edx + ecx]
sub edx, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], edx
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00508240
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.00508470
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.00509b90
lea eax, [ebp - 0x70]
push 0x20
push eax
call fcn.00457920
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x530c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [edx + 4]
mov esi, edx
push edi
mov edi, dword [ebp + 0x10]
cmp ecx, dword [edi + 4]
cmovge esi, edi
cmovge edi, edx
mov dword [ebp + 0xc], esi
push dword [edi + 4]
push ebx
call fcn.004a1920
add esp, 8
test eax, eax
jne 0x530c75
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
cmp dword [esi + 4], eax
jle 0x530c98
nop dword [eax]
mov ecx, dword [esi]
mov edx, dword [edi]
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], esi
inc eax
mov esi, dword [ebp + 0xc]
cmp eax, dword [esi + 4]
jl 0x530c80
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x530cb2
nop
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
mov ecx, dword [edi + 4]
cmp eax, ecx
jl 0x530ca0
push ebx
mov dword [ebx + 4], ecx
call fcn.004a17a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret