joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400087df
Capabilities:
Encrypt data using dpapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x9e8
movaps xmmword [rsp + 0x9d0], xmm6
mov qword [rsp + 0x5c8], rcx
mov qword [rsp + 0x298], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x2a0], xmm0
call fcn.14000fe8f
mov rsi, qword [rax]
mov rdi, qword [rax + 0x10]
lea rdx, [0x140193152]
lea rbx, [rsp + 0x368]
mov r8d, 8
mov rcx, rbx
call fcn.14000fc43
lea r14, [rsp + 0x618]
mov rcx, r14
mov rdx, rsi
mov r8, rdi
mov r9, rbx
call fcn.140001e80
mov rdi, qword [r14]
mov rbx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140072cdd
mov rsi, rax
mov r14, rdx
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
mov rdx, rbx
call fcn.140068d50
mov rdi, rax
test r14, r14
je 0x1400088a3
mov rcx, qword [0x14024a5f8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
test rdi, rdi
je 0x1400088b0
mov rcx, rdi
call fcn.14000304d
lea rax, [0x14024a490]
mov qword [rsp + 0x2b0], rax
mov rax, qword [0x14024a4a8]
cmp rax, 3
jne 0x14000c3a6
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14000c2b1
mov rbx, qword [rax]
imul rax, rcx, 0x38
add rax, rbx
mov qword [rsp + 0x608], rax
mov eax, 0x80
lea rcx, [rsp + 0x638]
add rcx, rax
mov qword [rsp + 0x610], rcx
lea rbp, [rsp + 0x2b0]
add rax, rbp
mov qword [rsp + 0x600], rax
xorps xmm6, xmm6
lea r13, [rsp + 0x368]
lea rax, [rsp + 0x2b0]
lea rcx, [rsp + 0x770]
mov qword [rcx], rax
lea r8, [rsp + 0x368]
mov qword [r8], rcx
lea rax, str.C:UsersSheft.cargo_registry_srcindex.crates.io_6f17d22bba15001flazy_static_1.4.0_srcinline_lazy.rsh
mov qword [rsp + 0x20], rax
lea rcx, [0x14024a4a8]
lea r9, [0x140192498]
xor edx, edx
call fcn.14018e840
jmp 0x1400088d0
Function at 0x1400116fe
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140018f30
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 0x140018fc0
cmp r11, r10
ja 0x140019036
cmp r10, rdx
ja 0x14001904a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140018fc2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140018fa0
jmp 0x140019024
ja 0x140018fca
mov r11, r10
cmp rax, r8
jne 0x140018f64
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 0x140019000
mov rdi, r8
sub ecx, edx
jns 0x14001901b
jmp 0x140019026
cmp r8, rsi
je 0x14001905b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140019026
xor al, 1
cmp rdi, rsi
jne 0x140018fe0
jmp 0x140019026
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.14018cb80
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14018c910
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:UsersSheft.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.6_srcwin.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14018c980
ud2
Function at 0x14001e197
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
not ecx
lea rax, [0x140196318]
cmp r8, 0x40
jb 0x14001e2cc
add rdx, 0x10
xor r10d, r10d
mov r9d, 0xff
cmp r8, 0xf
jbe 0x14001e2f9
movzx esi, byte [rdx - 1]
movzx r11d, byte [rdx - 2]
mov r11d, dword [rax + r11*4 + 0x400]
xor r11d, dword [rax + rsi*4]
movzx esi, byte [rdx - 3]
xor r11d, dword [rax + rsi*4 + 0x800]
movzx esi, byte [rdx - 4]
xor r11d, dword [rax + rsi*4 + 0xc00]
movzx esi, byte [rdx - 5]
xor r11d, dword [rax + rsi*4 + 0x1000]
movzx esi, byte [rdx - 6]
xor r11d, dword [rax + rsi*4 + 0x1400]
movzx esi, byte [rdx - 7]
xor r11d, dword [rax + rsi*4 + 0x1800]
movzx esi, byte [rdx - 8]
xor r11d, dword [rax + rsi*4 + 0x1c00]
movzx esi, byte [rdx - 9]
xor r11d, dword [rax + rsi*4 + 0x2000]
movzx esi, byte [rdx - 0xa]
xor r11d, dword [rax + rsi*4 + 0x2400]
movzx esi, byte [rdx - 0xb]
xor r11d, dword [rax + rsi*4 + 0x2800]
movzx esi, byte [rdx - 0xc]
xor r11d, dword [rax + rsi*4 + 0x2c00]
mov esi, ecx
shr esi, 0x18
movzx edi, byte [rdx - 0xd]
xor edi, esi
xor r11d, dword [rax + rdi*4 + 0x3000]
mov esi, ecx
shr esi, 0x10
and esi, r9d
movzx edi, byte [rdx - 0xe]
xor edi, esi
xor r11d, dword [rax + rdi*4 + 0x3400]
inc r10
mov esi, ecx
shr esi, 8
and esi, r9d
movzx edi, byte [rdx - 0xf]
xor edi, esi
xor r11d, dword [rax + rdi*4 + 0x3800]
and ecx, r9d
movzx esi, byte [rdx - 0x10]
xor esi, ecx
mov ecx, r11d
xor ecx, dword [rax + rsi*4 + 0x3c00]
lea r11, [r8 - 0x10]
cmp r10, 4
jne 0x14001e2bc
cmp r11, 0x3f
jbe 0x14001e2c8
xor r10d, r10d
add rdx, 0x10
mov r8, r11
jmp 0x14001e1bd
add r8, 0xfffffffffffffff0
test r8, r8
je 0x14001e2ee
xor r9d, r9d
mov r10b, byte [rdx + r9]
xor r10b, cl
movzx r10d, r10b
shr ecx, 8
xor ecx, dword [rax + r10*4]
inc r9
cmp r8, r9
jne 0x14001e2d4
not ecx
mov eax, ecx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rax, str.C:UsersSheft.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r8
mov r8, rax
call fcn.14018c8a0
ud2
Function at 0x14001e312
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14001e514
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1401920a0]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x14001e378
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x1401920b0]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x14001e496
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x14001e46c
movdqa xmm1, xmmword [0x1401920b0]
Function at 0x140020237
Capabilities:
Encrypt data using speck
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov r14, rcx
test r9, r9
je 0x140020394
lea rax, [r8 + r9]
xor r15d, r15d
movaps xmm0, xmmword [0x1401920d0]
mov rcx, r8
mov bl, byte [rcx]
movzx r10d, bl
test r10b, r10b
js 0x14002027f
inc rcx
jmp 0x1400202ef
mov r11d, r10d
and r11d, 0x1f
movzx edi, byte [rcx + 1]
and edi, 0x3f
cmp r10b, 0xdf
jbe 0x1400202d1
movzx esi, byte [rcx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x1400202e1
movzx r10d, byte [rcx + 3]
and r11d, 7
shl r11d, 0x12
shl esi, 6
and r10d, 0x3f
or r10d, esi
or r10d, r11d
cmp r10d, 0x110000
je 0x140020356
add rcx, 4
jmp 0x1400202ef
add rcx, 2
shl r11d, 6
or r11d, edi
mov r10d, r11d
jmp 0x1400202ef
add rcx, 3
shl r11d, 0xc
or esi, r11d
mov r10d, esi
cmp r10d, 0x2e
jne 0x1400202fa
xor r11d, r11d
jmp 0x14002034a
test r15, r15
jne 0x140020309
cmp r10d, 0x2d
je 0x140020394
mov r11d, 5
cmp r15, 5
jae 0x140020337
movups xmmword [rsp + 0x60], xmm0
cmp r15, 4
je 0x14002336d
cmp r10d, dword [rsp + r15*4 + 0x60]
jne 0x140020337
inc r15
mov r11, r15
cmp r15, 4
je 0x140020394
lea esi, [r10 - 0x7b]
cmp esi, 0xffffffe5
ja 0x14002034a
add r10d, 0xffffffc6
cmp r10d, 0xfffffff6
jb 0x140020394
mov r15, r11
cmp rcx, rax
jne 0x14002026f
mov rcx, qword [rsp + 0x2b0]
mov rdx, r8
mov r8, r9
call fcn.1400746b4
mov dword [r14 + 8], 0
mov qword [r14], 0
mov qword [rsp + 0x210], r14
mov eax, dword [rdx + 0x30]
movzx ecx, byte [rdx + 0x34]
xor esi, esi
lea r11, [rsp + 0x40]
add r9, r8
xorps xmm6, xmm6
lea rdi, [rsp + 0x168]
movups xmmword [rdi + 2], xmm6
movzx r10d, word [rdi + 0x10]
lea r13, [rsp + 0x70]
mov word [r13 + 0x86], r10w
movups xmm0, xmmword [rdi]
movups xmmword [r13 + 0x76], xmm0
mov qword [r13 - 0x10], rsi
mov dword [r13], esi
mov word [r13 + 4], si
lea r10, [rsp + 0x78]
mov byte [r10], sil
mov dword [r10 + 4], esi
mov byte [r10 + 8], sil
mov dword [r10 + 0xc], esi
mov byte [r10 + 0x10], sil
mov dword [r10 + 0x14], esi
mov byte [r10 + 0x18], sil
mov dword [r10 + 0x1c], esi
mov qword [r10 + 0x20], r8
mov qword [r10 + 0x28], r9
mov qword [r10 + 0x30], r11
mov qword [r10 + 0x38], rsi
mov byte [r10 + 0x4c], cl
shl rcx, 0x20
or rcx, rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdx
mov qword [rdx + 0x10], rsi
mov dword [r11 + 8], esi
mov qword [r11], rsi
mov rcx, qword [rsp + 0x2b0]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x140], rcx
mov byte [rsp + 0x13b], sil
movups xmmword [rsp + 0x12b], xmm6
mov dword [r10 + 0x48], eax
mov eax, dword [rsp + 0x138]
mov dword [r10 + 0x5d], eax
movups xmm0, xmmword [rsp + 0x128]
movups xmmword [r10 + 0x4d], xmm0
mov dword [r10 + 0x68], esi
lea rax, [rsp + 0xe4]
mov word [rax], si
mov dword [rax + 0x1c], 0x110000
mov byte [rax + 0x20], sil
xor ecx, ecx
lea r8, str.C:UsersSheft.cargo_registry_srcindex.crates.io_6f17d22bba15001fidna_0.4.0_srcuts46.rs
mov ecx, 4
mov edx, 4
jmp 0x140020e75
Function at 0x140033bf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140012970
cmp rax, rcx
je 0x140033c15
cmp rdx, 4
jae 0x140033c18
xor eax, eax
xor r8d, r8d
jmp 0x140033cb0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140192030]
movdqa xmm3, xmmword [0x140192040]
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 0x140033c40
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140033cc7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140033cb0
ret
Function at 0x140034c30
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 0x140034c8b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140034c8b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140034ca6
cmp eax, 0x42
jne 0x140034c8b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140034d56
cmp byte [r9 + r11], 0x5f
jne 0x140034d56
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140034dbe
mov rcx, rsi
xor edx, edx
call fcn.140030650
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.140030650
test al, al
jne 0x140034e51
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140034ce2
lea rdx, [0x1401aecaa]
mov r8d, 1
call fcn.140012f00
test al, al
jne 0x140034e51
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140034c9a
xor r14d, r14d
lea rbx, [0x1401af05e]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140034d14
cmp byte [rax + rcx], 0x45
je 0x140034e73
sub r14, 1
jb 0x140034d39
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140034d39
mov r8d, 2
mov rdx, rbx
call fcn.140012f00
test al, al
jne 0x140034e51
mov rcx, rsi
call fcn.140031e90
test al, al
jne 0x140034e51
mov rax, qword [rsi]
test rax, rax
jne 0x140034d00
jmp 0x140034c9a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140034e18
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140034db2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140034d9c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140034d8b
add dl, 0xa9
jmp 0x140034d9a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140034e18
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140034e18
movzx edx, bl
add rax, rdx
jae 0x140034d60
jmp 0x140034e18
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140034e18
cmp rax, rcx
jae 0x140034e15
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140034e6b
cmp qword [rsi + 0x20], 0
je 0x140034e64
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.140034c30
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140034c9c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140034e59
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1401af020]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140012f00
test al, al
je 0x140034e59
mov dil, 2
jmp 0x140034c9a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140034c9a
mov dil, 1
xor r8d, r8d
jmp 0x140034e1a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140034c9a

Function at 0x140036f8d
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x10
mov dword [rsp + 4], 0
Function at 0x140060990
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401b9130]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
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
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140060a03
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140060a3a
test eax, eax
js 0x140060a14
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140060a2d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1401b9190]
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.14005f870
dec dword [rax - 0x73]
and al, 0x58

Function at 0x1400641a0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
Function at 0x14006be50
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
test dx, dx
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14006be9f
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14006bf13
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x14006beb3
cmp eax, 0x2739
jne 0x14006bf00
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14006befa
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x14006bf1a
mov qword [rsi + 8], rdi
jmp 0x14006be96
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0x38
pop rdi
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
add rsp, 0x38
pop rdi
pop rsi
jmp qword [sym.imp.ws2_32.dll_closesocket]

Function at 0x14006bfd0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14006c02e
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14006c02e
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14006c02e
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14006c02e
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14006c06d
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1006
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14006c05a
xor eax, eax
jmp 0x14006c068
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
jmp 0x14006c068

Function at 0x14006c080
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14006c0de
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14006c0de
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14006c0de
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14006c0de
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14006c11d
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1005
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14006c10a
xor eax, eax
jmp 0x14006c118
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
jmp 0x14006c118
Function at 0x14006c130
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov rax, rdx
sub rax, rsi
jb 0x14006c1ac
mov rcx, qword [rcx]
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdi]
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x14006c18c
cdqe
add rsi, rax
mov qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x18]
cmp rax, rsi
cmova rsi, rax
mov qword [rdi + 0x18], rsi
xor eax, eax
jmp 0x14006c1a5
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x14006c19d
xor eax, eax
jmp 0x14006c1a5
shl rax, 0x20
or rax, 2
add rsp, 0x28
pop rdi
pop rsi
ret
lea r8, str.library_std_srcio_readbuf.rs
mov rcx, rsi
call fcn.14018c830
ud2

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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rdx, rax
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x14006c2b2
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14006c2c9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x14006c690
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
add byte [rax], al

Function at 0x14006c7c0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je case.0x1400691f3.219
xor eax, eax
jmp 0x14006c7f2

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

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
invalid
jg 0x14006c869
cmovb eax, ecx
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
clc
invalid
je 0x14006c83a
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp case.0x140068392.204
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14006cd80
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 [0x14024a6a0]
mov ecx, 0x10
call fcn.140010290
test rax, rax
je 0x14006ce70
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14006cf00]
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 0x14006ce62
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
mov rsi, qword [rbp - 0x18]
je 0x14006ce3c
cmp qword [rax + 0x10], 0x11
jae 0x14006ce25
mov r8, qword [rbp - 0x20]
jmp 0x14006ce2d
mov r8, qword [rbp - 0x20]
mov r8, qword [r8 - 8]
mov rcx, qword [0x14024a5f8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14024a5f8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14018c620
ud2

Function at 0x14006d050
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 0x14006d093
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call sub.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.140064fa0]
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.14018c7f0
ud2

Function at 0x1400720f0
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r9
mov rsi, rcx
lea rcx, [rbp - 0x20]
call fcn.1400615c0
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
test rax, rax
je 0x1400721fc
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
loopne 0x14007217e
mov dword [rbp - 0x18], edx