joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008f01c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x14008f0be
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14008f260]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x14008f094
lea rdx, str.CreateThread_failed
lea rcx, [0x14017d200]
call fcn.140062f40
lea rcx, [0x14017d200]
call fcn.140063230
lea edx, [rsi + 2]
lea rcx, [0x14017d200]
call fcn.140062f38
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x108]
mov edx, dword [0x1401868e8]
test edx, edx
je 0x14008f0b4
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x14008f038
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14009ec74
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14006c160
test eax, eax
jne 0x14009ec9d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14009ecb8
and dword [0x140188790], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14009ef1c
cmp dword [0x140188790], 0
jne 0x14009ec9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14009ef1c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], ax
je 0x14009f02b
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
test eax, eax
jne 0x14009f02b
lea rax, [rsp + 0x50]
mov esi, ecx
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x14009efea
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, [0x140117030]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.1400026d0
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.14009ef1c
lea rax, [rsp + 0x50]
inc esi
mov qword [rsp + 0x38], rax
mov edx, esi
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009ef97
mov rcx, qword [rsp + 0x48]
call fcn.14009db20
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14009f02b
inc dword [0x140188790]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x14009f050
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x14010d188]
mov rdi, rdx
mov rbx, rcx
call fcn.14009dc64
test al, al
jne 0x14009f0ad
mov r9d, 0x200
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.14009fcb8
test al, al
je 0x14009f0ad
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x14009f0d0
Capabilities:
Delete registry key

Disassembly:
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009f050
Function at 0x14009f0e0
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.14009dc64
test al, al
jne 0x14009f166
mov r9d, 0x200
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call fcn.14009fcb8
test al, al
je 0x14009f166
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009f166
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.14009db20
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x14009f184
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009f0e0

Function at 0x14009f450
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14009e040
test al, al
je 0x14009f487
mov eax, dword [rsp + 0x30]
jmp 0x14009f4e8
mov rdx, rbx
mov rcx, rsi
call fcn.14009fd1c
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x14009f4e6
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.14009db20
test bl, bl
je 0x14009f4e6
cmp dword [rsp + 0x34], 0
je 0x14009f4e6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14009f500
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r12d, dword [rsp + 0x8c8]
mov rdi, r9
mov rsi, qword [rsp + 0x8c0]
lea r9, [rsp + 0x40]
mov ebx, r12d
mov qword [rsp + 0x20], 0x400
mov r13, r8
mov r15, rdx
mov rbp, rcx
call fcn.14009e3a8
test al, al
jne 0x14009f584
mov r8d, ebx
mov rcx, rdi
test rsi, rsi
je 0x14009f571
mov rdx, rsi
call fcn.1400effa0
jmp 0x14009f578
xor edx, edx
call fcn.1400efdf0
cmp byte [0x14013ce99], 0
sete al
jmp 0x14009f5c2
lea rcx, [rsp + 0x40]
call fcn.14009e0d4
mov r8, rbx
test rax, rax
jne 0x14009f5b3
mov rcx, rdi
test rsi, rsi
je 0x14009f5a8
mov rdx, rsi
call fcn.1400effa0
jmp 0x14009f5af
xor edx, edx
call fcn.1400efdf0
xor ebx, ebx
jmp 0x14009f5c0
mov rdx, rdi
mov rcx, rax
call fcn.14008dbc0
mov ebx, eax
mov al, 1
test al, al
je 0x14009f5ca
mov eax, ebx
jmp 0x14009f639
mov rdx, r15
mov rcx, rbp
call fcn.14009fd1c
mov dword [rsp + 0x30], r12d
mov rbp, rax
test rax, rax
je 0x14009f61b
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rdx, r13
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call fcn.14009db20
test ebx, ebx
jne 0x14009f61b
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14009f639
mov r8, r12
mov rcx, rdi
test rsi, rsi
je 0x14009f630
mov rdx, rsi
call fcn.1400effa0
jmp 0x14009f637
xor edx, edx
call fcn.1400efdf0
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14009f660
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009f450
Function at 0x14009f6a4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14, qword [rsp + 0x8c0]
mov rbx, r9
mov esi, dword [rsp + 0x8c8]
lea r9, [rsp + 0x40]
mov r12, r8
mov qword [rsp + 0x20], 0x400
mov rbp, rdx
mov rdi, rcx
call fcn.14009e3a8
xor r13d, r13d
test al, al
jne 0x14009f719
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.14008e130
cmp byte [0x14013ce99], r13b
sete al
jmp 0x14009f73a
lea rcx, [rsp + 0x40]
call fcn.14009e0d4
test rax, rax
mov r8, rsi
mov rcx, rbx
cmove rax, r14
mov rdx, rax
call fcn.14008e130
mov al, 1
test al, al
je 0x14009f745
mov al, 1
jmp 0x14009f7c8
mov rdx, rbp
mov rcx, rdi
call fcn.14009fd1c
mov rbp, rax
mov dil, r13b
test rax, rax
je 0x14009f7b7
lea ecx, [rsi + rsi]
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rbp
sete dil
call fcn.14009db20
test dil, dil
je 0x14009f7b7
mov ecx, dword [rsp + 0x30]
shr ecx, 1
test esi, esi
jne 0x14009f7a8
mov word [rbx], r13w
jmp 0x14009f7c5
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x14009f7c5
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.14008e130
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14009f818
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbp, rdx
mov qword [rsp + 0x20], 0x400
mov r8, rdx
lea r9, [rsp + 0x40]
mov rdx, rcx
mov rbx, rcx
mov rsi, 0xffffffff80000001
mov rcx, rsi
call fcn.14009e3a8
xor edi, edi
test al, al
mov eax, edi
jne 0x14009f877
cmp byte [0x14013ce99], dil
sete r8b
jmp 0x14009f8cc
mov rcx, qword [0x140187788]
mov r8d, 1
jmp 0x14009f8b1
mov rdx, qword [rcx]
lea r10, [rsp + 0x40]
sub r10, rdx
movzx r9d, word [rdx]
movzx r11d, word [rdx + r10]
sub r9d, r11d
jne 0x14009f8a8
add rdx, 2
test r11d, r11d
jne 0x14009f891
test r9d, r9d
je 0x14009f8b8
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14009f886
jmp 0x14009f8cc
mov rdx, qword [rcx + 8]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], di
jne 0x14009f8c0
add eax, r8d
test r8b, r8b
jne 0x14009f91f
mov rdx, rbx
mov rcx, rsi
call fcn.14009fd1c
mov rsi, rax
test rax, rax
je 0x14009f91a
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call fcn.14009db20
mov ecx, dword [rsp + 0x30]
test ebx, ebx
cmovne ecx, edi
mov edi, ecx
mov eax, edi
shr rax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x880]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009f944
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x510]
sub rsp, 0x610
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rdi, rdx
mov qword [rsp + 0x58], rdx
mov rsi, rcx
lea rdx, str.SoftwareWinRAR
mov rcx, rdi
mov r8d, 0xf
call fcn.1400911b4
test eax, eax
je 0x14009f997
xor al, al
jmp 0x14009fbb0
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009f990
mov ecx, 0x100000
call fcn.1400f5a10
mov rbx, rax
test rax, rax
jne 0x14009f9da
lea rcx, [0x14017d200]
call fcn.140063030
jmp 0x14009f990
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
and dword [rsp + 0x4c], 0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0x100]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x44], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14009fb12
lea rax, [rdi + 0x1e]
mov qword [rsp + 0x60], rax
lea rcx, [rax + 2]
cmp word [rax], 0x5c
mov rdi, rcx
cmovne rdi, rax
mov eax, dword [rsp + 0x48]
cmp eax, 3
jne 0x14009fa72
mov eax, dword [rsp + 0x44]
lea r8, [rbp + 0x100]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.14009e654
mov eax, dword [rsp + 0x48]
cmp eax, 4
jne 0x14009fa90
mov r9d, dword [rbx]
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.14009e5d0
mov eax, dword [rsp + 0x48]
cmp eax, 1
jne 0x14009faaa
mov r9, rbx
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.14009e560
mov eax, dword [rsp + 0x4c]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x40]
inc eax
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x28], rcx
lea r8, [rbp + 0x100]
mov rcx, qword [rsp + 0x50]
mov edx, eax
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x44], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 2]
je 0x14009fa3c
mov rdi, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400f5a08
xor ecx, ecx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov ebx, ecx
mov qword [rsp + 0x30], rcx
xor edx, edx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x14009fb83
mov r9d, 0x200
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140078e14
lea rdx, [rbp + 0x100]
mov rcx, rsi
call fcn.14009f944
lea rax, [rsp + 0x58]
inc ebx
mov qword [rsp + 0x38], rax
mov edx, ebx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009fb3b
mov rcx, qword [rsp + 0x50]
call fcn.14009db20
mov al, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x640]
add rsp, 0x610
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ffdc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, r9
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14009e560
xor r14d, r14d
test al, al
je 0x1400a0011
xor eax, eax
jmp 0x1400a006e
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.14009ebc4
mov rdi, rax
test rax, rax
je 0x1400a0068
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], r14w
jne 0x1400a002d
lea eax, [rcx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009db20
jmp 0x1400a006c
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400a008c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009e5d0
test al, al
je 0x1400a00b6
xor eax, eax
jmp 0x1400a0104
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009ebc4
mov rdi, rax
test rax, rax
je 0x1400a00fe
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009db20
jmp 0x1400a0102
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400a008c

Function at 0x1400a0114
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, qword [rsp + 0x70]
mov rsi, r9
mov qword [rax - 0x28], r14
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009e654
test al, al
je 0x1400a014f
xor eax, eax
jmp 0x1400a0198
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009ebc4
mov rdi, rax
test rax, rax
je 0x1400a0192
mov dword [rsp + 0x28], r14d
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009db20
jmp 0x1400a0196
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400a01b4
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009ffdc
Function at 0x1400a01cc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009e5d0
test al, al
je 0x1400a00b6
xor eax, eax
jmp 0x1400a0104
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009ebc4
mov rdi, rax
test rax, rax
je 0x1400a00fe
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009db20
jmp 0x1400a0102
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400a008c
Function at 0x1400a2a54
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x4278]
mov eax, 0x4360
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x4250], rax
mov rsi, rcx
call fcn.1400786d0
xor ebx, ebx
mov rdi, rax
test rax, rax
jne 0x1400a2aa6
xor al, al
jmp 0x1400a2c8c
lea r14, [0x14010d188]
mov r15d, 0xc8
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, 0xffffffff80000000
call fcn.14009f6a4
cmp word [rsp + 0x30], bx
je 0x1400a2a9f
mov r8d, r15d
lea rdx, str._shellprintcommand
lea rcx, [rsp + 0x30]
call fcn.14008e0f8
lea r9, [rbp + 0x250]
mov dword [rsp + 0x28], 0x800
mov r8, r14
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call fcn.14009f6a4
cmp word [rbp + 0x250], bx
jne 0x1400a2bbe
mov r9, rdi
lea r8, str.SoftwareClasses_s
mov edx, r15d
lea rcx, [rbp + 0xc0]
call fcn.1400026d0
mov rdi, 0xffffffff80000002
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8, r14
lea rdx, [rbp + 0xc0]
call fcn.14009f6a4
cmp word [rsp + 0x30], bx
je 0x1400a2a9f
lea r9, [rsp + 0x30]
mov edx, r15d
lea r8, str.SoftwareClasses_s_shellprintcommand
lea rcx, [rbp + 0xc0]
call fcn.1400026d0
lea r9, [rbp + 0x250]
mov dword [rsp + 0x28], 0x800
mov r8, r14
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.14009f6a4
cmp word [rbp + 0x250], bx
je 0x1400a2a9f
mov r14d, 0x1000
lea rdx, [rbp + 0x2250]
mov r8d, r14d
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x1401174e4]
lea rcx, [rbp + 0x2250]
call fcn.1400f1308
test rax, rax
je 0x1400a2a9f
lea rcx, [rbp + 0x2250]
mov dil, bl
cmp rax, rcx
jbe 0x1400a2c16
cmp word [rax - 2], 0x22
mov ecx, 1
movzx edi, bl
cmove edi, ecx
mov r8, r14
mov word [rax], bx
mov rdx, rsi
lea rcx, [rbp + 0x2250]
call fcn.14008e0f8
test dil, dil
je 0x1400a2c46
mov r8, r14
lea rdx, [0x140116f8c]
lea rcx, [rbp + 0x2250]
call fcn.14008e0f8
mov r8d, 0x800
lea rdx, [rbp + 0x1250]
lea rcx, [rbp + 0x2250]
call fcn.14008d7ac
mov r9, rax
mov dword [rsp + 0x28], 8
lea r8, [rbp + 0x1250]
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta al
mov rcx, qword [rbp + 0x4250]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x4360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a2cb8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x28], 8
and qword [rsp + 0x20], 0
lea rdx, str.print
mov r8, rcx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta dil
test dil, dil
jne 0x1400a2d16
mov rcx, rbx
call fcn.1400a2a54
test al, al
jne 0x1400a2d16
mov ecx, 0x557
call fcn.140088044
mov rcx, rax
mov rdx, rbx
call fcn.1400d1d24
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a34ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xa740]
mov eax, 0xa840
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0xa730], rax
mov rbx, r8
lea r14, [rbp + 0xa788]
mov edi, edx
mov rsi, rcx
call fcn.1400026c8
mov r9, rbx
mov qword [rsp + 0x28], r14
mov ebx, 0x1800
lea rdx, [rbp + 0x1730]
xor r14d, r14d
mov r8d, ebx
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x20], r14
call fcn.1400f5710
mov word [rbp + 0x472e], r14w
test edi, edi
je 0x1400a358b
sub edi, 1
je 0x1400a3568
cmp edi, 1
jne 0x1400a35cc
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1730]
call fcn.140090e44
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400a3558
lea rcx, [rsp + 0x30]
jmp 0x1400a35bf
lea rax, [rbp + 0x1730]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400a3573
mov edx, 2
lea rcx, [rbp + 0x1730]
jmp 0x1400a35c4
mov r8d, 0x6000
lea rdx, [rbp + 0x4730]
lea rcx, [rbp + 0x1730]
call fcn.140090ec8
lea rax, [rbp + 0x4730]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1400a35af
lea rcx, [rbp + 0x4730]
mov edx, 1
mov r9, rsi
call fcn.1400f6318
mov rcx, qword [rbp + 0xa730]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0xa840
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a446c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [0x140111c68]
mov rcx, r8
call fcn.1400c5e04
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x1400a4596
mov rcx, rax
call fcn.1400fb314
cmp eax, 0x42
jne 0x1400a458e
mov rcx, rdi
call fcn.1400fb314
cmp eax, 0x4d
jne 0x1400a458e
xor r8d, r8d
lea edx, [rax - 0x4b]
mov rcx, rdi
call fcn.1400fa260
mov ebx, 1
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8d, ebx
lea edx, [rbx + 3]
call fcn.1400f9f24
mov eax, dword [rsp + 0x30]
add eax, 0xfffffff2
mov ecx, eax
mov dword [rsp + 0x30], eax
call fcn.1400f5a10
mov rbp, rax
mov rcx, rdi
test rax, rax
je 0x1400a4591
xor r8d, r8d
lea edx, [rbx + 0xd]
call fcn.1400fa260
mov r8d, dword [rsp + 0x30]
mov r9, rdi
mov edx, ebx
mov rcx, rbp
call fcn.1400f9f24
mov ecx, dword [rsp + 0x30]
cmp rax, rcx
je 0x1400a45b6
mov ecx, 0x686
call fcn.140088044
mov r8, rax
lea r9, str.BMP__PNG
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.1400026d0
lea ecx, [rbx + 0x65]
call fcn.140088044
mov rcx, qword [0x140145cd8]
lea r9d, [rbx + 0xf]
mov r8, rax
lea rdx, [rsp + 0x40]
call fcn.1400c67dc
mov rcx, rbp
call fcn.1400f5a08
mov rcx, rdi
call fcn.1400f5f4c
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x450
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rdi
call fcn.1400f5f4c
mov r8d, dword [rsp + 0x30]
mov edx, 2
mov dword [rsp + 0x28], r8d
mov r9d, 0x400
mov rcx, r14
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 0x63]
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rbp
mov ebx, eax
call fcn.1400f5a08
test ebx, ebx
setne al
jmp 0x1400a4598