joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4c5020
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c5a22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c5aba
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c5a9e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5a92
cmp qword [rbp - 0x10], 0
je 0x2fc4c5a92
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5a58
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c5abb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5bc0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5be8
mov eax, 0
jmp 0x2fc4c5c36
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5c11
mov eax, 0
jmp 0x2fc4c5c36
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5c31
mov eax, 0
jmp 0x2fc4c5c36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5c3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5cba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5cb1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5cb1
mov rax, qword [rbp - 8]
jmp 0x2fc4c5ccf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5c84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400017f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp], dl
add dl, dl
mov byte [rsp + 0x80], r9b
mov byte [rsp + 0x88], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x78], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp + 1], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x78], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp]
add al, al
movzx ecx, byte [rsp + 0x78]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x88]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
movzx esi, byte [rsp + 0x80]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp + 1]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140001820
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001a80
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
lea r8, [0x1402af450]
mov rsi, rcx
sub r8, rcx
mov r9d, 4
nop
mov edx, 4
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140001ac0
sub r9, 1
jne 0x140001ab0
mov r15b, 1
lea r13, str.cw
mov r8, rsi
mov r9d, 4
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r13]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001b00
inc r8
sub r9, 1
jne 0x140001af0
movzx eax, byte [rsi + 5]
movzx ecx, byte [rsi + 1]
mov byte [rsi + 1], al
movzx eax, byte [rsi + 9]
mov byte [rsi + 5], al
movzx eax, byte [rsi + 0xd]
mov byte [rsi + 9], al
movzx eax, byte [rsi + 0xa]
mov byte [rsi + 0xd], cl
movzx ecx, byte [rsi + 2]
mov byte [rsi + 2], al
movzx eax, byte [rsi + 0xe]
mov byte [rsi + 0xa], cl
movzx ecx, byte [rsi + 6]
mov byte [rsi + 6], al
movzx eax, byte [rsi + 0xf]
mov byte [rsi + 0xe], cl
movzx ecx, byte [rsi + 3]
mov byte [rsi + 3], al
movzx eax, byte [rsi + 0xb]
mov byte [rsi + 0xf], al
movzx eax, byte [rsi + 7]
mov byte [rsi + 0xb], al
mov byte [rsi + 7], cl
cmp r15b, 0xe
je 0x140001c8e
lea r14, [rsi + 2]
lea ebp, [rdx + 4]
nop dword [rax]
nop word [rax + rax]
movzx edi, byte [r14 - 2]
movzx r8d, byte [r14 - 1]
movzx edx, dil
movzx ebx, byte [r14 + 1]
xor dl, r8b
movzx r10d, byte [r14]
lea r14, [r14 + 4]
movzx eax, dl
movzx r9d, bl
shr al, 7
add dl, dl
movzx eax, al
xor r9b, r10b
imul ecx, eax, 0x1b
movzx r11d, r9b
xor r11b, dil
xor r11b, r8b
xor cl, dl
movzx edx, r8b
xor cl, dil
xor dl, r10b
xor cl, r11b
movzx eax, dl
mov byte [r14 - 6], cl
xor dil, bl
shr al, 7
add dl, dl
movzx eax, al
imul ecx, eax, 0x1b
movzx eax, r9b
shr al, 7
add r9b, r9b
movzx eax, al
xor cl, dl
xor cl, r8b
xor cl, r11b
mov byte [r14 - 5], cl
imul ecx, eax, 0x1b
movzx eax, dil
shr al, 7
add dil, dil
movzx eax, al
xor cl, r9b
xor cl, r10b
xor cl, r11b
mov byte [r14 - 4], cl
imul ecx, eax, 0x1b
xor cl, dil
xor cl, bl
xor cl, r11b
mov byte [r14 - 3], cl
sub rbp, 1
jne 0x140001b90
movzx r8d, r15b
lea rcx, [0x1402af450]
shl r8, 4
lea r9d, [rbp + 4]
sub r8, rsi
mov rax, rsi
add r8, rcx
nop dword [rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001c70
sub r9, 1
jne 0x140001c60
inc r15b
jmp 0x140001ae0
lea rdx, [0x1402af530]
mov r8d, 4
sub rdx, rsi
nop
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rdx + rsi]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x140001cb0
sub r8, 1
jne 0x140001ca0
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 0x140001cf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r9, [0x1402af530]
mov rbx, rcx
sub r9, rcx
mov rdx, rcx
mov r10d, 4
nop word [rax + rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
xor byte [rdx], al
inc rdx
sub r8, 1
jne 0x140001d30
sub r10, 1
jne 0x140001d20
mov dil, 0xd
lea rsi, [0x140000000]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rsi + 0x26830]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001dc0
inc r8
sub r9, 1
jne 0x140001db0
movzx eax, dil
lea r8, [rsi + 0x2af450]
shl rax, 4
lea r9d, [rdx + 4]
sub rax, rbx
add r8, rax
mov rax, rbx
nop dword [rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001e10
sub r9, 1
jne 0x140001e00
test dil, dil
je 0x140001e3c
mov rcx, rbx
call fcn.1400017f0
add dil, 0xff
jmp 0x140001d50
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140002520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
xor r15d, r15d
mov dword [rsp + 0x20], r15d
movdqa xmm0, xmmword [0x140027140]
movdqu xmmword [rsp + 0x28], xmm0
mov word [rsp + 0x38], pe_nt_image_headers64
mov ecx, r15d
nop
lea eax, [rcx + 0x5a]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 0x10
jb 0x140002570
mov byte [rsp + 0x39], 0
mov r14, qword [r8 + 0x10]
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
xor r8d, r8d
lea rdx, [0x140026980]
mov rcx, rdi
call fcn.140002020
mov dword [rsp + 0x20], 1
lea rdx, [r14 + r14]
cmp qword [rdi + 0x18], rdx
jae 0x1400025ce
mov rbx, qword [rdi + 0x10]
sub rdx, rbx
mov rcx, rdi
call fcn.140003ad0
mov qword [rdi + 0x10], rbx
mov rbx, r15
test r14, r14
je 0x14000267a
nop word [rax + rax]
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400025ed
mov rax, qword [rsi]
movzx ebp, byte [rax + rbx]
mov eax, ebp
shr rax, 4
movzx r9d, byte [rsp + rax + 0x28]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140002629
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14000261e
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002631
mov rcx, rdi
call fcn.140003c20
and ebp, 0xf
movzx r9d, byte [rsp + rbp + 0x28]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140002666
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14000265b
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000266e
mov rcx, rdi
call fcn.140003c20
inc rbx
cmp rbx, r14
jb 0x1400025e0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400026b0
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400026ab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026e3
mov rcx, r8
call fcn.140017770
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140017750
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400027e0
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx ebp, r8b
mov rdi, rdx
mov qword [rsp + 0x28], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
xor r8d, r8d
lea rdx, [0x140026980]
mov rcx, rdi
call fcn.140002020
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], 0x10
mov dword [rsp + 0x34], 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140002928
lea rax, [rsp + 0x38]
mov rbx, 0xffffffffffffffff
mov rsi, rbx
inc rsi
cmp byte [rax + rsi], 0
jne 0x140002872
mov rax, qword [rdi + 0x18]
cmp rsi, rax
ja 0x1400028ab
mov r14, rdi
cmp rax, 0xf
jbe 0x140002890
mov r14, qword [rdi]
mov qword [rdi + 0x10], rsi
mov r8, rsi
lea rdx, [rsp + 0x38]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x1400028bb
lea r9, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.140003f20
test bpl, bpl
je 0x140002928
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140002928
lea rax, [rsp + 0x48]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400028e0
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x140002918
mov rsi, rdi
cmp rax, 0xf
jbe 0x1400028fe
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140002928
lea r9, [rsp + 0x48]
mov rdx, rbx
mov rcx, rdi
call fcn.140003f20
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140017750
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140002fc0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rdx
mov qword [rbp - 0x69], rdx
xor r15d, r15d
lea rdx, [rbp - 0x59]
call fcn.140002950
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], r15
mov rdi, qword [rbp - 0x49]
lea rsi, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rsi, qword [rbp - 0x59]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140003211
cmp rdi, 0xf
ja 0x140003057
mov qword [rbp - 0x79], rdi
mov eax, 0xf
mov qword [rbp - 0x71], rax
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x20], xmm0
jmp 0x1400030f8
mov qword [rbp - 0x71], 0xf
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140003097
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400178f4
mov rcx, rax
test rax, rax
je 0x1400030c2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400030d8
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400030c9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003217
jmp 0x140003079
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400030d5
call fcn.1400178f4
jmp 0x1400030d8
mov rax, r15
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x71]
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x69], rcx
mov byte [rbp - 0x39], 0
mov qword [rbp + 0xb], r15
mov dword [rbp + 0x13], 0x67452301
mov dword [rbp + 0x17], 0xefcdab89
mov dword [rbp + 0x1b], 0x98badcfe
mov dword [rbp + 0x1f], 0x10325476
lea rdx, [rsp + 0x20]
cmp rax, 0xf
cmova rdx, qword [rsp + 0x20]
mov r8d, dword [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.140017300
lea rcx, [rbp - 0x39]
call fcn.1400173d0
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.140017640
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 0xf
jbe 0x140003196
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003191
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017770
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x20], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1400031e5
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017770
mov rax, r14
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140017750
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140002000
nop
call fcn.140001f60
int3
Function at 0x1400044b0
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1402af7a8]
test rax, rax
jne 0x140004584
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140004557
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140004557
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x9bb4445d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140004552
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140004530
cmp r8d, 0x648e503b
je 0x14000455c
test r9d, r9d
jne 0x140004510
mov rax, qword [rax]
jmp 0x1400044e0
mov ecx, dword [rbx + 0x24]
mov rdi, qword [rsp + 0x20]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
mov rbx, qword [rsp + 0x30]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov qword [0x1402af7a8], rax
mov ecx, 0xb
add rsp, 0x28
jmp rax

Function at 0x140004d00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x4c]
mov r9, rbx
sub r9, rdx
movzx r8d, byte [rdx]
movzx ecx, byte [rdx + r9]
sub r8d, ecx
jne 0x140004d66
inc rdx
test ecx, ecx
jne 0x140004d51
test r8d, r8d
je 0x140004da7
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140004dca
lea rax, [rsp + 0x4c]
mov r8, rbx
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140004da3
inc rax
test ecx, ecx
jne 0x140004d90
test edx, edx
jne 0x140004d70
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140017750
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
xor al, al
jmp 0x140004da9
Function at 0x140004dd0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r9, qword [rax + 0x30]
mov qword [rsp + 0x38], r9
movsxd rcx, dword [r9 + 0x3c]
mov rdx, qword [rcx + r9 + 0x88]
mov qword [rsp + 0x60], rdx
mov r11d, edx
add r11, r9
mov qword [rsp + 0x40], r11
shr rdx, 0x20
mov dword [rsp + 0x30], edx
cmp r11, r9
je 0x140004eaa
mov r10d, dword [r11 + 0x18]
mov dword [rsp + 0x20], r10d
nop
mov ecx, r10d
dec r10d
mov dword [rsp + 0x20], r10d
test ecx, ecx
je 0x140004eaa
mov edx, dword [r11 + 0x20]
add rdx, r9
mov ecx, dword [rdx + r10*4]
add rcx, r9
mov qword [rsp + 0x28], rcx
mov r8d, 0x4d509702
nop dword [rax + rax]
movsx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x28], rcx
test dl, dl
jne 0x140004e9e
cmp r8d, 0x3c88e708
jne 0x140004e9c
mov edx, dword [r11 + 0x1c]
add rdx, r9
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx ecx, word [rcx + r10*2]
mov eax, dword [rdx + rcx*4]
add rax, r9
mov ecx, 0xdeadbeec
call rax
xor al, al
jmp 0x140004eb4
jmp 0x140004e30
xor edx, r8d
imul r8d, edx, 0x1000193
jmp 0x140004e60
mov rax, qword [rax]
jmp 0x140004df0
add rsp, 0x58
ret
Function at 0x14000ce40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 0x1000
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14000ce7c
lea eax, [rbx + 1]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140017750
add rsp, 0x50
pop rbx
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlTerminal_Server_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000cf08
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.GlassSessionId
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000cf08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14000cf08
mov ecx, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], ecx
setne bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000cf18
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140017750
add rsp, 0x50
pop rbx
ret