joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140b6bbd0
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, gethostbyaddr
call fcn.140cbaf80
sub rsp, rax
mov edx, 1
mov rbx, rcx
call fcn.140b6b7a0
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.140b6b680
xor edi, edi
mov r14, rax
test rax, rax
je 0x140b6bc7b
mov r9d, 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 0x140b6bc57
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.140b6b730
mov rcx, rbx
call fcn.140b6b8f0
test rax, rax
jne 0x140b6bd0f
mov edx, 1
mov rcx, rbx
call fcn.140b6b7a0
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.140b6b680
mov rbp, rax
test rax, rax
je 0x140b6bd07
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 0x140b6bce7
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.140b6b730
mov rcx, rbx
call fcn.140b6b8f0
test rax, rax
jne 0x140b6bd0f
mov rcx, rbx
call fcn.140b6b8f0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140b7a5c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x40
call fcn.140cbaf80
sub rsp, rax
mov rsi, qword [rcx + 0x78]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea r13, [rsi + 0x70]
mov qword [rsp + 0x38], r13
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x140b7a646
test r9, r9
je 0x140b7a622
nop dword [rax]
cmp r8d, 0x40
jae 0x140b7a622
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 0x140b7a600
mov dword [r13], r8d
test rbp, rbp
je 0x140b7a779
cmp r8d, 0x40
jne 0x140b7a646
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x140b7a646
inc dword [rsi + 0x24]
mov ecx, dword [rsi + 0x20]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x80], r12
mov r12d, ebp
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x30], r12d
cmp rbp, 0x40
jb 0x140b7a706
mov qword [rsp + 0x78], rdi
lea r13, [rsi + 0x20]
mov r12d, 0x10000000
mov r15d, ecx
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r13
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r15]
xor r15d, r15d
mov ecx, eax
cmp rcx, rdx
cmovae r15d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.14003f900
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x140b7a6ea
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x140b7a690
mov r12d, dword [rsp + 0x30]
lea rax, [rsi + 0x20]
mov rdi, qword [rsp + 0x78]
mov r15d, r12d
mov r13, qword [rsp + 0x38]
test r12d, r12d
je 0x140b7a769
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.14003f900
test r12d, r12d
je 0x140b7a765
sub rsi, rbx
sub r14, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [rbx + r14], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x140b7a750
mov dword [r13], r12d
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x140b80530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x28
call fcn.140cbaf80
sub rsp, rax
mov r14, qword [rsp + 0x90]
mov r10, r9
mov r12, qword [rsp + 0x88]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov ebx, dword [r14]
test ebx, ebx
je 0x140b80591
nop dword [rax]
test rdi, rdi
je 0x140b80591
mov eax, ebx
dec rdi
movzx ecx, byte [rax + r12]
xor cl, byte [rbp]
inc rbp
mov byte [rsi], cl
inc rsi
inc ebx
and ebx, 0xf
jne 0x140b80570
mov r9, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
cmp rdi, 0x10
jb 0x140b8065e
mov qword [rsp + 0x60], r13
xor ebx, ebx
mov r13, rdi
mov qword [rsp + 0x20], r15
shr r13, 4
mov r14, rsi
imul rax, r13, 0xfffffffffffffff0
mov r15, rbp
mov dword [rsp + 0x70], ebx
mov rbx, qword [rsp + 0x78]
add rdi, rax
mov rax, r13
sub r14, r12
shl rax, 4
sub r15, r12
add rsi, rax
add rbp, rax
mov r8, rbx
mov rdx, r12
call r9
mov rcx, qword [rsp + 0x80]
call fcn.140b808c0
mov edx, 2
mov rcx, r12
nop word [rax + rax]
mov rax, qword [r15 + rcx]
xor rax, qword [rcx]
mov qword [r14 + rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x140b80610
mov rcx, qword [rsp + 0x80]
add r14, 0x10
mov r9, qword [rsp + 0x98]
add r15, 0x10
sub r13, 1
jne 0x140b805e7
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x70]
mov r14, qword [rsp + 0x90]
mov r10, qword [rsp + 0x78]
test rdi, rdi
je 0x140b80695
mov r8, r10
mov rdx, r12
call r9
mov rcx, qword [rsp + 0x80]
call fcn.140b808c0
nop dword [rax]
mov ecx, ebx
inc ebx
movzx eax, byte [r12 + rcx]
xor al, byte [rcx + rbp]
mov byte [rsi + rcx], al
sub rdi, 1
jne 0x140b80680
mov dword [r14], ebx
add rsp, 0x28
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140b806b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.140cbaf80
sub rsp, rax
mov rbx, r8
mov r14, rdx
mov r8, qword [rsp + 0xb0]
mov rbp, rcx
mov edi, dword [r8]
mov dword [rsp + 0x30], edi
test edi, edi
je 0x140b80715
mov rdx, qword [rsp + 0xa8]
test rbx, rbx
je 0x140b80711
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x140b806f0
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0xa0]
mov esi, 1
mov ecx, dword [rax + 0xc]
lea r15, [rax + 0xc]
mov r10, qword [rsp + 0xb8]
mov r13d, reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x80], r12
bswap ecx
mov dword [rsp + 0x90], ecx
cmp rbx, 0x10
jb 0x140b80823
mov rdi, qword [rsp + 0xa0]
mov eax, 0x10000000
nop
mov rdx, rbx
mov qword [rsp + 0x20], rdi
shr rdx, 4
cmp rdx, rax
cmova rdx, rax
add ecx, edx
mov r12, rdx
mov eax, ecx
sub r12, rax
cmp rax, rdx
cmovae r12, rdx
xor r8d, r8d
cmp rax, rdx
mov rdx, r14
cmovae r8d, ecx
mov rcx, rbp
mov dword [rsp + 0x90], r8d
mov r8, r12
call r10
mov ecx, dword [rsp + 0x90]
mov eax, ecx
bswap eax
mov dword [r15], eax
test ecx, ecx
jne 0x140b807dc
mov r8d, r13d
mov eax, esi
mov rdx, r15
nop dword [rax]
movzx ecx, byte [rdx - 1]
lea rdx, [rdx - 1]
add eax, ecx
mov byte [rdx], al
shr eax, 8
add r8d, 0xffffffff
jne 0x140b807c0
mov ecx, dword [rsp + 0x90]
mov r10, qword [rsp + 0xb8]
mov eax, 0x10000000
mov r9, qword [rsp + 0x98]
shl r12, 4
sub rbx, r12
add r14, r12
add rbp, r12
cmp rbx, 0x10
jae 0x140b80760
mov edi, dword [rsp + 0x30]
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x90], ecx
test rbx, rbx
je 0x140b808a2
mov r12, qword [rsp + 0xa8]
xorps xmm0, xmm0
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r12
movups xmmword [r12], xmm0
call r10
mov r8d, dword [rsp + 0x90]
add r8d, esi
bswap r8d
mov dword [r15], r8d
jne 0x140b80880
nop dword [rax]
movzx eax, byte [r15 - 1]
lea r15, [r15 - 1]
add esi, eax
mov byte [r15], sil
shr esi, 8
add r13d, 0xffffffff
jne 0x140b80860
nop word [rax + rax]
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + r12]
mov byte [r14 + rcx], al
sub rbx, 1
jne 0x140b80880
mov rax, qword [rsp + 0xb0]
mov dword [rax], edi
jmp 0x140b808a5
mov dword [r8], edi
mov r12, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140b84ab0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyaddr
call fcn.140cbaf80
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x140b84b1f
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, 0x56
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
xor r8d, r8d
mov edx, 0x87
mov ecx, 0x20
call fcn.140aeea60
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.140b2d1c0
test eax, eax
je 0x140b84bd2
mov rsi, rbx
test dil, 4
je 0x140b84be9
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 0x140b84be9
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140aeea60
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, 0x62
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.140aeea60
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 0x140b84c78
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140b84c78
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140aeea60
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, WSAGetLastError
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
xor r8d, r8d
mov edx, 0x8a
jmp 0x140b84bc8
mov rcx, rbp
call fcn.140b2d4b0
mov rcx, rbp
mov ebx, eax
call fcn.140156190
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140b84d0d
mov ecx, eax
call fcn.140b84a10
test eax, eax
jne 0x140b84bd2
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, 0xb2
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.140aeea60
call fcn.140aee7e0
lea r8, str.BIO_connect
mov edx, 0xb4
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140aee900
xor r8d, r8d
mov edx, 0x67
jmp 0x140b84bc8
mov eax, 1
jmp 0x140b84bd4
Function at 0x140b88830
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, 0x20
call fcn.140cbaf80
sub rsp, rax
mov rbx, rcx
test r9, r9
jne 0x140b8887e
call fcn.140aee7e0
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.140aee900
xor r8d, r8d
mov edx, 0xde
mov ecx, reloc.WS2_32.dll_listen
call fcn.140aeea60
xor eax, eax
add rsp, 0x20
pop rbx
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x140b88891
mov dword [rdx], r10d
cmp r9, 1
jne 0x140b888b4
test rbx, rbx
je 0x140b888a9
movzx eax, byte [r8]
test r10d, r10d
je 0x140b888a7
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x20
pop rbx
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x140b888c6
mov eax, 1
jmp 0x140b8897a
xor eax, eax
cmp cl, 0xff
jne 0x140b889c1
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x140b8896f
cmp rcx, 8
jb 0x140b88960
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm1, dword [r8 + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x140b88900
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x140b8896f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
or edx, ecx
cmp rax, r9
jb 0x140b88960
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x140b889c1
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x140b889c1
call fcn.140aee7e0
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.140aee900
xor r8d, r8d
mov edx, 0xdd
mov ecx, reloc.WS2_32.dll_listen
call fcn.140aeea60
xor eax, eax
add rsp, 0x20
pop rbx
ret
sub r9, rax
test rbx, rbx
je 0x140b88a0e
add rax, r8
mov rdx, r9
neg r10d
sbb r11d, r11d
movzx r11d, r11b
mov ecx, r11d
and ecx, 1
test r9, r9
je 0x140b88a0e
mov r10, r9
lea r8, [rax + r9]
sub r10, r9
add r10, rbx
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r11d
add ecx, eax
mov byte [r10 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x140b889f1
mov rax, r9
add rsp, 0x20
pop rbx
ret
Function at 0x140b88a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rdi, r9
mov rbx, rcx
test rcx, rcx
je 0x140b88b21
test r10, r10
je 0x140b88b21
movzx eax, byte [rcx]
test r8d, r8d
jne 0x140b88a69
cmp al, 0x7f
jbe 0x140b88b1a
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x140b88b29
mov r11b, 0xff
cmp al, 0x80
jbe 0x140b88a7f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x140b88b29
jne 0x140b88b1a
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x140b88b0f
cmp rcx, 8
jb 0x140b88b01
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rbx + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rbx + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x140b88ab0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x140b88b0f
movzx ecx, byte [rbx + rax]
inc rax
or edx, ecx
cmp rax, r10
jb 0x140b88b01
neg edx
sbb r11b, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x140b88b29
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x140b88b85
mov rcx, qword [r9]
test rcx, rcx
je 0x140b88b85
mov edx, edx
mov r8d, r11d
add rdx, rcx
mov byte [rcx], r11b
and r8d, 1
test r10, r10
je 0x140b88b82
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop word [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x140b88b60
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140b88d90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.140cbaf80
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
and r8d, 0x100
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.140b88a20
Function at 0x140b900a0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x48
call fcn.140cbaf80
sub rsp, rax
mov ebp, dword [rsp + 0xa0]
mov r12, rcx
mov ecx, ebp
movsxd r14, edx
mov ebx, 1
mov edx, r14d
shl ebx, cl
mov esi, r9d
mov rcx, r12
mov rdi, r8
call fcn.140afde40
test rax, rax
jne 0x140b900f7
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x98], r13
mov r13, r14
cmp ebp, 3
jg 0x140b90175
test r14d, r14d
jle 0x140b902fc
xor r10d, r10d
movsxd r11, ebx
shl r11, 3
nop word [rax + rax]
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x140b9015d
mov r8, rdi
nop dword [rax]
mov ecx, eax
lea r8, [r8 + 8]
xor ecx, esi
inc eax
lea edx, [rcx - 1]
not ecx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
mov rcx, qword [r8 - 8]
neg edx
and edx, 1
neg rdx
and rdx, rcx
or r9, rdx
cmp eax, ebx
jl 0x140b90130
mov rax, qword [r12]
add rdi, r11
mov qword [rax + r10*8], r9
inc r10
cmp r10, r13
jl 0x140b90120
jmp 0x140b902fc
lea ecx, [rbp - 2]
mov edx, esi
sar edx, cl
mov r8d, 1
shl r8d, cl
movsxd rbp, r8d
lea ecx, [rdx - 1]
shr ecx, 0x1f
lea eax, [r8 - 1]
and esi, eax
mov eax, edx
not eax
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 2
and eax, 1
xor edx, 3
neg rax
mov qword [rsp + 0x28], rax
lea eax, [rcx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
neg eax
and eax, 1
neg rax
mov qword [rsp + 0x20], rax
lea eax, [rdx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
and eax, edx
neg eax
and eax, 1
neg rax
mov qword [rsp + 0x90], rax
test r14d, r14d
jle 0x140b902fc
xor r14d, r14d
movsxd rax, ebx
shl rax, 3
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r15
nop word [rax + rax]
xor r11d, r11d
xor r9d, r9d
test rbp, rbp
jle 0x140b902d8
mov r12, qword [rsp + 0x90]
mov rax, rbp
neg rax
mov r8, rbp
shl r8, 4
mov r10, rbp
add r8, rdi
neg r10
add r10, r10
mov rbx, rbp
lea r15, [rax*8]
nop dword [rax + rax]
mov eax, r9d
lea r8, [r8 + 8]
xor eax, esi
inc r9d
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov rax, qword [r8 + rbp*8 - 8]
mov rcx, qword [r8 - 8]
and rax, r12
and rcx, qword [rsp + 0x20]
neg edx
or rcx, rax
and edx, 1
mov rax, qword [r15 + r8 - 8]
neg rdx
and rax, qword [rsp + 0x28]
or rax, rcx
mov rcx, qword [r8 + r10*8 - 8]
and rcx, qword [rsp + 0x30]
or rcx, rax
and rcx, rdx
or r11, rcx
sub rbx, 1
jne 0x140b90270
mov r12, qword [rsp + 0x80]
mov rax, qword [rsp + 0x38]
mov rcx, qword [r12]
add rdi, rax
mov qword [rcx + r14*8], r11
inc r14
cmp r14, r13
jl 0x140b90230
mov r15, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x88]
mov r13, qword [rsp + 0x98]
mov eax, 1
mov dword [r12 + 8], r14d
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140bbffd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.140cbaf80
sub rsp, rax
mov rax, qword [0x140f4c000]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, r8
lea rbp, [r8 + r8]
shl rax, 7
xor edi, edi
mov rsi, r8
mov rbx, rdx
mov r14, rcx
movups xmm0, xmmword [rax + rdx - 0x40]
movups xmm1, xmmword [rax + rdx - 0x30]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax + rdx - 0x20]
movups xmm1, xmmword [rax + rdx - 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
test rbp, rbp
je 0x140bc0110
nop word [rax + rax]
xor eax, eax
lea rcx, [rbx + 0x3c]
lea rdx, [rsp + 0x20]
cmp rdx, rcx
ja 0x140bc0075
lea rcx, [rsp + 0x5c]
cmp rcx, rbx
jb 0x140bc0075
nop word [rax + rax]
mov ecx, dword [rbx]
add rbx, 4
xor dword [rsp + rax*4 + 0x20], ecx
inc rax
cmp rax, 0x10
jb 0x140bc0060
jmp 0x140bc00b8
movdqu xmm0, xmmword [rbx]
xorps xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmm0, xmmword [rbx + 0x10]
xorps xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
movdqu xmm0, xmmword [rbx + 0x20]
xorps xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmm0, xmmword [rbx + 0x30]
add rbx, 0x40
xorps xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x20]
call fcn.140bbfb50
movups xmm0, xmmword [rsp + 0x20]
mov rcx, rdi
movups xmm1, xmmword [rsp + 0x30]
and ecx, 1
imul rcx, rsi
mov rax, rdi
inc rdi
shr rax, 1
add rcx, rax
shl rcx, 6
movups xmmword [rcx + r14], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + r14 + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rcx + r14 + 0x20], xmm0
movups xmmword [rcx + r14 + 0x30], xmm1
cmp rdi, rbp
jb 0x140bc0040
mov edx, 0x40
lea rcx, [rsp + 0x20]
call fcn.140001240
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140cbacb0
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140bc11b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r15
mov eax, 0x50
call fcn.140cbaf80
sub rsp, rax
mov r12, rdx
test rdx, rdx
mov rdx, r8
mov r15, r9
mov rbp, r8
je 0x140bc1403
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x48], r13
mov r13, qword [rsp + 0x98]
mov qword [rsp + 0x40], r14
lea r14, [r9 + 1]
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rbx
shr r14, 1
mov r8, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x20], r13
call fcn.140bc0fa0
test eax, eax
je 0x140bc1298
mov r8d, 0x1c8
lea rdx, str.providersimplementationskdfs_tls1_prf.c
mov rcx, rbx
call fcn.140ae4670
mov rdi, rax
test rax, rax
je 0x140bc1298
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.140bc0fa0
test eax, eax
jne 0x140bc12c0
mov r9d, 0x1cd
lea r8, str.providersimplementationskdfs_tls1_prf.c
mov rdx, rbx
mov rcx, rdi
call fcn.140ae47f0
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r12
pop rbp
ret
xor ecx, ecx
test rbx, rbx
je 0x140bc13e1
cmp rbx, 8
jb 0x140bc13b4
lea rdx, [rsi - 1]
lea rax, [rbx - 1]
add rdx, rbx
add rax, rdi
cmp rsi, rax
ja 0x140bc12f1
cmp rdx, rdi
jae 0x140bc13b4
cmp rbx, 0x40
jb 0x140bc1373
mov rdx, rbx
mov r8, rbx
and edx, 0x3f
sub r8, rdx
mov r9, rdi
lea rax, [rsi + 0x10]
sub r9, rsi
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r9 + rax - 0x10]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [r9 + rax - 0x40]
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm2, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r8
jb 0x140bc1310
cmp rdx, 8
jb 0x140bc13af
mov rdx, rbx
and rdx, 0xfffffffffffffff8
mov r8, rdi
lea rax, [rcx + rsi]
sub r8, rsi
nop dword [rax]
nop dword [rax + rax]
movq xmm0, qword [rax]
add rcx, 8
movq xmm1, qword [r8 + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp rcx, rdx
jb 0x140bc1390
cmp rcx, rbx
jae 0x140bc13e1
mov r8, rdi
lea rax, [rcx + rsi]
sub r8, rsi
mov rdx, rbx
sub rdx, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140bc13d0
mov r9d, 0x1d2
lea r8, str.providersimplementationskdfs_tls1_prf.c
mov rdx, rbx
mov rcx, rdi
call fcn.140ae47f0
mov eax, 1
jmp 0x140bc129a
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.140bc0fa0
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x50
pop r15
pop r12
pop rbp
ret