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

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14004b1e8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140021033
mov qword [rsp], rbx
lea rbx, [0x14003db60]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021013
cmp byte [r8], r9b
jne 0x140021013
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 0x140021000
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5378]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140021067
mov r10, qword [r10 + 0x5380]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002106e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140021054
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 0x14003b720
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b76a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b76a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b76a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b76a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b76a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003b76c
xor al, al
add rsp, 0x28
ret
Function at 0x140001500
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c8]
sub rsp, 0x8c8
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r14d, r9d
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r15, qword [rbp + 0x830]
mov r12, qword [rbp + 0x838]
mov r13, qword [rbp + 0x840]
test dword [rcx + 0x10], edx
je 0x1400016b8
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp - 0x78]
mov dword [rsp + 0x40], eax
movzx eax, word [rbp - 0x76]
mov dword [rsp + 0x44], eax
movzx eax, word [rbp - 0x72]
mov dword [rsp + 0x48], eax
movzx eax, word [rbp - 0x70]
mov dword [rsp + 0x4c], eax
movzx eax, word [rbp - 0x6e]
mov dword [rsp + 0x50], eax
movzx eax, word [rbp - 0x6c]
mov dword [rsp + 0x54], eax
movzx eax, word [rbp - 0x6a]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm1
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.1400019b0
movsxd rsi, eax
mov eax, 0x800
sub eax, esi
movsxd rdx, eax
lea rcx, [rbp - 0x60]
add rcx, rsi
mov qword [rsp + 0x20], r13
mov r9, r12
or r8, 0xffffffffffffffff
call fcn.14001fec8
add esi, eax
mov eax, 0x7ff
cmp esi, 0x800
cmovg esi, eax
movsxd rax, esi
mov byte [rbp + rax - 0x60], 0xa
inc esi
movsxd rax, esi
cmp rax, 0x802
jae 0x1400016b2
mov byte [rbp + rax - 0x60], 0
mov qword [rbp - 0x78], rbx
mov rcx, rbx
call fcn.14003792c
test eax, eax
je 0x140001649
mov ecx, eax
call fcn.14003769c
nop
test byte [rbx + 8], 1
je 0x140001685
cmp edi, 0x20
je 0x140001676
cmp edi, 8
je 0x140001676
call fcn.14001f394
lea r9, [rax + 0x60]
movsxd rdx, esi
mov r8d, 1
lea rcx, [rbp - 0x60]
call fcn.14001fbc0
jmp 0x140001685
lea r9d, [rsi + 1]
lea r8, [rbp - 0x60]
mov edx, edi
call fcn.1400016e0
test byte [rbx + 8], 2
je 0x14000169d
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.1400017c0
nop
mov rcx, rbx
call fcn.140037934
test eax, eax
je 0x1400016b8
mov ecx, eax
call fcn.14003769c
jmp 0x1400016b8
call fcn.14001f980
int3
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14001c3b0
add rsp, 0x8c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400016e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
mov r14d, r9d
mov rbp, r8
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx r15d, word [rsp + 0x28]
xor ebx, ebx
cmp edi, 0x20
jne 0x140001735
lea ebx, [rdi - 0x1c]
jmp 0x14000173d
cmp edi, 8
jne 0x14000173d
lea ebx, [rdi - 2]
call fcn.14001f394
lea rcx, [rax + 0x60]
call fcn.14001f57c
or bx, 8
mov rcx, rsi
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.14001f394
lea r8d, [r14 - 1]
movsxd rdx, r8d
lea r9, [rax + 0x60]
mov rcx, rbp
mov r8d, 1
call fcn.14001fbc0
call fcn.14001f394
lea rcx, [rax + 0x60]
call fcn.14001f57c
movzx edx, r15w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c3b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140003a30
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2040
call fcn.140027ab0
sub rsp, rax
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rbx, rcx
mov rbp, r8
mov rsi, rdx
lea rcx, [rsp + 0x32]
xor r14d, r14d
xor edx, edx
mov r8d, 0x1ffe
mov rdi, r9
mov word [rsp + 0x30], r14w
call fcn.14001c4c0
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], r14
jb 0x140003a8d
mov rax, qword [rdi]
jmp 0x140003a90
mov rax, rdi
mov word [rax], r14w
cmp qword [rbx + 0x18], 8
jb 0x140003a9e
mov rbx, qword [rbx]
lea r9, [rsp + 0x30]
lea r8, [0x140067424]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140003ad7
lea rdx, [rsp + 0x30]
mov r8d, eax
mov rcx, rdi
call fcn.140003b00
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14001c3b0
add rsp, 0x2040
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140004b50
Capabilities:
Write file on windows

