joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031f4c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rbp, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400320a8
test rdx, rdx
je 0x1400320a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400320a8
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400320a8
movups xmm1, xmmword [rax + 0x28]
add rax, 0x18
lea rcx, [rsp + 0x20]
mov edx, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm0, xmmword [rax + 0x70]
add rax, rdx
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r13d, dword [rsp + 0x90]
lea rsi, [rdi + r13]
mov ecx, dword [rsi + 0x20]
mov r14d, dword [rsi + 0x1c]
add rcx, rdi
mov eax, dword [rsi + 0x24]
add r14, rdi
add rax, rdi
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x170], rax
test ebp, 0xffff0000
jne 0x14003206d
movzx ecx, bp
sub ecx, dword [rsi + 0x10]
add rcx, rcx
mov eax, dword [r14 + rcx*8]
add rax, rdi
jmp 0x1400320aa
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jbe 0x1400320a8
movzx eax, word [rax + rbx*2]
mov rdx, rbp
mov ecx, dword [rcx + rbx*4]
add rcx, rdi
mov r12d, dword [r14 + rax*4]
add r12, rdi
call fcn.14003343c
test eax, eax
mov rax, qword [rsp + 0x170]
je 0x1400320c5
mov rcx, qword [rsp + 0x180]
inc ebx
cmp ebx, dword [rsi + 0x14]
jb 0x140032074
xor eax, eax
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [rax + rbx*2]
mov edx, dword [r14 + rax*4]
cmp edx, r13d
jb 0x140032174
mov ecx, dword [rsp + 0x94]
add ecx, r13d
cmp edx, ecx
jae 0x140032174
add rdx, rdi
mov rsi, rdx
mov al, byte [rdx]
jmp 0x1400320fb
test al, al
je 0x1400320a8
inc rsi
mov al, byte [rsi]
cmp al, 0x2e
jne 0x1400320f2
mov rbx, rsi
lea rcx, [rsp + 0x20]
sub rbx, rdx
mov r8, rbx
call fcn.1400332e0
lea rdx, [0x140034070]
mov byte [rsp + rbx + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.140033418
lea rcx, [rsp + 0x20]
call fcn.14003217c
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.140033478
mov r8, rax
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14003335c
cmp rbx, rdi
jne 0x140032163
lea rdx, [rsi + 1]
mov rcx, rbp
call fcn.14003343c
test eax, eax
je 0x140032174
lea rdx, [rsi + 1]
mov rcx, rbx
call fcn.140031f4c
jmp 0x1400320aa
mov rax, r12
jmp 0x1400320aa
Function at 0x1400330f8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x14003313b
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.140033308
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140033308
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140033308
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x140005153
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, rdx
add rdx, 8
cmp qword [rax], 0
je 0x14000519d
cmp qword [rax + 0x38], 0xffffffffffffffff
mov r8, qword [rax + 0x48]
mov r9, qword [rax + 0x50]
mov r10, qword [rax + 0x58]
mov rax, qword [rax + 0x60]
je 0x1400052a0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x1400052af
mov bl, byte [rax + 0x1a]
mov r10, qword [rax + 0x48]
mov r9, qword [rax + 0x50]
mov r8, qword [rax + 8]
mov dil, byte [rax + 0x18]
xor r11d, r11d
test bl, bl
jne 0x1400052d2
mov esi, edi
xor sil, 1
mov byte [rax + 0x18], sil
mov r14, r9
test r8, r8
je 0x1400051e7
mov r14, r9
sub r14, r8
jbe 0x1400051e1
cmp byte [r10 + r8], 0xbf
jg 0x1400051e7
jmp 0x1400052e4
jne 0x1400052e4
test r14, r14
je 0x1400052b6
mov r15b, byte [r10 + r8]
movzx ebp, r15b
test bpl, bpl
jns 0x14000525d
mov r14d, ebp
and r14d, 0x1f
movzx r12d, byte [r10 + r8 + 1]
and r12d, 0x3f
cmp bpl, 0xdf
jbe 0x14000524a
movzx ebp, byte [r10 + r8 + 2]
shl r12d, 6
and ebp, 0x3f
or ebp, r12d
cmp r15b, 0xf0
jb 0x140005256
movzx r15d, byte [r10 + r8 + 3]
and r14d, 7
shl r14d, 0x12
shl ebp, 6
and r15d, 0x3f
or r15d, ebp
or r15d, r14d
mov ebp, r15d
jmp 0x14000525d
shl r14d, 6
or r14d, r12d
mov ebp, r14d
jmp 0x14000525d
shl r14d, 0xc
or ebp, r14d
test dil, dil
jne 0x1400052bb
cmp ebp, 0x110000
je 0x1400052cb
mov edi, 1
cmp ebp, 0x80
jb 0x140005293
mov edi, 2
cmp ebp, 0x800
jb 0x140005293
cmp ebp, 0x10000
mov edi, 4
sbb rdi, 0
add r8, rdi
mov qword [rdx], r8
mov edi, esi
jmp 0x1400051b3
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
call fcn.140003a62
jmp 0x1400052d5
test dil, dil
je 0x1400052cb
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov r11d, 1
jmp 0x1400052d2
mov byte [rax + 0x1a], 1
xor r11d, r11d
mov qword [rcx], r11
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str._rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r10
mov rdx, r9
call fcn.1400cdd60
ud2
Function at 0x140006c4b
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x70
mov eax, dword [0x1400d3050]
lea rcx, [rsp + 0x68]
mov dword [rcx], eax
mov word [rcx + 4], 0x500
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x60]
and dword [rsp + 0x28], 0
mov qword [rsp + 0x50], rax
and dword [rsp + 0x20], 0
mov dl, 2
mov r8d, 0x20
mov r9d, 0x220
call sub.advapi32.dll_AllocateAndInitializeSid
mov dword [rsp + 0x5c], eax
test eax, eax
je 0x140006cd5
mov rsi, qword [rsp + 0x60]
lea r8, [rsp + 0x5c]
xor ecx, ecx
mov rdx, rsi
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x140006cc3
and dword [rsp + 0x5c], 0
mov rcx, rsi
call sub.advapi32.dll_FreeSid
cmp dword [rsp + 0x5c], 0
setne al
jmp 0x140006cd7
xor eax, eax
add rsp, 0x70
pop rsi
ret

Function at 0x14000fc0d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [0x14013f5d8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
cmp qword [rax + 0x30], 0
je 0x14000fc0d
mov eax, dword [0x14013f5d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x38]
ret
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov eax, dword [0x14013f5d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x60]
test rax, rax
je 0x14000fc41
cmp eax, 1
je 0x14000fc6e
xor esi, esi
jmp 0x14000fd23
mov eax, dword [0x14013f5d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rdi, [rax + 0x30]
lea rdx, [0x14000fd66]
mov rcx, rdi
call fcn.140072460
mov byte [rdi + 0x30], 1
test rsi, rsi
je 0x14000fcc3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x40], xmm2
and qword [rsi], 0
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
cmp qword [rsp + 0x20], 0
je 0x14000fcb9
mov rdx, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
jmp 0x14000fcc7
lea rcx, [rsp + 0x20]
call fcn.14000fd2d
xor eax, eax
xor edx, edx
mov ecx, dword [0x14013f5d8]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
lea rsi, [rcx + 0x38]
movups xmm0, xmmword [rsi + 0x18]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rsi + 8]
movaps xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rsi - 8]
movaps xmmword [rcx], xmm0
mov qword [rsi - 8], 1
mov qword [rsi], rdx
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 8], xmm0
mov rdx, qword [rsp + 0x60]
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rax
call fcn.14000fd2d
mov rax, rsi
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140012b95
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x20]
test rax, rax
lea rdx, str.ASYNC_GLOBAL_EXECUTOR_THREADS
cmovne rdx, rax
mov r8d, 0x1d
cmovne r8, qword [rdi + 0x28]
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140079850
movzx eax, byte [rbx + 0x18]
cmp eax, 2
je 0x140012c29
cmp eax, 3
jne 0x140012c1a
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x140012c29
lea r14, [rsp + 0x20]
mov r15, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
mov rcx, r14
mov rdx, rbx
call fcn.14001f490
mov bpl, byte [r14]
mov r14, qword [r14 + 8]
mov rcx, rbx
mov rdx, r15
call fcn.1400351e0
test bpl, bpl
jne 0x140012c29
jmp 0x140012c7b
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
call fcn.1400351e0
cmp qword [rdi], 0
je 0x140012c35
mov r14, qword [rdi + 8]
jmp 0x140012c7b
xorps xmm0, xmm0
lea rbx, [rsp + 0x20]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call sub.kernel32.dll_GetSystemInfo
mov r14d, dword [rbx + 0x20]
test r14, r14
jne 0x140012c7b
lea rcx, [rsp + 0x28]
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rcx], rax
mov qword [rcx - 8], 1
call fcn.14002dd0b
mov r14d, 1
mov r9, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x30]
mov edx, 1
test rcx, rcx
je 0x140012c97
mov r8, qword [rdi + 0x38]
jmp 0x140012ca3
lea r8, [0x1400d4cd8]
mov ecx, 1
cmp r14, 2
cmovae rdx, r14
lea r10, [rdx*4]
test r9, r9
cmove rax, r10
cmp rax, rdx
cmovbe rax, rdx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rax
mov qword [rsi], rcx
mov qword [rsi + 8], r8
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14001dd60
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 0x14001ddf0
cmp r10, r11
jb 0x14001de66
cmp r10, rdx
ja 0x14001de7a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001ddf2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001ddd0
jmp 0x14001de54
ja 0x14001ddfa
mov r11, r10
cmp rax, r8
jne 0x14001dd94
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 0x14001de30
mov rdi, r8
sub ecx, edx
jns 0x14001de4b
jmp 0x14001de56
cmp r8, rsi
je 0x14001de8b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001de56
xor al, 1
cmp rdi, rsi
jne 0x14001de10
jmp 0x14001de56
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.Xn_r_
mov rcx, r11
mov rdx, r10
call fcn.1400cdb00
ud2
lea r8, str.Xn_r_
mov rcx, r10
call fcn.1400cd830
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400cd8b0
ud2
Function at 0x1400233a5
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x1400dac18]
mov ebx, 0xff
lea rsi, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x1400234d5
mov r14d, 4
sub r14, 1
jb 0x1400233ca
cmp r9, 0xf
jbe 0x140023502
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.1400239f5
mov r9, rdx
mov ecx, ebp
jmp 0x1400233da
xor edx, edx
cmp r9, rdx
je 0x1400234f3
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x1400234d7
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.1400cd730
ud2
Function at 0x140027ac5
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
lea r9, [rsp + 0x28]
and qword [r9], 0
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140027aed
mov byte [rsi + 0x18], 2
jmp 0x140027b11
mov rcx, qword [rsp + 0x28]
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140075e10
mov rcx, qword [rsp + 0x28]
call sub.ole32.dll_CoTaskMemFree
nop
add rsp, 0x30
pop rsi
ret
Function at 0x14003345b
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.14003353e
mov r8d, dword [rdi + 8]
cmp r8d, 0x3b9aca01
jne 0x140033488
mov rax, qword [rsp + 0x30]
jmp 0x14003352e
xor r10d, r10d
cmp r8d, 0x3b9aca00
je 0x1400334e5
mov rax, qword [rsp + 0x30]
mov ecx, 0x3e8
mul rcx
mov r10d, 0xffffffff
jo 0x1400334e5
mov rcx, rax
mov r9d, 0xf4240
mov eax, r8d
xor edx, edx
div r9d
add rcx, rax
jb 0x1400334e5
mov eax, r8d
xor edx, edx
div r9d
xor eax, eax
test edx, edx
setne al
add rcx, rax
jb 0x1400334e5
mov r10d, 0xffffffff
cmp rcx, r10
cmovb r10, rcx
test r10, r10
je 0x140033535
lea r9, [rsp + 0x30]
mov dword [r9], r10d
mov dword [rsp + 0x20], 4
mov rcx, rsi
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140033511
xor eax, eax
jmp 0x14003351f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
call fcn.140003992
xor eax, eax
add rsp, 0x48
pop rdi
pop rsi
ret
lea rax, str.cannot_set_a_0_duration_timeout
jmp 0x14003351f
Function at 0x14003bd22
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x668
movaps xmmword [rsp + 0x650], xmm6
mov rsi, rcx
mov rax, r8
shr rax, 0x3d
jne 0x14003bdb1
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x14003bdb1
mov rdi, rdx
lea rcx, [rsp + 0x140]
mov r8d, 0xf4
xor edx, edx
call fcn.1400ca750
call fcn.14003b66b
cmp eax, 3
je 0x14003bd94
mov eax, eax
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x14003bda8
call fcn.14009f9c0
jmp 0x14003bdad
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
call fcn.1400bed50
jmp 0x14003bdad
call fcn.1400a0e90
test eax, eax
je 0x14003bdcc
mov dword [rsi], 2
movaps xmm6, xmmword [rsp + 0x650]
add rsp, 0x668
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x358]
lea rbx, [rsp + 0x140]
mov r8d, 0xf4
mov rcx, rdi
mov rdx, rbx
call fcn.1400ca0a0
xorps xmm6, xmm6
movaps xmmword [rbx], xmm6
lea rbx, [rsp + 0x30]
lea r8, [rsp + 0x140]
mov rcx, rbx
mov rdx, rdi
call fcn.14003b6c9
mov r14, qword [rbx]
mov rdi, qword [rbx + 8]
bswap r14
bswap rdi
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rdi
xor eax, eax
cmp rax, 0x100
je 0x14003be3a
movups xmmword [rsp + rax + 0x140], xmm6
add rax, 0x10
jmp 0x14003be24
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x140]
mov r8d, pe_nt_image_headers64
call fcn.1400ca0a0
call fcn.14003b68a
test al, al
je 0x14003be88
mov rax, r14
shld rax, rdi, 1
shld rdi, r14, 1
sar r14, 0x3f
movabs rcx, 0xc200000000000000
and rcx, r14
xor rcx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
jmp 0x14003bead
mov eax, dword [0x14013f5cc]
not eax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x14003bea8
call fcn.14009e9e0
jmp 0x14003bead
call fcn.14009dfc0
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
mov rcx, rdi
call fcn.1400ca0a0
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call fcn.1400ca0a0
lea rcx, [rsp + 0x14c]
mov r8d, 0x200
mov rdx, rdi
call fcn.1400ca0a0
and dword [rsi], 0
add rsi, 4
lea rdx, [rsp + 0x140]
mov r8d, 0x20c
mov rcx, rsi
call fcn.1400ca0a0
jmp 0x14003bdb7

Function at 0x14004095b
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
lea rbx, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_src_rand.rs
mov r12d, 0xffffffff
mov r14, r15
cmp r15, rsi
jae 0x1400409b3
mov rcx, rdi
mov rdx, rsi
mov r8, r14
mov r9, rbx
call fcn.140028f08
mov r15, rdx
cmp rdx, r12
cmovae r15, r12
mov rcx, rax
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
add r15, r14
test al, al
jne 0x14004097e
cmp r14, rsi
setb al
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140046980
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 0x1400469db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400469db
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400469f6
cmp eax, 0x42
jne 0x1400469db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140046aa6
cmp byte [r9 + r11], 0x5f
jne 0x140046aa6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140046b0e
mov rcx, rsi
xor edx, edx
call fcn.1400420b0
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.1400420b0
test al, al
jne 0x140046ba1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140046a32
lea rdx, [0x1400e58c2]
mov r8d, 1
call fcn.140018eb0
test al, al
jne 0x140046ba1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400469ea
xor r14d, r14d
lea rbx, [0x1400e5c78]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140046a64
cmp byte [rax + rcx], 0x45
je 0x140046bc3
sub r14, 1
jb 0x140046a89
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140046a89
mov r8d, 2
mov rdx, rbx
call fcn.140018eb0
test al, al
jne 0x140046ba1
mov rcx, rsi
call fcn.140043980
test al, al
jne 0x140046ba1
mov rax, qword [rsi]
test rax, rax
jne 0x140046a50
jmp 0x1400469ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140046b68
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140046b02
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140046aec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140046adb
add dl, 0xa9
jmp 0x140046aea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140046b68
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140046b68
movzx edx, bl
add rax, rdx
jae 0x140046ab0
jmp 0x140046b68
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140046b68
cmp rax, rcx
jae 0x140046b65
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140046bbb
cmp qword [rsi + 0x20], 0
je 0x140046bb4
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.140046980
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400469ec
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140046ba9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1400e5c38]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140018eb0
test al, al
je 0x140046ba9
mov dil, 2
jmp 0x1400469ea
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400469ea
mov dil, 1
xor r8d, r8d
jmp 0x140046b6a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400469ea
Function at 0x140073c70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1400f0688]
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 0x140073ce3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140073d1a
test eax, eax
js 0x140073cf4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140073d0d
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
lea rax, [0x1400f06e8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140071d60
mov rcx, rax
call fcn.140071ea0
mov ecx, 7
int 0x29
ud2