joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004fae0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x140139170]
mov ecx, dword [0x140138c48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004fb42
lea rsi, [0x140139168]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, rsi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140139170]
call fcn.1400d8c90
cmp dword [0x140139170], 0xffffffff
jne 0x14004fb1d
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400dc190
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400d8b20
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401391a8]
mov ecx, dword [0x140138c48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004fc02
lea r8, [0x140139178]
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r9d, edi
call fcn.14004fd80
mov qword [0x140139168], rsi
lea rcx, [0x140139170]
call fcn.1400d8d28
jmp 0x14004fb1d
lea rcx, [0x1401391a8]
call fcn.1400d8c90
cmp dword [0x1401391a8], 0xffffffff
jne 0x14004fbd3
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140139198], xmm2
movups xmmword [0x140139188], xmm1
movups xmmword [0x140139178], xmm0
lea rcx, [0x1401391a8]
call fcn.1400d8d28
jmp 0x14004fbd3

Function at 0x14004fc90
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1401391a8]
mov ecx, dword [0x140138c48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004fcec
movzx eax, word [0x140139178]
cmp ax, 9
jne 0x14004fd4e
mov esi, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1401391a8]
call fcn.1400d8c90
cmp dword [0x1401391a8], 0xffffffff
jne 0x14004fcc5
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmm2, xmmword [rsi + 0x20]
movups xmmword [0x140139198], xmm2
movups xmmword [0x140139188], xmm1
movups xmmword [0x140139178], xmm0
lea rcx, [0x1401391a8]
call fcn.1400d8d28
jmp 0x14004fcc5
xor esi, esi
test ax, ax
je 0x14004fcd7
cmp ax, 6
jne 0x14004fd65
mov esi, 2
jmp 0x14004fcd7
cmp ax, 0xc
jne 0x14004fd75
mov esi, 3
jmp 0x14004fcd7
mov esi, 4
jmp 0x14004fcd7
Function at 0x140052160
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x140052194
mov rax, qword [r12 + 8]
test rax, rax
je 0x1400521c3
bt ebx, 8
jae 0x1400521a8
mov eax, ebx
and eax, 0x200
jne 0x1400521c3
cmp edi, 2
lea rax, [0x140139420]
lea rcx, [0x140139620]
cmove rcx, rax
cmp word [rcx], 0
je 0x1400521e2
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400d8ee0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x1400521c3
cmp byte [0x140139410], 0
setne al
bt ebx, 8
jb 0x1400521c3
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400521c3
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx ebp, byte [r12 + 0x17]
test bpl, bpl
js 0x140052243
mov rdi, r12
jmp 0x14005224c
mov rdi, qword [r12]
mov rbp, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rbx, qword [rsi + 8]
mov r13, rbp
sub r13, rbx
jb 0x140052289
mov rdx, qword [rsi]
mov rcx, rdi
mov r8, rbx
call fcn.1400ed290
test eax, eax
je 0x140052297
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x14005226b
jmp 0x140052309
movzx edx, word [rdi + rbx*2]
cmp dx, 0x5c
je 0x1400522a6
test dx, dx
jne 0x140052289
lea rax, [rdi + rbx*2]
mov ebp, dword [rsi + 0x10]
lea rcx, str.WOW6432Node_
cmp ebp, 1
je 0x1400522d4
cmp ebp, 2
jne 0x1400522ca
mov rdi, rax
lea rcx, str.WOW6432Node
jmp 0x1400522d4
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp dx, 0x5c
mov dword [rsp + 0x2c], ebp
jne 0x1400522ec
dec r13
cmp word [rax + 2], 0x5c
lea rax, [rax + 2]
je 0x1400522de
mov r14, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
mov rbp, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov rdi, rax
jmp 0x140052290
cmp dword [rsp + 0x2c], 0
je 0x1400521c3
cmp byte [r12 + 0x17], 0
js 0x140052321
mov rax, r12
jmp 0x140052325
mov rax, qword [r12]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.14002fd20
jmp 0x1400521c3
Function at 0x140055f10
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea rdi, [rsp + 0x38]
mov dword [rdi], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140055f97
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140055f81
cmp dword [rsp + 0x38], 4
jne 0x140055f81
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140055f81

Function at 0x140055fa0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rsi
push rdi
mov eax, 0x1048
call fcn.1400d8e70
sub rsp, rax
mov rsi, r8
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140056034
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140056038
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.14002fb50
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0x1048
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140056018
cmp eax, 2
jne 0x14005606a
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
dec eax
cmp eax, 0x3ff
ja 0x140056071
lea rdx, [rsp + 0x40]
jmp 0x14005600e
mov edi, 0x3f4
jmp 0x140056018
mov edi, 0xea
jmp 0x140056018
Function at 0x1400580b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14013671c]
cmp ecx, 0xffffffff
je 0x1400580d5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x1400580d0

Function at 0x1400580e0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rdx
mov rsi, rcx
mov ecx, dword [0x14013671c]
cmp ecx, 0xffffffff
je 0x1400581b4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400581b4
mov eax, dword [0x14013b8c8]
mov ecx, dword [0x140138c48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400581be
mov rbx, qword [0x14013b8c0]
mov rcx, rbx
call fcn.140040e30
mov rcx, qword [0x14013a0b0]
inc rcx
mov r8d, 0x100
lea rax, [0x14013a0c0]
movzx edi, cl
lea rdx, [rdi + rdi*2]
cmp dword [rax + rdx*8], 0
jne 0x140058204
lea rcx, [rax + rdx*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x14013a0b0], rdi
mov dword [rsi], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rsi]
cmp eax, 0xffffffff
je 0x14005822b
cmp eax, 0x100
jge 0x14005822e
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140058240
jmp 0x14005810c
lea rcx, [0x14013b8c8]
call fcn.1400d8c90
cmp dword [0x14013b8c8], 0xffffffff
jne 0x140058131
mov ecx, 8
call fcn.1400d8b20
mov rbx, rax
mov rcx, rax
call fcn.140040e20
mov qword [0x14013b8c0], rbx
lea rcx, [0x14013b8c8]
call fcn.1400d8d28
jmp 0x140058131
lea edx, [rcx + 1]
movzx edi, dl
lea rdx, [rdi + rdi*2]
cmp dword [rax + rdx*8], 0
je 0x140058168
add rcx, 2
add r8, 0xfffffffffffffffe
jne 0x140058157
jmp 0x14005818b
int3
int3
Function at 0x140058240
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400d8e70
sub rsp, rax
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, dword [0x14013671c]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400582ec
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14005832e
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400dc190
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400d8bac
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400dbd80
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400a0b50
test al, al
je 0x140058331
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x140058334
mov eax, 0xffffffff
lock cmpxchg dword [0x14013671c], ecx
mov ecx, dword [rsp + 0x2c]
je 0x140058270
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14013671c]
mov dword [rsp + 0x2c], ecx
jmp 0x140058270
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400a0b50
test al, al
je 0x140058359
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140058359
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x140058303
int3

Function at 0x140058430
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14013671c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140058464
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140058464
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14005845e

Function at 0x140058470
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14013671c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400584ae
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400584a7
call fcn.140058240
jmp 0x14005848e

Function at 0x140061c50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x140061c8c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140061c96
add rdi, rbx
sub rsi, rbx
jne 0x140061c6a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140066a10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
test r10, r10
je 0x140066aa4
movabs r11, 0x8000000000000000
xor eax, eax
xor esi, esi
mov r14, qword [r8 + rsi*8]
mov r15, qword [rcx + rsi*8]
mov r12, r15
xor r12, r14
mov r13d, eax
lea rax, [r12 - 1]
mov rdi, r15
sub rdi, r14
xor rdi, r15
or rdi, r12
xor r12, r11
and rax, r12
sar rax, 0x3f
xor rdi, r15
sar rdi, 0x3f
mov rbx, rdi
not rdi
and edi, 1
or rdi, rbx
mov rbx, rax
and r13d, ebx
not rax
and rax, rdi
or rax, r13
inc rsi
cmp r10, rsi
jne 0x140066a38
mov rsi, rdx
sub rsi, r9
jb 0x140066aa8
ja 0x140066b09
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140066a8e
mov rcx, qword [r8 + rdx*8]
lea rbx, [rdx + 1]
cmp rbx, r9
je 0x140066aeb
or rcx, qword [r8 + rdx*8 + 8]
lea rbx, [rdx + 2]
cmp rbx, r9
je 0x140066aeb
or rcx, qword [r8 + rdx*8 + 0x10]
lea rbx, [rdx + 3]
cmp rbx, r9
je 0x140066aeb
or rcx, qword [r8 + rdx*8 + 0x18]
add rdx, 4
cmp rdx, r9
je 0x140066aeb
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140066adf
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
mov rdx, rcx
and edx, eax
not rcx
or ecx, edx
mov eax, ecx
jmp 0x140066a98
mov rbx, r9
not rbx
add rbx, rdx
mov r8d, esi
and r8d, 7
cmp rbx, 7
jae 0x140066b23
xor edx, edx
jmp 0x140066b5d
and rsi, 0xfffffffffffffff8
neg rsi
xor edx, edx
or rdx, qword [rcx + r9*8]
or rdx, qword [rcx + r9*8 + 8]
or rdx, qword [rcx + r9*8 + 0x10]
or rdx, qword [rcx + r9*8 + 0x18]
or rdx, qword [rcx + r9*8 + 0x20]
or rdx, qword [rcx + r9*8 + 0x28]
or rdx, qword [rcx + r9*8 + 0x30]
or rdx, qword [rcx + r9*8 + 0x38]
add r9, 8
add rsi, 8
jne 0x140066b2c
test r8, r8
je 0x140066b74
lea rcx, [rcx + r9*8]
xor ebx, ebx
or rdx, qword [rcx + rbx*8]
inc rbx
cmp r8, rbx
jne 0x140066b68
mov rcx, rdx
not rcx
dec rdx
and rdx, rcx
sar rdx, 0x3f
mov rcx, rdx
and ecx, eax
not rdx
and edx, 1
or edx, ecx
mov eax, edx
jmp 0x140066a98
Function at 0x14006f370
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x14006f4f8
mov r14, rcx
cmp rdx, 1
mov ecx, 1
cmova rcx, rdx
mov rbx, qword [rdi]
mov rax, qword [rbx]
cmp edx, 2
jb 0x14006f3d0
or rax, qword [rbx + 8]
cmp rcx, 2
je 0x14006f3d0
or rax, qword [rbx + 0x10]
cmp rcx, 3
je 0x14006f3d0
or rax, qword [rbx + 0x18]
cmp rcx, 4
je 0x14006f3d0
or rax, qword [rbx + 0x20]
cmp rcx, 5
jne 0x14006f51d
test rax, rax
je 0x14006f4f8
test edx, edx
jle 0x14006f534
mov rax, qword [rdi]
test byte [rax], 1
je 0x14006f534
cmp dword [rdi + 0x10], 0
jne 0x14006f554
lea rbx, [r14 + 0x18]
cmp rbx, rdi
je 0x14006f574
mov rcx, rbx
call fcn.140064cf0
test eax, eax
je 0x14006f57d
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x14006f5a0
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1400dbd80
mov eax, dword [rdi + 8]
mov dword [r14 + 0x20], eax
mov ecx, dword [rdi + 0x10]
mov dword [r14 + 0x28], ecx
cdqe
test rax, rax
jle 0x14006f5a7
mov rdx, qword [rbx]
lea rcx, [rax - 1]
cmp qword [rdx + rax*8 - 8], 0
mov rax, rcx
je 0x14006f440
inc ecx
mov dword [r14 + 0x20], ecx
mov rax, qword [rbx]
mov r10, qword [rax]
mov eax, 1
mov r11d, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
movabs r9, 0x4000000000000000
mov ebx, eax
and ebx, 1
neg rbx
mov rsi, r10
and rsi, rbx
mov rdi, rsi
xor rdi, rax
shr rdi, 1
and rsi, rax
add rsi, rdi
mov edi, esi
and edi, 1
neg rdi
mov rax, r10
and rax, rdi
mov rdx, rax
xor rdx, rsi
shr rdx, 1
and rax, rsi
add rax, rdx
and rdi, r8
shr rcx, 2
shr rbx, 1
and rbx, r9
or rcx, rbx
or rcx, rdi
add r11, 0xfffffffffffffffe
jne 0x14006f488
mov qword [r14 + 0x30], rcx
mov qword [r14 + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov dword [rsp + 0x20], 0xa5
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.1400a8ab0
jmp 0x14006f4ec
mov esi, 5
or rax, qword [rbx + rsi*8]
inc rsi
cmp rcx, rsi
je 0x14006f3d0
jmp 0x14006f522
mov dword [rsp + 0x20], 0xa9
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x14006f516
mov dword [rsp + 0x20], 0xad
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x14006f516
mov eax, dword [r14 + 0x20]
jmp 0x14006f43e
mov dword [rsp + 0x20], 0xb3
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x14006f516
xor eax, eax
jmp 0x14006f433
mov dword [r14 + 0x20], eax
test eax, eax
jne 0x14006f461
mov dword [r14 + 0x28], 0
jmp 0x14006f461
Function at 0x140070c70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x140070de4
movabs r9, 0x8000000000000000
mov r10, qword [rcx]
shl r8, 6
xor r15d, r15d
xor eax, eax
xor r14d, r14d
mov rcx, qword [r10]
lea rbx, [rcx - 1]
mov rsi, rcx
shl rsi, 0x20
mov rbp, rsi
xor rbp, r9
dec rsi
and rsi, rbp
sar rsi, 0x3f
mov ebp, esi
mov rdi, rcx
mov rdx, rsi
not rsi
and rsi, rcx
xor rcx, r9
and rbx, rcx
sar rbx, 0x3f
not rbx
mov ecx, r14d
not ecx
and ebp, 0x20
or r14, rbx
mov r11d, ebx
shr rdi, 0x20
and edi, edx
or rsi, rdi
mov rbx, rsi
and r11d, ecx
shl rbx, 0x30
mov rcx, rbx
xor rcx, r9
dec rbx
and rbx, rcx
sar rbx, 0x3f
mov ecx, ebx
and ecx, 0x10
mov rdx, rbx
or ecx, ebp
not rbx
and rbx, rsi
shr rsi, 0x10
and rdx, rsi
or rbx, rdx
mov rdi, rbx
shl rdi, 0x38
mov rdx, rdi
xor rdx, r9
dec rdi
and rdi, rdx
sar rdi, 0x3f
mov ebp, edi
and ebp, 8
or ebp, ecx
mov rcx, rdi
not rdi
and rdi, rbx
shr rbx, 8
and rcx, rbx
or rdi, rcx
mov rsi, rdi
shl rsi, 0x3c
mov rcx, rsi
xor rcx, r9
dec rsi
and rsi, rcx
sar rsi, 0x3f
mov ecx, esi
and ecx, 4
mov rdx, rsi
or ecx, ebp
not rsi
and rsi, rdi
shr rdi, 4
and rdx, rdi
or rsi, rdx
mov rdi, rsi
shl rdi, 0x3e
mov rdx, rdi
xor rdx, r9
dec rdi
and rdi, rdx
sar rdi, 0x3f
mov ebx, edi
and ebx, 2
or ebx, ecx
mov rcx, rdi
not rdi
and edi, esi
mov edx, esi
shr edx, 2
and edx, ecx
or edi, edx
shl rdi, 0x3f
mov rcx, rdi
xor rcx, r9
dec rdi
and rdi, rcx
shr rdi, 0x3f
or edi, ebx
add edi, r15d
and edi, r11d
or eax, edi
add r15, 0x40
add r10, 8
cmp r8, r15
jne 0x140070c9e
jmp 0x140070de6
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140074680
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x108
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [0x140111190]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi], xmm0
movaps xmm0, xmmword [0x1401111a0]
movaps xmmword [rdi + 0x10], xmm0
movaps xmm0, xmmword [0x1401111b0]
movaps xmmword [rdi + 0x20], xmm0
movaps xmm0, xmmword [0x1401111c0]
movaps xmmword [rdi + 0x30], xmm0
movabs rax, 0x4000000000
mov qword [rdi + 0xd0], rax
xorps xmm0, xmm0
movaps xmmword [rdi + 0x40], xmm0
mov rcx, rdi
call fcn.1400870f0
mov rcx, rsi
mov rdx, rdi
call fcn.140087200
mov edx, 0xd8
mov rcx, rdi
call fcn.140090500
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, rsi
add rsp, 0x108
pop rdi
pop rsi
ret
Function at 0x140080520
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp r8, 0x30
ja 0x14008069d
mov rsi, r8
mov rbx, rdx
mov r13, rcx
lea r15, [rcx + 0x108]
lea r14, [rcx + 0xf8]
mov ecx, dword [rcx + 0x114]
call fcn.1400e4d48
lea ecx, [rax + 1]
call fcn.1400e4d48
mov dword [r13 + 0x114], eax
lea rdx, [rsp + 0x30]
mov rcx, r15
mov r8, r13
call qword [r13 + 0xf8]
mov ecx, dword [r13 + 0x114]
call fcn.1400e4d48
lea ecx, [rax + 1]
call fcn.1400e4d48
mov dword [r13 + 0x114], eax
lea rdx, [rsp + 0x40]
mov rcx, r15
mov r8, r13
call qword [r13 + 0xf8]
mov ecx, dword [r13 + 0x114]
call fcn.1400e4d48
lea ecx, [rax + 1]
call fcn.1400e4d48
mov dword [r13 + 0x114], eax
lea r12, [rsp + 0x50]
mov rcx, r15
mov rdx, r12
mov r8, r13
call qword [r13 + 0xf8]
test rsi, rsi
je 0x14008064e
lea rcx, [rsi - 1]
mov edi, esi
and edi, 3
cmp rcx, 3
jae 0x140080600
xor ecx, ecx
jmp 0x14008062e
and rsi, 0xfffffffffffffffc
xor ecx, ecx
mov al, byte [rbx + rcx]
xor byte [rsp + rcx + 0x30], al
mov al, byte [rbx + rcx + 1]
xor byte [rsp + rcx + 0x31], al
mov al, byte [rbx + rcx + 2]
xor byte [rsp + rcx + 0x32], al
mov al, byte [rbx + rcx + 3]
xor byte [rsp + rcx + 0x33], al
add rcx, 4
cmp rsi, rcx
jne 0x140080606
test rdi, rdi
je 0x14008064e
lea rdx, [rsp + rcx]
add rdx, 0x30
add rbx, rcx
xor ecx, ecx
mov al, byte [rbx + rcx]
xor byte [rdx + rcx], al
inc rcx
cmp rdi, rcx
jne 0x140080640
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, r13
xor edx, edx
mov r8, r14
call fcn.140073d40
mov qword [r13 + 0x100], rax
movups xmm0, xmmword [r12]
movups xmmword [r15], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x14008067e
Function at 0x1400905c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
test r8, r8
je 0x14009065a
lea rax, [r8 - 1]
mov r9d, r8d
and r9d, 3
cmp rax, 3
jae 0x1400905e3
xor r10d, r10d
xor eax, eax
jmp 0x140090632
and r8, 0xfffffffffffffffc
xor r10d, r10d
xor eax, eax
mov r11b, byte [rdx + r10]
mov bl, byte [rdx + r10 + 1]
xor r11b, byte [rcx + r10]
movzx r11d, r11b
or r11d, eax
xor bl, byte [rcx + r10 + 1]
movzx eax, bl
mov bl, byte [rdx + r10 + 2]
xor bl, byte [rcx + r10 + 2]
movzx esi, bl
or esi, eax
or esi, r11d
mov al, byte [rdx + r10 + 3]
xor al, byte [rcx + r10 + 3]
movzx eax, al
or eax, esi
add r10, 4
cmp r8, r10
jne 0x1400905ec
test r9, r9
je 0x140090657
add rdx, r10
add rcx, r10
xor r8d, r8d
mov r10b, byte [rdx + r8]
xor r10b, byte [rcx + r8]
movzx r10d, r10b
or eax, r10d
inc r8
cmp r9, r8
jne 0x140090640
pop rbx
pop rsi
ret
xor eax, eax
jmp 0x140090657

Function at 0x1400976e0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rdx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov r8d, 6
call fcn.140097210
xor edi, edi
test eax, eax
je 0x140097893
lea rcx, [rsp + 0x28]
call fcn.140074cc0
movzx esi, byte [0x140119715]
cmp rax, rsi
jne 0x140097764
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.14003af00
lea r15, [0x140119708]
test sil, sil
je 0x140097888
lea rdx, [0x14011970c]
mov rcx, rax
mov r8, rbx
call fcn.1400dbc80
test eax, eax
je 0x140097888
lea rcx, [rsp + 0x28]
call fcn.140074cc0
movzx esi, byte [0x1401197dd]
cmp rax, rsi
jne 0x1400977b1
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.14003af00
lea r15, [0x1401197d0]
test sil, sil
je 0x140097888
lea rdx, [0x1401197d4]
mov rcx, rax
mov r8, rbx
call fcn.1400dbc80
test eax, eax
je 0x140097888
lea rcx, [rsp + 0x28]
call fcn.140074cc0
movzx esi, byte [0x1401198a5]
cmp rax, rsi
jne 0x1400977fe
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.14003af00
lea r15, [0x140119898]
test sil, sil
je 0x140097888
lea rdx, [0x14011989c]
mov rcx, rax
mov r8, rbx
call fcn.1400dbc80
test eax, eax
je 0x140097888
lea rcx, [rsp + 0x28]
call fcn.140074cc0
movzx esi, byte [0x14011996d]
cmp rax, rsi
jne 0x140097843
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.14003af00
lea r15, [0x140119960]
test sil, sil
je 0x140097888
lea rdx, [0x140119964]
mov rcx, rax
mov r8, rbx
call fcn.1400dbc80
test eax, eax
je 0x140097888
lea rcx, [rsp + 0x28]
call fcn.140074cc0
movzx esi, byte [0x140119a3d]
cmp rax, rsi
jne 0x140097893
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.14003af00
lea r15, [0x140119a30]
test sil, sil
je 0x140097888
lea rdx, [0x140119a34]
mov rcx, rax
mov r8, rbx
call fcn.1400dbc80
test eax, eax
jne 0x140097893
mov eax, dword [r15]
mov dword [r14], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret