joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007cacd
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 + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str.C:Usersleand.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14007c9fb
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 + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14007cbb1
test eax, eax
je 0x14007cbd0
cmp eax, 0x90317
je 0x14007cc51
cmp eax, 0x90321
jne 0x14007cc59
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14007ca6e
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x14007cc67
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x14007cc55
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.14007cc7b
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140006d6d
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14007ca6e
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x14007cc67
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14007cc67
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 0x14007dda6
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 + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, str.C:Usersleand.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14007c9fb
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 + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14007de7e
test eax, eax
je 0x14007de9a
cmp eax, 0x90317
je 0x14007df06
cmp eax, 0x90321
jne 0x14007df0e
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14007dd50
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14007df1c
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14007df0a
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.14007cc7b
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140006d6d
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14007dd50
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14007df1c
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14007df1c
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 0x14007eb41
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
sub esp, 0x68
mov rax, r8
ror byte [rcx - 0x77], 0xd6
mov rsi, rcx
lea rdi, [rsp + 0x50]
push rax
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.140085c31
add byte [rax], al
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14008db92
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]
jg 0x14007ebb3
mov rbp, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xchg esp, eax
add al, 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
pop rsp
and al, 0x20
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
invalid
cmp eax, 0xea
jne 0x14007ebe4
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.140006c1b
cmp al, 0xff
cmp al, 0xff
mov rbx, qword [rsp + 0x40]
pop rsp
and al, 0x40
jmp 0x14007ebb2
test eax, eax
jne 0x14007ec06
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14007ec2e
movabs rax, 0xde00000002
jmp 0x14007ec0e
invalid
shl rax, 0x20
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al

Function at 0x14008aa40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140009270
cmp rax, rcx
je 0x14008aa65
cmp rdx, 4
jae 0x14008aa68
xor eax, eax
xor r8d, r8d
jmp 0x14008ab00
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400c8640]
movdqa xmm3, xmmword [0x1400c8650]
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 0x14008aa90
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14008ab17
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14008ab00
ret
Function at 0x14008e1c0
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x14008e22c
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x14008e267
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x14008e25e
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14012d7f8]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x14008e24b
jmp 0x14008e260
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x14008e2b6
mov rax, rsi
shr rax, 0x3c
jne 0x14008e380
mov r14, qword [rcx + 8]
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call fcn.140028220
test rax, rax
je 0x14008e385
mov rdi, rax
xor eax, eax
mov rcx, qword [r14 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x14008e2a4
jmp 0x14008e2bd
mov edi, 8
xor esi, esi
lea rax, [rsp + 0x60]
mov dword [rax + 4], esi
mov qword [rax + 8], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
and qword [rsp + 0x40], 0
lea rdx, [0x14010019b]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x14008e314
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x14008e352
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov al, byte [0x140138f40]
mov ecx, 0x20
mov edx, 8
call fcn.140005d10
test rax, rax
je 0x14008e392
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
test rsi, rsi
je 0x14008e36b
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14001e4b8
mov rax, r14
mov rdx, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140005f70
mov ecx, 8
mov rdx, rbx
call fcn.1400c31c0
mov ecx, 8
mov edx, 0x20
call fcn.1400c31c0
int3

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x14008eb4e
mov rdx, qword [rsp + 0x20]
jmp 0x14008eb56
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x14008f0c2
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 0x14008f0ef
xor eax, eax
jmp 0x14008f0f4
call fcn.140033e8a
nop
add rsp, 0x38
ret

Function at 0x14008f11f
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x14008f13d
add rsp, 0x28
jmp fcn.140033e8a
cli
invalid
xor eax, eax
add rsp, 0x28
ret

Function at 0x140090ff0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140102838]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
ror dword [rdi], 0x57
ror byte [rdi], 0x11
and al, 0x38
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
leave
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140091063
mov rcx, rdi
mov edx, 0xffffffff
invalid
invalid
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14009109a
test eax, eax
js 0x140091074
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14009108d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
add eax, dword [rax]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
add dword [rax], eax
add byte [rax], al
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
add byte [rax - 0x73], cl
lea eax, [0x1401028a0]
mov qword [rsp + 0x78], rax
and al, 0x78
mov qword [rsp + 0x80], 1
mov dword [rsp + 0x80], 1
add byte [rax], 0
add byte [rax], al
add byte [rcx], al
add byte [rax], al
add byte [rax], al
lea rax, [rsp + 0x50]
lea eax, [rsp + 0x50]
push rax
mov qword [rsp + 0x88], rax
test byte [rax + rcx*4], ah
mov byte [rax], al
add byte [rax], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
add byte [rax - 0x73], cl
lea ecx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140090450
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14008f8c0
mov ecx, 7
int 0x29
ud2
Function at 0x1400959c0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
add byte [rax], al
lea rbp, [rsp + 0x80]
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], al
add byte [rax - 0x39], cl
test dword [rax], esp
add al, 0
add dh, bh
invalid
invalid
dec dword [rax - 0x77]
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.140091990
mov rax, qword [rbp - 0x58]
movabs rdi, 0x8000000000000000
mov edi, 0
add byte [rax], al
add byte [rax + 0x75f83948], al
invalid
lea rcx, [rbp - 0x50]
call fcn.14008f800
mov qword [rsi], rdi
jmp 0x140095c19
mov qword [rbp + 0x3c8], rsi
mov qword [rbp + 0x408], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x410], rax
test dword [rax], edx
add al, 0
add byte [rax - 0x39], cl
test eax, esi
add eax, dword [rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov qword [rbp + 0x3f8], 2
mov qword [rbp + 0x400], 0
test dword [rax], eax
add al, 0
add byte [rax], al
add byte [rax], al
add byte [rcx - 0x48], al
mov eax, 0x200

Function at 0x1400978a0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
sub esp, 0xa8
Function at 0x14009adf0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
invalid
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x140138e98]
cmp rax, 3
jne 0x14009afbd
cmp rbx, 0x17f
ja 0x14009afcf
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
lea rax, [rbx + 1]
cmp rbx, 0xe
ja 0x14009ae68
xor edx, edx
nop
cmp byte [rsp + rdx + 0x60], 0
je 0x14009af24
inc rdx
cmp rax, rdx
jne 0x14009ae50
jmp 0x14009af84
lea rcx, [rsp + 0x67]
and rcx, 0xfffffffffffffff8
sub rcx, r15
je 0x14009ae9e
je 0x14009ae9e
xor edx, edx
nop word [rax + rax]
cmp byte [rsp + rdx + 0x60], 0
je 0x14009af24
inc rdx
cmp rcx, rdx
jne 0x14009ae80
lea rdx, [rbx - 0xf]
cmp rcx, rdx
jbe 0x14009aea4
jmp 0x14009aeee
lea rdx, [rbx - 0xf]
xor ecx, ecx
movdqa xmm0, xmmword [0x1400c8680]
call fcn.1400c5dc0
cmp rbx, 0x17f
add dword [rax], eax
add byte [rdi], cl
xchg byte [rbx - 2], bl
invalid
invalid
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov eax, ebx
mov r9d, edi
add rsp, 0x1e0
invalid
loopne 0x14009afe1
add byte [rax], al
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1400c5e20
invalid
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400060f0
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400c5eaf
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400c5ee1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400c5ef4
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400c5f0c
mov rcx, qword [rsp + 0x38]
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140005da0
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x1400c5f0c
mov edx, 1
mov rcx, rdi
call fcn.140005da0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14009bc20
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, 0x688
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5f0], xmm6
mov qword [rbp + 0x5e8], 0xfffffffffffffffe
mov qword [rbp + 0x440], r8
mov qword [rbp + 0x4e8], rcx
movzx eax, byte [rdx + 0xa0]
mov qword [rbp + 0x568], rdx
mov rbx, qword [rdx + 0x98]
test al, al
jne 0x14009bc8d
test rbx, rbx
jne 0x14009bc8d
mov qword [rbp + 0x400], 0
xor r14d, r14d
jmp 0x14009c897
mov qword [rbp + 0x4d0], 0
mov qword [rbp + 0x4e0], 0
test al, al
jne 0x14009bec1
mov qword [rbp + 0x598], rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14009f3b1
lea rbx, [rbp - 0x10]
lea rsi, [rbp + 0x450]
lea r14, [rbp + 0x570]
mov qword [rbp + 0x5a0], rax
mov rdi, rax
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x570], rax
lea rax, [rbp + 0x570]
mov qword [rbp + 0x450], rax
lea rax, [fcn.140096590]
mov qword [rbp + 0x458], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x450]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rbp - 0x30]
call fcn.1400c34a0
jmp 0x14009f515
Function at 0x1400a3e30
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
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x58], eax
jmp 0x1400a3eab
mov rax, qword [rbp + 0x20]
xchg qword [0x140138ea8], rax
mov rax, qword [0x140138ea8]
test rax, rax
jne 0x1400a3f00
movaps xmmword [rbp + 0x20], xmm6
xor ecx, ecx
lea rdx, [rbp + 0x20]
mov r8d, 0x10
mov r9d, 2
call r12
test eax, eax
jns 0x1400a3ea0
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x70], r14
mov byte [rbp + 0xa7], dil
mov byte [rbp + 0xa6], 1
call fcn.1400a56d0
jmp 0x1400a3ea4
mov eax, 1
lock xadd qword [0x140138ea8], rax
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x58]
mov qword [rbp], rax
lea rax, [0x14000c4f0]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [fcn.140008e80]
mov qword [rbp + 0x18], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 2
mov qword [rbp + 0x40], 0
mov rax, rbp
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x70], r14
mov byte [rbp + 0xa7], dil
mov byte [rbp + 0xa6], 1
lea rcx, [rbp - 0x38]
lea rdx, [rbp + 0x20]
push rbp
and al, ch
mov ebx, 0x4dfff627
test esi, esi
sete al
or sil, al
test sil, 1
jne 0x1400a3fa1
mov edx, 1
mov rcx, rbx
call fcn.140005da0
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x80], rax
add byte [rax], al
mov r8, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
lea r12, [r8 + rax]
add byte [rax - 0x7b], cl
ror byte [rcx + rcx*4 - 0x7b], 0x88
add byte [rax], al
add byte [rcx + rcx*4 + 0x7d], al
jge 0x1400a4022
mov qword [rbp - 0x10], rax
je 0x1400a3ff0
movzx ecx, byte [r8]
movzx r13d, cl
test r13b, r13b
js 0x1400a4010
invalid
lea r15, [r8 + 1]
jmp 0x1400a4074
xor edi, edi
xor r14d, r14d
xor r13d, r13d
xor r15d, r15d
xor esi, esi
jmp 0x1400a409c
invalid
add byte [rax], al
invalid
mov eax, r13d
and eax, 0x1f
movzx edx, byte [r8 + 1]
and edx, 0x3f
cmp r13b, 0xdf
jbe 0x1400a4068
movzx r13d, byte [r8 + 2]
shl edx, 6
loop 0x1400a4032
lea r15, [r8 + 2]
shl eax, 6
or eax, edx
mov r13d, eax
Function at 0x1400a4b10
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 [0x140138f40]
mov ecx, 0x10
mov edx, 8
call fcn.140005d10
test rax, rax
je 0x1400a4be7
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov dword [rax + 8], edi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400a4cd0]
xor edi, edi
push qword [rcx]
leave
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
mov edx, eax
test rax, rax
jne 0x1400a4bd9
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
pop rbp
call 0x1484dd6dc
mov qword [rbp - 0x18], r14

Function at 0x1400a56d0
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 0x1400a5713
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.140096590]
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.1400c34a0
ud2

Function at 0x1400abb4f
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, 0xcd8
movaps xmmword [rsp + 0xcc0], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x460]
mov edx, 2
call fcn.140022f32
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1c0], xmm0
movaps xmmword [rsp + 0x1b0], xmm0
xor ecx, ecx
lea rax, [0x1400f9084]
cmp rcx, 3
je 0x1400abbca
mov dl, byte [rcx + rax]
inc rcx
cmp dl, 9
je 0x1400abba1
add dl, 0xe0
cmp dl, 0x5f
jb 0x1400abba1
lea r8, str.C:Usersleand.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_0.2.11_srcheader_value.rs
xor ecx, ecx
xor edx, edx
call fcn.1400c3560
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0xd8], rsi
lea rcx, [0x1400f8d50]
lea rbx, [rsp + 0x310]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], 3
and qword [rbx + 0x18], 0
xor r15d, r15d
mov byte [rbx + 0x20], r15b
lea rsi, [rsp + 0x890]
lea r14, [rsp + 0x460]
lea r8, [rsp + 0x1b0]

Function at 0x1400af473
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400b0b50
rcl dword [rsi]
add byte [rax], al
Function at 0x1400af4c3
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbx, rdx
mov r14, rcx
invalid
lea r12, [rsp + 0x62]
lea r13, [rsp + 0x3a]
lea r15, [rcx + 0x18]
xor eax, eax
ror byte [rax - 0x7d], 0x79
sbb bh, bh
cmove r15, rax
mov rbp, qword [r8 + 8]
push 0x788b4908
adc byte [rax - 0x77], cl
invalid
sub rcx, rdi
sub ecx, edi

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

Disassembly:
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
sub esp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
and al, 0x28

Function at 0x1400b44e5
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400b44ec
test al, 1
je 0x1400b450b
test al, 2
jne 0x1400b4523
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140106710]
mov edx, 0x23
call fcn.1400c3660
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140106750]
mov edx, 0x25
call fcn.1400c3660
int3