joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100676e0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11c
call fcn.10010ae0
cmp dword [ebp + 8], 0
jl 0x100676f9
cmp dword [ebp + 8], 0x40
jl 0x10067701
or eax, 0xffffffff
jmp 0x1006781c
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
jne 0x10067713
mov eax, 1
jmp 0x1006781c
push 0
call fcn.10160a70
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x114]
jg 0x10067748
jl 0x10067741
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x118]
jae 0x10067748
xor eax, eax
jmp 0x1006781c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x11c], 0
jmp 0x1006776d
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x110]
jae 0x10067791
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp + edx*4 - 0x10c]
cmp eax, dword [ebp + 8]
jne 0x1006778f
jmp 0x10067791
jmp 0x1006775e
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x110]
jne 0x100677c7
cmp dword [ebp - 0x110], 0x40
jae 0x100677c7
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x10c], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
xor edx, edx
jne 0x10067752
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x118]
mov ecx, dword [ebp + 0x14]
sbb ecx, dword [ebp - 0x114]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
not eax
lea ecx, [ebp - 0x110]
and eax, ecx
push eax
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
lea eax, [ebp - 0x110]
and edx, eax
push edx
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov esp, ebp
pop ebp
ret
Function at 0x1008b290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.10010ae0
mov dword [ebp - 4], 0
jmp 0x1008b2af
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x1008b2cf
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp eax, edx
jne 0x1008b2cf
jmp 0x1008b2a6
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1008b2e3
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jl 0x1008b309
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
test eax, eax
jne 0x1008b309
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0xff
jne 0x1008b309
jmp 0x1008b2da
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x1008b319
or eax, 0xffffffff
jmp 0x1008b3e6
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jle 0x1008b32c
mov eax, dword [ebp - 4]
shl eax, 3
jmp 0x1008b3e6
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
xor eax, edx
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x7e
ja case.0x1008b363.1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x1008b40c]
jmp dword [eax*4 + 0x1008b3ec]
mov dword [ebp - 0xc], 7
jmp 0x1008b3ae
mov dword [ebp - 0xc], 6
jmp 0x1008b3ae
mov dword [ebp - 0xc], 5
jmp 0x1008b3ae
mov dword [ebp - 0xc], 4
jmp 0x1008b3ae
mov dword [ebp - 0xc], 3
jmp 0x1008b3ae
mov dword [ebp - 0xc], 2
jmp 0x1008b3ae
mov dword [ebp - 0xc], 1
jmp 0x1008b3ae
or eax, 0xffffffff
jmp 0x1008b3e6
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 5]
and edx, eax
jne 0x1008b3d6
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 5]
and edx, eax
movzx ecx, byte [ebp - 5]
cmp edx, ecx
je 0x1008b3dd
or eax, 0xffffffff
jmp 0x1008b3e6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea eax, [eax + edx*8]
mov esp, ebp
pop ebp
ret
Function at 0x100a5330
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.10010ae0
mov dword [ebp - 8], 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100a5770
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100a5b70
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100a53dc
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 0x100a53b6
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 0x100a53aa
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.100a5c20
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.100a5710
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100a53ea
mov eax, dword [ebp - 8]
jmp 0x100a549c
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.100a5770
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100a5b70
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100a5485
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 0x100a545f
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 0x100a5453
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.100a5c20
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.100a5710
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x100a5490
mov eax, dword [ebp - 8]
jmp 0x100a549c
mov edx, dword [ebp + 8]
push edx
call fcn.100a5710
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x100bfde0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10010ae0
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0xffffffff
jne 0x100bfe2b
call fcn.1004fd50
push str.BIO_connect
push 0x54
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push 0
push 0x87
push 0x20
call fcn.100500d0
add esp, 0xc
xor eax, eax
jmp 0x100bffe8
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.10067690
add esp, 8
test eax, eax
jne 0x100bfe4f
xor eax, eax
jmp 0x100bffe8
mov edx, dword [ebp + 0x10]
and edx, 4
je 0x100bfed2
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 0x100bfed2
call fcn.1004fd50
push str.BIO_connect
push 0x5e
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.100500d0
add esp, 0xc
call fcn.1004fd50
push str.BIO_connect
push 0x60
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push 0
push 0x89
push 0x20
call fcn.100500d0
add esp, 0xc
xor eax, eax
jmp 0x100bffe8
mov edx, dword [ebp + 0x10]
and edx, 0x10
je 0x100bff52
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 0x100bff52
call fcn.1004fd50
push str.BIO_connect
push 0x68
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.100500d0
add esp, 0xc
call fcn.1004fd50
push str.BIO_connect
push 0x6a
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push 0
push 0x8a
push 0x20
call fcn.100500d0
add esp, 0xc
xor eax, eax
jmp 0x100bffe8
mov edx, dword [ebp + 0xc]
push edx
call fcn.10066960
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.100455b0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100bffe3
push 0xffffffffffffffff
call fcn.100c0370
add esp, 4
test eax, eax
jne 0x100bffdf
call fcn.1004fd50
push str.BIO_connect
push 0x72
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push str.calling_connect__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.100500d0
add esp, 0xc
call fcn.1004fd50
push str.BIO_connect
push 0x74
push str.....Srcopenssl_3.0.12crypto_bio_bio_sock2.c
call fcn.1004ffa0
add esp, 0xc
push 0
push 0x67
push 0x20
call fcn.100500d0
add esp, 0xc
xor eax, eax
jmp 0x100bffe8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100c0150
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10010ae0
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.10035250
add esp, 8
cmp dword [ebp - 4], 0
jg 0x100c01b8
mov edx, dword [ebp - 4]
push edx
call fcn.100c0370
add esp, 4
test eax, eax
je 0x100c01b8
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.10035280
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100ce560
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.10010ae0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x100ce58e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 2
je 0x100ce58e
mov dword [ebp - 8], str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jmp 0x100ce595
mov dword [ebp - 8], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], edx
jmp 0x100ce5a6
mov eax, dword [ebp - 4]
sub eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x100ce706
cmp dword [ebp - 4], 3
jl 0x100ce651
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 0x100ce6ef
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
mov dword [ebp - 0x10], edx
cmp dword [ebp - 4], 2
jne 0x100ce673
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 0x100ce6bc
mov dword [ebp - 0x14], 0x3d
jmp 0x100ce6cf
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 0x100ce59d
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100dbfc0
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 0x100dc040
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 0x100df250
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 0x100df320
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 0x100f4630
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x90
call fcn.10010ae0
mov eax, dword [0x1023d1a4]
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 0x100f4762
mov dword [ebp - 4], 0x40
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jae 0x100f46ec
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.100f4770
add esp, 8
mov dword [ebp - 8], 0
jmp 0x100f4711
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jae 0x100f4739
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 0x100f4708
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 0x100f46cd
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.10010586
mov esp, ebp
pop ebp
ret
Function at 0x101070a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.10010ae0
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 0x101070c9
mov dword [ebp + 0xc], 0x80
cmp dword [ebp + 0x14], 0
jg 0x101070d6
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x14], 0x400
jle 0x101070e6
mov dword [ebp + 0x14], 0x400
mov dword [ebp - 4], 0
jmp 0x101070f8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x10107112
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 0x101070ef
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 0x10107140
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 0x10107172
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 0x1010712e
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 0x101071f3
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 0x101071bc
mov ecx, dword [ebp + 8]
add ecx, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f
jmp 0x10107211
mov edx, dword [ebp - 4]
sub edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x10107245
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 0x10107208
mov esp, ebp
pop ebp
ret
Function at 0x101149f0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10010ae0
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 0x10114a1f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x10114a3a
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 0x10114a16
mov esp, ebp
pop ebp
ret
Function at 0x10148160
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xec
call fcn.10010ae0
mov eax, dword [0x1023d1a4]
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.10037fd0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101481a3
xor eax, eax
jmp 0x10148244
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.10037ce0
add esp, 0x18
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 4]
push edx
call fcn.100386d0
add esp, 4
cmp dword [ebp - 0xec], 0
jne 0x101481ea
push 0x40
lea eax, [ebp - 0x48]
push eax
call fcn.100679a0
add esp, 8
xor eax, eax
jmp 0x10148244
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.1013cfd0
add esp, 8
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10139a70
add esp, 8
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.100679a0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010586
mov esp, ebp
pop ebp
ret