joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ebca0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x140421464]
cmp eax, 0xffffffff
jne 0x1400ebd80
mov rax, qword [0x140431600]
test rax, rax
jne 0x1400ebcf6
lea rcx, [0x1403525b8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400ebcea
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140431600], rax
jmp 0x1400ebcf1
mov rax, qword [0x140431600]
test rax, rax
je 0x1400ebd6a
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
or rcx, 0xffffffffffffffff
call rax
test eax, eax
je 0x1400ebd6a
movzx ecx, word [rsp + 0x60]
mov eax, 0x8664
cmp cx, ax
jne 0x1400ebd2d
mov dword [0x140421464], 9
mov eax, 9
add rsp, 0x58
ret
mov eax, 0xaa64
cmp cx, ax
jne 0x1400ebd4b
mov dword [0x140421464], 0xc
mov eax, 0xc
add rsp, 0x58
ret
xor eax, eax
mov edx, 0x1c4
mov r8d, 5
cmp cx, dx
cmove eax, r8d
mov dword [0x140421464], eax
add rsp, 0x58
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x20]
mov dword [0x140421464], eax
add rsp, 0x58
ret
Function at 0x1400ed120
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
push r12
push r14
push r15
sub rsp, 0x88
xor r12d, r12d
lea rax, [r11 + 0x18]
mov r15, rcx
mov rcx, qword [rcx + 8]
mov qword [r11 - 0x50], r12
mov qword [r11 - 0x58], r12
mov qword [r11 - 0x60], r12
mov qword [r11 - 0x68], r12
mov qword [r11 - 0x70], r12
mov qword [r11 - 0x78], r12
mov qword [r11 - 0x80], rax
lea rax, [r11 + 8]
mov r14, rdx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1400ed194
xor al, al
add rsp, 0x88
pop r15
pop r14
pop r12
pop rbx
ret
mov ecx, dword [rsp + 0xc0]
mov qword [rsp + 0x80], rbp
mov eax, 2
inc ecx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1402b7fa4
mov edx, dword [rsp + 0xb0]
mov rcx, r14
mov rbp, rax
call fcn.1400c7e30
mov ecx, dword [rsp + 0xb0]
mov esi, r12d
mov edi, r12d
test ecx, ecx
je 0x1400ed262
nop dword [rax]
mov ecx, dword [rsp + 0xc0]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
inc ecx
lea r9, [rsp + 0xc8]
mov r8, rbp
mov dword [rsp + 0xc8], ecx
mov rcx, qword [r15 + 8]
mov edx, edi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400ed255
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.140200840
mov edx, esi
mov rcx, r14
mov r8, rax
call fcn.1400e3de0
inc esi
mov ecx, dword [rsp + 0xb0]
inc edi
cmp edi, ecx
jb 0x1400ed1f0
mov rdi, qword [rsp + 0x70]
cmp esi, ecx
je 0x1400ed275
mov edx, esi
mov rcx, r14
call fcn.1400c7e30
mov rcx, rbp
call fcn.1402bcebc
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov al, 1
add rsp, 0x88
pop r15
pop r14
pop r12
pop rbx
ret

Function at 0x1400ed2a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x50]
mov rdi, r8
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rsi, rdx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ed331
cmp dword [rsp + 0x68], 3
jne 0x1400ed331
mov edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.1400d3f50
test al, al
je 0x1400ed331
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
xor al, al
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ed340
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
xor eax, eax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1400ed382.5
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 0xa
ja case.0x1400ed382.5
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xed3c8]
add rcx, rdx
jmp rcx
mov eax, 3
add rsp, 0x38
ret
mov eax, 4
add rsp, 0x38
ret
mov eax, 2
add rsp, 0x38
ret
mov eax, 7
add rsp, 0x38
ret
mov eax, 0xb
add rsp, 0x38
ret
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400ed400
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push r14
push r15
sub rsp, 0x80
xor r15d, r15d
lea rax, [r11 + 0x18]
mov r14, rcx
mov rcx, qword [rcx + 8]
mov qword [r11 - 0x40], r15
mov qword [r11 - 0x48], r15
mov qword [r11 - 0x50], r15
mov qword [r11 - 0x58], rax
lea rax, [r11 + 8]
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x68], r15
mov rbp, rdx
mov qword [r11 - 0x70], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x78], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400ed465
xor al, al
add rsp, 0x80
pop r15
pop r14
pop rbp
ret
mov ecx, dword [rsp + 0xb0]
mov qword [rsp + 0xa8], rbx
mov eax, 2
inc ecx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1402b7fa4
mov edx, dword [rsp + 0xa0]
mov rcx, rbp
mov rsi, rax
call fcn.1400c7e30
mov ecx, dword [rsp + 0xa0]
mov edi, r15d
mov ebx, r15d
test ecx, ecx
je 0x1400ed528
nop
mov ecx, dword [rsp + 0xb0]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
inc ecx
lea r9, [rsp + 0xb8]
mov r8, rsi
mov dword [rsp + 0xb8], ecx
mov rcx, qword [r14 + 8]
mov edx, ebx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400ed51b
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140200840
mov edx, edi
mov rcx, rbp
mov r8, rax
call fcn.1400e3de0
inc edi
mov ecx, dword [rsp + 0xa0]
inc ebx
cmp ebx, ecx
jb 0x1400ed4c0
mov rbx, qword [rsp + 0xa8]
cmp edi, ecx
je 0x1400ed53e
mov edx, edi
mov rcx, rbp
call fcn.1400c7e30
mov rcx, rsi
call fcn.1402bcebc
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov al, 1
add rsp, 0x80
pop r15
pop r14
pop rbp
ret
Function at 0x1400ed5e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov byte [r11 + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
movzx ebx, r8b
mov r12, rdx
mov r15, rcx
xor r14b, r14b
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [r11 - 0x58], rax
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [r11 - 0x48], rax
lea rdx, [r11 - 0x58]
call fcn.1400ed400
mov r13, qword [rsp + 0x50]
test al, al
je 0x1400ed757
mov eax, dword [rsp + 0x48]
test eax, eax
jle 0x1400ed757
mov rsi, r13
mov ebp, eax
mov r13d, 1
nop dword [rax]
nop word [rax + rax]
xor eax, eax
mov dword [rsp + 0xb8], eax
mov rdi, qword [rsi]
test bl, bl
jne 0x1400ed69b
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
test al, al
jne 0x1400ed745
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ed745
mov ecx, dword [rsp + 0xb8]
call fcn.1402bd120
mov rbx, rax
test rax, rax
je 0x1400ed73d
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ed735
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
cmove r14d, r13d
mov rcx, rbx
call fcn.1402bd0e0
movzx ebx, byte [rsp + 0xb0]
add rsi, 0x10
dec rbp
jne 0x1400ed660
mov r13, qword [rsp + 0x50]
test r13, r13
je 0x1400ed77d
lea r9, [fcn.140005eb0]
mov r8d, dword [r13 - 8]
mov edx, 0x10
mov rcx, r13
call fcn.1402bda84
lea rcx, [r13 - 8]
call fcn.1402bcebc
movzx eax, r14b
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400edbc0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rbp, [0x14034d1a0]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test eax, eax
jle 0x1400edc6f
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov rdx, qword [rsp + 0x30]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov qword [rbx + 8], rsi
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1400edc3f
mov qword [rbx], rbp
jmp 0x1400edc65
mov rcx, rbx
call fcn.1402028a0
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rbx + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbx]
call fcn.1402c06dc
mov edx, dword [rsp + 0x3c]
mov rcx, rbx
call fcn.140203bb0
jmp 0x1400edc7f
mov rdx, qword [0x14041eee8]
mov rcx, rbx
call fcn.140200840
nop
cmp dword [rsp + 0x38], 0
jle 0x1400edc90
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ee2e0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x328], rbx
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x60], r8
xor dil, dil
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.1400d4050
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400ee4f2
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rsp + 0x30], rax
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x38], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea r13, [0x14034d1a0]
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
test byte [rsp + 0x70], 0x10
jne 0x1400ee47e
lea rax, [rbp - 0x64]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400ee395
mov qword [rsp + 0x28], 0
test ebx, ebx
jne 0x1400ee3b3
mov qword [rsp + 0x20], r13
jmp 0x1400ee3d9
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x64]
mov rcx, qword [rsp + 0x20]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140203bb0
nop
mov ecx, 0x20
call fcn.1402bcb4c
mov rbx, rax
test rax, rax
je 0x1400ee406
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0
jmp 0x1400ee409
mov rbx, rdi
mov edx, dword [rsp + 0x2c]
lea rcx, [rbx + 0x10]
call fcn.1402028a0
movsxd r9, dword [rsp + 0x2c]
mov eax, dword [rbx + 0x18]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
call fcn.1402c06dc
mov edx, dword [rsp + 0x2c]
lea rcx, [rbx + 0x10]
call fcn.140203bb0
xor edi, edi
mov qword [rsp + 0x48], rbx
test r15d, r15d
jne 0x1400ee458
mov qword [rbx + 8], rdi
mov rsi, rbx
mov qword [rsp + 0x40], rbx
jmp 0x1400ee45f
mov qword [r14], rbx
mov qword [rbx + 8], r14
mov r14, rbx
mov qword [rbx], rdi
inc r15d
mov dword [rsp + 0x38], r15d
cmp dword [rsp + 0x28], 0
jle 0x1400ee47e
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ee382
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete dil
mov edx, r15d
mov rcx, qword [rsp + 0x60]
call fcn.14011a8b0
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14011a770
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
test rsi, rsi
je 0x1400ee4f2
nop
mov rbx, qword [rsi]
cmp dword [rsi + 0x18], 0
jle 0x1400ee4e2
mov rcx, qword [rsi + 0x10]
call fcn.1402bd0e0
mov rcx, rsi
call fcn.14021ae20
mov rsi, rbx
test rbx, rbx
jne 0x1400ee4d0
cmp dword [rsp + 0x58], 0
jle 0x1400ee503
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
movzx eax, dil
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0x328]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ef310
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
mov eax, dword [rcx + 0xc]
mov ebp, r9d
movsxd rsi, r8d
mov r14, rdx
mov rdi, rcx
test eax, eax
jne 0x1400ef433
add rcx, 0x30
mov qword [r11 + 8], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lock inc dword [rdi + 0x10]
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x58
mov byte [rdi + 0xa9], 0
call fcn.1402bcb4c
test rax, rax
je 0x1400ef3b4
mov rcx, qword [rsp + 0xc0]
lea r9, [r14 + rsi]
lea r8, [rdi + 0xb0]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xb8]
mov rdx, rdi
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], ebp
call fcn.1400eee30
mov rsi, rax
jmp 0x1400ef3b6
xor esi, esi
mov rdx, qword [rsi + 8]
mov rcx, qword [rdi + 0xa0]
lea rax, [rdi + 0xb0]
lea r9, [rsi + 0x20]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ef40e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
je 0x1400ef40e
cmp eax, 0x3e5
je 0x1400ef40e
mov rdx, rsi
mov rcx, rdi
call fcn.1400efb30
cmp ebx, 0x6d
je 0x1400ef44f
cmp ebx, 0xe9
jne 0x1400ef456
jmp 0x1400ef44f
mov rbx, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
mov rax, rsi
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rcx, [rsp + 0x40]
call fcn.1400eec30
lea rdx, [0x1404159c8]
lea rcx, [rsp + 0x40]
call fcn.1402c4a18
int3
mov byte [rdi + 0xa8], 0
lea rax, [0x14034d1a0]
lea rdx, [0x140415a58]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rax, vtable.Core::NamedPipeException.0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], ebx
call fcn.1402c4a18
int3
Function at 0x1400ef760
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov dword [r11 + 0x18], r8d
push rdi
sub rsp, 0x70
mov eax, dword [rcx + 0xc]
mov ebx, r9d
mov rsi, rdx
mov rdi, rcx
mov dword [r11 + 0x18], 0
test eax, eax
jne 0x1400ef851
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 + 8], rbp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rdi + 0xa0]
lea rbp, [rdi + 0xd0]
lea r9, [rsp + 0x90]
mov r8d, ebx
mov rdx, rsi
mov qword [rdi + 0xe8], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400ef823
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x3e5
jne 0x1400ef810
mov rcx, qword [rdi + 0xa0]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400ef823
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x1400ef823
cmp ebx, 0x6d
je 0x1400ef86d
cmp ebx, 0xe9
jne 0x1400ef874
jmp 0x1400ef86d
mov rcx, qword [rdi + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x30]
call fcn.1400eec30
lea rdx, [0x1404159c8]
lea rcx, [rsp + 0x30]
call fcn.1402c4a18
int3
mov byte [rdi + 0xa8], 0
mov rcx, qword [rdi + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x14034d1a0]
lea rdx, [0x140415a58]
mov qword [rsp + 0x50], rax
lea rax, vtable.Core::NamedPipeException.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x48], rax
call fcn.1402c4a18
int3
Function at 0x1400ef8c0
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
push rbx
push rbp
push rdi
sub rsp, 0x70
mov eax, dword [rcx + 0xc]
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
mov byte [rcx + 0xa9], 0
mov dword [r11 + 0x20], ebp
test eax, eax
jne 0x1400efa34
lea edx, [rbp + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 + 8], rsi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0xa0]
lea rsi, [rbx + 0xb0]
lea r9, [rsp + 0xa8]
mov r8d, 0x1000
mov rdx, rdi
mov qword [rbx + 0xc8], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ef9cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400ef975
mov rcx, qword [rbx + 0xa0]
lea r9d, [rbp + 1]
lea r8, [rsp + 0xa8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400ef9cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xea
jne 0x1400ef9ae
mov rcx, qword [rbx + 0xa0]
lea r8, [rsp + 0xa8]
mov r9d, 1
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400ef9cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0xea
je 0x1400ef9cc
test edi, edi
je 0x1400ef9cc
cmp edi, 0x6d
je 0x1400efa50
cmp edi, 0xe9
jne 0x1400efa57
jmp 0x1400efa50
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa0]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1400efa0d
mov byte [rbx + 0xa9], 1
jmp 0x1400efa1d
cmp dword [rsp + 0xa0], ebp
sete al
mov byte [rbx + 0xa9], al
mov eax, dword [rsp + 0xa8]
mov rsi, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.1400eec30
lea rdx, [0x1404159c8]
lea rcx, [rsp + 0x30]
call fcn.1402c4a18
int3
mov byte [rbx + 0xa8], bpl
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x14034d1a0]
lea rdx, [0x140415a58]
mov qword [rsp + 0x50], rax
lea rax, vtable.Core::NamedPipeException.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x48], rax
call fcn.1402c4a18
int3
Function at 0x1400f21e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x40
lea r8, [rcx + 0xf0]
lea rdx, str.PrivateCloud
mov rsi, rcx
mov byte [rcx + 0xe8], 0
call fcn.1400f2c40
test al, al
je 0x1400f2294
xor ecx, ecx
mov qword [rsp + 0x30], rdi
call fcn.1400f4570
mov rdi, rax
test rax, rax
je 0x1400f228f
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.UsePrivateCloud
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x38]
jne 0x1400f2282
cmp dword [rsp + 0x50], 0
setne al
mov byte [rsi + 0xe8], al
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdi, qword [rsp + 0x30]
add rsp, 0x40
pop rsi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x140431ac0]
movzx edi, dl
mov rsi, rcx
test al, 1
jne 0x1400f240d
or eax, 1
lea rcx, [0x1403050b0]
mov qword [0x140431ad0], 0xffffffff80000002
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x1400f2482
lea rdx, str.UsePrivateCloud
test dil, dil
je 0x1400f2463
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400f2475
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x40]
mov byte [rsi + 0xe8], dil
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f2d30
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, r8
mov rsi, rdx
mov rbp, rcx
xor bl, bl
mov eax, dword [0x140431ac0]
test al, 1
jne 0x1400f2d93
or eax, 1
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rdi, rax
test rax, rax
je 0x1400f2e55
lea r15, vtable.Core::ByteArray.0
mov qword [rsp + 0x38], r15
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x50], rax
mov eax, dword [r14 + 0xc]
lea r9d, [rax + rax]
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rdx, qword [r14]
call qword [rax + 0x20]
test al, al
je 0x1400f2e2a
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
nop
mov qword [rsp + 0x38], r15
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400f2e55
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bl
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400f2e80
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [0x140431ac0]
mov rbx, rdx
test al, 1
jne 0x1400f2ec5
or eax, 1
lea rcx, [0x1403050b0]
mov qword [0x140431ad0], 0xffffffff80000002
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rdi, rax
test rax, rax
je 0x1400f2f17
mov rcx, qword [rax + 8]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
test ebx, ebx
mov edx, 1
mov rcx, rdi
sete bl
call qword [rax]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret