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

Disassembly:
mov eax, 4
call fcn.006dbb70
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 1
cmp edi, 0xffffffff
jne 0x616ba8
call fcn.005bc180
push str.BIO_connect
push 0x54
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
push 0
push 0x87
push 0x20
call fcn.005bc330
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x18]
mov eax, ebx
shr eax, 3
push esi
and eax, 1
push eax
push edi
call fcn.005e6460
add esp, 8
test eax, eax
je 0x616c37
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
test bl, 4
je 0x616c3e
push 4
lea eax, [esp + 0x10]
push eax
push 8
push 0xffff
push edi
call esi
test eax, eax
je 0x616c3e
call fcn.005bc180
push str.BIO_connect
push 0x5e
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.005bc330
call fcn.005bc180
push str.BIO_connect
push 0x60
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
push 0
push 0x89
push 0x20
call fcn.005bc330
add esp, 0x24
pop esi
pop ebx
xor eax, eax
pop edi
pop ecx
ret
test bl, 0x10
je 0x616caf
push 4
lea eax, [esp + 0x10]
push eax
push 1
push 6
push edi
call esi
test eax, eax
je 0x616caf
call fcn.005bc180
push str.BIO_connect
push 0x68
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
add esp, 0xc
push str.calling_setsockopt__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.005bc330
call fcn.005bc180
push str.BIO_connect
push 0x6a
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
push 0
push 0x8a
push 0x20
call fcn.005bc330
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ecx
ret
mov esi, dword [esp + 0x18]
push esi
call fcn.005e6700
add esp, 4
push eax
push esi
call fcn.005611c0
add esp, 4
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x616d3b
push eax
call fcn.00616a70
add esp, 4
test eax, eax
jne 0x616c37
call fcn.005bc180
push str.BIO_connect
push 0x72
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
add esp, 0xc
push str.calling_connect__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.005bc330
call fcn.005bc180
push str.BIO_connect
push 0x74
push str.crypto_bio_bio_sock2.c
call fcn.005bc280
push 0
push 0x67
push 0x20
call fcn.005bc330
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ecx
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ecx
ret

Function at 0x618530
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
movzx eax, cl
and eax, 1
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x618572
push ebx
add edi, esi
lea ebx, [edx + esi]
movzx edx, byte [edi - 1]
lea edi, [edi - 1]
movzx ecx, cl
lea ebx, [ebx - 1]
xor edx, ecx
mov cl, byte [esp + 0x1c]
add eax, edx
mov byte [ebx], al
shr eax, 8
sub esi, 1
jne 0x618552
pop ebx
pop edi
pop esi
ret
Function at 0x624970
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp ebp, 2
je 0x624a49
mov esi, dword [esp + 0x10]
test esi, esi
je 0x6249fe
push esi
push 0
lea eax, [esp + 0x28]
push eax
push 0
call fcn.00622590
add esp, 0x10
cmp dword [esp + 0x20], 0xffffffff
je 0x6249d2
call fcn.005bc180
push str.ossl_ecx_key_op
push 0xaa
push str.cryptoececx_backend.c
call fcn.005bc280
push 0
push 0x66
push 0x10
call fcn.005bc330
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
ret
mov eax, dword [esi]
mov esi, dword [esp + 0x1c]
push eax
call fcn.005b9e10
add esp, 4
test esi, esi
jne 0x6249e9
mov esi, eax
jmp 0x624a02
cmp esi, eax
je 0x624a02
call fcn.005bc180
push str.ossl_ecx_key_op
push 0xb0
jmp 0x6249b4
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x624a35
test esi, esi
je 0x624a35
cmp esi, 0x40a
je 0x624a2a
cmp esi, 0x43f
je 0x624a2a
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x624a2f
mov eax, 0x20
cmp dword [esp + 0x18], eax
je 0x624a4d
call fcn.005bc180
push str.ossl_ecx_key_op
push 0xb6
jmp 0x6249b4
mov esi, dword [esp + 0x1c]
cmp esi, 0x40a
je 0x624a71
cmp esi, 0x43f
je 0x624a71
xor eax, eax
cmp esi, 0x40b
setne al
lea eax, [eax*2 + 1]
jmp 0x624a81
xor ecx, ecx
mov eax, 2
cmp esi, 0x40a
cmove eax, ecx
push ebx
push dword [esp + 0x2c]
push 1
push eax
push dword [esp + 0x34]
call fcn.00624580
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x624acb
call fcn.005bc180
push str.ossl_ecx_key_op
push 0xbd
push str.cryptoececx_backend.c
call fcn.005bc280
push ebx
push 0xc0100
push 0x10
call fcn.005bc330
add esp, 0x18
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
test ebp, ebp
jne 0x624ae7
push dword [esp + 0x1c]
lea eax, [ebx + 0xc]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
call fcn.00624500
mov edi, eax
add esp, 4
test edi, edi
jne 0x624b1a
call fcn.005bc180
push str.ossl_ecx_key_op
push 0xc7
push str.cryptoececx_backend.c
call fcn.005bc280
push edi
push 0xc0100
jmp 0x624bf0
cmp ebp, 2
jne 0x624b8c
test esi, esi
je 0x624bbf
cmp esi, 0x40a
je 0x624b47
cmp esi, 0x43f
je 0x624b47
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x624b4c
mov eax, 0x20
push 0
push eax
push edi
push dword [esp + 0x34]
call fcn.005bcc00
add esp, 0x10
test eax, eax
jle 0x624bfa
cmp esi, 0x40a
jne 0x624b7b
mov al, byte [edi + 0x1f]
and byte [edi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
jmp 0x624bbf
cmp esi, 0x40b
jne 0x624bbf
and byte [edi], 0xfc
or byte [edi + 0x37], 0x80
jmp 0x624bbf
cmp esi, 0x40a
je 0x624bac
cmp esi, 0x43f
je 0x624bac
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x624bb1
mov eax, 0x20
push eax
push dword [esp + 0x1c]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
call fcn.00624c10
add esp, 4
test eax, eax
jne 0x624ae0
call fcn.005bc180
push str.ossl_ecx_key_op
push 0xdb
push str.cryptoececx_backend.c
call fcn.005bc280
push 0
push 0xa6
push 0x10
call fcn.005bc330
add esp, 0x18
push ebx
call fcn.00624520
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x6295d0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0xe4
call fcn.006dbb70
mov eax, dword [0x790f00]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xe8]
push ebx
mov ebx, dword [esp + 0xf0]
push esi
mov esi, dword [esp + 0xf8]
push edi
push eax
push str.SHA512
push ecx
call fcn.005d01f0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x629652
push 0
push edi
push 0
lea eax, [esp + 0xb8]
push eax
push 0x20
push esi
call fcn.005cf6a0
push edi
mov esi, eax
call fcn.005d0220
add esp, 0x1c
test esi, esi
jne 0x62966c
lea eax, [esp + 0xac]
push 0x40
push eax
call fcn.00401320
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.006daf70
add esp, 0xe4
ret
mov al, byte [esp + 0xcb]
and byte [esp + 0xac], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esp + 0xcb], al
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00628e10
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00628d90
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [esp + 0x104]
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006daf70
add esp, 0xe4
ret
Function at 0x6296e0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x174
call fcn.006dbb70
mov eax, dword [0x790f00]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x18c]
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x190]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1a0]
push eax
push str.SHA512
push ecx
call fcn.005d01f0
add esp, 0xc
mov edi, eax
call fcn.005d0160
mov dword [esp + 0x18], 0
mov esi, eax
test edi, edi
je 0x6298ee
test esi, esi
je 0x6298ee
push 0
push edi
push esi
call fcn.005cfb10
add esp, 0xc
test eax, eax
je 0x6298ee
push 0x20
push ebx
push esi
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6298ee
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc4]
push eax
push esi
call fcn.005cf9e0
add esp, 0xc
test eax, eax
je 0x6298ee
mov al, byte [esp + 0xdf]
and byte [esp + 0xc0], 0xf8
and al, 0x3f
push 0
or al, 0x40
push edi
push esi
mov byte [esp + 0xeb], al
call fcn.005cfb10
add esp, 0xc
test eax, eax
je 0x6298ee
push 0x20
lea eax, [esp + 0xe4]
push eax
push esi
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6298ee
mov ebx, dword [esp + 0x190]
push ebx
push dword [esp + 0x14]
push esi
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6298ee
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x104]
push eax
push esi
call fcn.005cf9e0
add esp, 0xc
test eax, eax
je 0x6298ee
lea eax, [esp + 0x100]
push eax
call fcn.0062e350
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00628e10
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00628d90
push 0
push edi
push esi
call fcn.005cfb10
add esp, 0x20
test eax, eax
je 0x6298ee
push 0x20
push ebp
push esi
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6298ee
push 0x20
push dword [esp + 0x20]
push esi
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6298ee
push ebx
push dword [esp + 0x14]
push esi
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6298ee
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x144]
push eax
push esi
call fcn.005cf9e0
add esp, 0xc
test eax, eax
je 0x6298ee
lea eax, [esp + 0x140]
push eax
call fcn.0062e350
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x14c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00629e10
add esp, 0x14
mov dword [esp + 0x18], 1
lea eax, [esp + 0x100]
push 0x40
push eax
call fcn.00401320
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.00401320
push edi
call fcn.005d0220
push esi
call fcn.005d00d0
mov ecx, dword [esp + 0x198]
add esp, 0x18
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006daf70
add esp, 0x174
ret
Function at 0x631760
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
lea edx, [eax + 0x3c]
movd xmm0, ebx
pshufd xmm4, xmm0, 0
lea ecx, [esi + 0x3c]
cmp eax, ecx
ja 0x6317af
cmp edx, esi
jb 0x6317af
push edi
sub esi, eax
mov edi, 0x10
nop dword [eax]
mov edx, dword [eax + esi]
lea eax, [eax + 4]
mov ecx, dword [eax - 4]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax + esi - 4], edx
xor dword [eax - 4], ecx
sub edi, 1
jne 0x631790
pop edi
pop esi
pop ebx
ret
sub esi, eax
mov ecx, 4
nop word [eax + eax]
lea eax, [eax + 0x10]
movups xmm1, xmmword [esi + eax - 0x10]
movups xmm3, xmmword [eax - 0x10]
movaps xmm2, xmm1
xorps xmm2, xmm3
andps xmm2, xmm4
movaps xmm0, xmm2
xorps xmm2, xmm3
xorps xmm0, xmm1
movups xmmword [esi + eax - 0x10], xmm0
movups xmmword [eax - 0x10], xmm2
sub ecx, 1
jne 0x6317c0
pop esi
pop ebx
ret
Function at 0x635d30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x635df9
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x635d51
cmp al, 0x6b
jne 0x635df9
inc ecx
cmp al, 0x6b
jne 0x635db2
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x635d72
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x635d72
cmp dl, 0xbb
jne 0x635d86
inc eax
cmp eax, esi
jl 0x635d60
sub esi, eax
test eax, eax
jne 0x635db5
call fcn.005bc180
push str.RSA_padding_check_X931
push 0x56
jmp 0x635d92
call fcn.005bc180
push str.RSA_padding_check_X931
push 0x4e
push str.crypto_rsa_rsa_x931.c
call fcn.005bc280
push 0
push 0x8a
push 4
call fcn.005bc330
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x635de7
call fcn.005bc180
push str.RSA_padding_check_X931
push 0x5f
push str.crypto_rsa_rsa_x931.c
call fcn.005bc280
push 0
push 0x8b
push 4
call fcn.005bc330
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
call fcn.005bc180
push str.RSA_padding_check_X931
push 0x43
push str.crypto_rsa_rsa_x931.c
call fcn.005bc280
push 0
push 0x89
push 4
call fcn.005bc330
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
Function at 0x653ef0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.006dbb70
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0x10
push edi
mov edi, dword [esp + 0x1c]
test esi, esi
jle 0x653fee
cmp esi, 8
jb 0x653fd4
lea eax, [esi - 1]
lea edx, [esi - 1]
add eax, edi
add edx, ebx
cmp ebx, eax
ja 0x653f3a
cmp edx, edi
jae 0x653fd4
mov edx, edi
push ebp
cmp esi, 0x40
jb 0x653fa9
mov eax, esi
lea ebp, [edi + 0x30]
and eax, 0xffffffc0
sub edx, ebx
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea ebp, [ebp + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebp - 0x70]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebp - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [ebp - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [esp + 0x10]
jl 0x653f53
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x653fcf
jmp 0x653fab
sub edx, ebx
mov ebp, esi
lea eax, [ecx + ebx]
and ebp, 0xfffffff8
movq xmm1, qword [edx + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add ecx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp ecx, ebp
jl 0x653fb3
pop ebp
cmp ecx, esi
jge 0x653fee
mov edx, esi
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
nop dword [eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x653fe0
push esi
push ebx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ebx
push dword [eax + 8]
call fcn.005b1f70
add esp, 0x14
test eax, eax
je 0x654017
xor eax, eax
cmp dword [esp + 0x20], esi
pop edi
pop esi
sete al
pop ebx
pop ecx
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x6541b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x654223
mov edx, dword [esp + 0x10]
test edx, edx
je 0x654223
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [ebx + 0x14]
cmp edx, edi
cmovb edi, edx
test edi, edi
je 0x6541f0
push esi
mov esi, ebp
lea ecx, [ebx + 0x1c]
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x6541e0
pop esi
mov eax, dword [ebx + 0x14]
cmp edx, eax
jbe 0x654221
sub edx, eax
cmp edx, 0x10
jbe 0x654205
mov edx, 0x10
jmp 0x654209
test edx, edx
je 0x654221
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0x14]
add eax, ecx
mov al, byte [eax + ebp]
xor byte [ebx + ecx + 0x3c], al
inc ecx
cmp ecx, edx
jb 0x654210
pop edi
pop ebx
pop ebp
ret
Function at 0x6544a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x74
call fcn.006dbb70
mov eax, dword [0x790f00]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x78]
mov edx, 0x10
mov eax, dword [esp + 0x84]
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov esi, dword [ecx + 0x94]
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
movups xmm0, xmmword [esi + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, 1
push edi
mov dword [esp + 0x18], eax
movups xmmword [esp + 0x20], xmm0
nop
movzx eax, byte [edx + esi + 0x3b]
dec edx
add ecx, eax
mov byte [edx + esi + 0x3c], cl
shr ecx, 8
test edx, edx
jne 0x654500
movups xmm0, xmmword [esi + 0x3c]
movups xmmword [esp + 0x30], xmm0
cmp dword [esi + 0x14], 0x10
jne 0x654527
lea edi, [edx + 0x20]
jmp 0x654552
mov edx, 0x10
mov ecx, 1
movzx eax, byte [edx + esi + 0x3b]
dec edx
add ecx, eax
mov byte [edx + esi + 0x3c], cl
shr ecx, 8
test edx, edx
jne 0x654531
movups xmm0, xmmword [esi + 0x3c]
mov edi, 0x30
movups xmmword [esp + 0x40], xmm0
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esi]
call fcn.005b1f70
add esp, 0x14
test eax, eax
je 0x654669
cmp dword [esp + 0x14], edi
jne 0x654669
push dword [esi + 0x14]
lea eax, [esp + 0x54]
push eax
lea ebx, [esi + 0x1c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp dword [esi + 0x18], 0
movups xmm0, xmmword [esp + eax + 0x50]
movups xmmword [esi + 0x3c], xmm0
je 0x6545ff
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x6545bf
test ecx, ecx
jne 0x6545bf
test eax, eax
je 0x6545e2
push dword [esp + 0x98]
push eax
push dword [esp + 0xa8]
push ecx
push edi
push ebp
push esi
call fcn.00654230
add esp, 0x1c
test eax, eax
je 0x654669
test edi, edi
je 0x654622
mov eax, dword [esp + 0x1c]
push dword [eax + 0x8c]
lea eax, [esi + 0x60]
push eax
push esi
call fcn.006541b0
add esp, 0xc
jmp 0x654622
push dword [esp + 0x90]
push ebp
push esi
call fcn.006541b0
push dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.006541b0
add esp, 0x18
push 0xffffffffffffffff
push 0
push ebx
push 0
push 0
push dword [esi]
call fcn.005b1f40
add esp, 0x18
test eax, eax
je 0x654669
push 0xffffffffffffffff
push 0
push ebx
push 0
push 0
push dword [esi + 4]
call fcn.005b1f40
add esp, 0x18
test eax, eax
je 0x654669
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.006daf70
add esp, 0x74
ret
mov ecx, dword [esp + 0x80]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006daf70
add esp, 0x74
ret
Function at 0x657b40
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x657b4d
xor eax, eax
pop ebx
ret
push edi
push dword [ebx + 4]
push 0
push dword [ebx + 8]
push dword [ebx]
call fcn.00624580
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x657b94
call fcn.005bc180
push str.ecx_gen
push 0x24c
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.005bc280
push edi
push 0xc0100
push 0x39
call fcn.005bc330
add esp, 0x18
xor eax, eax
pop edi
pop ebx
ret
test byte [ebx + 0xc], 3
je 0x657bdf
push esi
push edi
call fcn.00624500
mov esi, eax
add esp, 4
test esi, esi
jne 0x657be2
call fcn.005bc180
push str.ecx_gen
push 0x255
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.005bc280
push esi
push 0xc0100
push 0x39
call fcn.005bc330
add esp, 0x18
push edi
call fcn.00624520
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
ret
push 0
push dword [edi + 0x4c]
push esi
push dword [ebx]
call fcn.005bcc00
add esp, 0x10
test eax, eax
jle 0x657bd3
mov eax, dword [ebx + 8]
cmp eax, 3
ja case.default.0x657bfe
jmp dword [eax*4 + 0x657c7c]
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
lea eax, [edi + 0xc]
push esi
push eax
call fcn.00629c10
add esp, 8
mov eax, edi
or dword [edi + 8], 1
pop esi
pop edi
pop ebx
ret
and byte [esi], 0xfc
lea eax, [edi + 0xc]
or byte [esi + 0x37], 0x80
push esi
push eax
call fcn.00632e90
add esp, 8
mov eax, edi
or dword [edi + 8], 1
pop esi
pop edi
pop ebx
ret
push dword [ebx + 4]
lea eax, [edi + 0xc]
push esi
push eax
push dword [ebx]
call fcn.006295d0
jmp 0x657c67
push dword [ebx + 4]
lea eax, [edi + 0xc]
push esi
push eax
push dword [ebx]
call fcn.00631280
add esp, 0x10
test eax, eax
je 0x657bd3
or dword [edi + 8], 1
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x677c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.006dbb70
mov eax, dword [0x790f00]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov bl, byte [edx + 3]
mov esi, dword [eax]
movzx eax, byte [edx + 1]
shl eax, 8
or ecx, eax
mov ebp, dword [esp + 0x4c]
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, bl
shl eax, 0x18
or ecx, eax
mov byte [esp + 0x37], bl
movzx eax, byte [edx + 5]
shl eax, 8
movzx edi, byte [edx + 4]
mov dl, byte [edx + 7]
or edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
movzx ecx, dl
shl ecx, 8
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x14], 0
mov eax, ecx
mov byte [esp + 0x3a], cl
shl eax, 0x10
or edi, eax
mov byte [esp + 0x3b], dl
mov eax, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], al
shr eax, 8
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], al
test ebp, ebp
je 0x677e3b
mov edi, dword [esp + 0x44]
sub dword [esp + 0x18], edi
dec ebp
test esi, esi
jne 0x677de0
push 1
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
call fcn.0040dec0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov eax, ecx
shr eax, 8
mov edx, dword [esp + 0x14]
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
inc edx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov dword [esp + 0x14], edx
jmp 0x677de4
mov edx, dword [esp + 0x14]
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x18]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x10]
test ebp, ebp
jne 0x677d73
test edx, edx
je 0x677e3b
mov edx, dword [esp + 0x20]
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ebx
shr eax, 8
mov byte [edx + 5], al
mov eax, ebx
mov byte [edx], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [edx + 4], bl
shr ebx, 0x18
mov byte [edx + 3], cl
mov byte [edx + 6], al
mov byte [edx + 7], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006daf70
add esp, 0x30
ret