joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400063a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140055080]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400637c0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140006436
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140019420
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006440
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x140055080]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140012440
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400637c0]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400124a1
cmp byte [rbx + 0x424e], 0
jne 0x1400124a1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003070
test dil, 1
je 0x1400125c8
jmp 0x14001252a
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005a998]
mulss xmm1, dword [0x14005a988]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x14005a88c]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.140003070
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012580
lea r11, [0x140055080]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140012563
cmp byte [r8], r9b
jne 0x140012563
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140012550
not ecx
call fcn.14000b500
test rax, rax
je 0x1400125c8
cmp byte [rax + 0x96], 0
je 0x1400125c8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.140003070
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000dc40
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140050f50
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140017f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018037
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140017fea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001a130
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003c90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400637b8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001803f
mov rcx, rbx
call fcn.140003c90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400185b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400637c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018613
mov qword [rsp], rbx
lea rbx, [0x140055080]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400185f3
cmp byte [r8], r9b
jne 0x1400185f3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400185e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018647
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001864e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018634
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140041760
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1400417ec
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400417c0
lea r11, [0x140055080]
nop
cmp r9b, 0x23
jne 0x1400417a3
cmp byte [r8], r9b
jne 0x1400417a3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140041790
mov rcx, qword [0x1400637c0]
not eax
cmp dword [rcx + 0x3ef4], eax
jne 0x1400417d7
mov dword [rcx + 0x3ef8], eax
cmp dword [rcx + 0x3f20], eax
jne 0x140041846
mov byte [rcx + 0x3f24], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1400637c0]
mov qword [rsp + 0x38], rsi
mov rax, qword [rbx + 0x3ea8]
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.1400031b0
cmp dword [rbx + 0x3edc], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14004183f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140019420
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400486a0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r8d, dword [0x1400637e4]
xor edx, edx
mov ecx, 0x1fffff
xor edi, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140048742
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140048739
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140048739
mov edx, eax
mov qword [rsp + 0x40], rbx
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140048734
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14004872b
mov rdi, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140050f50
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400519c0
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c63e0]
mov dword [rax], 1
mov rax, qword [0x1400c63f0]
mov dword [rax], 1
mov rax, qword [0x1400c6400]
mov dword [rax], 1
mov rax, qword [0x1400c62e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14008b7d0
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.1400a8170
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.1400a12e0
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14008b829
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x1400a6e50
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 fcn.1400b85d0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400b85d0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400a7b22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d2288]
test eax, eax
je 0x1400a7bba
lea rax, [0x1400d2260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d2290]
mov qword [rbp - 8], rax
jmp 0x1400a7b9e
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 0x1400a7b92
cmp qword [rbp - 0x10], 0
je 0x1400a7b92
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 0x1400a7b58
lea rax, [0x1400d2260]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400a7bbb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400a7cc0
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 0x1400a7ce8
mov eax, 0
jmp 0x1400a7d36
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 0x1400a7d11
mov eax, 0
jmp 0x1400a7d36
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 0x1400a7d31
mov eax, 0
jmp 0x1400a7d36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400a7d3c
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 0x1400a7dba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400a7db1
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 0x1400a7db1
mov rax, qword [rbp - 8]
jmp 0x1400a7dcf
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 0x1400a7d84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140009910
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWAREOEMPower_Management
xor edi, edi
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400099a0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9d, [rdi + 4]
lea rdx, str.PowerMgrInitFlag
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
sete dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14000a000
Capabilities:
Connect to wmi namespace via wbemlocator
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
lea rdx, [0x1401ccb68]
lea rcx, [rsp + 0x30]
mov r8d, 1
call fcn.140001060
cmp dword [rax + 8], 1
jne 0x14000a063
lea rcx, [rsp + 0x58]
lea rdx, str.WMI_UID
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a063
mov eax, dword [rsp + 0x60]
mov dword [rbx + 8], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000a073
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp fcn.14000a080
Function at 0x14000a080
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r12, rcx
mov esi, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edi, edi
test eax, eax
js 0x14000a225
lea esi, [rdi + 2]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
or ebp, 0xffffffff
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14000a225
lea esi, [rdi + 3]
lea r13, [r12 + 0x10]
mov qword [rsp + 0x20], r13
lea r9, [0x1401cc0e0]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1401cc1b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000a225
lea esi, [rdi + 4]
lea ecx, [rdi + 0x18]
call fcn.140014a14
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14000a16a
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000a16d
mov ecx, 0x8007000e
call fcn.14016b010
int3
mov rbx, rdi
mov qword [rsp + 0x88], rbx
test rbx, rbx
jne 0x14000a185
mov ecx, 0x8007000e
call fcn.14016b010
nop
mov rcx, qword [r13]
lea r13, [r12 + 0x18]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov r12d, eax
lock xadd dword [rbx + 0x10], ebp
dec ebp
jne 0x14000a1e5
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000a1cf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000a1dd
call fcn.140014a58
mov rcx, rbx
call fcn.140014a58
test r12d, r12d
js 0x14000a225
mov esi, 5
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 5]
mov rcx, qword [r13]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ecx, 6
test eax, eax
cmovns esi, ecx
cmp esi, 6
sete dil
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14000ad70
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x880
mov rax, qword [0x140214eb8]
xor rax, rsp
mov qword [rsp + 0x870], rax
lea rax, [rcx + 0x10]
xor ebp, ebp
mov rsi, rcx
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x3e8
mov ebx, 1
lea r8d, [rbp + 6]
mov edx, 0x40000003
mov r9d, ebx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsi + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x14000adea
lea rcx, str.Unable_to_create_ePower_named_pipe
call fcn.140014380
xor eax, eax
jmp 0x14000aeca
cmp qword [rsi], rbp
je 0x14000ae6b
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x7fe
mov qword [rsp + 0x898], rdi
mov word [rsp + 0x70], bp
call fcn.140152380
lea rdx, str.ePowerService::InitNamedPipe___:_SUCCEEDED
lea rcx, [rsp + 0x70]
call fcn.140008860
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x58], 7
repne scasw ax, word [rdi]
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.140008390
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call fcn.140012c90
mov rdi, qword [rsp + 0x898]
cmp dword [0x140222940], ebp
jne 0x14000aec8
mov eax, dword [0x140217164]
mov rcx, qword [0x140223de0]
lea rdx, [0x140223e00]
mov dword [0x140223e14], eax
inc eax
mov qword [0x140223e04], 2
mov dword [0x140223e0c], ebp
mov dword [0x140223e18], 0xbb8
mov dword [0x140217164], eax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ebx, eax
test eax, eax
jne 0x14000aec8
lea rcx, [0x1401da678]
call fcn.140014380
mov eax, ebx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.14014e4d0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x14000b350
Capabilities:
Connect pipe

Disassembly:
push rbx
sub rsp, 0x890
mov rax, qword [0x140214eb8]
xor rax, rsp
mov qword [rsp + 0x880], rax
xor eax, eax
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000b3ed
mov rax, qword [rbx + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x38]
lea ecx, [r8 + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x14000b3ed
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor eax, eax
jmp 0x14000b489
cmp qword [rbx], 0
je 0x14000b484
mov qword [rsp + 0x8a8], rdi
lea rcx, [rsp + 0x82]
xor edi, edi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x80], di
call fcn.140152380
lea rdx, str.ePowerService::ConnectNamedPipe___:_SUCCEEDED
lea rcx, [rsp + 0x80]
call fcn.140008860
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
xor eax, eax
lea rdi, [rsp + 0x80]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x68], 7
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.140008390
mov rcx, qword [rbx]
lea rdx, [rsp + 0x50]
call fcn.140012c90
mov rdi, qword [rsp + 0x8a8]
mov eax, 1
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14014e4d0
add rsp, 0x890
pop rbx
ret
Function at 0x14000b4b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x8a0
mov rax, qword [0x140214eb8]
xor rax, rsp
mov qword [rsp + 0x890], rax
xor eax, eax
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x50], rcx
mov rdi, rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov r8d, 0x44
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000b56b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000b56b
mov rax, qword [rbx + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x38]
lea ecx, [r8 + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x14000b56b
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor eax, eax
jmp 0x14000b5fa
cmp qword [rbx], 0
je 0x14000b5f5
lea rcx, [rsp + 0x92]
xor edi, edi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x90], di
call fcn.140152380
lea rdx, str.ePowerService::ReadNamedPipe___:_SUCCEEDED
lea rcx, [rsp + 0x90]
call fcn.140008860
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
xor eax, eax
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x80], 7
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x68]
call fcn.140008390
mov rcx, qword [rbx]
lea rdx, [rsp + 0x68]
call fcn.140012c90
mov eax, 1
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.14014e4d0
mov rbx, qword [rsp + 0x8c0]
add rsp, 0x8a0
pop rdi
ret