joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a51f0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.10010a90
mov dword [ebp - 8], 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100a5630
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100a5a30
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100a529c
mov dword [ebp - 0x14], 0
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100a5276
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x100a526a
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x14]
shl eax, 3
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100a5ae0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.100a55d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100a52aa
mov eax, dword [ebp - 8]
jmp 0x100a535c
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.100a5630
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100a5a30
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100a5345
mov dword [ebp - 0x18], 0
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100a531f
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x100a5313
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x18]
shl ecx, 3
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100a5ae0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.100a55d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100a5350
mov eax, dword [ebp - 8]
jmp 0x100a535c
mov edx, dword [ebp + 8]
push edx
call fcn.100a55d0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x100bfa70
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10010a90
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0xffffffff
jne 0x100bfabb
call fcn.1004ff40
push str.BIO_connect
push 0x54
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x87
push 0x20
call fcn.10050120
add esp, 0xc
xor eax, eax
jmp 0x100bfc78
mov eax, dword [ebp + 0x10]
and eax, 8
neg eax
sbb eax, eax
neg eax
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100676e0
add esp, 8
test eax, eax
jne 0x100bfadf
xor eax, eax
jmp 0x100bfc78
mov edx, dword [ebp + 0x10]
and edx, 4
je 0x100bfb62
push 4
lea eax, [ebp - 4]
push eax
push 8
push 0xffff
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x100bfb62
call fcn.1004ff40
push str.BIO_connect
push 0x5e
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.10050120
add esp, 0xc
call fcn.1004ff40
push str.BIO_connect
push 0x60
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x89
push 0x20
call fcn.10050120
add esp, 0xc
xor eax, eax
jmp 0x100bfc78
mov edx, dword [ebp + 0x10]
and edx, 0x10
je 0x100bfbe2
push 4
lea eax, [ebp - 4]
push eax
push 1
push 6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x100bfbe2
call fcn.1004ff40
push str.BIO_connect
push 0x68
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.10050120
add esp, 0xc
call fcn.1004ff40
push str.BIO_connect
push 0x6a
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x8a
push 0x20
call fcn.10050120
add esp, 0xc
xor eax, eax
jmp 0x100bfc78
mov edx, dword [ebp + 0xc]
push edx
call fcn.100669b0
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.100e9940
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100bfc73
push 0xffffffffffffffff
call fcn.100bffb0
add esp, 4
test eax, eax
jne 0x100bfc6f
call fcn.1004ff40
push str.BIO_connect
push 0x72
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push str.calling_connect__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.10050120
add esp, 0xc
call fcn.1004ff40
push str.BIO_connect
push 0x74
push str.....Srcopenssl_3.0.10crypto_bio_bio_sock2.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x67
push 0x20
call fcn.10050120
add esp, 0xc
xor eax, eax
jmp 0x100bfc78
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100bfd90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10010a90
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov ecx, dword [ebp + 8]
push ecx
call fcn.10035190
add esp, 8
cmp dword [ebp - 4], 0
jg 0x100bfdf8
mov edx, dword [ebp - 4]
push edx
call fcn.100bffb0
add esp, 4
test eax, eax
je 0x100bfdf8
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.100351c0
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100ce0d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.10010a90
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x100ce0fe
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 2
je 0x100ce0fe
mov dword [ebp - 8], str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jmp 0x100ce105
mov dword [ebp - 8], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], edx
jmp 0x100ce116
mov eax, dword [ebp - 4]
sub eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x100ce276
cmp dword [ebp - 4], 3
jl 0x100ce1c1
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
shl ecx, 8
or edx, ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 2]
or edx, ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 0xc
and ecx, 0x3f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x10]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov al, byte [edx + eax]
mov byte [ecx], al
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x100ce25f
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
mov dword [ebp - 0x10], edx
cmp dword [ebp - 4], 2
jne 0x100ce1e3
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
shl ecx, 8
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 0xc
and ecx, 0x3f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp - 4], 1
jne 0x100ce22c
mov dword [ebp - 0x14], 0x3d
jmp 0x100ce23f
mov eax, dword [ebp - 0x10]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x14]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x3d
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
add eax, 3
mov dword [ebp + 0x10], eax
jmp 0x100ce10d
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100dbad0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc1059ed8
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xf70e5939
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x64f98fa7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret

Function at 0x100dbb50
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x6a09e667
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3c6ef372
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xa54ff53a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x9b05688c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x1f83d9ab
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret
Function at 0x100ded60
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x3070dd17
mov dword [edx + 0x14], 0x9159015a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x68581511
mov dword [edx + 0x2c], 0x8eb44a87
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x100dee30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xfe94f82b
mov dword [edx + 0x14], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x2b3e6c1f
mov dword [edx + 0x2c], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x100f4140
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x90
call fcn.10010a90
mov eax, dword [0x1023d1bc]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x61707865
mov dword [ebp - 0x44], 0x3320646e
mov dword [ebp - 0x40], 0x79622d32
mov dword [ebp - 0x3c], 0x6b206574
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jbe 0x100f4272
mov dword [ebp - 4], 0x40
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jae 0x100f41fc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.100f4280
add esp, 8
mov dword [ebp - 8], 0
jmp 0x100f4221
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jae 0x100f4249
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x90]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x100f4218
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 4]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x100f41dd
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.10010588
mov esp, ebp
pop ebp
ret
Function at 0x10106bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.10010a90
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
cmp dword [ebp + 0xc], 0x80
jle 0x10106bf9
mov dword [ebp + 0xc], 0x80
cmp dword [ebp + 0x14], 0
jg 0x10106c06
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x14], 0x400
jle 0x10106c16
mov dword [ebp + 0x14], 0x400
mov dword [ebp - 4], 0
jmp 0x10106c28
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x10106c42
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x10106c1f
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0xc]
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x10106c70
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 4], 0x80
jge 0x10106ca2
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x10]
and ecx, 0xff
movzx edx, byte [ecx + 0x10201f70]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
jmp 0x10106c5e
mov edx, dword [ebp + 0x14]
add edx, 7
sar edx, 3
mov dword [ebp - 0x18], edx
mov eax, 0x80
sub eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
neg ecx
and ecx, 7
mov edx, 0xff
sar edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
and ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x10201f70]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
test edx, edx
je 0x10106d23
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
xor eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x10201f70]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov al, byte [ebp - 0x10]
mov byte [edx], al
jmp 0x10106cec
mov ecx, dword [ebp + 8]
add ecx, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f
jmp 0x10106d41
mov edx, dword [ebp - 4]
sub edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x10106d75
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
shl ecx, 8
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx - 1]
or ecx, eax
and ecx, 0xffff
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
sub eax, 4
mov dword [ebp - 8], eax
jmp 0x10106d38
mov esp, ebp
pop ebp
ret
Function at 0x10114530
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10010a90
push 0x78
push 0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x1011455f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x1011457a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x102048a0]
mov dword [eax + edx*4], ecx
jmp 0x10114556
mov esp, ebp
pop ebp
ret
Function at 0x10147be0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xec
call fcn.10010a90
mov eax, dword [0x1023d1bc]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push str.SHA512
mov ecx, dword [ebp + 8]
push ecx
call fcn.10037f60
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10147c23
xor eax, eax
jmp 0x10147cc4
push 0
mov edx, dword [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x48]
push eax
push 0x20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10037c70
add esp, 0x18
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 4]
push edx
call fcn.10038660
add esp, 4
cmp dword [ebp - 0xec], 0
jne 0x10147c6a
push 0x40
lea eax, [ebp - 0x48]
push eax
call fcn.100679f0
add esp, 8
xor eax, eax
jmp 0x10147cc4
movzx ecx, byte [ebp - 0x48]
and ecx, 0xf8
mov byte [ebp - 0x48], cl
movzx edx, byte [ebp - 0x29]
and edx, 0x3f
mov byte [ebp - 0x29], dl
movzx eax, byte [ebp - 0x29]
or eax, 0x40
mov byte [ebp - 0x29], al
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.1013c9d0
add esp, 8
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10146690
add esp, 8
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.100679f0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010588
mov esp, ebp
pop ebp
ret
Function at 0x101486f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c
call fcn.10010a90
mov eax, dword [0x1023d1bc]
xor eax, ebp
mov dword [ebp - 0xf4], eax
push 0x20
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
movzx edx, byte [ebp - 0x114]
and edx, 0xf8
mov byte [ebp - 0x114], dl
movzx eax, byte [ebp - 0xf5]
and eax, 0x7f
mov byte [ebp - 0xf5], al
movzx ecx, byte [ebp - 0xf5]
or ecx, 0x40
mov byte [ebp - 0xf5], cl
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.1013c9d0
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.1013ceb0
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.1013cf00
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.1013b470
add esp, 8
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.101398e0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.101394f0
add esp, 8
push 0x20
lea edx, [ebp - 0x114]
push edx
call fcn.100679f0
add esp, 8
mov ecx, dword [ebp - 0xf4]
xor ecx, ebp
call fcn.10010588
mov esp, ebp
pop ebp
ret
Function at 0x1014ed00
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.10010a90
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x14]
jne 0x1014ed38
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x6a
je 0x1014ed6a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x6b
je 0x1014ed6a
call fcn.1004ff40
push str.RSA_padding_check_X931
push 0x43
push str.....Srcopenssl_3.0.10crypto_rsa_rsa_x931.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x89
push 4
call fcn.10050120
add esp, 0xc
or eax, 0xffffffff
jmp 0x1014eea3
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp ecx, 0x6b
jne 0x1014ee43
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x1014ed9d
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x1014ee03
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0xd]
cmp eax, 0xba
jne 0x1014edc3
jmp 0x1014ee03
movzx ecx, byte [ebp - 0xd]
cmp ecx, 0xbb
je 0x1014ee01
call fcn.1004ff40
push str.RSA_padding_check_X931
push 0x4e
push str.....Srcopenssl_3.0.10crypto_rsa_rsa_x931.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x8a
push 4
call fcn.10050120
add esp, 0xc
or eax, 0xffffffff
jmp 0x1014eea3
jmp 0x1014ed94
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x1014ee41
call fcn.1004ff40
push str.RSA_padding_check_X931
push 0x56
push str.....Srcopenssl_3.0.10crypto_rsa_rsa_x931.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x8a
push 4
call fcn.10050120
add esp, 0xc
or eax, 0xffffffff
jmp 0x1014eea3
jmp 0x1014ee4c
mov eax, dword [ebp + 0x14]
sub eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x1014ee8c
call fcn.1004ff40
push str.RSA_padding_check_X931
push 0x5f
push str.....Srcopenssl_3.0.10crypto_rsa_rsa_x931.c
call fcn.1004fff0
add esp, 0xc
push 0
push 0x8b
push 4
call fcn.10050120
add esp, 0xc
or eax, 0xffffffff
jmp 0x1014eea3
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret