joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009eb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r9
mov r12, r8
mov r14, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 8
jb 0x180009ed9
mov rax, qword [0x180039890]
and rax, r15
add rax, rax
mov rcx, qword [0x180039878]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x180039868]
cmp rbx, rbp
jne 0x180009f8f
mov rbx, rbp
mov rsi, rbp
movabs rax, 0x7ffffffffffffff
cmp qword [0x180039870], rax
je 0x18000a103
lea rax, [0x180039868]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1800118ec
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov rcx, qword [r13]
xor r12d, r12d
mov qword [r13], r12
mov qword [rax + 0x18], rcx
mov r8, qword [0x180039870]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x180009fd3
cvtsi2ss xmm0, rcx
jmp 0x180009fe8
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x180009fa1
cmp rbx, rdx
je 0x180009fc9
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x180009f98
mov rbp, qword [rbx]
mov rsi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x180009f23
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x18000a0eb
mov rbp, rbx
xor eax, eax
mov rsi, rbx
jmp 0x180009fb3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x180039898]
xorps xmm1, xmm1
test rcx, rcx
js 0x180009ffe
cvtsi2ss xmm1, rcx
jmp 0x18000a013
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180039860]
seta al
test al, al
je 0x18000a082
call fcn.18000a110
mov rcx, qword [0x180039890]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x180039878]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x180039868]
cmp rax, rbx
je 0x18000a06e
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x18000a065
mov rbx, rax
cmp rax, r8
je 0x18000a0c5
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18000a059
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rsi, rbx
mov rbp, qword [rsp + 0x20]
mov r8, qword [0x180039870]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180039870], r8
mov qword [rdi], rbp
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x180039878]
mov rax, qword [0x180039890]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x180039868]
jne 0x18000a0cc
mov qword [rcx + rax*8], rdi
jmp 0x18000a0de
mov qword [rsp + 0x20], rax
jmp 0x18000a073
cmp r8, rsi
jne 0x18000a0d7
mov qword [rcx + rax*8], rdi
jmp 0x18000a0e3
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18000a0e3
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1800231f4
int3
Function at 0x18000a110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x180039870]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x180039898]
js 0x18000a138
cvtsi2ss xmm0, rcx
jmp 0x18000a14d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x180039860]
call sub.ucrtbase.dll_ceilf
movss xmm1, dword [0x18002c7f8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18000a17f
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18000a17f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18000a1ad
cmp rbx, 0x200
jae 0x18000a1aa
shl rbx, 3
cmp rbx, rcx
jae 0x18000a1ad
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18000a326
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [0x180039868]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180039878]
lea rdx, [rdi + rdi]
call fcn.1800039ac
mov rax, qword [0x180039868]
lea r9, [rdi - 1]
mov qword [0x180039890], r9
mov qword [0x180039898], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18000a31b
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 8
jb 0x18000a234
mov rdi, qword [0x180039878]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18000a272
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18000a2e1
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x18000a2b6
mov r10, qword [r10]
cmp r10, rax
je 0x18000a26b
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000a26b
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x18000a2f5
cmp qword [rdi + r11*8], r10
jne 0x18000a2ac
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18000a31b
mov r9, qword [0x180039890]
jmp 0x18000a224
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000a2e1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800231f4
int3
Function at 0x18000b3fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x18]
mov dword [rsp + 0x40], 0x20a
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], r9
mov r9d, 0x10000006
and qword [r11 - 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180023360
add rsp, 0x58
ret
Function at 0x18000b5e8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.180023cb0
sub rsp, rax
mov r14, r8
mov esi, edx
mov rdi, rcx
mov r15, qword [rbp + 0x1428]
xor r13d, r13d
mov word [rbp + 0x3c0], r13w
mov byte [rbp - 0x40], r13b
mov rbx, qword [rbp + 0x1430]
mov ecx, dword [rbx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rbx + 4]
mov dword [rsp + 0x2c], eax
call fcn.1800029dc
mov r12d, eax
mov dword [rsp + 0x20], 3
mov ecx, r13d
lea eax, [r13 + 8]
cmp dword [rbx + 8], 1
cmove ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x180039620], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1438]
test rcx, rcx
je 0x18000b689
cmp word [rcx], r13w
mov qword [rsp + 0x38], rcx
jne 0x18000b68e
mov qword [rsp + 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], r12d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x68], r13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rax
mov rax, qword [0x1800395b8]
test rax, rax
je 0x18000b6ea
call rax
mov qword [rbp - 0x60], rax
jmp 0x18000b6ee
mov qword [rbp - 0x60], r13
mov rax, qword [0x1800395c0]
test rax, rax
je 0x18000b701
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395c8]
test rax, rax
je 0x18000b71e
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395d0]
test rax, rax
je 0x18000b731
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395d8]
test rax, rax
je 0x18000b74b
test byte [rsp + 0x24], 2
jne 0x18000b74b
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r13d
jl 0x18000b764
mov ecx, 0x8000ffff
mov dword [rsp + 0x28], ecx
call fcn.1800030e8
mov dword [rsp + 0x2c], eax
cmp byte [0x1800395e0], r13b
jne 0x18000b792
mov rax, qword [0x1800395e8]
test rax, rax
je 0x18000b780
call rax
movzx ecx, al
jmp 0x18000b78e
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r13d
test eax, eax
setne cl
test ecx, ecx
je 0x18000b799
test byte [rsp + 0x24], 2
je 0x18000b7bc
mov rax, qword [0x180039608]
test rax, rax
je 0x18000b812
cmp byte [0x180039600], r13b
jne 0x18000b812
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x18000b812
mov ebx, 0x800
mov rax, qword [0x180039608]
test rax, rax
je 0x18000b7e7
cmp byte [0x180039600], r13b
jne 0x18000b7e7
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], r13w
jne 0x18000b805
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.180002ae8
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x18000b822
cmp byte [0x180039610], r13b
je 0x18000b831
mov rax, qword [0x180039618]
test rax, rax
je 0x18000b831
call rax
nop
lea rcx, [rsp + 0x20]
call fcn.180002db8
int3
Function at 0x18000ba98
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r9d, dword [0x180039578]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r9*8]
mov r9d, dword [rcx + rax]
cmp dword [0x180039ac8], r9d
jle 0x18000bba1
lea rcx, [0x180039ac8]
call fcn.1800237c4
cmp dword [0x180039ac8], 0xffffffff
jne 0x18000bba1
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, 0x17
lea rdx, str.CGeometry::GetShapeData
lea rcx, [rbp - 0x20]
call fcn.180003e7c
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x18000bb63
movzx eax, byte [rdx + rcx]
xor r9, rax
movabs r10, 0x100000001b3
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18000bb46
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [0x180036130]
call fcn.180003af0
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x18000bbc8
mov rax, qword [rax + 0x30]
mov qword [0x180039ac0], rax
lea rcx, [rbp - 0x20]
call fcn.180003d74
nop
lea rcx, [0x180039ac8]
call fcn.180023758
mov rax, qword [0x180039ac0]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
jmp rax
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180023218
int3

Function at 0x18000bbd8
Capabilities:
Encode data using xor
Hash data using fnv

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 rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov r10d, dword [0x180039578]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r10*8]
mov r10d, dword [rcx + rax]
cmp dword [0x180039ab8], r10d
jle 0x18000bce8
lea rcx, [0x180039ab8]
call fcn.1800237c4
cmp dword [0x180039ab8], 0xffffffff
jne 0x18000bce8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, 0x14
lea rdx, str.CD2DContext::GetClip
lea rcx, [rbp - 0x20]
call fcn.180003e7c
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x18000bcaa
movzx eax, byte [rdx + rcx]
xor r9, rax
movabs r10, 0x100000001b3
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18000bc8d
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [0x180036130]
call fcn.180003af0
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x18000bd14
mov rax, qword [rax + 0x30]
mov qword [0x180039ab0], rax
lea rcx, [rbp - 0x20]
call fcn.180003d74
nop
lea rcx, [0x180039ab8]
call fcn.180023758
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r14
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
jmp qword [0x180039ab0]
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180023218
int3
Function at 0x18000bd24
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r9d, dword [0x180039578]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r9*8]
mov r9d, dword [rcx + rax]
cmp dword [0x180039aa8], r9d
jle 0x18000be2d
lea rcx, [0x180039aa8]
call fcn.1800237c4
cmp dword [0x180039aa8], 0xffffffff
jne 0x18000be2d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, 0x23
lea rdx, str.CDrawingContext::FillShapeWithColor
lea rcx, [rbp - 0x20]
call fcn.180003e7c
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x18000bdef
movzx eax, byte [rdx + rcx]
xor r9, rax
movabs r10, 0x100000001b3
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18000bdd2
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [0x180036130]
call fcn.180003af0
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x18000be54
mov rax, qword [rax + 0x30]
mov qword [0x180039aa0], rax
lea rcx, [rbp - 0x20]
call fcn.180003d74
nop
lea rcx, [0x180039aa8]
call fcn.180023758
mov rax, qword [0x180039aa0]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
jmp rax
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180023218
int3

Function at 0x18000be64
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
mov edx, dword [0x180039578]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180039a98], edx
jle 0x18000bf5a
lea rcx, [0x180039a98]
call fcn.1800237c4
cmp dword [0x180039a98], 0xffffffff
jne 0x18000bf5a
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, 0x19
lea rdx, str.CDrawingContext::FlushD2D
lea rcx, [rbp - 0x20]
call fcn.180003e7c
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x18000bf1c
movzx eax, byte [rdx + rcx]
xor r9, rax
movabs r10, 0x100000001b3
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18000beff
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [0x180036130]
call fcn.180003af0
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x18000bf6e
mov rax, qword [rax + 0x30]
mov qword [0x180039a90], rax
lea rcx, [rbp - 0x20]
call fcn.180003d74
nop
lea rcx, [0x180039a98]
call fcn.180023758
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
jmp qword [0x180039a90]
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180023218
int3
Function at 0x18000e048
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rsp + 0x48], rax
and dword [rsp + 0x40], 0
mov rbx, rcx
mov r11, r9
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x30], rcx
mov r10, r8
mov rax, rdx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov edi, 4
and qword [rsp + 0x20], 0
mov rcx, rax
mov r8, r11
mov dword [rsp + 0x44], edi
mov rdx, r10
lea r9d, [rdi + 0xc]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
js 0x18000e0c5
mov eax, dword [rsp + 0x40]
mov dword [rbx], eax
lea eax, [rdi - 3]
jmp 0x18000e0d6
lea ecx, [rdx + 0x7ff8fffe]
mov eax, 1
cmp ecx, eax
ja 0x18000e0f4
xor al, al
mov byte [rbx + rdi], al
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180023360
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x58]
call fcn.18000a450
int3

Function at 0x18000e9d4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call sub.ucrtbase.dll_memset
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
test eax, eax
jne 0x18000ea85
mov rcx, qword [rsp + 0x288]
call fcn.18000a3e4
mov edi, eax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18000ea5e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180023360
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, str.dwm.exe
lea rcx, [rsp + 0x5c]
call qword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x18000eab7
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x18000eacb
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000ea85
jmp 0x18000ea4b
call fcn.1800231d4
int3
Function at 0x18000f1bc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rbp, rcx
lea rcx, str..pipeOpenGlassLegacyHostPipe
mov r9d, 3
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFile2]
mov rbx, rax
lea rax, [rbx + 1]
test rax, 0xfffffffffffffffe
jne 0x18000f2ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x18000f29f
mov edx, 0xbb8
lea rcx, str..pipeOpenGlassLegacyHostPipe
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x18000f27c
and qword [rsp + 0x20], 0
lea rcx, str..pipeOpenGlassLegacyHostPipe
mov r9d, 3
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFile2]
lea rcx, [rbx - 1]
mov rsi, rax
cmp rcx, 0xfffffffffffffffd
ja 0x18000f274
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rsi
jmp 0x18000f1f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x79
mov ecx, 0x41d
cmove eax, ecx
test eax, eax
je 0x18000f2a9
mov rcx, qword [rsp + 0x38]
mov edx, eax
call fcn.1800103ac
jmp 0x18000f2f3
mov ecx, 0x426
cmp eax, 2
jmp 0x18000f28a
xor edi, edi
jmp 0x18000f2f5
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rbp
mov rcx, rbx
lea edi, [r9 + 0x18]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000f2e9
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000f302
mov rcx, qword [rsp + 0x38]
call fcn.18000a3e4
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x18000f30d
test rbx, rbx
jne 0x18000f304
jmp 0x18000f30d
xor edi, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18000f4e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x18000f5a6
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x18000f538
and r15, qword [r12 + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x180039be8]
mov r8, rdi
mov rbx, rdi
xor edx, edx
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_HeapFree]
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18000f5c7
cmp rdi, rsi
jne 0x18000f56a
cmp qword [rsp + 0x30], r13
jne 0x18000f59f
mov qword [rbp + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x18000f5dd
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x18000f5e0
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
jmp 0x18000f664
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, 4
jb 0x18000f5fd
mov r15, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x180039be8]
mov r8, rdi
mov rbx, rdi
xor edx, edx
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_HeapFree]
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18000f65a
cmp rdi, rsi
jne 0x18000f62c
jmp 0x18000f59a
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
cmp rdi, rsi
jne 0x18000f5e7
jmp 0x18000f59f