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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, gethostbyname
call fcn.1402f86d0
sub rsp, rax
lea edx, [rax - 0x2f]
mov rbx, rcx
call fcn.1401bc440
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.1401bc320
xor edi, edi
mov r14, rax
test rax, rax
je 0x1401bc907
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1401bc8e3
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rsi, rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rsi*8]
mov rdx, rsi
mov rcx, rbx
call fcn.1401bc3d0
mov rcx, rbx
call fcn.1401bc590
test rax, rax
jne 0x1401bc99b
mov edx, 1
mov rcx, rbx
call fcn.1401bc440
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.1401bc320
mov rbp, rax
test rax, rax
je 0x1401bc993
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], 0xf0000040
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1401bc973
mov rcx, qword [rsp + 0x58]
mov r8, rbp
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rdi, rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rdi*8]
mov rdx, rdi
mov rcx, rbx
call fcn.1401bc3d0
mov rcx, rbx
call fcn.1401bc590
test rax, rax
jne 0x1401bc99b
mov rcx, rbx
call fcn.1401bc590
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1401ca170
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, gethostbyname
call fcn.1402f86d0
sub rsp, rax
mov rdi, rcx
lea r8d, [rax - 9]
lea ecx, [rax - 0x28]
lea rdx, str.crypto_thread_arch_thread_win.c
call fcn.140190a60
mov rbx, rax
test rax, rax
je 0x1401ca1e2
mov qword [rsp + 0x28], 0
lea r8, [0x1401ca210]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1401ca1e2
mov qword [rdi + 0x20], rbx
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r8d, reloc.WS2_32.dll_gethostbyname
mov qword [rdi + 0x20], 0
lea rdx, str.crypto_thread_arch_thread_win.c
mov rcx, rbx
call fcn.1401907c0
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1401ca7d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyname
call fcn.1402f86d0
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x1401ca83b
call fcn.1401971e0
lea r8, str.BIO_connect
lea edx, [rbx + 0x57]
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
xor r8d, r8d
lea ecx, [rbx + 0x21]
mov edx, 0x87
call fcn.140197460
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.1401a5a90
test eax, eax
je 0x1401ca8ee
mov rsi, rbx
test dil, 4
je 0x1401ca905
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1401ca905
call fcn.1401971e0
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140197460
call fcn.1401971e0
lea r8, str.BIO_connect
mov edx, 0x62
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.140197460
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x1401ca992
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1401ca992
call fcn.1401971e0
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140197460
call fcn.1401971e0
lea r8, str.BIO_connect
mov edx, WSASetLastError
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
xor r8d, r8d
mov edx, 0x8a
jmp 0x1401ca8e4
mov rcx, rbp
call fcn.1401a73c0
mov rcx, rbp
mov ebx, eax
call fcn.14013e660
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1401caa26
mov ecx, eax
call fcn.1401ca730
test eax, eax
jne 0x1401ca8ee
call fcn.1401971e0
lea r8, str.BIO_connect
mov edx, 0xb2
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.140197460
call fcn.1401971e0
lea r8, str.BIO_connect
mov edx, 0xb4
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140197300
xor r8d, r8d
lea edx, [r8 + 0x67]
jmp 0x1401ca8e4
mov eax, 1
jmp 0x1401ca8f0
Function at 0x1401fdd00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x40
call fcn.1402f86d0
sub rsp, rax
mov rsi, qword [rcx + 0x78]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea rdi, [rsi + 0x70]
mov qword [rsp + 0x30], rdi
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x1401fdd7b
test r9, r9
je 0x1401fdd5a
cmp r8d, 0x40
jae 0x1401fdd5a
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x1401fdd38
mov dword [rdi], r8d
test rbp, rbp
je 0x1401fdea5
cmp r8d, 0x40
jne 0x1401fdd7b
mov dword [rdi], 0
add dword [rsi + 0x20], 1
jne 0x1401fdd7b
inc dword [rsi + 0x24]
mov qword [rsp + 0x78], r12
lea rax, [rsi + 0x20]
mov r12d, ebp
mov qword [rsp + 0x80], r13
mov r13d, dword [rax]
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x70], r12d
cmp rbp, 0x40
jb 0x1401fde33
mov r12d, 0x10000000
lea r15, [rsi + 0x20]
nop dword [rax]
mov rdx, rbp
mov qword [rsp + 0x20], r15
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
add r13d, edx
mov rdi, rdx
mov ecx, r13d
mov eax, r13d
xor r13d, r13d
cmp rcx, rdx
cmovae r13d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.140041900
sub rbp, rdi
mov dword [r15], r13d
add rbx, rdi
add r14, rdi
test r13d, r13d
jne 0x1401fde1c
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x1401fddc0
mov r12d, dword [rsp + 0x70]
lea rax, [rsi + 0x20]
mov rdi, qword [rsp + 0x30]
mov r15d, r12d
mov r13, qword [rsp + 0x80]
test r12d, r12d
je 0x1401fde98
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.140041900
test r12d, r12d
je 0x1401fde95
sub rsi, rbx
sub r14, rbx
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [r14 + rbx], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x1401fde80
mov dword [rdi], r12d
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140207040
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xe8
call fcn.1402f86d0
sub rsp, rax
mov rax, qword [0x14042fc80]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, qword [rsp + 0x150]
mov rax, rcx
mov rbx, qword [rsp + 0x158]
mov rdi, r9
mov r12, qword [rsp + 0x178]
mov r13, rdx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], r8
mov r14d, dword [rcx]
mov rcx, rax
call fcn.1401f2900
mov r8d, r14d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, r12
call fcn.1402b4690
test eax, eax
je 0x1402072af
mov ebp, dword [rsp + 0x160]
inc r14d
test ebp, ebp
je 0x1402070f4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, rbx
mov rdx, r15
call fcn.140197810
test eax, eax
jle 0x1402072b2
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
lea rcx, [rsp + 0x90]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, ebx
sub rax, 1
js 0x14020712e
add rax, rdi
add byte [rax], 1
jne 0x14020712e
dec rax
cmp rax, rdi
jns 0x140207121
mov rbp, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], rbp
mov rcx, r15
call fcn.1401ac930
test eax, eax
je 0x1402072b2
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1401ac930
test eax, eax
je 0x1402072b2
mov r9d, esi
mov rdx, rsi
test ebx, ebx
jle 0x140207261
cmp ebx, 0x40
jb 0x14020722c
mov ecx, ebx
and ecx, 0x8000003f
jge 0x1402071a8
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
sub eax, ecx
movsxd rcx, eax
nop
movdqu xmm0, xmmword [rsp + rdx + 0x50]
add r9d, 0x40
movdqu xmm1, xmmword [rsp + rdx + 0x90]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x60]
movdqu xmm1, xmmword [rsp + rdx + 0xa0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x70]
movdqu xmm1, xmmword [rsp + rdx + 0xb0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x70], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x80]
movdqu xmm1, xmmword [rsp + rdx + 0xc0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x80], xmm1
add rdx, 0x40
cmp rdx, rcx
jl 0x1402071b0
cmp r9d, ebx
jge 0x140207261
lea rcx, [rsp + 0x50]
add rcx, rdx
lea r8, [rsp + 0x90]
lea rax, [rsp + 0x50]
mov edx, ebx
sub r8, rax
sub edx, r9d
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140207250
or byte [rsp + 0x50], 0x80
lea rcx, [rsp + 0x50]
or byte [rsp + rbx + 0x4f], 1
mov r8, r13
mov edx, ebx
call fcn.1401b0f50
test rax, rax
je 0x1402072b2
mov rdx, qword [rsp + 0x40]
mov r8, r12
mov rcx, r13
call fcn.1402b46f0
test eax, eax
jg 0x1402072e0
jne 0x1402072b2
mov r8d, r14d
xor edx, edx
mov rcx, r12
mov ebp, 1
call fcn.1402b4690
test eax, eax
jne 0x1402070d2
inc r14d
mov rax, qword [rsp + 0x48]
mov dword [rax], r14d
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1402f7a90
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov esi, 1
jmp 0x1402072b2
Function at 0x14021a090
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1402f86d0
sub rsp, rax
mov rax, qword [0x14042fc80]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.1401ad8d0
mov rdi, rax
test rax, rax
je 0x14021a113
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.1401ac930
mov rcx, rdi
mov ebx, eax
call fcn.1401ad920
test ebx, ebx
jne 0x14021a11a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x14021a1ce
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.140219540
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140215ef0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.140216170
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.140216170
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140217810
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.140217810
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140001240
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402f7a90
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14021a1f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1d0
call fcn.1402f86d0
sub rsp, rax
mov rax, qword [0x14042fc80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x230]
mov r13, rdx
mov r15, qword [rsp + 0x250]
lea rdx, str.SHA512
mov qword [rsp + 0x38], r8
mov r14, rcx
mov rcx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x268]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r9
call fcn.1401ad8d0
mov rdi, rax
call fcn.1401ad810
xor r12d, r12d
mov rbx, rax
test r15, r15
mov esi, r12d
cmovne rsi, qword [rsp + 0x258]
cmp byte [rsp + 0x248], r12b
je 0x14021a291
test rsi, rsi
je 0x14021a48d
cmp byte [rsp + 0x238], r12b
jne 0x14021a2a4
test rsi, rsi
jne 0x14021a48d
test rdi, rdi
je 0x14021a48d
test rbx, rbx
je 0x14021a48d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1401ad0d0
test eax, eax
je 0x14021a48d
mov rdx, qword [rsp + 0x40]
mov r8d, 0x20
mov rcx, rbx
call fcn.1401ad110
test eax, eax
je 0x14021a48d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x100]
call fcn.1401ace20
test eax, eax
je 0x14021a48d
movzx eax, byte [rsp + 0x11f]
mov rdx, rdi
movzx r8d, byte [rsp + 0x238]
and al, 0x3f
and byte [rsp + 0x100], 0xf8
or al, 0x40
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], r15
movzx r15d, byte [rsp + 0x240]
movzx r9d, r15b
mov byte [rsp + 0x11f], al
call fcn.140219fa0
test eax, eax
je 0x14021a48d
mov r8d, 0x20
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.1401ad110
test eax, eax
je 0x14021a48d
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call fcn.1401ad110
test eax, eax
je 0x14021a48d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x140]
call fcn.1401ace20
test eax, eax
je 0x14021a48d
lea rcx, [rsp + 0x140]
call fcn.14021ca70
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x60]
call fcn.140219540
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1402194b0
mov rax, qword [rsp + 0x48]
movzx r9d, r15b
movzx r8d, byte [rsp + 0x238]
mov rdx, rdi
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140219fa0
test eax, eax
je 0x14021a48d
mov r8d, 0x20
mov rdx, r14
mov rcx, rbx
call fcn.1401ad110
test eax, eax
je 0x14021a48d
mov rdx, qword [rsp + 0x50]
mov r8d, 0x20
mov rcx, rbx
call fcn.1401ad110
test eax, eax
je 0x14021a48d
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call fcn.1401ad110
test eax, eax
je 0x14021a48d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x180]
call fcn.1401ace20
test eax, eax
je 0x14021a48d
lea rcx, [rsp + 0x180]
call fcn.14021ca70
lea rcx, [r14 + 0x20]
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x180]
call fcn.14021a9e0
mov r12d, 1
mov edx, 0x40
lea rcx, [rsp + 0x140]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0x100]
call fcn.140001240
mov rcx, rdi
call fcn.1401ad920
mov rcx, rbx
call fcn.1401ad760
mov eax, r12d
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402f7a90
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402266c0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.1402f86d0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1402267b8
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1402267b8
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x140226770
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14022671a
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14022671a
cmp cl, 0xbb
jne 0x14022675d
inc eax
cmp eax, ebx
jl 0x140226704
sub ebx, eax
test eax, eax
jne 0x140226774
call fcn.1401971e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140197300
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.140197460
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.1401971e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
jmp 0x140226731
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1402267a1
call fcn.1401971e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x5f
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140197300
mov edx, 0x8b
jmp 0x140226742
mov r8d, ebx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.1401971e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x43
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140197300
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.140197460
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x140248d70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x40
call fcn.1402f86d0
sub rsp, rax
mov r12, rdx
test rdx, rdx
mov rdx, r8
mov r15, r9
mov rbp, r8
je 0x140248f3c
mov rbx, qword [rsp + 0xa8]
lea r14, [r9 + 1]
mov rsi, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rbx
shr r14, 1
mov r8, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
call fcn.140248b60
test eax, eax
je 0x140248e4e
mov r8d, 0x1c8
lea rdx, str.providersimplementationskdfs_tls1_prf.c
mov rcx, rbx
call fcn.140190710
mov rdi, rax
test rax, rax
je 0x140248e4e
mov r9, qword [rsp + 0x90]
sub rbp, r14
mov qword [rsp + 0x30], rbx
mov r8, r14
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], r13
lea rdx, [r15 + rbp]
call fcn.140248b60
test eax, eax
jne 0x140248e55
mov r9d, 0x1cd
lea r8, str.providersimplementationskdfs_tls1_prf.c
mov rdx, rbx
mov rcx, rdi
call fcn.140190890
xor eax, eax
jmp 0x140248f80
xor ecx, ecx
test rbx, rbx
je 0x140248f22
cmp rbx, 0x40
jb 0x140248f01
lea rdx, [rsi - 1]
lea rax, [rbx - 1]
add rdx, rbx
add rax, rdi
cmp rsi, rax
ja 0x140248e82
cmp rdx, rdi
jae 0x140248f01
mov r8, rbx
and r8, 0xffffffffffffffc0
mov rdx, rdi
lea rax, [rsi + 0x10]
sub rdx, rsi
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r8
jb 0x140248ea0
cmp rcx, rbx
jae 0x140248f22
mov r8, rdi
lea rax, [rcx + rsi]
sub r8, rsi
mov rdx, rbx
sub rdx, rcx
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140248f11
mov r9d, 0x1d2
lea r8, str.providersimplementationskdfs_tls1_prf.c
mov rdx, rbx
mov rcx, rdi
call fcn.140190890
jmp 0x140248f7b
mov rax, qword [rsp + 0xa8]
mov r8, r15
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call fcn.140248b60
test eax, eax
je 0x140248e4e
mov eax, 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140251c80
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x140251ee6
mov qword [rsp + 0x20], rbx
push rsi
mov eax, 0x840
call fcn.1402f86d0
sub rsp, rax
mov rax, qword [0x14042fc80]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r11d, dword [rcx + 0x7c]
mov rsi, rdx
mov qword [rsp + 0x860], rdi
mov eax, r11d
mov rdi, qword [rcx + 0x68]
mov rbx, rcx
shl rax, 0xa
mov ecx, 8
lea rdx, [rdi - 0x400]
add rdx, rax
lea rax, [rsp + 0x30]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140251ce0
mov r10d, dword [rbx + 0x54]
mov r9d, 1
cmp r10d, r9d
jbe 0x140251e2b
nop word [rax + rax]
inc r9d
lea r8, [rsp + 0x30]
mov edx, r9d
xor eax, eax
imul edx, r11d
dec edx
shl rdx, 0xa
add rdx, rdi
lea rcx, [rdx + 0x3f8]
cmp r8, rcx
ja 0x140251d9c
lea rcx, [rsp + 0x428]
cmp rcx, rdx
jb 0x140251d9c
mov rcx, qword [rdx + rax*8]
xor qword [rsp + rax*8 + 0x30], rcx
inc rax
cmp rax, 0x80
jl 0x140251d83
jmp 0x140251e22
lea rcx, [rsp + 0x30]
sub rcx, rdx
lea r8, [rsp + 0x40]
sub r8, rdx
lea rax, [rdx + 0x20]
mov edx, reloc.WS2_32.dll_recv
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm1, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x60], xmm1
movdqu xmm0, xmmword [r8 + rax - 0x60]
movdqu xmm1, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r8 + rax - 0x60], xmm1
movdqu xmm1, xmmword [rcx + rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x40], xmm1
movdqu xmm0, xmmword [rax + r8 - 0x40]
movdqu xmm1, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + r8 - 0x40], xmm1
sub rdx, 1
jne 0x140251dc0
cmp r9d, r10d
jb 0x140251d50
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x430]
call fcn.1402526e0
mov r9d, dword [rbx + 8]
lea rax, [rsp + 0x430]
mov rdx, qword [rbx + 0x90]
mov r8, rsi
mov rcx, qword [rbx + 0x88]
mov qword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rax
call fcn.140250280
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.140001240
mov edx, 0x400
lea rcx, [rsp + 0x430]
call fcn.140001240
mov edx, dword [rbx + 0x74]
lea r8, str.providersimplementationskdfs_argon2.c
mov rcx, qword [rbx + 0x68]
mov rdi, qword [rsp + 0x860]
shl rdx, 0xa
cmp dword [rbx + 0x64], 0
je 0x140251ebb
mov r9d, 0x310
call fcn.1401c1a40
jmp 0x140251ec6
mov r9d, 0x313
call fcn.140190890
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1402f7a90
mov rbx, qword [rsp + 0x868]
add rsp, 0x840
pop rsi
ret
Function at 0x140255c50
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140255cd8
test r8, r8
je 0x140255cd8
mov rax, qword [rcx + 0x28]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x140255c96
add rcx, 0x34
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x34]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x140255c80
mov rax, qword [r10 + 0x28]
cmp r8, rax
jbe 0x140255cd8
sub r8, rax
cmp r8, 0x10
jbe 0x140255cac
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140255cb1
test r8, r8
je 0x140255cd8
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x28]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x54], al
inc rcx
cmp rcx, r8
jb 0x140255cc0
ret