joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400079f8
Capabilities:
Enumerate files on windows

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
sub rsp, 0x20
mov r12, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.1400011a8
lea ecx, [rbx + 0x70]
mov rsi, rax
mov dword [rax + 0xc], ebx
call fcn.1400011a8
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.1400011a8
lea rdx, [0x140038c60]
mov rcx, r12
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140007a6f
mov rcx, r14
call fcn.1400011d4
mov rcx, rsi
call fcn.140007730
xor eax, eax
jmp 0x140007bad
lea r13, [0x140038c8c]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov rbp, qword [r14 + 8]
test rbp, rbp
je 0x140007a8d
and qword [r14 + 8], 0
jmp 0x140007aa5
mov rcx, qword [r14]
lea rdx, [0x140038c60]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r13
test rbp, rbp
je 0x140007b90
mov rcx, rbp
call fcn.14000eb90
cmp eax, 4
jl 0x140007a7d
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140007a7d
lea rbx, [rcx + rbp]
lea rcx, [rbx - 3]
lea rdx, [0x140029e50]
call fcn.140014b90
test eax, eax
je 0x140007af1
lea rdx, [0x140029e54]
lea rcx, [rbx - 3]
call fcn.140014b90
test eax, eax
jne 0x140007a7d
mov edx, 0x3b
mov rcx, rbp
call fcn.14000bb18
test rax, rax
jne 0x140007a7d
mov rcx, r12
call fcn.14000eb90
mov rcx, rbp
mov rdi, rax
call fcn.14000eb90
mov rbx, rax
lea ecx, [rax + rdi]
movsxd rcx, ecx
call fcn.1400011a8
lea ecx, [rdi - 1]
mov rdx, r12
movsxd r8, ecx
mov r15, rax
mov rcx, rax
call fcn.14000b450
lea ecx, [rbx + 1]
mov rdx, rbp
movsxd r8, ecx
movsxd rcx, edi
dec rcx
add rcx, r15
call fcn.14000b450
mov edx, dword [rsi + 8]
mov ecx, dword [rsi + 0xc]
lea eax, [rdx + 1]
cmp ecx, eax
jge 0x140007b7e
add ecx, ecx
cmp ecx, eax
jl 0x140007b60
movsxd rdx, ecx
mov dword [rsi + 0xc], ecx
mov rcx, qword [rsi]
shl rdx, 3
call fcn.1400011dc
mov edx, dword [rsi + 8]
mov qword [rsi], rax
mov rax, qword [rsi]
movsxd rcx, edx
mov qword [rax + rcx*8], r15
inc dword [rsi + 8]
jmp 0x140007a7d
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r14 + 8]
call fcn.1400011d4
mov rcx, r14
call fcn.1400011d4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000efd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000ee63
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ee63
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ee63
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ee63
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ee63
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ee63
cmp dword [rcx + 0xf8], 0
je 0x14000ee63
mov ecx, ebx
call fcn.14000ef04
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000ecf4
cmp dword [rbp + 0x20], 0
je 0x14000eeb0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000eeb8
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000edfc
Function at 0x14001e9a4
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14001e981
call fcn.140015bd4
mov dword [rax], 0x16
call fcn.14001a870
or eax, 0xffffffff
jmp 0x14001e99e
sub dword [rcx + 0x10], 1
jns 0x14001e990
add rsp, 0x28
jmp 0x140024b18
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14001e960
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140024b4a
call fcn.140015bd4
mov dword [rax], 0x16
call fcn.14001a870
jmp 0x140024c67
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140024c67
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140024c67
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140024b79
lock or dword [rcx + 0x14], 0x10
jmp 0x140024c67
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140024b8d
call fcn.140024c8c
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.14001cffc
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.1400197e4
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140024c55
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x140024c20
mov rcx, rdi
call fcn.14001cffc
cmp eax, esi
je 0x140024c0b
mov rcx, rdi
call fcn.14001cffc
cmp eax, 0xfffffffe
je 0x140024c0b
mov rcx, rdi
call fcn.14001cffc
movsxd rbx, eax
lea r14, [0x1400398c0]
mov rcx, rdi
sar rbx, 6
call fcn.14001cffc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140024c12
lea rdx, [0x1400382d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140024c20
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140024c44
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140024c44
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140024c44
mov dword [rdi + 0x20], 0x1000
add dword [rdi + 0x10], esi
mov rax, qword [rdi]
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140024c6a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140035630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400356c0
cmp r11, r10
ja 0x140035736
cmp r10, rdx
ja 0x14003574a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400356c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400356a0
jmp 0x140035724
ja 0x1400356ca
mov r11, r10
cmp rax, r8
jne 0x140035664
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140035700
mov rdi, r8
sub ecx, edx
jns 0x14003571b
jmp 0x140035726
cmp r8, rsi
je 0x14003575b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140035726
xor al, 1
cmp rdi, rsi
jne 0x1400356e0
jmp 0x140035726
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140164780
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401644b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_andrea.cargo_registry_srcindex.crates.io_6f17d22bba15001funtrusted_0.7.1_src_untrusted.rs3
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140164530
ud2

Function at 0x14003c040
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r12, qword [rdx]
mov r14, qword [rdx + 0x10]
test r14, r14
je 0x14003c10d
lea rcx, [r14 + r14*2]
shl rcx, 4
add rcx, r12
lea r15, [rdi + 7]
and r15, 0xfffffffffffffff8
mov rax, r12
mov eax, esp
Function at 0x14003c6e0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x5a8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x510], xmm9
movdqa xmmword [rbp + 0x500], xmm8
movdqa xmmword [rbp + 0x4f0], xmm7
movaps xmmword [rbp + 0x4e0], xmm6
mov qword [rbp + 0x4d8], 0xfffffffffffffffe
mov rbx, rcx
cmp byte [rdx + 0x54], 0
je 0x14003c73f
mov r14d, 0x36
lea r12, [0x140179727]
jmp 0x14003c77d
cmp qword [rdx], 0
je 0x14003c754
mov r14d, 0x33
lea r12, [0x1401796f4]
jmp 0x14003c77d
cmp byte [rdx + 0x56], 0
je 0x14003c769
mov r14d, 0x3d
lea r12, [0x1401796b7]
jmp 0x14003c77d
cmp qword [rdx + 0x20], 0
je 0x14003c7c4
mov r14d, 0x47
lea r12, str.Unused_anonymous_fwd___label._Did_you_forget_to_call_anonymous_label___Unused_anonymous_label._Did_you_forget_to_add_an_instruction_Unused_label._Did_you_forget_to_add_an_instruction_Unused_prefixes._Did_you_forget_to_add_an_instruction_
xor edi, edi
mov r15d, dword [rdx + 0x50]
mov r14d, 0xf
lea r12, str.Invalid_bitness
xor edi, edi
lea r13d, [r15 - 0x10]
cmp r13d, 0x30
ja 0x14003c77f
movabs rax, 0x1000000010001
bt rax, r13
jae 0x14003c77f
mov rax, qword [rdx + 0x38]
mov qword [rbp + 0x440], rax
mov rdi, qword [rdx + 0x48]
movzx eax, byte [0x1402448a8]
mov rcx, qword [0x1402443c8]
test rcx, rcx
jne 0x14003c82c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14003fa60
mov rcx, rax
mov qword [0x1402443c8], rax
mov r8d, 0x120
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14003fa60
mov rsi, rax
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], 1
mov qword [rbp + 0x470], 0
test rdi, rdi
mov qword [rbp + 0x448], rbx
je 0x14003c8d2
mov rax, rdi
mov qword [rbp + 0x1c0], 8
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x1c8], xmm0
mov ecx, 8
mov edx, 0x120
call fcn.140162bd0
ud2
Function at 0x1400634d0
Capabilities:
Encrypt data using speck

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x298
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x200], xmm15
movdqa xmmword [rbp + 0x1f0], xmm14
movdqa xmmword [rbp + 0x1e0], xmm13
movdqa xmmword [rbp + 0x1d0], xmm12
movdqa xmmword [rbp + 0x1c0], xmm11
movdqa xmmword [rbp + 0x1b0], xmm10
movdqa xmmword [rbp + 0x1a0], xmm9
movdqa xmmword [rbp + 0x190], xmm8
movdqa xmmword [rbp + 0x180], xmm7
movaps xmmword [rbp + 0x170], xmm6
mov qword [rbp + 0x168], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov qword [rbp + 0x148], rdx
mov r14, rcx
mov rbx, qword [rbp + 0x280]
test r9, r9
je 0x1400636a3
lea rax, [rdi + rsi]
xor edx, edx
movdqa xmm0, xmmword [str.xn__]
mov rcx, rdi
jmp 0x14006358f
Function at 0x140080bb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14002e040
cmp rax, rcx
je 0x140080bd5
cmp rdx, 4
jae 0x140080bd8
xor eax, eax
xor r8d, r8d
jmp 0x140080c70
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14016e210]
movdqa xmm3, xmmword [0x14016e220]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140080c00
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140080c87
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140080c70
ret
Function at 0x140081b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x140081bbb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140081bbb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140081bd6
cmp eax, 0x42
jne 0x140081bbb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140081c86
cmp byte [r9 + r11], 0x5f
jne 0x140081c86
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140081cee
mov rcx, rsi
xor edx, edx
call fcn.14007d300
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14007d300
test al, al
jne 0x140081d81
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140081c12
lea rdx, [0x1401a4473]
mov r8d, 1
call fcn.14002e6c0
test al, al
jne 0x140081d81
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140081bca
xor r14d, r14d
lea rbx, [0x1401a4826]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140081c44
cmp byte [rax + rcx], 0x45
je 0x140081daa
sub r14, 1
jb 0x140081c69
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140081c69
mov r8d, 2
mov rdx, rbx
call fcn.14002e6c0
test al, al
jne 0x140081d81
mov rcx, rsi
call fcn.14007eba0
test al, al
jne 0x140081d81
mov rax, qword [rsi]
test rax, rax
jne 0x140081c30
jmp 0x140081bca
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140081d48
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140081ce2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140081ccc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140081cbb
add dl, 0xa9
jmp 0x140081cca
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140081d48
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140081d48
movzx edx, bl
add rax, rdx
jae 0x140081c90
jmp 0x140081d48
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140081d48
cmp rax, rcx
jae 0x140081d45
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140081d89
cmp qword [rsi + 0x20], 0
je 0x140081da3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140081b60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140081bcc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140081d98
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1401a47e8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.14002e6c0
test al, al
je 0x140081d98
mov dil, 2
jmp 0x140081bca
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140081d53
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140081bca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140081bca
Function at 0x14008eca0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14008ece2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14008ecea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14008ecfb
jmp 0x14008ed12
xor r10d, r10d
jmp 0x14008ed9d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14008ed12
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14008ed29
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14008ed49
add r11, r8
jmp 0x14008ee7a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
and byte [rax - 0x75], cl
js 0x14008ed71
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14008ee12
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
sbb byte [rax - 0x75], cl
jo 0x14008edcf
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
xor esi, ecx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
iretd
add rcx, rdi
rol rdi, 0x15
add r9, rsi
add ecx, esi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
invalid
add r10, 8
cmp r10, r8
jb 0x14008edc0
invalid
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14008ee30
mov r9d, dword [rdx + r10]
mov r8d, 4
mov eax, 4
mov rcx, r8
or rcx, 1
or ecx, 1
cmp rcx, r11
jb 0x14008ee42
jmp 0x14008ee5c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14008ee5c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14008ee76
add r10, r8
movzx edx, byte [rdx + r10]
movzx edx, byte [rdx + rdx]