Disassembly:
mov r8d, r8d
jmp 0x140004bd0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 0x10
mov rbp, r8
mov rbx, rdx
jb 0x140004bfb
mov rcx, qword [rcx]
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov edx, 0x40000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004c30
xor al, al
jmp 0x140004c5d
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rbx
mov rcx, rax
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
setne al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001c3b0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004b70
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x140004b7e
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140004b90
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0x10
jb 0x140004b9e
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140004bd0
Capabilities:
Write file on windows

Disassembly:
mov r8d, r8d
jmp 0x140004bd0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 0x10
mov rbp, r8
mov rbx, rdx
jb 0x140004bfb
mov rcx, qword [rcx]
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov edx, 0x40000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004c30
xor al, al
jmp 0x140004c5d
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rbx
mov rcx, rax
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
setne al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001c3b0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140005080
Capabilities:
Hash data with md5

Disassembly:
lea rax, vtable.MD5_CTX.0
mov qword [rcx], rax
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov qword [rcx + 0x18], rax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x78], rax
mov qword [rcx + 0x80], rax
mov qword [rcx + 0x88], rax
mov qword [rcx + 0x90], rax
mov qword [rcx + 0x98], rax
mov byte [rcx + 0x60], pe_nt_image_headers64
mov rax, rcx
ret
Function at 0x140005240
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov ebx, 2
mov rbp, rdx
mov rsi, rcx
lea r8, [rsp + 0x22]
mov r9d, r14d
mov r10d, ebx
nop word [rax + rax]
mov eax, r9d
inc r9d
lea r8, [r8 + 4]
lea rcx, [rsi + rax*4]
movzx eax, byte [rsi + rax*4 + 0x18]
mov byte [r8 - 6], al
movzx eax, byte [rcx + 0x19]
mov byte [r8 - 5], al
movzx eax, byte [rcx + 0x1a]
mov byte [r8 - 4], al
movzx eax, byte [rcx + 0x1b]
mov byte [r8 - 3], al
dec r10
jne 0x140005280
mov eax, dword [rsi + 0x18]
lea r8d, [r10 + 0x38]
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
jb 0x1400052cc
mov r8d, 0x78
lea rdx, [rsi + 0x60]
sub r8d, eax
mov rcx, rsi
call fcn.140005120
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rsi
call fcn.140005120
mov r8d, r14d
lea rdx, [rbp + 2]
mov r9d, 4
nop dword [rax + rax]
mov eax, r8d
inc r8d
lea rdx, [rdx + 4]
lea rcx, [rsi + rax*4]
movzx eax, byte [rsi + rax*4 + 8]
mov byte [rdx - 6], al
movzx eax, byte [rcx + 9]
mov byte [rdx - 5], al
movzx eax, byte [rcx + 0xa]
mov byte [rdx - 4], al
movzx eax, byte [rcx + 0xb]
mov byte [rdx - 3], al
dec r9
jne 0x140005300
mov rax, rsi
nop dword [rax]
nop word [rax + rax]
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r14
mov qword [rax - 0x20], r14
mov qword [rax - 0x18], r14
mov qword [rax - 0x10], r14
mov qword [rax - 8], r14
dec rbx
jne 0x140005340
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rsi + 0x18], r14
mov dword [rsi + 8], 0x67452301
mov dword [rsi + 0xc], 0xefcdab89
mov dword [rsi + 0x10], 0x98badcfe
mov dword [rsi + 0x14], 0x10325476
mov qword [rsi + 0x60], r14
mov qword [rsi + 0x68], r14
mov qword [rsi + 0x70], r14
mov qword [rsi + 0x78], r14
mov qword [rsi + 0x80], r14
mov qword [rsi + 0x88], r14
mov qword [rsi + 0x90], r14
mov qword [rsi + 0x98], r14
mov byte [rsi + 0x60], pe_nt_image_headers64
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001c3b0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000cab0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea rcx, [rsp + 0x62]
xor edi, edi
xor edx, edx
mov r8d, 0x20a
mov word [rsp + 0x60], di
call fcn.14001c4c0
cmp qword [rbx + 0x10], 0x104
jbe 0x14000cafc
xor eax, eax
jmp 0x14000cbbb
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x298], rsi
cmp rax, 8
jb 0x14000cb13
mov rsi, qword [rbx]
jmp 0x14000cb16
mov rsi, rbx
cmp rax, 8
jb 0x14000cb1f
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x60]
mov r8, rsi
movsxd rdx, eax
add rdx, rdx
call fcn.14001a8d8
xor eax, eax
mov qword [rsp + 0x40], rax
movzx ecx, word [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov eax, 0x414
or cx, ax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rax
mov eax, 0xffbf
mov qword [rsp + 0x20], rdi
and cx, ax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], cx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rsi, qword [rsp + 0x298]
test eax, eax
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001c3b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
ret

Function at 0x14000cbe0
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov rbx, r8
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000cc5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.DeleteRegistryValue
lea rdx, str.ControlPanelTool.cpp
mov dword [rsp + 0x28], eax
lea rax, str.open_failed__d_
mov r8d, 0x25f
mov ecx, 0x20
mov qword [rsp + 0x20], rax
call fcn.140001e40
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c3b0
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14000ccc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.DeleteRegistryValue
lea rdx, str.ControlPanelTool.cpp
mov dword [rsp + 0x28], eax
lea rax, str.Delete_failed__d_
mov r8d, 0x267
mov ecx, 0x20
mov qword [rsp + 0x20], rax
call fcn.140001e40
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c3b0
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c3b0
add rsp, 0x40
pop rbx
ret
Function at 0x14000d140
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14001c4c0
mov dword [rbp - 0x38], 0x68
mov dword [rbp - 0x24], 1
xor edi, edi
mov word [rbp - 0x20], di
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000d274
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x14000d1f3
mov qword [rsp + 0x58], rdi
jmp 0x14000d211
cmp word [rbx], di
jne 0x14000d1ff
mov qword [rsp + 0x58], rdi
jmp 0x14000d211
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14000d203
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004970
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000d22b
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [0x14005a0e8]
mov qword [rsp + 0x20], rax
lea r9, str.ExecuteCmd
mov r8d, 0x392
lea rdx, str.ControlPanelTool.cpp
mov ecx, 0x20
call fcn.140001e40
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14000d26d
mov rcx, qword [rsp + 0x60]
call fcn.14001a538
xor eax, eax
jmp 0x14000d325
or edx, 0xffffffff
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x14000d2a6
mov qword [rsp + 0x58], rdi
jmp 0x14000d2c4
cmp word [rbx], di
jne 0x14000d2b2
mov qword [rsp + 0x58], rdi
jmp 0x14000d2c4
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14000d2b6
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004970
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000d2de
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [0x14005a110]
mov qword [rsp + 0x20], rax
lea r9, str.ExecuteCmd
mov r8d, 0x39a
lea rdx, str.ControlPanelTool.cpp
mov ecx, 0x10
call fcn.140001e40
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14000d320
mov rcx, qword [rsp + 0x60]
call fcn.14001a538
mov eax, 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14001c3b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000d350
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14001c4c0
mov dword [rbp - 0x38], 0x68
mov dword [rbp - 0x24], 1
xor edi, edi
mov word [rbp - 0x20], di
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000d484
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x14000d403
mov qword [rsp + 0x58], rdi
jmp 0x14000d421
cmp word [rbx], di
jne 0x14000d40f
mov qword [rsp + 0x58], rdi
jmp 0x14000d421
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14000d413
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004970
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000d43b
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [0x14005a0e8]
mov qword [rsp + 0x20], rax
lea r9, str.ExecuteCmdNoWait
mov r8d, 0x3a9
lea rdx, str.ControlPanelTool.cpp
mov ecx, 0x20
call fcn.140001e40
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14000d47d
mov rcx, qword [rsp + 0x60]
call fcn.14001a538
xor eax, eax
jmp 0x14000d52f
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x14000d4a9
mov qword [rsp + 0x58], rdi
jmp 0x14000d4ce
cmp word [rbx], di
jne 0x14000d4b5
mov qword [rsp + 0x58], rdi
jmp 0x14000d4ce
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x14000d4c0
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004970
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000d4e8
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [0x14005a110]
mov qword [rsp + 0x20], rax
lea r9, str.ExecuteCmdNoWait
mov r8d, 0x3b1
lea rdx, str.ControlPanelTool.cpp
mov ecx, 0x10
call fcn.140001e40
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14000d52a
mov rcx, qword [rsp + 0x60]
call fcn.14001a538
mov eax, 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14001c3b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000d550
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
sub rsp, 0x2c8
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, rcx
lea rcx, [rsp + 0xa2]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xa0], bp
call fcn.14001c4c0
lea rdx, [rsp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14000d5ad
mov eax, ebp
jmp 0x14000d719
lea rcx, [rsp + 0x90]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x14000d5a6
movzx ecx, byte [rsp + 0x9e]
movzx edx, byte [rsp + 0x9d]
movzx r8d, byte [rsp + 0x9c]
movzx r9d, byte [rsp + 0x9b]
movzx eax, byte [rsp + 0x9f]
movzx r10d, byte [rsp + 0x9a]
movzx r11d, byte [rsp + 0x99]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], r9d
mov r9d, dword [rsp + 0x90]
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x2e8], rbx
movzx ebx, byte [rsp + 0x98]
mov qword [rsp + 0x2f0], rsi
movzx esi, word [rsp + 0x94]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x2c0], rdi
movzx edi, word [rsp + 0x96]
lea r8, [rsp + 0xa0]
lea rdx, str._s_08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
call fcn.140004200
mov rdi, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2f0]
mov rbx, rax
cmp r14, rax
je 0x14000d6f7
cmp qword [r14 + 0x18], 8
jb 0x14000d69f
mov rcx, qword [r14]
call fcn.14001a538
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rbp
mov word [r14], bp
cmp qword [rbx + 0x18], 8
jae 0x14000d6cf
mov r8, qword [rbx + 0x10]
inc r8
je 0x14000d6d8
add r8, r8
mov rdx, rbx
mov rcx, r14
call fcn.14001ad70
jmp 0x14000d6d8
mov rax, qword [rbx]
mov qword [r14], rax
mov qword [rbx], rbp
mov rcx, qword [rbx + 0x10]
mov qword [r14 + 0x10], rcx
mov rcx, qword [rbx + 0x18]
mov qword [r14 + 0x18], rcx
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
cmp qword [rsp + 0x88], 8
mov rbx, qword [rsp + 0x2e8]
jb 0x14000d714
mov rcx, qword [rsp + 0x70]
call fcn.14001a538
mov eax, 1
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14001c3b0
add rsp, 0x2c8
pop r14
pop rbp
ret
Function at 0x14000db40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rcx
mov edi, 0x2000
mov r14, rdx
mov ecx, edi
call fcn.14001b6b8
mov rbx, rax
test rax, rax
je 0x14000dc3c
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, rbp
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp eax, 0xea
jne 0x14000dbf6
nop dword [rax]
add edi, 0x1000
mov rcx, rbx
mov edx, edi
call fcn.14001b770
mov rbx, rax
test rax, rax
je 0x14000dc35
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp eax, 0xea
je 0x14000dbb0
test esi, esi
jne 0x14000dbff
mov rax, rbx
jmp 0x14000dc37
mov rcx, rbx
call fcn.14001b678
lea rax, str.RegQuery_Fail:_d
lea r9, str.GetRegVaule
lea rdx, str.ControlPanelTool.cpp
mov r8d, 0x73b
mov ecx, 0x20
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.140001e40
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c3b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret