joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cc910
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.101d14f0
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0xffffffff
jne 0x100cc95b
call fcn.1005ca30
push str.BIO_connect
push 0x54
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x87
push 0x20
call fcn.1005cc10
add esp, 0xc
xor eax, eax
jmp 0x100ccb18
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.10074180
add esp, 8
test eax, eax
jne 0x100cc97f
xor eax, eax
jmp 0x100ccb18
mov edx, dword [ebp + 0x10]
and edx, 4
je 0x100cca02
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 0x100cca02
call fcn.1005ca30
push str.BIO_connect
push 0x5e
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.1005cc10
add esp, 0xc
call fcn.1005ca30
push str.BIO_connect
push 0x60
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x89
push 0x20
call fcn.1005cc10
add esp, 0xc
xor eax, eax
jmp 0x100ccb18
mov edx, dword [ebp + 0x10]
and edx, 0x10
je 0x100cca82
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 0x100cca82
call fcn.1005ca30
push str.BIO_connect
push 0x68
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.1005cc10
add esp, 0xc
call fcn.1005ca30
push str.BIO_connect
push 0x6a
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x8a
push 0x20
call fcn.1005cc10
add esp, 0xc
xor eax, eax
jmp 0x100ccb18
mov edx, dword [ebp + 0xc]
push edx
call fcn.10073450
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.10095ab0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100ccb13
push 0xffffffffffffffff
call fcn.100cce90
add esp, 4
test eax, eax
jne 0x100ccb0f
call fcn.1005ca30
push str.BIO_connect
push 0x72
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push str.calling_connect__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.1005cc10
add esp, 0xc
call fcn.1005ca30
push str.BIO_connect
push 0x74
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x67
push 0x20
call fcn.1005cc10
add esp, 0xc
xor eax, eax
jmp 0x100ccb18
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100ccc70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.101d14f0
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.100418a0
add esp, 8
cmp dword [ebp - 4], 0
jg 0x100cccd8
mov edx, dword [ebp - 4]
push edx
call fcn.100cce90
add esp, 4
test eax, eax
je 0x100cccd8
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.100418d0
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100dafb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.101d14f0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x100dafde
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 2
je 0x100dafde
mov dword [ebp - 8], str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jmp 0x100dafe5
mov dword [ebp - 8], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], edx
jmp 0x100daff6
mov eax, dword [ebp - 4]
sub eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x100db156
cmp dword [ebp - 4], 3
jl 0x100db0a1
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 0x100db13f
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
mov dword [ebp - 0x10], edx
cmp dword [ebp - 4], 2
jne 0x100db0c3
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 0x100db10c
mov dword [ebp - 0x14], 0x3d
jmp 0x100db11f
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 0x100dafed
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100e89d0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.101d19d0
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 0x100e8a50
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.101d19d0
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 0x100ebc60
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 0x100ebd30
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 0x10101060
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x90
call fcn.101d14f0
mov eax, dword [0x10274398]
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 0x10101192
mov dword [ebp - 4], 0x40
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jae 0x1010111c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.101011a0
add esp, 8
mov dword [ebp - 8], 0
jmp 0x10101141
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jae 0x10101169
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 0x10101138
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 0x101010fd
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.101d14d7
mov esp, ebp
pop ebp
ret
Function at 0x10113ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.101d14f0
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 0x10113b09
mov dword [ebp + 0xc], 0x80
cmp dword [ebp + 0x14], 0
jg 0x10113b16
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x14], 0x400
jle 0x10113b26
mov dword [ebp + 0x14], 0x400
mov dword [ebp - 4], 0
jmp 0x10113b38
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x10113b52
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 0x10113b2f
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 0x10113b80
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 0x10113bb2
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 + 0x10234228]
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 0x10113b6e
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 + 0x10234228]
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 0x10113c33
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 + 0x10234228]
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 0x10113bfc
mov ecx, dword [ebp + 8]
add ecx, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f
jmp 0x10113c51
mov edx, dword [ebp - 4]
sub edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x10113c85
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 0x10113c48
mov esp, ebp
pop ebp
ret
Function at 0x10121440
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.101d14f0
push 0x78
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.101d19d0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x1012146f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x1012148a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x10236b58]
mov dword [eax + edx*4], ecx
jmp 0x10121466
mov esp, ebp
pop ebp
ret
Function at 0x10154b50
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xec
call fcn.101d14f0
mov eax, dword [0x10274398]
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.10044620
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10154b93
xor eax, eax
jmp 0x10154c34
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.10044330
add esp, 0x18
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 4]
push edx
call fcn.10044d20
add esp, 4
cmp dword [ebp - 0xec], 0
jne 0x10154bda
push 0x40
lea eax, [ebp - 0x48]
push eax
call fcn.10074490
add esp, 8
xor eax, eax
jmp 0x10154c34
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.101499c0
add esp, 8
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10146460
add esp, 8
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.10074490
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101d14d7
mov esp, ebp
pop ebp
ret
Function at 0x10155660
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c
call fcn.101d14f0
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp - 0xf4], eax
push 0x20
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.101d1c90
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.101499c0
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.10149ea0
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.10149ef0
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.10148460
add esp, 8
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.101468d0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.101464e0
add esp, 8
push 0x20
lea edx, [ebp - 0x114]
push edx
call fcn.10074490
add esp, 8
mov ecx, dword [ebp - 0xf4]
xor ecx, ebp
call fcn.101d14d7
mov esp, ebp
pop ebp
ret
Function at 0x1015bcf0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.101d14f0
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 0x1015bd28
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x6a
je 0x1015bd5a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x6b
je 0x1015bd5a
call fcn.1005ca30
push str.RSA_padding_check_X931
push 0x43
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x89
push 4
call fcn.1005cc10
add esp, 0xc
or eax, 0xffffffff
jmp 0x1015be93
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 0x1015be33
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x1015bd8d
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x1015bdf3
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 0x1015bdb3
jmp 0x1015bdf3
movzx ecx, byte [ebp - 0xd]
cmp ecx, 0xbb
je 0x1015bdf1
call fcn.1005ca30
push str.RSA_padding_check_X931
push 0x4e
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x8a
push 4
call fcn.1005cc10
add esp, 0xc
or eax, 0xffffffff
jmp 0x1015be93
jmp 0x1015bd84
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x1015be31
call fcn.1005ca30
push str.RSA_padding_check_X931
push 0x56
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x8a
push 4
call fcn.1005cc10
add esp, 0xc
or eax, 0xffffffff
jmp 0x1015be93
jmp 0x1015be3c
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 0x1015be7c
call fcn.1005ca30
push str.RSA_padding_check_X931
push 0x5f
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x8b
push 4
call fcn.1005cc10
add esp, 0xc
or eax, 0xffffffff
jmp 0x1015be93
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.101d1c90
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1016d470
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.101d14f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 5
je 0x1016d4ac
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1016ced0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x1016d4ac
mov eax, dword [ebp - 4]
jmp 0x1016d503
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp + 8]
push eax
call fcn.100418a0
add esp, 8
cmp dword [ebp - 4], 0
jg 0x1016d500
mov ecx, dword [ebp - 4]
push ecx
call fcn.100cce90
add esp, 4
test eax, eax
je 0x1016d500
push 0xa
mov edx, dword [ebp + 8]
push edx
call fcn.100418d0
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x101c8fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.101d14f0
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp - 7], cl
movzx edx, byte [ebp - 7]
sar edx, 7
mov byte [ebp - 6], dl
mov dword [ebp - 4], 0
jmp 0x101c9017
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov cl, byte [ebp - 5]
mov byte [ebp - 7], cl
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp - 4], edx
jge 0x101c9047
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov cl, byte [eax + 1]
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
sar edx, 7
movzx eax, byte [ebp - 7]
shl eax, 1
or eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x101c9008
movzx edx, byte [ebp - 7]
shl edx, 1
movzx eax, byte [ebp - 6]
xor ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 0x10]
sub eax, 0x10
neg eax
sbb eax, eax
and eax, 0xffffff94
add eax, 0x87
and ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], dl
mov esp, ebp
pop ebp
ret