Function at 0x1400bf270
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x8b8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x820], xmm8
and byte [rax], cl
add byte [rax], al

Function at 0x1400cb580
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x738
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x6a0], xmm6
mov qword [rbp + 0x698], 0xfffffffffffffffe
lock inc qword [rdx]
jle 0x1400cbaf3
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x628], rdx
mov r13, qword [rdx + 0x10]
mov ebp, dword [rdx + 0x10]
ud2
Function at 0x1400da3b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401b2598]
movaps xmmword [rsp + 0x60], xmm0
sub dword [rsp + 0x60], eax

Function at 0x1400dd510
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x1400dd552
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1400d8fa0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140164370
ud2

Function at 0x1400e1420
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 0x20], 0
cmp qword [rdx + 0x10], 0
je 0x1400e151b
mov qword [rbp - 0x10], rdx
lea rcx, [0x1401b359a]
call sub.oleaut32.dll_SysAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8, rbx
mov r9d, 0x30
call rax
mov r14d, eax
mov rcx, rdi
call sub.oleaut32.dll_SysFreeString
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
test r14d, r14d
mov rdx, qword [rbp - 0x10]
js 0x1400e151b
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rdx + 0x20], 0
je 0x1400e14df
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400e14df
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x1400e152a
mov qword [rsi], 2
mov rcx, rdx
call fcn.1400e11d0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400e17f0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400e1825
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400e182a
call fcn.1400dd510
mov ecx, dword [0x1402448c0]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0x60], 1
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rdx
add rsp, 0x38
ret
Function at 0x1400ece20
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx

Function at 0x140100d40
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, r8
mul rdx
mov r13, rdx
shr r13, 1
lea rax, [r13*2]
add rax, r13
shl r13, 2
mov r14, r8
sub r14, rax
je 0x140100df7
mov rax, rdi
shr rax, 0x3e
call 0x1430890d8
mov rax, rdi
shr rax, 0x3e
cmp eax, 3
jb 0x140100da2

Function at 0x14010cc90
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x9b8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x920], xmm6
mov qword [rbp + 0x918], 0xfffffffffffffffe
mov r15, rcx
mov r14d, dword [rdx + 0x2c]
mov r12, qword [rdx + 0x10]
test r14, r14
je 0x14010cced
mov rsi, rdx
mov rax, qword [rdx + 0x20]
mov qword [rbp + 0x900], rax
cmp rax, r14
mov esi, 1
jmp 0x14010db9f

Function at 0x14010ea70
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsp