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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000d5f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d5f4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d5f4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d5f4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d5f4
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d5f4
cmp dword [rcx + 0xf8], esi
je 0x14000d5f4
mov ecx, r14d
call fcn.14000d73c
mov ecx, 2
call fcn.140011958
nop
cmp byte [0x14002a4e0], 0
jne 0x14000d6be
mov r15d, 1
mov eax, r15d
xchg dword [0x14002a4d0], eax
test ebx, ebx
jne 0x14000d667
mov rdi, qword [0x140029010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14002a4d8]
cmp rcx, rax
je 0x14000d65e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140005f5c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14002a528]
jmp 0x14000d673
cmp ebx, r15d
jne 0x14000d679
lea rcx, [0x14002a540]
call fcn.14000dde4
nop
test ebx, ebx
jne 0x14000d690
lea rdx, [0x14001b5c0]
lea rcx, [0x14001b5a0]
call fcn.14000d4b4
lea rdx, [0x14001b5d0]
lea rcx, [0x14001b5c8]
call fcn.14000d4b4
movzx eax, byte [0x14002a4e0]
test esi, esi
cmove eax, r15d
mov byte [0x14002a4e0], al
jmp 0x14000d6be
mov ecx, 2
call fcn.1400119ac
test esi, esi
jne 0x14000d6d5
mov ecx, r14d
call fcn.14000d6f0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000d584

Function at 0x14000dfe0
Capabilities:
Authenticate hmac

Disassembly:
lea rdx, [0x14001c6e0]
lea rcx, [0x14001c5f0]
jmp fcn.14001148c
Function at 0x140011974
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings

Disassembly:
test byte [rdx + rbx*8], ah
add dword [rax], eax
add byte [rbp - 0x24db7b3a], al
add dword [rax], eax
add byte [rdi + rax*8 - 0x7c], al
and al, 0xe0
or byte [rax], al
add byte [rdi - 0x3867482e], ch
test byte [rsp + riz*8], ah
or byte [rax], al
add byte [rax + rax - 0x7b390000], bl
and al, 0xe8
or byte [rax], al
add byte [rcx], al
add byte [rax], al
Function at 0x14001936c
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140019385
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x140019387
xor eax, eax
ret

Function at 0x14001938c
Capabilities:
Hash data using crc32b

Disassembly:
mov r10, rcx
mov eax, 0xffffffff
movzx ecx, byte [rcx]
test cl, cl
je 0x1400194b5
nop dword [rax]
nop word [rax + rax]

Function at 0x1400193c4
Capabilities:
Hash data using crc32b

Disassembly:
movzx edx, cl
lea r10, [r10 + 1]
mov r8d, edx
shr r8d, 1
lea ecx, [rdx + rdx]
xor r8d, ecx
lea ecx, [rdx + rdx]
and r8d, 0x55555555
loopne 0x14001941b
push rbp
push rbp
push rbp
xor r8d, ecx
mov edx, r8d
shr edx, 2
lea ecx, [r8*4]
xor edx, ecx
lea ecx, [r8*4]
and edx, 0x33333333
xor edx, ecx
mov r9d, edx
shr edx, 4
and r9d, 0xff0f0f0f
shl r9d, 4
or r9d, edx
lea edx, [rax + rax]
mov r8d, edx
xor r8d, 0x4c11db7
bswap r9d
mov ecx, r9d
xor ecx, eax
cmovns r8d, edx
lea ecx, [r9 + r9]
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea edx, [r8 + r8]
mov eax, edx
xor eax, 0x4c11db7
xor ecx, r8d
movzx ecx, byte [r10]
cmovns eax, edx
test cl, cl
jne 0x1400193ac
not eax
mov edx, eax
shr edx, 1
lea ecx, [rax + rax]
add eax, eax
xor edx, ecx
and edx, 0x55555555
xor edx, eax
mov r8d, edx
shr r8d, 2
lea eax, [rdx*4]
xor r8d, eax
lea eax, [rdx*4]
and r8d, 0x33333333
xor r8d, eax
mov eax, r8d
mov ecx, r8d
shr eax, 4
shl ecx, 4
xor eax, ecx
shl r8d, 4
and eax, 0xf0f0f0f
xor eax, r8d
bswap eax
ret
Function at 0x1400193cc
Capabilities:
Hash data using crc32b

Disassembly:
movzx edx, cl
lea r10, [r10 + 1]
mov r8d, edx
shr r8d, 1
lea ecx, [rdx + rdx]
xor r8d, ecx
lea ecx, [rdx + rdx]
and r8d, 0x55555555
loopne 0x14001941b
push rbp
push rbp
push rbp
xor r8d, ecx
mov edx, r8d
shr edx, 2
lea ecx, [r8*4]
xor edx, ecx
lea ecx, [r8*4]
and edx, 0x33333333
xor edx, ecx
mov r9d, edx
shr edx, 4
and r9d, 0xff0f0f0f
shl r9d, 4
or r9d, edx
lea edx, [rax + rax]
mov r8d, edx
xor r8d, 0x4c11db7
bswap r9d
mov ecx, r9d
xor ecx, eax
cmovns r8d, edx
lea ecx, [r9 + r9]
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea edx, [r8 + r8]
mov eax, edx
xor eax, 0x4c11db7
xor ecx, r8d
movzx ecx, byte [r10]
cmovns eax, edx
test cl, cl
jne 0x1400193ac
not eax
mov edx, eax
shr edx, 1
lea ecx, [rax + rax]
add eax, eax
xor edx, ecx
and edx, 0x55555555
xor edx, eax
mov r8d, edx
shr r8d, 2
lea eax, [rdx*4]
xor r8d, eax
lea eax, [rdx*4]
and r8d, 0x33333333
xor r8d, eax
mov eax, r8d
mov ecx, r8d
shr eax, 4
shl ecx, 4
xor eax, ecx
shl r8d, 4
and eax, 0xf0f0f0f
xor eax, r8d
bswap eax
ret

Function at 0x140019488
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
movzx edx, cl
lea r10, [r10 + 1]
mov r8d, edx
shr r8d, 1
lea ecx, [rdx + rdx]
xor r8d, ecx
lea ecx, [rdx + rdx]
and r8d, 0x55555555
loopne 0x14001941b
push rbp
push rbp
push rbp
xor r8d, ecx
mov edx, r8d
shr edx, 2
lea ecx, [r8*4]
xor edx, ecx
lea ecx, [r8*4]
and edx, 0x33333333
xor edx, ecx
mov r9d, edx
shr edx, 4
and r9d, 0xff0f0f0f
shl r9d, 4
or r9d, edx
lea edx, [rax + rax]
mov r8d, edx
xor r8d, 0x4c11db7
bswap r9d
mov ecx, r9d
xor ecx, eax
cmovns r8d, edx
lea ecx, [r9 + r9]
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea edx, [r8 + r8]
mov eax, edx
xor eax, 0x4c11db7
xor ecx, r8d
movzx ecx, byte [r10]
cmovns eax, edx
test cl, cl
jne 0x1400193ac
not eax
mov edx, eax
shr edx, 1
lea ecx, [rax + rax]
add eax, eax
xor edx, ecx
and edx, 0x55555555
xor edx, eax
mov r8d, edx
shr r8d, 2
lea eax, [rdx*4]
xor r8d, eax
lea eax, [rdx*4]
and r8d, 0x33333333
xor r8d, eax
mov eax, r8d
mov ecx, r8d
shr eax, 4
shl ecx, 4
xor eax, ecx
shl r8d, 4
and eax, 0xf0f0f0f
xor eax, r8d
bswap eax
ret
Function at 0x14001950c
Capabilities:
Hash data using crc32b

Disassembly:
mov r10, rcx
mov eax, 0xffffffff
movzx ecx, word [rcx]
test cx, cx
je 0x14001963f
xor r11d, r11d
nop word [rax + rax]

Function at 0x140019568
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
movzx edx, cx
lea r11, [r11 + 1]
mov r8d, edx
shr r8d, 1
lea ecx, [rdx + rdx]
xor r8d, ecx
lea ecx, [rdx + rdx]
and r8d, 0x55555555
xor r8d, ecx
mov edx, r8d
shr edx, 2
lea ecx, [r8*4]
xor edx, ecx
lea ecx, [r8*4]
and edx, 0x33333333
xor esi, dword [rbx]
xor esi, dword [rbx]
xor edx, ecx
mov r9d, edx
mov ecx, edx
shl edx, 4
shl ecx, 4
shr r9d, 4
xor r9d, ecx
and r9d, 0xf0f0f0f
xor r9d, edx
lea edx, [rax + rax]
mov r8d, edx
xor r8d, 0x4c11db7
bswap r9d
mov ecx, r9d
xor ecx, eax
cmovns r8d, edx
lea ecx, [r9 + r9]
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x4c11db7
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea edx, [r8 + r8]
mov eax, edx
xor eax, 0x4c11db7
xor ecx, r8d
movzx ecx, word [r10 + r11*2]
cmovns eax, edx
test cx, cx
jne 0x14001952c
not eax
mov edx, eax
shr edx, 1
lea ecx, [rax + rax]
add eax, eax
xor edx, ecx
and edx, 0x55555555
xor edx, eax
mov r8d, edx
shr r8d, 2
lea eax, [rdx*4]
xor r8d, eax
lea eax, [rdx*4]
and r8d, 0x33333333
xor r8d, eax
mov eax, r8d
mov ecx, r8d
shr eax, 4
shl ecx, 4
xor eax, ecx
shl r8d, 4
and eax, 0xf0f0f0f
xor eax, r8d
bswap eax
ret

Function at 0x14001969c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14d, edx
mov rdi, rcx
test rcx, rcx
je 0x14001972c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001972c
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14001972c
mov ecx, 0x8664
cmp word [rax + 4], cx
jne 0x14001972c
mov ecx, dword [rax + 0x88]
test ecx, ecx
je 0x14001972c
cmp dword [rax + 0x84], 0
jbe 0x14001972c
mov ebp, ecx
add rbp, rdi
je 0x14001972c
mov ebx, dword [rbp + 0x20]
xor r11d, r11d
mov esi, dword [rbp + 0x18]
add rbx, rdi
test esi, esi
je 0x14001972c
mov ecx, dword [rbx]
add rcx, rdi
call fcn.14001938c
cmp eax, r14d
je 0x140019749
inc r11d
add rbx, 4
cmp r11d, esi
jb 0x14001970f
nop
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, dword [rbp + 0x24]
add rcx, rdi
movzx r8d, word [rcx + r11*2]
mov ecx, dword [rbp + 0x1c]
add rcx, rdi
mov eax, dword [rcx + r8*4]
add rax, rdi
jmp 0x14001972e
Function at 0x14001985c
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x90
in al, dx
nop
add byte [rax], al
add byte [rbp + 0x48], ah
mov rax, qword [0x60]

Function at 0x140019f1c
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov byte [rsp + 0x13], r8b
shr eax, 0x18
mov r9, rcx
mov byte [rsp + 0x10], al
mov eax, r8d
shr eax, 0x10
mov byte [rsp + 0x11], al
mov eax, r8d
shr eax, 8
mov byte [rsp + 0x12], al
xor eax, eax
test edx, edx
je 0x140019f2b
mov r8d, edx
nop
movzx edx, byte [rsp + rax + 0x10]
mov ecx, eax
xor byte [r9], dl
lea r9, [r9 + 1]
lea edx, [rax + 1]
xor eax, eax
cmp ecx, 3
cmovne eax, edx
sub r8, 1
jne 0x140019f0c
ret

Function at 0x14001a05c
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [rcx + 0x14]
xor r8d, r8d
movzx r11d, word [rcx + 6]
add rax, 0x18
add rax, rcx
mov r10d, edx
test r11d, r11d
je 0x14001a09c
nop dword [rax + rax]
mov r9d, dword [rax + 0xc]
cmp r10d, r9d
jb 0x14001a090
mov edx, dword [rax + 0x10]
add edx, r9d
cmp r10d, edx
jbe 0x14001a0a2
inc r8d
add rax, 0x28
cmp r8d, r11d
jl 0x14001a07c
mov eax, 0xffffffff
ret
mov eax, dword [rax + 0x14]
sub eax, r9d
add eax, r10d
ret
Function at 0x140001a70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp rax, rcx
add rax, 0xffffffffb1572592
push r8
pop rax
cmc
call fcn.140001a9a

Function at 0x140003b90
Capabilities:
Enumerate process modules
Link many functions at runtime

Disassembly:
mov eax, 0x20d8
call fcn.140018950
sub rsp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x80], rax
call fcn.140003bb0

Function at 0x140006db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
jmp 0x140006de1
nop
xor rax, rax
cmp rax, 0xffffffffffffff8a
dec rax
cmp rax, rcx
cmp rax, 0xffffffffffffffa3
push rax
pop rax
xor rax, rax
pushfq
cmp ecx, edx
popfq
mov rax, rcx
cmp rax, 0xffffffffa4df0da8
xor eax, eax
pushfq
cmp ecx, edx
popfq
cmc
call fcn.140003b80
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x68], rax
cmp rax, rcx
add eax, 0xcee9f3a9
add rax, 0x47104b71
mov eax, 0x916d9670
push rax
pop rax
cmp cx, cx
cmp eax, ecx
inc rax
cmp rax, 0xffffffffcb6fbbf5
cmp al, cl
push r8
pop rax
xor eax, eax
dec eax
cmc
inc eax
cmc
call fcn.140003b80
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x140006ec8
mov rax, qword [0x14007edc0]
mov qword [rsp + 0x78], rax
mov ecx, 0x7f
call qword [rsp + 0x78]
push r8
pop rax
cmp rax, rcx
push rax
pop rax
pushfq
cmp ecx, edx
popfq
cmc
call fcn.140006e9e
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
add rax, 0x538a1a3e
cmp al, cl
inc eax
inc rax
dec rax
cmc
push rax
pop rax
call fcn.140006ef7
Function at 0x14000a500
Capabilities:
Accept command line arguments
Parse credit card information
Parse pe header
Read file on windows
Set current directory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x450
call fcn.14000a521

Function at 0x140019510
Capabilities:
Parse pe header

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

Function at 0x14002dd78
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 0x14002db67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002db67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002db67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002db67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002db67
cmp dword [rcx + 0x84], 0xe
jbe 0x14002db67
cmp dword [rcx + 0xf8], 0
je 0x14002db67
mov ecx, ebx
call fcn.14002dc98
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.14002d8e4
cmp dword [rbp + 0x20], 0
je 0x14002dbb4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002dbbc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002db00
Function at 0x1400012b0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140017888], rbx
je 0x140001317
cmp rax, rbx
jne 0x14000130a
mov ebx, 1
mov esi, ebx
jmp 0x14000131c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400012ef
mov ebx, 1
mov eax, dword [0x140017890]
cmp eax, ebx
jne 0x140001334
mov edi, Ordinal_35
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013aa
mov eax, dword [0x140017890]
test eax, eax
jne 0x14000139f
mov dword [0x140017890], ebx
lea r15, [0x140013a38]
lea rdi, [0x140013a20]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001391
test eax, eax
jne 0x140001395
cmp qword [rdi], r14
je 0x140001386
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x1400139b8]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000135e
test eax, eax
je 0x1400013a5
mov eax, 0xff
jmp 0x14000150a
mov dword [0x1400170a4], ebx
mov edi, Ordinal_35
mov eax, dword [0x140017890]
cmp eax, ebx
jne 0x1400013d1
lea rdx, [0x140013a18]
lea rcx, [0x1400139c8]
call sub.msvcrt.dll__initterm
mov dword [0x140017890], 2
test esi, esi
jne 0x1400013df
mov rax, r14
xchg qword [0x140017888], rax
cmp qword [0x1400178a8], r14
je 0x14000141c
lea rcx, [0x1400178a8]
call fcn.1400019b0
test eax, eax
je 0x14000141c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400178a8]
mov r9, qword [0x1400139b8]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140001435
mov eax, 0xff
jmp 0x14000150a
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400014bb
test ax, ax
je 0x140001450
test edx, edx
jne 0x1400014bb
sub ax, bx
cmp ax, di
ja 0x140001466
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001450
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000ae8c
mov dword [0x1400170a0], eax
cmp dword [0x1400170c0], r14d
jne 0x1400014a4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400170a4], r14d
jne 0x1400014b9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400170a0]
jmp 0x14000150a
cmp ax, 0x22
jne 0x1400014cf
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000143e
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400da000
add rsp, 0x28
jmp 0x1400012b0
Function at 0x140001e54
Capabilities:
Get token membership

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140017018]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], edi
mov qword [r11 - 0x38], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], edi
xor r9d, r9d
mov dword [rsp + 0x40], edi
lea esi, [rdi + 1]
mov dword [rsp + 0x38], edi
lea r8d, [rdi + 0x12]
mov dword [rsp + 0x30], edi
mov dl, sil
mov dword [rsp + 0x28], edi
mov ebx, edi
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x10], edi
mov qword [rbp - 0x18], rdi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x140001ef1
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x140001ef1
cmp dword [rbp - 0x20], edi
cmovne ebx, esi
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140001f06
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001560
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140002020
Capabilities:
Delete registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140017018]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call sub.msvcrt.dll_memset
lea rdx, str.RunAs
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
mov r9d, 0x100
lea r8, [rsp + 0x30]
mov rcx, rax
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jle 0x1400020e1
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], dx
jne 0x1400020a2
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x140013cb0]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
jmp 0x1400020ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001560
add rsp, 0x240
pop rbx
ret
Function at 0x140002110
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140017018]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r14, rdx
mov dword [rsp + 0x70], 0x40
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x218
call sub.msvcrt.dll_memset
mov r12d, 0x10e
lea rcx, [rsp + 0x70]
mov edx, r12d
mov r8, r14
call fcn.140002578
xor r15d, r15d
mov ebx, eax
test eax, eax
jne 0x140002335
lea r8, str.__1001
mov edx, r12d
lea rcx, [rsp + 0x70]
call fcn.140002578
mov ebx, eax
test eax, eax
jne 0x140002335
or rdi, 0xffffffffffffffff
lea rcx, [rsp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400021af
lea eax, [rax*2 + 2]
mov r9d, 2
mov dword [rsp + 0x28], eax
lea rdx, str.LocalizedString
lea rax, [rsp + 0x70]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140002335
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea r9, str.REG_SZ
lea rax, [rsp + 0x58]
mov rcx, rsi
mov qword [rsp + 0x38], rax
lea rdx, str.Elevation
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140002335
mov rcx, qword [rsp + 0x58]
lea r9d, [rax + 4]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Enabled
mov dword [rsp + 0x50], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140002324
xor edx, edx
mov dword [rbp + 0x190], 0x40
mov r8d, 0x218
lea rcx, [rbp + 0x194]
call sub.msvcrt.dll_memset
mov r8, r14
lea rcx, [rbp + 0x190]
mov rdx, r12
call fcn.140002578
mov ebx, eax
test eax, eax
jne 0x140002324
lea r8, str.__1002
mov rdx, r12
lea rcx, [rbp + 0x190]
call fcn.140002578
mov ebx, eax
test eax, eax
jne 0x140002324
lea rax, [rbp + 0x190]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x1400022e0
mov rcx, qword [rsp + 0x58]
lea eax, [rdi*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.IconReference
lea rax, [rbp + 0x190]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140001560
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret