joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180050b40
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1803c8040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ebx, ebx
cmp edx, 1
jne 0x180050c96
mov qword [0x1803c8c30], r8
call qword [r8]
test eax, eax
jns 0x180050b94
mov r9d, 2
lea r8, str.Driver_error
lea rdx, str.Driver_failed_to_load_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x180050c9b
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov qword [rsp + 0x30], rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1803be740]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov qword [rsp + 0x38], rbx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1803be740]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov qword [rsp + 0x40], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1803be750]
lea rdx, str.CONIN_
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 8
call fcn.180053c3c
lea rcx, [0x1800508e0]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x180053310]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180050cbd
cmp dword [rsp + 0x58], 0
je 0x180050cb1
vmovups xmm0, xmmword [rsp + 0x50]
vmovdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180050cb1
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180053570
add rsp, 0x80
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140001438
Capabilities:
Delete file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rcx
mov rsi, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.1400915d0
mov rax, qword [rbx]
mov rbx, qword [rbx + 8]
movabs r14, 0x8000000000000000
cmp rax, r14
je 0x1400014ee
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rcx
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r8b, 1
call fcn.140097e10
mov r15, qword [rbx]
mov rbx, qword [rbx + 8]
cmp r15, r14
je 0x1400014ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400014c8
test r15, r15
je 0x1400014c4
mov edx, 2
mov rcx, rbx
call fcn.14000cc90
xor ebx, ebx
jmp 0x1400014ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x1400014eb
mov edx, 2
mov rcx, rbx
call fcn.14000cc90
mov rbx, r14
mov rcx, qword [rdi]
mov rdx, rsi
call fcn.140040195
mov rax, rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400164a0
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 0x140016530
cmp r11, r10
ja 0x1400165a6
cmp r10, rdx
ja 0x1400165b8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140016532
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140016510
jmp 0x140016594
ja 0x14001653a
mov r11, r10
cmp rax, r8
jne 0x1400164d4
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 0x140016570
mov rdi, r8
sub ecx, edx
jns 0x14001658b
jmp 0x140016596
cmp r8, rsi
je 0x1400165c7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140016596
xor al, 1
cmp rdi, rsi
jne 0x140016550
jmp 0x140016596
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.1400c13e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400c1150
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400c15c0
int3

Function at 0x14001f63d
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14001f663
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14001f64d
mov qword [rcx], rax
ret

Function at 0x14001f74b
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.14001f612
test rbx, rbx
je 0x14001f784
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001f63d
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001f635
Function at 0x14004bebe
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1ea8
call fcn.1400bfcb0
sub rsp, rax
movaps xmmword [rsp + 0x1e90], xmm9
movaps xmmword [rsp + 0x1e80], xmm8
movaps xmmword [rsp + 0x1e70], xmm7
movaps xmmword [rsp + 0x1e60], xmm6
mov rbx, rdx
mov r15, rcx
lea r12, [rcx + 0x1b0]
lea r13, [rsp + 0x11e8]
lea rbp, [rcx + 0x1d1]
lea r14, [rsp + 0xa1]
lea rsi, [rcx + 0x180]
lea rax, [rcx + 0xd8]
mov qword [rsp + 0x2d8], rax
xorps xmm6, xmm6
movss xmm7, dword [0x1400c6960]
lea rax, [rcx + 0x158]
mov qword [rsp + 0x160], rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x2d0], rax
lea rax, [rcx + 8]
mov qword [rsp + 0x2c8], rax
lea rdi, [rsp + 0x11e0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rsi

Function at 0x140053131
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6e8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x70], rcx
mov rdx, qword [rdx + 0x418]
add rdx, 0x10
lea rsi, [rsp + 0x160]
mov rcx, rsi
call fcn.14001ebff
cmp qword [rsi], 0
jne 0x140054cbc
mov rcx, qword [rsp + 0x168]
mov dl, byte [rsp + 0x170]
mov rax, qword [rcx + 0x28]
or rax, qword [rcx + 0x38]
je 0x140053194
call fcn.1400b49de
jmp 0x1400531bd
mov rsi, qword [rcx + 0x230]
call fcn.1400b49de
cmp rsi, 1
ja 0x1400531bd
mov rdx, qword [rdi + 0x418]
add rdx, 0x10
lea rcx, [rdi + 0x3b8]
call fcn.140058d7f
mov rax, qword [rdi + 0x390]
cmp rax, 2
jne 0x1400531d8
mov qword [rsp + 0x160], 2
jmp 0x140053238
lea rsi, [rdi + 0x390]
lea rdx, [rdi + 0x3a8]
test rax, rax
je 0x14005320d
mov rcx, qword [rdi + 0x398]
mov rax, qword [rdi + 0x3a0]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x14005321b
mov rcx, qword [rdi + 0x398]
mov rax, qword [rdi + 0x3a0]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x160]
mov rcx, r15
mov rdx, rsi
call fcn.1400b84fe
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x3b0]
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x460], xmm0
mov qword [rsp + 0x450], rcx
mov qword [rsp + 0x458], rdx
mov qword [rsp + 0x470], rax
cmp dword [rsp + 0x450], 2
je 0x140053296
lea rdx, [rsp + 0x468]
lea rcx, [rsp + 0x450]
call fcn.1400b8549
mov qword [rsp + 0x5e8], 2
and qword [rsp + 0x608], 0
lea r14, [rdi + 0x48]
lea rax, [rdi + 0x3b8]
mov qword [rsp + 0x2b8], rax
lea rax, [rdi + 0x428]
mov qword [rsp + 0x2b0], rax
lea rbp, [rsp + 0xb8]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], r14
mov rax, qword [rsp + 0x168]
Function at 0x14006c53a
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x48]
mov rcx, qword [rdx + 0x38]
mov rdx, qword [rdx + 0x40]
lea r9, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14006c2d7
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.Secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14006c612
test eax, eax
je 0x14006c62e
cmp eax, 0x90317
je 0x14006c69a
cmp eax, 0x90321
jne 0x14006c6a2
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006c4e4
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x14006c6b0
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x14006c69e
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x10]
and qword [rdi + 0x20], 0
call fcn.14006c6c4
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400b85ff
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006c4e4
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x14006c6b0
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006c6b0
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006c95c
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x170]
mov rcx, qword [rdx + 0x160]
mov rdx, qword [rdx + 0x168]
lea r9, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14006c2d7
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1e8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.Secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14006ca40
test eax, eax
je 0x14006ca5f
cmp eax, 0x90317
je 0x14006cae0
cmp eax, 0x90321
jne 0x14006cae8
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006c8fd
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x14006caf6
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x14006cae4
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x160]
mov rdx, qword [rdi + 0x168]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x138]
and qword [rdi + 0x148], 0
call fcn.14006c6c4
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400b85ff
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006c8fd
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x14006caf6
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006caf6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006cb00
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14006cb12
add rcx, 8
jmp fcn.1400b66fe
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
mov rcx, r8
call fcn.14006ccac
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.14006cd80
test rdx, rdx
jne 0x14006cbb8
mov rcx, r15
mov rdx, rsi
call fcn.14006b5c5
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x14006cc47
test eax, eax
je 0x14006cbb8
cmp qword [rsi + 0x108], 0
je 0x14006cb9b
mov rcx, r15
mov rdx, rsi
call fcn.14006c331
cmp qword [rsp + 0x28], 0
jne 0x14006cc47
cmp qword [rsp + 0x30], 0
je 0x14006cbb8
and qword [rsi + 0x108], 0
mov rcx, r15
mov rdx, rsi
call fcn.14006c53a
cmp byte [rsp + 0x28], 0
jne 0x14006cc47
cmp byte [rsp + 0x29], 0
je 0x14006cb41
mov rcx, rsi
call fcn.14006cd80
mov r15, rdx
test rax, rax
je 0x14006cc4c
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.14006c2e8
mov rbx, rax
mov r14, rdx
lea r9, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14002f577
mov r9, rdx
lea rcx, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.14003dbd0
mov rax, qword [rsi + 0x28]
add rax, r12
cmp rax, qword [rsi + 0x20]
ja 0x14006cc93
mov qword [rsi + 0x28], rax
mov rcx, rdi
mov rdx, r12
call fcn.14006cd19
xor r15d, r15d
jmp 0x14006cc76
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.140021aae
cmp al, 0xd
jne 0x14006cc76
and qword [rsi + 0xe0], 0
lea rcx, [rsp + 0x28]
call fcn.140031840
mov eax, 1
jmp 0x14006cc80
and qword [rsi + 0xe0], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140184136]
lea r8, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3b
call fcn.1400c11d0
int3
Function at 0x140083962
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.140083aa9
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14008c314
mov rbx, rdx
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi + 8]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x140083a05
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14003d60e
mov rbx, qword [rsp + 0x40]
jmp 0x1400839d3
test eax, eax
jne 0x140083a27
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x140083a4f
movabs rax, 0xde00000002
jmp 0x140083a2f
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call fcn.140040195
jmp 0x140083a63
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.140069471
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140087d00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140011300
cmp rax, rcx
je 0x140087d25
cmp rdx, 4
jae 0x140087d28
xor eax, eax
xor r8d, r8d
jmp 0x140087dc0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400c68f0]
movdqa xmm3, xmmword [0x1400c6900]
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 0x140087d50
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140087dd7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140087dc0
ret

Function at 0x14008bb04
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
lea eax, [rsp + 0x20]
invalid
Function at 0x14008eea0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14008eecd
xor eax, eax
jmp 0x14008eed2
call fcn.14003e1cb
nop
add rsp, 0x38
ret

Function at 0x140090c90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x14018a770]
add eax, 0xf9aca

Function at 0x140097b40
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
add byte [rax], al
add byte [rax - 0x77], cl
mov rdi, rdx
Function at 0x14009d100
Capabilities:
Create process on windows
Encode data using base64
Encrypt data using speck
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x698
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x600], xmm6
mov qword [rbp + 0x5f8], 0xfffffffffffffffe
mov byte [rbp + 0x458], r9b
mov qword [rbp + 0x450], r8
mov qword [rbp + 0x500], rcx
movzx eax, byte [rdx + 0xa0]
mov qword [rbp + 0x4d8], rdx
mov r14, qword [rdx + 0x98]
test al, al
jne 0x14009d174
test r14, r14
jne 0x14009d174
mov qword [rbp + 0x410], 0
xor r12d, r12d
jmp 0x14009dd87
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4f0], 0
movabs r12, 0x8000000000000000
test al, al
jne 0x14009d3a8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400a0d38
lea rbx, [rbp]
lea rsi, [rbp + 0x460]
mov qword [rbp + 0x5d0], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x588], rax
lea rax, [rbp + 0x588]
mov qword [rbp + 0x460], rax
lea rax, [fcn.1400965b0]
mov qword [rbp + 0x468], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp], 0
lea rax, [rbp + 0x460]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x20]
call fcn.1400c1010
jmp 0x1400a0e8b
Function at 0x1400a5770
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x68], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
xor edi, edi
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 8], rax
nop

Function at 0x1400a6450
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401bf360]
mov edx, 0x10
xor ecx, ecx
call fcn.1400a9950
test rax, rax
je 0x1400a6524
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400a6610]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne case.0x1400937a3.430
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x1400a64f3
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14000cc90
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.14000cc90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
adc byte [rax], al
add byte [rax], al

Function at 0x1400a7010
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 qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x1400a7053
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.1400965b0]
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_syspalwindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400c1010
ud2
Function at 0x1400a8ef0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400a903b
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x1400a8f27
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400a9025
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400a9008
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a8f89
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x1400a8fbb
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x1400a8fbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x1400a8fc3
cmp eax, 0x6d
jne 0x1400a8fee
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x1400a8fc8
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400a8ff4
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.14008f480
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x1400a8ffe
cmp rax, 1
je 0x1400a8f72
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x1400a8f7c
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400c43f0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400a8f34
mov r8d, 0x10
mov rcx, rbx
call fcn.1400c43f0
mov rax, qword [rbx]
jmp 0x1400a8f27
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400c48a0
int3

Function at 0x1400acc00
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 0x1400acc35
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400acc3a
call fcn.1400a7010
nop
add rsp, 0x38
ret