joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp - 0x30], rcx
mov r14, qword [rdx]
add r9, r8
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], r9
mov word [rbp], 0
mov dword [rbp + 8], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x10]
call fcn.140001f50
mov dword [rbp + 0x1c], 0x800
mov dword [rbp + 0x18], 0
movzx eax, byte [0x14002d121]
mov ecx, 0x800
mov edx, 1
call fcn.140004170
test rax, rax
je 0x140001311
mov rbx, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x50]
lea r12, [rbp + 0x1c]
lea r15, [rbp + 0x18]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r13, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x14000123b
mov r8d, dword [rbp + 0x1c]
cmp r13, r8
jae 0x140001200
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.14001deb0
mov rbx, qword [rbp - 0x28]
jmp 0x1400011e6
test eax, eax
jne 0x14000125e
mov eax, dword [rbp + 0x1c]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x18]
cmp eax, 0xb
jbe 0x1400012f1
movabs rax, 0xde00000002
jmp 0x140001266
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
mov byte [rbp + 8], 0xc
mov rdx, qword [rbp - 0x20]
mov sil, 1
test rdx, rdx
je 0x140001288
mov r8d, 1
mov rcx, rbx
call fcn.140004180
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400012a2
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140004180
test sil, sil
je 0x1400012bb
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x30]
mov qword [rsi + 8], rax
mov dword [rsi], 1
jmp 0x1400012da
lea rdx, [rbp - 0x10]
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
call fcn.1400041b0
cmp byte [rbp + 8], 0xc
je 0x1400012da
lea rcx, [rbp - 0x10]
call fcn.140001000
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x18]
mov qword [rbp], rcx
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp - 0x10], xmm0
mov byte [rbp + 8], al
xor esi, esi
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x140001291
jmp 0x1400012a2
mov ecx, 1
mov edx, 0x800
call fcn.14001ed10
ud2
Function at 0x1400013f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp - 0x30], rcx
mov rbx, qword [rdx]
mov rax, qword [r8]
mov rcx, qword [r8 + 0x10]
add rcx, rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
mov word [rbp], 0
mov dword [rbp + 8], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x10]
call fcn.140001f50
mov dword [rbp + 0x1c], 0x800
mov dword [rbp + 0x18], 0
movzx eax, byte [0x14002d121]
mov ecx, 0x800
mov edx, 1
call fcn.140004170
test rax, rax
je 0x1400015c2
mov r14, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x50]
lea r12, [rbp + 0x1c]
lea r15, [rbp + 0x18]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r13, rax
nop dword [rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x1400014eb
mov r8d, dword [rbp + 0x1c]
cmp r13, r8
jae 0x1400014b0
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.14001deb0
mov r14, qword [rbp - 0x28]
jmp 0x14000149d
test eax, eax
jne 0x14000150e
mov eax, dword [rbp + 0x1c]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x18]
cmp eax, 0xb
jbe 0x1400015a2
movabs rax, 0xde00000002
jmp 0x140001516
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
mov byte [rbp + 8], 0xc
mov rdx, qword [rbp - 0x20]
mov sil, 1
test rdx, rdx
je 0x140001538
mov r8d, 1
mov rcx, r14
call fcn.140004180
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x140001552
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140004180
test sil, sil
je 0x14000156c
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x30]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14000158b
lea rdx, [rbp - 0x10]
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
call fcn.1400041e0
cmp byte [rbp + 8], 0xc
je 0x14000158b
lea rcx, [rbp - 0x10]
call fcn.140001000
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x18]
mov qword [rbp], rcx
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp - 0x10], xmm0
mov byte [rbp + 8], al
xor esi, esi
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x140001541
jmp 0x140001552
mov ecx, 1
mov edx, 0x800
call fcn.14001ed10
ud2
Function at 0x140006f30
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], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140006fc0
jmp 0x140006faf
jae 0x140007080
cmp r8, 0x201
jae 0x140006fc0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140007018
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140006fef
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001e3c0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140007041
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400070e8
mov r8d, r14d
cmp r15, r8
jne 0x140006fa0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000710b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140006faf
jmp 0x140006fc0
cmp rsi, r8
jb 0x140007125
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140008680
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 rdi, rdi
je 0x1400070d1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140004180
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 rdi, rdi
jne 0x1400070b9
jmp 0x1400070d1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_37998ab508d5d9fa0d465d7b535dc673087dda8flibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ee30
jmp 0x14000713a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001f280
ud2
Function at 0x140007190
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.14000eb80
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x140007316
mov qword [rbp + 0x408], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x140007250
jmp 0x14000723f
jae 0x140007328
cmp r8, 0x201
jae 0x140007250
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x1400072a8
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x14000727f
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.14001e3c0
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x418]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x1400072d7
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400073fb
mov r8d, esi
cmp r12, r8
jne 0x140007230
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140007425
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000723f
jmp 0x140007250
lea rcx, [rbp - 0x58]
call fcn.140004de0
mov byte [rsi + 0x18], 2
jmp 0x1400073ba
cmp r15, r8
jb 0x14000743f
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.140008680
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x140007379
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x418]
mov rdx, rdi
call fcn.140004180
cmp byte [rbp + 0x3d8], 2
jne 0x1400073d1
mov rsi, qword [rbp + 0x408]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140004de0
mov rdx, qword [rbp + 0x400]
test rdx, rdx
je 0x1400073ba
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x410]
call fcn.140004180
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x408]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x400]
test rdx, rdx
jne 0x1400073a5
jmp 0x1400073ba
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140007361
jmp 0x140007379
lea rcx, str.internal_error:_entered_unreachable_code_rustc_37998ab508d5d9fa0d465d7b535dc673087dda8flibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ee30
jmp 0x140007454
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14001f280
ud2
Function at 0x140009080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1400090b0
test ecx, ecx
jne 0x140009100
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400090bc
test ecx, ecx
jne 0x140009100
mov rcx, rdi
call fcn.140008f60
movzx eax, al
test bpl, bpl
jne 0x140009107
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400090f3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140009278]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400090f3.2
xor eax, eax
test bpl, bpl
je 0x1400090cc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140009259
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14000913a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400091b9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140009180
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14000919b
inc rax
dec rdi
cmp rax, 1
jne 0x140009160
jmp 0x1400091b9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14000919b
cmp ebx, 0x5c
je 0x14000919b
inc rax
dec rdi
cmp rax, 1
jne 0x140009180
jmp 0x1400091b9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140009267
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400091e3
mov al, 9
cmp rdx, 2
je 0x1400091e7
cmp rdx, 1
jne 0x1400091f7
cmp byte [r8], 0x2e
jne 0x1400091f7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400091f7
mov al, 0xa
jmp 0x1400091f7
cmp byte [r8], 0x2e
jne 0x1400091f7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1400090f3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1400090f3.2
mov ecx, 2
jmp case.0x1400090f3.2
lea r8, str.library_std_srcpath.rs
call fcn.14001f200
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14001f200
ud2
Function at 0x14000d4a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140021f80]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000d4e4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000d54a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000d581
test eax, eax
js 0x14000d55b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000d574
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, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
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.1400084b0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140005070
mov ecx, 7
int 0x29
ud2
Function at 0x14001bb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001bbba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001bbb0
cmp r10, r11
jb 0x14001bc53
cmp r10, rdx
ja 0x14001bc67
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001bbb2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001bb90
jmp 0x14001bc27
ja 0x14001bbba
mov r11, r10
cmp rax, r8
jne 0x14001bb62
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001bc2b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001bc00
mov r8, r10
sub ecx, r9d
jns 0x14001bc1e
jmp 0x14001bc2d
cmp r10, rdx
je 0x14001bc39
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001bc2d
xor al, 1
cmp r8, rdx
jne 0x14001bbe0
jmp 0x14001bc2d
xor eax, eax
jmp 0x14001bc2d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001ee30
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001f300
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001f280
ud2

Function at 0x14001da94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001dade
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001dade
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001dade
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001dade
cmp dword [rcx + 0x84], 0xe
jbe 0x14001dade
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001dae0
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140023380]
xor rax, rsp
mov qword [rsp + 0x68], rax
test rcx, rcx
jne 0x140001020
and dword [0x140023560], ecx
jmp 0x140001097
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140001097
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, qword [0x140a23570]
lea rdx, [0x140023570]
mov r9b, 1
mov dword [0x140023560], 1
lea rcx, [0x140023550]
mov byte [rsp + 0x20], 1
call fcn.140001a4c
lea rcx, [0x140023550]
call fcn.14000172c
mov r8, qword [0x140a23570]
lea rcx, [0x140023570]
xor edx, edx
call fcn.14000f440
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000ec80
add rsp, 0x78
ret

Function at 0x1400068b0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x140023380]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [0x14000fd10]
mov eax, dword [0x14000fd38]
mov rbx, rcx
movups xmm1, xmmword [0x14000fd20]
mov dword [rbp + 0x2f], eax
xor edi, edi
movzx eax, word [0x14000fd3c]
lea rcx, [rbp - 0x39]
movups xmmword [rbp + 7], xmm0
mov qword [rbp - 0x59], rdx
lea rdx, [rbp + 7]
movsd xmm0, qword [0x14000fd30]
movsd qword [rbp + 0x27], xmm0
mov qword [rbp - 0x51], rdi
movups xmmword [rbp + 0x17], xmm1
mov word [rbp + 0x33], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp - 0x39]
mov dword [rbp - 0x29], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x19], rax
lea r8, [rbp - 0x29]
mov qword [rbp - 0x21], rdi
mov edx, 0xf001f
mov dword [rbp - 0x11], 0x40
lea rcx, [rbp - 0x49]
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
Function at 0x140007b70
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
push r15
xor r9d, r9d
mov rbp, rdx
mov r8, rcx
test rcx, rcx
je 0x140007c7e
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007c7e
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140007c7e
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x140007bdb
mov r11d, dword [rax + r8 + 0x8c]
mov ecx, dword [rax + r8 + 0x88]
jmp 0x140007be5
mov r11d, dword [rax + r8 + 0x7c]
mov ecx, dword [rax + r8 + 0x78]
mov edx, ecx
mov r10d, r9d
add rdx, r8
mov r15d, dword [rdx + 0x24]
mov r12d, dword [rdx + 0x20]
add r15, r8
mov esi, dword [rdx + 0x1c]
add r12, r8
mov r13d, dword [rdx + 0x14]
add rsi, r8
test r13d, r13d
je 0x140007c79
cmp rbp, 0xffff
ja 0x140007c23
movzx ebx, r10w
mov ecx, ebx
movzx eax, bp
add ecx, dword [rdx + 0x10]
cmp eax, ecx
jmp 0x140007c53
cmp r10d, dword [rdx + 0x18]
jae 0x140007c7e
mov eax, r10d
mov r14, rbp
mov ecx, dword [r12 + rax*4]
movzx ebx, word [r15 + rax*2]
add rcx, r8
sub r14, rcx
movzx eax, byte [rcx]
movzx edi, byte [rcx + r14]
sub eax, edi
jne 0x140007c51
inc rcx
test edi, edi
jne 0x140007c3e
test eax, eax
je 0x140007c5f
inc r10d
cmp r10d, r13d
jb 0x140007c0a
jmp 0x140007c79
movzx eax, bx
mov r9d, dword [rsi + rax*4]
add r9, r8
cmp r9, rdx
jb 0x140007c79
mov ecx, r11d
add rcx, rdx
cmp r9, rcx
jbe 0x140007c7e
mov rax, r9
jmp 0x140007c80
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140007e84
Capabilities:
Map section object

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
and qword [rbp + 0x6f], 0
lea rax, [rbp - 1]
and qword [rbp + 0x77], 0
xorps xmm0, xmm0
and qword [rbp + 0x7f], 0
xorps xmm1, xmm1
and qword [rbp - 9], 0
mov rdx, rcx
and qword [rbp + 0x27], 0
lea rcx, [rbp - 1]
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0x2f], rax
movups xmmword [rbp + 0x3f], xmm0
mov dword [rbp + 0x1f], 0x30
movups xmmword [rbp + 0xf], xmm1
mov dword [rbp + 0x37], 0x40
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rbp + 0xf]
mov dword [rsp + 0x28], 0x20
lea r8, [rbp + 0x1f]
mov dword [rsp + 0x20], 1
mov edx, 0x100020
lea rcx, [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x140007faa
mov rax, qword [rbp + 0x77]
lea r8, [rbp + 0x1f]
and qword [rbp + 0x2f], 0
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
mov edx, 0xf001f
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
js 0x140007faa
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp - 9]
mov dword [rsp + 0x48], 4
lea r8, [rbp + 0x7f]
mov dword [rsp + 0x40], 0x100000
xor r9d, r9d
mov dword [rsp + 0x38], 1
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x3e8
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
js 0x140007faa
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rbp + 0x7f]
jmp 0x140007fac
xor eax, eax
add rsp, 0xb0
pop rbp
ret
Function at 0x140003d20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140003d43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x39]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140003d30
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x140003d50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140003d84
mov ecx, esi
lea eax, [rcx - 0x39]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140003d70
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], sil
cmp r9, rax
je 0x140003db9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.140007030
nop
cmp byte [rbx + 0xa], 0
je 0x140003de3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x140003dd0
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp rbx, rax
je 0x140003e18
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140007030
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1400096c0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140003e6c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140135780
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140003eac
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ea7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ea7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140135780
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret