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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006145e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006145e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006145e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006145e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006145e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140061460
xor al, al
add rsp, 0x28
ret

Function at 0x140064e70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140064e98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140064e98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14006d810
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.140005f30
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.140005f80
test ebx, ebx
jne 0x14006d884
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x14006d8ac
lea rcx, [0x140137888]
call fcn.140004270
mov rbx, rax
mov rcx, rbx
call fcn.14007c480
mov rcx, rbx
call fcn.1400047e0
int3
lea rcx, [0x140137e60]
call fcn.140004270
mov rbx, rax
mov rcx, rbx
call fcn.140080090
mov rcx, rbx
call fcn.1400047e0
int3

Function at 0x14006dd80
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
jne 0x14006de27
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.1400b7c00
mov ecx, eax
test ecx, ecx
jne 0x14006de2e
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.1400b7ba0
mov ecx, eax
lea rdx, [0x140119c30]
xor r8d, r8d
call fcn.1400a3d10
mov rcx, rax
call fcn.1400047e0
int3

Function at 0x140070f20
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140070f32
add rsp, 0x28
jmp fcn.140071480
lea rcx, [0x140131920]
call fcn.140078230
int3
Function at 0x140080720
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r8d, edx
test r8d, r8d
jl 0x140080826
mov rcx, qword [rcx + 8]
lea rax, [0x14013d288]
cmp qword [rcx], rax
je 0x140080818
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [rcx + 0x20]
mov r11, rdx
shl r11, 0x11
xor r10, rax
xor r9, rdx
lea rbx, [rdx + rdx*4]
rol rbx, 7
lea rbx, [rbx + rbx*8]
xor rdx, r10
xor rax, r9
xor r10, r11
rol r9, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r10
mov qword [rcx + 0x20], r9
mov r10d, r8d
shr rbx, 0x20
mov r9d, ebx
imul r9, r10
mov r11d, r9d
cmp r11d, r8d
jae 0x14008080a
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp r11d, edx
jae 0x14008080a
mov r9, qword [rcx + 8]
mov r11, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov r8, qword [rcx + 0x20]
mov rbx, r11
shl rbx, 0x11
xor rax, r9
xor r8, r11
lea rsi, [r11 + r11*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
xor r11, rax
xor r9, r8
xor rax, rbx
rol r8, 0x2d
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r11
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], r8
shr rsi, 0x20
mov r9d, esi
imul r9, r10
mov r11d, r9d
cmp r11d, edx
jb 0x1400807b1
shr r9, 0x20
mov eax, r9d
add rsp, 0x28
pop rbx
pop rsi
ret
mov edx, r8d
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400b92b0
mov ecx, r8d
lea rdx, [0x1401308e0]
call fcn.14010e270
int3

Function at 0x1400b3b00
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, r8
mov rsi, r9
mov rdi, qword [rbp + 0x30]
mov qword [rbp - 0x40], rdi
test rdx, rdx
jne 0x1400b3b3d
xor r14d, r14d
jmp 0x1400b3b41
lea r14, [rdx + 0xc]
mov qword [rbp - 0x48], r14
test rcx, rcx
jne 0x1400b3b4f
xor r15d, r15d
jmp 0x1400b3b53
lea r15, [rcx + 0xc]
mov qword [rbp - 0x50], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], rdi
mov edi, dword [rbp + 0x38]
mov dword [rsp + 0x28], edi
mov rcx, r15
mov qword [rbp - 0x80], rcx
mov rdx, r14
mov qword [rbp - 0x88], rdx
mov r8, rbx
mov qword [rbp - 0x90], r8
mov r9, rsi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.140005f30
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.KERNEL32.dll_CopyFileExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b3c18
mov dword [rdi + 0x80], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b3bf6
Function at 0x1400b4200
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x1400b4227
xor ebx, ebx
jmp 0x1400b422b
lea rbx, [rcx + 0xc]
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x68]
call fcn.140005f30
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b42a6
mov dword [rdi + 0x80], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b4287

Function at 0x1400b56c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400aa740
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x7c], rcx
mov rdx, rbx
mov qword [rbp - 0x84], rdx
mov r8d, esi
mov dword [rbp - 0x74], r8d
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0x70]
call fcn.140005f30
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x8c]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x1400b5783
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400aa780
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b57bf
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b57a3
Function at 0x1400b5810
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400aa740
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x84], rcx
mov rdx, rsi
mov qword [rbp - 0x8c], rdx
mov r8d, edi
mov dword [rbp - 0x7c], r8d
mov r9, rbx
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0x78]
call fcn.140005f30
mov rcx, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x94]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400b58ef
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400aa780
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b592b
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b590f

Function at 0x1400b6350
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.140005f30
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b641c
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b6403
Function at 0x1400b6430
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400aa740
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x7c], rcx
mov rdx, rbx
mov qword [rbp - 0x84], rdx
mov r8d, esi
mov dword [rbp - 0x74], r8d
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0x70]
call fcn.140005f30
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x8c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x1400b64f3
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400aa780
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b652f
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b6513

Function at 0x1400b6580
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400aa740
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x84], rcx
mov rdx, rsi
mov qword [rbp - 0x8c], rdx
mov r8d, edi
mov dword [rbp - 0x7c], r8d
mov r9, rbx
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0x78]
call fcn.140005f30
mov rcx, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x94]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400b665f
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400aa780
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b669b
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b667f
Function at 0x1400b7220
Capabilities:
Access the windows event log

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x30]
mov r13, qword [rbp + 0x50]
lea r12, [r13 + 0x10]
xor ecx, ecx
test r13, r13
cmove r12, rcx
mov qword [rbp - 0x40], r12
lea r13, [r15 + 0x10]
test r15, r15
cmove r13, rcx
mov qword [rbp - 0x48], r13
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r13
movsx rdx, word [rbp + 0x38]
mov dword [rsp + 0x28], edx
mov r15d, dword [rbp + 0x40]
mov dword [rsp + 0x30], r15d
mov r15, qword [rbp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
movsx rdx, si
mov dword [rbp - 0x74], edx
movzx r8d, di
mov dword [rbp - 0x78], r8d
mov rcx, rbx
mov qword [rbp - 0x84], rcx
mov r9d, r14d
mov dword [rbp - 0x7c], r9d
lea rcx, [rbp - 0x70]
call fcn.140005f30
mov edx, dword [rbp - 0x74]
mov r8d, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x7c]
call sub.ADVAPI32.dll_ReportEventW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140005f80
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400b7340
mov dword [rdi + 0x80], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400b0fb0]
call rax
mov rdi, rax
jmp 0x1400b731e
Function at 0x1400b74a0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xor eax, eax
mov qword [rbp - 0x78], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov edi, edx
mov rbx, r8
mov rsi, r9
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
mov r13, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400aa740
nop
lea rcx, [r12 + 0x10]
xor edx, edx
test r12, r12
cmove rcx, rdx
mov qword [rbp - 0x50], rcx
lea rdx, [r13 + 0x10]
xor r8d, r8d
test r13, r13
cmove rdx, r8
mov qword [rbp - 0x58], rdx
lea r8, [r15 + 0x10]
xor r9d, r9d
test r15, r15
cmove r8, r9
mov qword [rbp - 0x60], r8
lea r9, [r14 + 0x10]
xor eax, eax
test r14, r14
cmove r9, rax
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x78], rbx
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0xac], rcx
mov edx, edi
mov dword [rbp - 0xa4], edx
mov r8, rbx
mov qword [rbp - 0xb4], r8
mov r9, rsi
mov qword [rbp - 0xbc], r9
lea rcx, [rbp - 0xa0]
call fcn.140005f30
mov rcx, qword [rbp - 0xac]
mov edx, dword [rbp - 0xa4]
mov r8, qword [rbp - 0xb4]
mov r9, qword [rbp - 0xbc]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
lea rcx, [rbp - 0xa0]
call fcn.140005f80
nop
xor ecx, ecx
mov qword [rbp - 0x78], rcx
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400b7603
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400aa780
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400b7930
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400aa740
nop
test rbx, rbx
jne 0x1400b7981
xor edx, edx
jmp 0x1400b7985
lea rdx, [rbx + 0xc]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov r8, rsi
mov qword [rbp - 0x90], r8
mov r9, rdi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.140005f30
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140005f80
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400b7a0e
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400aa780
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400b9580
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov rax, r11
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.1400b9580
ret

Function at 0x1400d5cf0
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
cmp edx, 0xffffffff
je 0x1400d5d23
mov ecx, edx
call fcn.1400d5c20
mov rdx, rax
lea rcx, [0x140127cb8]
lea r8, [0x14012ef18]
call fcn.140073660
mov rcx, rax
call fcn.1400d5ba0
jmp 0x1400d5d28
mov eax, 0xd5313557
mov ecx, eax
rol ecx, 0xd
add ecx, eax
mov eax, ecx
xor eax, ebx
mov ecx, eax
rol ecx, 0xf
add eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x1400e0d20
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x1d0]
xor eax, eax
mov qword [rbp - 0x128], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x120], xmm4
movaps xmmword [rbp - 0x110], xmm4
movabs rax, 0xffffffffffffff40
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x1400e0d5f
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov r10, rcx
mov rbx, r8
mov r14, r9
mov r15, qword [rbp + 0x48]
mov r13, qword [rbp + 0x58]
mov rcx, r10
mov edx, 1
xor r8d, r8d
call fcn.1400a9ec0
mov r12, rax
mov qword [rbp - 0x40], r12
mov rcx, qword [rbp + 0x18]
mov edx, 1
xor r8d, r8d
call fcn.1400a9ec0
mov qword [rbp - 0x48], rax
cmp byte [rbp + 0x30], 0
setne sil
movzx esi, sil
mov dword [rbp - 0x4c], esi
mov rcx, r15
mov edx, 1
xor r8d, r8d
call fcn.1400a9ec0
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0xb8]
mov rsi, qword [rbp + 0x50]
mov ecx, 0xc
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0xb8]
lea rdx, [rbp - 0x120]
call fcn.140100010
mov qword [rbp - 0x128], r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp - 0x4c]
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov r8, qword [rbp - 0x58]
mov qword [rsp + 0x38], r8
lea rcx, [rbp - 0x120]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r13
mov rcx, r12
mov qword [rbp - 0x160], rcx
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x168], rdx
mov r8, rbx
mov qword [rbp - 0x170], r8
mov r9, r14
mov qword [rbp - 0x178], r9
lea rcx, [rbp - 0x150]
call fcn.140005f30
mov rcx, qword [rbp - 0x160]
mov rdx, qword [rbp - 0x168]
mov r8, qword [rbp - 0x170]
mov r9, qword [rbp - 0x178]
call sub.KERNEL32.dll_CreateProcessA
mov ebx, eax
lea rcx, [rbp - 0x150]
call fcn.140005f80
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x1400e0efe
mov qword [rbp - 0x158], rsi
call sub.KERNEL32.dll_GetLastError
mov rsi, qword [rbp - 0x158]
mov dword [rsi + 0x80], eax
test ebx, ebx
setne dil
movzx edi, dil
cmp dword [0x1401cf9a8], 0
je 0x1400e0f19
jmp 0x1400e0f13
lea rax, [0x1400b0fb0]
call rax
mov rsi, rax
mov qword [rbp - 0x158], rsi
jmp 0x1400e0ed7
call fcn.140005050
nop
cmp qword [rbp + 0x10], 0
je 0x1400e0f31
test r12, 0xffffffffffff0000
je 0x1400e0f31
mov rcx, r12
call fcn.1400b7b50
cmp qword [rbp + 0x18], 0
je 0x1400e0f4d
mov rdx, qword [rbp - 0x48]
test rdx, 0xffffffffffff0000
je 0x1400e0f4d
mov rcx, rdx
call fcn.1400b7b50
cmp qword [rbp + 0x48], 0
je 0x1400e0f69
mov r8, qword [rbp - 0x58]
test r8, 0xffffffffffff0000
je 0x1400e0f69
mov rcx, r8
call fcn.1400b7b50
lea rcx, [rbp - 0x120]
call fcn.1400ffe90
movzx eax, dil
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret