joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800061c4
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x180041080]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
mov qword [rbp - 0x78], rcx
or dword [rbp - 0x70], 0xffffffff
and qword [rsp + 0x40], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.18000b134
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180001ea4
mov rdi, rax
mov eax, dword [rax + 0x10]
inc eax
movsxd r14, eax
mov eax, 2
mul r14
mov r13, 0xffffffffffffffff
cmovo rax, r13
mov rcx, rax
call fcn.18000dd80
mov rsi, rax
cmp qword [rdi + 0x18], 8
jb 0x18000625d
mov rdi, qword [rdi]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.180014b8c
mov qword [rbp - 0x60], rsi
lea rcx, [rsp + 0x60]
call fcn.18000adb0
and dword [rbp - 0x80], 0
and dword [rbp - 0x6c], 0
or dword [rbp - 0x68], 0xffffffff
lea r8, [rbp - 0x50]
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x18000635d
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], eax
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x60]
lea edx, [rax + 1]
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x180006353
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x6c]
lea rdx, [rbp - 0x80]
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x180006353
mov ecx, dword [rbp - 0x80]
inc ecx
mov eax, 0x29c
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.18000dd80
mov rdi, rax
mov ecx, dword [rbp - 0x80]
mov dword [rbp - 0x6c], ecx
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, rax
call fcn.18000fd40
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rbp - 0x6c]
lea rdx, [rbp - 0x80]
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x18000634b
xor r8d, r8d
xor edx, edx
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.RstrtMgr.DLL_RmShutdown]
mov rcx, rdi
call fcn.180015544
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180006393
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000638e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800063cc
mov rcx, r8
call fcn.18000d720
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18000d700
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call fcn.18001639c
int3
Function at 0x1800063d4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x180041080]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
and dword [rsp + 0x20], 0
and qword [rcx], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
lea rdx, [0x18003b55b]
call fcn.18000b044
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call fcn.18000fd40
mov dword [rsp + 0x50], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180006542
mov rdx, rsi
lea rcx, [rsp + 0x7c]
call fcn.180013fd4
test eax, eax
je 0x180006493
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x18000646a
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov r9d, 0x104
lea r8, [rbp + 0x190]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x28], 0
and qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x28]
call fcn.18000b044
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x180006509
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18000b1d8
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180006542
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000653d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006567
call fcn.18000d720
mov rax, rdi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.18000d700
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3b0
pop rdi
pop rsi
pop rbp
ret
call fcn.18001639c
int3
Function at 0x180009638
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18000965d
xor eax, eax
jmp 0x18000975a
cmp qword [rcx + 0x68], 0
je 0x18000966e
call fcn.180009e50
jmp 0x18000975a
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x180009685
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180009687
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800096bc
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18000f510
mov rax, qword [rsi + 0x50]
sub rbp, rbx
add r14, rbx
mov r8, rbp
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180009754
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1800096f7
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x18000972f
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.180015e88
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x18000976b
cmp rbp, r15
ja 0x180009705
mov r8, rbx
test rbx, rbx
je 0x180009754
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.180015e88
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x180009757
Function at 0x180009b00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180041080]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x180009b39
xor eax, eax
jmp 0x180009c5b
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x180009b73
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x180009b73
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x180009c5b
cmp qword [rbx + 0x80], 0
je 0x180009c59
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180009bae
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180009bd1
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.180013d7c
cmp eax, edi
cmovne edi, esi
jmp 0x180009c59
lea r8, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
test eax, eax
je 0x180009c1f
sub eax, 1
je 0x180009c1f
cmp eax, 2
jne 0x180009c59
movsx ecx, byte [rbp - 0x30]
jmp 0x180009bbb
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x180009c49
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.1800151f8
cmp r14, rax
jne 0x180009c59
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x180009c5b
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18000d700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18000ab50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180041080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000abbf
cmp byte [rcx + 0x71], 0
je 0x18000abbf
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000ac13
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x18000abd9
sub eax, 1
je 0x18000abdd
cmp eax, 2
jne 0x18000ac13
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18000d700
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000ac0a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1800151f8
cmp rdi, rax
jne 0x18000ac13
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000abc1
xor al, al
jmp 0x18000abc1

Function at 0x180013d70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x180013c47
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180013c47
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180013c47
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180013c47
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180013c47
cmp dword [rcx + 0x84], 0xe
jbe 0x180013c47
cmp dword [rcx + 0xf8], 0
je 0x180013c47
mov ecx, ebx
call fcn.180013ce8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.180013ad8
cmp dword [rbp + 0x20], 0
je 0x180013c94
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180013c9c
int3
xor r8d, r8d
xor edx, edx
jmp 0x180013be0

Function at 0x18001f6e8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18001f708
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180017464
or eax, 0xffffffff
jmp 0x18001f70a
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14077f8c0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14077f8d0]
mov dword [rax], 1
mov rax, qword [0x14077f8e0]
mov dword [rax], 1
mov rax, qword [0x14077f840]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14077f8b0]
mov dword [0x14078e00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14077f990]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14077f970]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14077f820]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001f50
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push rsi
sub rsp, 0xa0
mov rsi, r8
mov rax, rcx
mov rcx, qword [0x1400a9008]
movzx ecx, byte [rcx]
cmp cl, 1
jne 0x140001f80
mov rcx, rax
mov r8, rsi
add rsp, 0xa0
pop rsi
jmp sym._ZN71__LT_aes..autodetect..Aes128_u20_as_u20_cipher..block..BlockDecrypt_GT_20decrypt_with_backend5inner17h6f55afdc8a1db8d0E.l
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov rdx, rax
call sym.aes::soft::fixslice::aes128_decrypt::h99e63081ab0bfb54
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
add rsp, 0xa0
pop rsi
ret
Function at 0x140004130
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x38]
mov rdx, r9
call sym.__alloc::string::String_as_winreg::types::ToRegValue_::to_reg_value::h1b878278b62b3f6a
mov rbx, qword [rbx]
add rsi, rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h4ea76768aa
movzx r9d, byte [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400041cc
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1400041e4
mov r8d, 1
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, rbx
shl rcx, 0x20
or rcx, 2
xor eax, eax
test ebx, ebx
cmovne rax, rcx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140005390
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140005404
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x14000540a
cmp eax, 0x40
jb 0x140005479
cmp rax, r8
ja 0x14000548d
movzx r8d, word [rax + rdx + 0x18]
cmp r8d, 0x10b
je 0x140005410
cmp r8d, 0x20b
jne 0x140005440
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x14000543b
lea r8, [rdx + rax]
movzx r10d, word [r8 + 4]
mov r9b, 3
cmp r10d, 0x8664
jne 0x14000543b
mov r10d, 1
mov r9b, 4
test byte [r8 + 0x16], 2
je 0x14000543b
jmp 0x140005456
xor eax, eax
mov byte [rcx], al
jmp 0x140005443
mov al, 1
mov byte [rcx], al
jmp 0x140005443
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x14000543b
lea r8, [rdx + rax]
movzx r10d, word [r8 + 4]
mov r9b, 3
cmp r10d, 0x14c
jne 0x14000543b
mov r9b, 4
test byte [r8 + 0x16], 2
jne 0x140005453
mov byte [rcx], r9b
jmp 0x140005443
mov byte [rcx], 5
mov qword [rcx + 0x18], 2
mov rax, rcx
add rsp, 0x28
ret
xor r10d, r10d
add rax, 0xffffffffffffffc0
mov qword [rcx], rdx
add rdx, 0x40
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r10
mov qword [rcx + 0x20], r8
mov rax, rcx
add rsp, 0x28
ret
lea r8, [0x14075a8f8]
mov ecx, 0x40
mov rdx, rax
call dbg.slice_index_order_fail
lea r9, [0x14075a8f8]
mov rcx, rax
mov rdx, r8
mov r8, r9
call dbg.slice_end_index_len_fail
int3
Function at 0x1400054b0
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x14000553c
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x140005541
cmp eax, 0x40
jb 0x140005616
cmp rax, r8
ja 0x14000562a
movzx r10d, word [rax + rdx + 0x18]
cmp r10d, 0x20b
je 0x140005546
mov r9b, 5
cmp r10d, 0x10b
jne 0x140005570
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x140005570
lea rsi, [rdx + rax]
movzx r10d, word [rsi + 4]
mov r9b, 3
cmp r10d, 0x14c
jne 0x140005570
mov r9b, 4
test byte [rsi + 0x16], 2
je 0x140005570
lea r9, [rax + 0xf8]
cmp r9, r8
ja 0x14000563f
lea r10, [rsi + 4]
xor edi, edi
jmp 0x1400055a2
xor r9d, r9d
jmp 0x140005570
mov r9b, 1
jmp 0x140005570
mov r9b, 2
cmp dword [rdx + rax], 0x4550
jne 0x140005570
lea rsi, [rdx + rax]
movzx r10d, word [rsi + 4]
mov r9b, 3
cmp r10d, 0x8664
jne 0x140005570
mov r9b, 4
test byte [rsi + 0x16], 2
jne 0x140005589
mov byte [rcx], r9b
mov qword [rcx + 0x18], 2
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r9, [rax + 0x108]
cmp r9, r8
ja 0x14000563f
lea r10, [rsi + 4]
mov edi, 1
mov r11, r8
sub r11, r9
movzx r14d, word [r10 + 2]
lea r10, [r14*8]
lea r10, [r10 + r10*4]
mov rbx, r11
sub rbx, r10
jb 0x140005654
add rax, 0xffffffffffffffc0
lea r11, [rdx + 0x40]
add r9, rdx
add r10, r9
mov ebp, r14d
shr ebp, 8
mov qword [rcx], rdx
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], r9
mov byte [rcx + 0x30], r14b
mov dword [rcx + 0x31], ebp
mov byte [rcx + 0x37], 0
mov word [rcx + 0x35], 0
mov qword [rcx + 0x38], r10
mov qword [rcx + 0x40], rbx
mov qword [rcx + 0x48], rdx
mov qword [rcx + 0x50], r8
jmp 0x14000557b
lea r8, [0x14075a8f8]
mov ecx, 0x40
mov rdx, rax
call dbg.slice_index_order_fail
lea r9, [0x14075a8f8]
mov rcx, rax
mov rdx, r8
mov r8, r9
call dbg.slice_end_index_len_fail
lea rax, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparserpe.rs
mov rcx, r9
mov rdx, r8
mov r8, rax
call dbg.slice_start_index_len_fail
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparser_section.rs
mov rcx, r10
mov rdx, r11
call dbg.slice_start_index_len_fail
int3
Function at 0x140005920
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rbx, rcx
mov dword [rsp + 0x24], 0
lea r8, [rsp + 0x24]
mov ecx, 5
xor edx, edx
call sub.kernel32.dll_GetComputerNameExW
mov r14d, dword [rsp + 0x24]
test r14, r14
je 0x1400059ed
lea rsi, [r14 + r14]
mov edx, 2
mov rcx, rsi
call sym.__rust_alloc_zeroed
test rax, rax
je 0x140005a27
mov rdi, rax
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x140005a34
mov eax, dword [rsp + 0x24]
lea rcx, [r14 - 1]
cmp rcx, rax
jne 0x140005a49
xor r8d, r8d
mov rax, rsi
nop word cs:[rax + rax]
cmp word [rdi + r8*2], 0
je 0x1400059c4
inc r8
add rax, 0xfffffffffffffffe
jne 0x1400059b0
mov r8, r14
mov rcx, rbx
mov rdx, rdi
call dbg.from_wide
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rbx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.GetComputerNameExW_did_not_provide_buffer_size
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, str.GetComputerNameExW_did_not_provide_buffer_size
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fgethostname_0.4.3_srclib.rsh
lea rcx, [rsp + 0x28]
call dbg.panic_fmt
mov ecx, 2
mov rdx, rsi
call dbg.handle_alloc_error
lea rax, str.GetComputerNameExW_failed_to_read_hostname._n________Please_report_this_issue_to__https:__github.com_swsnr_gethostname.rs_issues__
mov qword [rsp + 0x28], rax
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fgethostname_0.4.3_srclib.rsh
jmp 0x140005a5c
lea rax, str.GetComputerNameExW_changed_the_buffer_size_unexpectedly
mov qword [rsp + 0x28], rax
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fgethostname_0.4.3_srclib.rsh
lea rcx, [rsp + 0x28]
mov qword [rcx + 8], 1
lea rax, str.GetComputerNameExW_did_not_provide_buffer_size
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call dbg.panic_fmt
ud2
Function at 0x140006010
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1060
call dbg.___chkstk_ms
sub rsp, rax
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov ebx, dword [rdx + 8]
mov r14, qword [rax]
mov dword [rsp + 0x44], 0x800
lea r15, [rsp + 0x60]
mov r8d, 0x1000
mov rcx, r15
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x44]
mov rcx, r14
mov edx, ebx
mov r8, r15
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
je 0x14000608d
cmp eax, 0x103
jne 0x1400060c5
movabs rax, 0x8000000000000000
or rax, 1
mov qword [rsi], rax
jmp 0x1400060f8
mov r8d, dword [rsp + 0x44]
cmp r8, 0x801
jae 0x14000610a
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call dbg.from_utf16
mov rcx, qword [rsp + 0x48]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x1400060d9
mov rax, qword [rsp + 0x50]
jmp 0x1400060e3
movabs rcx, 0x8000000000000000
shl rax, 0x20
or rax, 2
jmp 0x1400060e8
movabs rax, 0x900000002
mov rdx, qword [rsp + 0x58]
inc ebx
mov dword [rdi + 8], ebx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
mov rax, rsi
add rsp, 0x1060
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinreg_0.9.0_srclib.rs
mov edx, 0x800
mov rcx, r8
mov r8, rax
call dbg.slice_end_index_len_fail
int3
Function at 0x140010110
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140010430
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
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
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