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

Disassembly:
mov eax, 0x28
call fcn.101e1c60
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.1010e870
add esp, 8
test eax, eax
jne 0x1014765b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x101476bd
xor ebx, ebx
test ebp, ebp
jle 0x10147820
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x1014769f
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x10147678
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x10147670
jmp 0x10147820
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jle 0x10147820
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x101477fc
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x10147790
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x10147760
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x1014a030
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
cmp ebp, 2
je 0x1014a0af
test eax, eax
je 0x1014a07b
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
call fcn.100f02b0
add esp, 0x10
cmp dword [esp + 0x18], 0xffffffff
je 0x1014a07b
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.100b26d0
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x1014a0ab
cmp edi, 0x40a
je 0x1014a0a2
cmp edi, 0x43f
je 0x1014a0a2
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1014a0a7
mov eax, 0x20
cmp esi, eax
je 0x1014a0af
push 0x41
jmp 0x1014a060
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.100b7aa0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1014a0e5
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.100b26d0
add esp, 0x14
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
jne 0x1014a0fd
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebx
call fcn.101e4520
add esp, 0xc
jmp case.0x1014a22e.1036
cmp edi, 0x40a
je 0x1014a11d
cmp edi, 0x43f
je 0x1014a11d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1014a122
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.100c96d0
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x1014a155
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.100b26d0
add esp, 0x14
jmp 0x1014a1a8
cmp ebp, 2
jne 0x1014a1e8
cmp edi, 0x40a
je 0x1014a17e
cmp edi, 0x43f
je 0x1014a17e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1014a183
mov eax, 0x20
push eax
push esi
call fcn.100cb6b0
add esp, 8
test eax, eax
jg 0x1014a1be
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.100c96f0
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.100b7b10
add esp, 0xc
pop ebx
pop esi
xor eax, eax
pop ebp
ret
cmp edi, 0x40a
jne 0x1014a1d7
mov dl, byte [esi + 0x1f]
and byte [esi], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esi + 0x1f], dl
jmp 0x1014a21c
cmp edi, 0x40b
jne 0x1014a21c
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x1014a21c
cmp edi, 0x40a
je 0x1014a208
cmp edi, 0x43f
je 0x1014a208
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1014a20d
mov eax, 0x20
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.101e4520
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x1014a22e.1036
movzx ecx, byte [eax + 0x1014a288]
jmp dword [ecx*4 + 0x1014a274]
push esi
push ebx
call fcn.1019f500
jmp 0x1014a257
push esi
push ebx
call fcn.1019f3e0
jmp 0x1014a257
push esi
push ebx
call fcn.10191e70
jmp 0x1014a257
push esi
push ebx
call fcn.1018ff90
add esp, 8
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call fcn.100b5330
add esp, 0xc
pop ebx
pop esi
mov eax, 1
pop ebp
ret
Function at 0x10153cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
push ebx
mov esi, ecx
call fcn.1014fb00
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, 0x72
mov eax, dword [esp + 0x14]
jne 0x10153da6
push ebp
mov ebx, esi
push edi
shr ebx, 1
and esi, 1
push eax
lea ebp, [esi + ebx]
push ebp
push ecx
call fcn.100bbb10
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
call fcn.10153a40
add esp, 0x14
test eax, eax
je 0x10153d2a
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.100b7a60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10153d30
push 0x105
push str.cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.100b26d0
add esp, 0x14
pop ebp
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x18]
add ebx, dword [esp + 0x10]
push edi
push edx
push ebp
push ebx
call fcn.100baf70
mov ecx, dword [esp + 0x24]
push eax
mov edx, esi
call fcn.10153a40
add esp, 0x14
test eax, eax
jne 0x10153d6e
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.100b7b30
add esp, 0x10
pop ebp
pop esi
xor eax, eax
pop ebx
ret
test edi, edi
je 0x10153d89
mov eax, dword [esp + 0x1c]
mov ecx, esi
sub ecx, eax
mov ebp, edi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec ebp
jne 0x10153d80
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.100b7b30
add esp, 0x10
pop ebp
pop esi
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x18]
push edi
push eax
push esi
push ecx
mov ecx, dword [esp + 0x20]
push ebx
call fcn.10153a40
add esp, 0x14
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
ret
Function at 0x1015ba00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.101e1c60
mov eax, dword [0x1035eca0]
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 0x1015bbd2
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x1015bb4b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1015a8d0
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 0x1015bae7
cmp dword [esp + 0x10], 0
je 0x1015bbb9
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.101e425c
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.101e425c
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.101e425c
add esp, 0x2c
ret
Function at 0x1015e010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.101e1c60
mov eax, dword [0x1035eca0]
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 0x1015e1e2
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
sub ebx, ebp
dec dword [esp + 0x14]
test esi, esi
jne 0x1015e15b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1015d020
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 0x1015e0f7
cmp dword [esp + 0x10], 0
je 0x1015e1c9
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.101e425c
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.101e425c
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.101e425c
add esp, 0x2c
ret
Function at 0x1015e200
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.101e1c60
push ebx
mov ebx, dword [esp + 0x10]
push esi
push 0x1048
push 0x102f64d0
push ebx
call fcn.101e4520
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x48
jle 0x1015e231
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 0x1015e250
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e25f
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e26e
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e27d
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x1015e28a
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e299
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e2a8
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e2b7
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x1015e2c4
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e2d3
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e2e2
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
inc eax
or edx, ebp
cmp eax, ecx
jb 0x1015e2f1
mov eax, edi
xor dword [esi], edx
add esi, 0xc
dec dword [esp + 0x1c]
jne 0x1015e246
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.1015d020
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 0x1015e310
xor esi, esi
pop edi
lea eax, [esp + 8]
push ebx
push eax
call fcn.1015d020
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 0x1015e338
pop esi
pop ebx
add esp, 8
ret
Function at 0x10160f10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101e1c60
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 0x10161007
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
nop
xor edi, edi
test ebp, ebp
je 0x10160fe9
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.10160cf0
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 0x10160f50
call fcn.10160ba0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
jae 0x10160f40
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x101610e0
Capabilities:
Hash data using sha256

Disassembly:
push edi
push 0x74
push 0
push esi
mov edi, ecx
call fcn.101e44a0
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 0x101630d0
Capabilities:
Hash data using sha256

Disassembly:
push 0xe8
push 0
push esi
call fcn.101e44a0
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 0x10163150
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.101630d0
mov edx, edi
lea ecx, [edi + 0x18]
lea eax, [esi + 8]
sub edx, esi
mov ebx, 2
jmp 0x10163170
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 0x10163170
pop edi
pop esi
pop ebx
ret
Function at 0x10172890
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.101e1c60
mov eax, dword [0x1035eca0]
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 0x10172a1a
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.10124670
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.101246f0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.101211c0
push ebp
call fcn.10124670
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.101246f0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.101211c0
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 0x101728d3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.101e425c
add esp, 0xa0
ret
Function at 0x10177b90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x10177c53
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10177bb1
cmp al, 0x6b
jne 0x10177c53
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x10177c17
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x10177bd1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x10177bd1
cmp al, 0xbb
jne 0x10177bf7
inc ecx
cmp ecx, esi
jl 0x10177bc1
sub esi, ecx
test ecx, ecx
jne 0x10177c1a
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100b26d0
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.100b26d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x10177c40
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100b26d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.101e4520
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.100b26d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x101900e0
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 0x101900f2
pop esi
pop ebp
pop ebx
ret