joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a1d4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x610
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rbp, rdx
mov qword [rsp + 0x60], rdx
mov rsi, rcx
lea rdx, str.SoftwareWinRAR
mov r8d, 0xf
mov rcx, rbp
call fcn.140068d60
test eax, eax
je 0x14009a220
xor al, al
jmp 0x14009a418
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009a219
mov ebx, 0x100000
mov rcx, rbx
call fcn.1400eb0f4
mov rdi, rax
test rax, rax
jne 0x14009a266
lea rcx, [0x140149f20]
call fcn.14003c4e4
jmp 0x14009a219
mov rcx, qword [rsp + 0x50]
and dword [rsp + 0x58], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x200]
xor edx, edx
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x48], ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14009a393
lea rax, [rbp + 0x1e]
mov rbp, rax
cmp word [rbp], 0x5c
mov rbx, rbp
jne 0x14009a2cd
add rbx, 2
mov eax, dword [rsp + 0x44]
cmp eax, 3
jne 0x14009a2f9
mov eax, dword [rsp + 0x48]
lea r8, [rsp + 0x200]
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140099b08
mov eax, dword [rsp + 0x44]
cmp eax, 4
jne 0x14009a318
mov r9d, dword [rdi]
lea r8, [rsp + 0x200]
mov rdx, rbx
mov rcx, rsi
call fcn.140099a14
mov eax, dword [rsp + 0x44]
cmp eax, 1
jne 0x14009a333
lea r8, [rsp + 0x200]
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140099a98
mov eax, dword [rsp + 0x58]
lea rcx, [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
inc eax
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x200]
mov edx, eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x48], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14009a2bf
mov rbp, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400ea2a8
xor ebx, ebx
xor edi, edi
xor edx, edx
jmp 0x14009a3d2
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x70]
mov r9d, 0x200
mov rcx, rbp
call fcn.140050528
lea rdx, [rsp + 0x200]
mov rcx, rsi
call fcn.14009a1d4
inc ebx
mov edx, ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0xc8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x14009a3a3
mov rcx, qword [rsp + 0x50]
call fcn.140099fcc
mov al, 1
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x640]
add rsp, 0x610
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009a924
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x140109540]
mov rdi, rdx
mov rbx, rcx
call fcn.140099ca0
test al, al
jne 0x14009a981
lea r8, [rsp + 0x20]
mov r9d, 0x200
mov rdx, rdi
mov rcx, rbx
call fcn.14009a16c
test al, al
je 0x14009a981
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x14009a9a4
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140099ca0
test al, al
jne 0x14009aa2a
lea r8, [rsp + 0x40]
mov r9d, 0x200
mov rdx, rsi
mov rcx, rbx
call fcn.14009a16c
test al, al
je 0x14009aa2a
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009aa2a
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140099fcc
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x14009aa48
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140044e44
test eax, eax
jne 0x14009aa71
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14009aa8c
and dword [0x140184260], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14009a05c
cmp dword [0x140184260], 0
jne 0x14009aa71
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14009aee0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r9
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
call fcn.140099a98
test al, al
je 0x14009af0d
xor eax, eax
jmp 0x14009af65
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.14009abb8
mov rbx, rax
test rax, rax
je 0x14009af5f
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
lea r9d, [rax + 1]
xor r8d, r8d
not rcx
lea edx, [rcx + rcx]
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
mov edi, eax
call fcn.140099fcc
jmp 0x14009af63
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 0x14009af7c
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.140099a14
test al, al
je 0x14009afa6
xor eax, eax
jmp 0x14009aff4
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009abb8
mov rdi, rax
test rax, rax
je 0x14009afee
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140099fcc
jmp 0x14009aff2
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 0x14009af7c

Function at 0x14009b004
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 r12
sub rsp, 0x40
mov r12, qword [rsp + 0x70]
mov rsi, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rax - 0x28], r12
call fcn.140099b08
test al, al
je 0x14009b03f
xor eax, eax
jmp 0x14009b088
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009abb8
mov rdi, rax
test rax, rax
je 0x14009b082
mov r9d, 3
xor r8d, r8d
mov rdx, rbp
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140099fcc
jmp 0x14009b086
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 r12
ret
Function at 0x14009b0a4
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 [0x140132350]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r12, qword [rsp + 0x8c0]
mov ebp, dword [rsp + 0x8c8]
mov rbx, r9
lea r9, [rsp + 0x40]
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], 0x400
call fcn.14009997c
xor r15d, r15d
cmp al, r15b
jne 0x14009b11a
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140065d00
cmp byte [0x14012ffe9], r15b
sete al
jmp 0x14009b13b
lea rcx, [rsp + 0x40]
call fcn.140099bcc
mov r8, rbp
mov rcx, rbx
cmp rax, r15
cmove rax, r12
mov rdx, rax
call fcn.140065d00
mov al, 1
cmp al, r15b
je 0x14009b147
mov al, 1
jmp 0x14009b1cd
mov rdx, rsi
mov rcx, rdi
call fcn.14009ac68
mov dil, r15b
mov rsi, rax
cmp rax, r15
je 0x14009b1bc
lea ecx, [rbp + rbp]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rsi
mov rdx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
cmp eax, r15d
sete dil
call fcn.140099fcc
cmp dil, r15b
je 0x14009b1bc
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp ebp, r15d
jne 0x14009b1ad
mov word [rbx], r15w
jmp 0x14009b1ca
lea eax, [rbp - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r15w
jmp 0x14009b1ca
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140065d00
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14009b1f4
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 rbp, r8
mov rbx, rdx
mov rsi, rcx
mov qword [r11 - 0x28], rax
call fcn.140099c0c
test al, al
je 0x14009b22b
mov eax, dword [rsp + 0x30]
jmp 0x14009b28c
mov rdx, rbx
mov rcx, rsi
call fcn.14009ac68
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x14009b28a
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
test eax, eax
sete bl
call fcn.140099fcc
test bl, bl
je 0x14009b28a
cmp dword [rsp + 0x34], 0
je 0x14009b28a
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 0x14009b2a4
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 [0x140132350]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14d, dword [rsp + 0x8c8]
mov rsi, qword [rsp + 0x8c0]
mov rdi, r9
lea r9, [rsp + 0x40]
mov r15, r8
mov r13, rdx
mov rbx, r14
mov rbp, rcx
mov qword [rsp + 0x20], 0x400
call fcn.14009997c
test al, al
jne 0x14009b328
mov r8, rbx
mov rcx, rdi
test rsi, rsi
je 0x14009b315
mov rdx, rsi
call fcn.1400e9de0
jmp 0x14009b31c
xor edx, edx
call fcn.1400eada0
cmp byte [0x14012ffe9], 0
sete al
jmp 0x14009b366
lea rcx, [rsp + 0x40]
call fcn.140099bcc
mov r8, rbx
test rax, rax
jne 0x14009b357
mov rcx, rdi
test rsi, rsi
je 0x14009b34c
mov rdx, rsi
call fcn.1400e9de0
jmp 0x14009b353
xor edx, edx
call fcn.1400eada0
xor ebx, ebx
jmp 0x14009b364
mov rdx, rdi
mov rcx, rax
call fcn.140065ab8
mov ebx, eax
mov al, 1
test al, al
je 0x14009b36e
mov eax, ebx
jmp 0x14009b3dd
mov rdx, r13
mov rcx, rbp
call fcn.14009ac68
mov dword [rsp + 0x30], r14d
mov rbp, rax
test rax, rax
je 0x14009b3bf
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call fcn.140099fcc
test ebx, ebx
jne 0x14009b3bf
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14009b3dd
mov r8, r14
mov rcx, rdi
test rsi, rsi
je 0x14009b3d4
mov rdx, rsi
call fcn.1400e9de0
jmp 0x14009b3db
xor edx, edx
call fcn.1400eada0
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14009b404
Capabilities:
Delete registry key

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

Function at 0x14009b414
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009a9a4
Function at 0x14009b428
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbp, rdx
mov r8, rdx
mov rsi, rcx
mov rdx, rcx
lea r9, [rsp + 0x40]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], 0x400
call fcn.14009997c
xor ebx, ebx
mov ecx, ebx
cmp al, bl
jne 0x14009b482
cmp byte [0x14012ffe9], bl
sete dl
jmp 0x14009b4d7
mov rdi, qword [0x140185270]
mov edx, 1
jmp 0x14009b4bb
mov rax, qword [rdi]
lea r9, [rsp + 0x40]
sub r9, rax
movzx r8d, word [rax]
movzx r10d, word [rax + r9]
sub r8d, r10d
jne 0x14009b4b2
add rax, 2
test r10d, r10d
jne 0x14009b49b
cmp r8d, ebx
je 0x14009b4c2
mov rdi, qword [rdi + 0x18]
cmp rdi, rbx
jne 0x14009b490
jmp 0x14009b4d7
mov rdi, qword [rdi + 8]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
sub rcx, rdx
add ecx, edx
cmp dl, bl
je 0x14009b4df
mov eax, ecx
jmp 0x14009b531
mov rdx, rsi
mov rcx, 0xffffffff80000001
call fcn.14009ac68
mov rsi, rax
cmp rax, rbx
je 0x14009b52c
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov edi, eax
call fcn.140099fcc
mov edx, dword [rsp + 0x30]
cmp edi, ebx
cmovne edx, ebx
mov ebx, edx
mov eax, ebx
shr rax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x880]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009b888
Capabilities:
Set registry value

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

Function at 0x14009b8a0
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.140099a14
test al, al
je 0x14009afa6
xor eax, eax
jmp 0x14009aff4
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009abb8
mov rdi, rax
test rax, rax
je 0x14009afee
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140099fcc
jmp 0x14009aff2
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 0x14009af7c

Function at 0x14009b908
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009b1f4
Function at 0x14009d544
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
push rdi
mov eax, 0xa838
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0xa820], rax
mov rsi, rcx
mov edi, edx
lea r9, [rsp + 0xa868]
lea rcx, [rsp + 0x20]
mov edx, 0x1800
call fcn.1400ef7c8
xor r11d, r11d
mov word [rsp + 0x301e], r11w
cmp edi, r11d
je 0x14009d602
sub edi, 1
je 0x14009d5e3
cmp edi, 1
jne 0x14009d646
lea rdx, [rsp + 0x3020]
lea rcx, [rsp + 0x20]
mov r8d, 0x1800
call fcn.1400688e8
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3020]
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x3020]
jmp 0x14009d639
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
lea edx, [rax + 2]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x20]
jmp 0x14009d63e
lea rdx, [rsp + 0x4820]
lea rcx, [rsp + 0x20]
mov r8d, 0x6000
call fcn.1400689fc
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x4820]
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x4820]
mov edx, 1
mov r9, rsi
call fcn.1400ef054
mov rcx, qword [rsp + 0xa820]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0xa838
pop rdi
pop rsi
ret
Function at 0x14009d660
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
mov eax, 0x4360
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x4350], rax
mov rsi, rcx
call fcn.140050f04
xor ebx, ebx
mov rdi, rax
cmp rsi, rbx
jne 0x14009d6a6
xor al, al
jmp 0x14009d89b
lea rbp, [0x140109540]
mov r12d, 0xc8
lea r9, [rsp + 0x30]
mov rdx, rax
mov rcx, 0xffffffff80000000
mov r8, rbp
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbp
call fcn.14009b0a4
cmp word [rsp + 0x30], bx
je 0x14009d69f
lea rdx, str._shellprintcommand
lea rcx, [rsp + 0x30]
mov r8, r12
call fcn.140065d80
lea r9, [rsp + 0x350]
lea rdx, [rsp + 0x30]
mov r8, rbp
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x28], 0x800
mov qword [rsp + 0x20], rbp
call fcn.14009b0a4
cmp word [rsp + 0x350], bx
jne 0x14009d7c6
lea r8, str.SoftwareClasses_s
lea rcx, [rsp + 0x1c0]
mov r9, rdi
mov rdx, r12
call fcn.1400e0c0c
mov rdi, 0xffffffff80000002
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x1c0]
mov rcx, rdi
mov r8, rbp
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbp
call fcn.14009b0a4
cmp word [rsp + 0x30], bx
je 0x14009d69f
lea r9, [rsp + 0x30]
lea r8, str.SoftwareClasses_s_shellprintcommand
lea rcx, [rsp + 0x1c0]
mov rdx, r12
call fcn.1400e0c0c
lea r9, [rsp + 0x350]
lea rdx, [rsp + 0x1c0]
mov r8, rbp
mov rcx, rdi
mov dword [rsp + 0x28], 0x800
mov qword [rsp + 0x20], rbp
call fcn.14009b0a4
cmp word [rsp + 0x350], bx
je 0x14009d69f
mov ebp, 0x1000
lea rdx, [rsp + 0x2350]
lea rcx, [rsp + 0x350]
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x14011244c]
lea rcx, [rsp + 0x2350]
call fcn.1400ee80c
cmp rax, rbx
je 0x14009d69f
lea rcx, [rsp + 0x2350]
mov dil, bl
cmp rax, rcx
jbe 0x14009d821
cmp word [rax - 2], 0x22
movzx edi, bl
mov ecx, 1
cmove edi, ecx
lea rcx, [rsp + 0x2350]
mov r8, rbp
mov rdx, rsi
mov word [rax], bx
call fcn.140065d80
cmp dil, bl
je 0x14009d853
lea rdx, [0x14010ee50]
lea rcx, [rsp + 0x2350]
mov r8, rbp
call fcn.140065d80
lea rdx, [rsp + 0x1350]
lea rcx, [rsp + 0x2350]
mov r8d, 0x800
call fcn.140065f04
lea r8, [rsp + 0x1350]
lea rdx, str.open
xor ecx, ecx
mov r9, rax
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta al
mov rcx, qword [rsp + 0x4350]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x4360]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x14009d8c4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov r8, rcx
lea rdx, str.print
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 8
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta dil
test dil, dil
jne 0x14009d921
mov rcx, rbx
call fcn.14009d660
test al, al
jne 0x14009d921
mov ecx, 0x557
call fcn.14005fad8
mov rdx, rbx
mov rcx, rax
call fcn.1400c5814
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14009fd88
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
lea rdx, [0x140110150]
mov rcx, r8
call fcn.1400b5c54
xor esi, esi
cmp rax, rsi
mov rdi, rax
sete r8b
mov byte [rbx + 0x3038], r8b
cmp r8b, sil
jne 0x14009ffa6
lea r14d, [rsi + 1]
lea edx, [rsi + 0x16]
lea rcx, [rsp + 0x38]
mov r8, r14
mov r9, rax
call fcn.1400ef54c
cmp word [rsp + 0x38], si
jne 0x14009ff9e
cmp word [rsp + 0x3a], r14w
jne 0x14009ff9e
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400ef620
movzx r11d, word [rsp + 0x3c]
sub r11d, r14d
movsxd rcx, r11d
shl rcx, 4
add rcx, 0x16
call fcn.1400eb0f4
movzx ecx, word [rsp + 0x3c]
sub ecx, r14d
mov r15, rax
movsxd rcx, ecx
imul rcx, rcx, 0xe
add rcx, 0x14
call fcn.1400eb0f4
movzx ecx, word [rsp + 0x3c]
mov r9, rdi
sub ecx, r14d
mov r8, r14
mov r13, rax
movsxd rdx, ecx
mov rcx, r15
shl rdx, 4
add rdx, 0x16
call fcn.1400ef54c
mov rcx, qword [r15]
mov ebp, esi
mov qword [r13], rcx
mov rax, qword [r15 + 8]
mov qword [r13 + 8], rax
mov eax, dword [r15 + 0x10]
mov dword [r13 + 0x10], eax
cmp si, word [rsp + 0x3c]
jae 0x14009ff52
movsxd rcx, ebp
lea r12d, [r14 + rbp]
mov rbx, rcx
add rbx, rbx
imul rcx, rcx, 0xe
mov rax, qword [r15 + rbx*8 + 6]
mov qword [rcx + r13 + 6], rax
mov eax, dword [r15 + rbx*8 + 0xe]
mov word [rcx + r13 + 0x12], r12w
mov dword [rcx + r13 + 0xe], eax
mov eax, dword [r15 + rbx*8 + 0xe]
mov rcx, rax
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x30], rax
call fcn.1400eb0f4
mov rcx, rdi
mov r14, rax
cmp rax, rsi
je 0x14009ffa1
mov edx, dword [r15 + rbx*8 + 0x12]
xor r8d, r8d
call fcn.1400ef620
mov rdx, qword [rsp + 0x30]
mov r9, rdi
mov r8d, 1
mov rcx, r14
call fcn.1400ef54c
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov r9d, 0x400
movzx r8d, r12w
mov edx, 3
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, r14
mov ebx, eax
call fcn.1400ea2a8
cmp ebx, esi
je 0x14009ff9e
movzx eax, word [rsp + 0x3c]
mov r14d, 1
add ebp, r14d
cmp ebp, eax
jl 0x14009fe8b
mov rcx, rdi
call fcn.1400eee40
movzx r11d, word [rsp + 0x3c]
movzx r8d, word [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
sub r11d, r14d
mov r9d, 0x400
mov edx, 0xe
imul r11d, r11d, 0xe
add r11d, 0x14
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
cmp eax, esi
setne al
jmp 0x14009ffa8
mov rcx, rdi
call fcn.1400eee40
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ffc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r13, rdx
mov rbx, rcx
lea rdx, [0x140110150]
mov rcx, r8
mov r12d, r9d
call fcn.1400b5c54
xor ebp, ebp
cmp rax, rbp
mov rdi, rax
sete r8b
mov byte [rbx + 0x3038], r8b
cmp r8b, bpl
jne 0x1400a00a6
mov rcx, rax
call fcn.1400efacc
cmp eax, 0x42
jne 0x1400a009e
mov rcx, rdi
call fcn.1400efacc
cmp eax, 0x4d
jne 0x1400a009e
lea edx, [rbp + 2]
xor r8d, r8d
mov rcx, rdi
call fcn.1400ef620
lea ebx, [rbp + 1]
lea edx, [rbp + 4]
lea rcx, [rsp + 0x50]
mov r8, rbx
mov r9, rdi
call fcn.1400ef54c
mov r11d, dword [rsp + 0x50]
add r11d, 0xfffffff2
mov ecx, r11d
mov dword [rsp + 0x50], r11d
call fcn.1400eb0f4
mov rcx, rdi
mov rsi, rax
cmp rax, rbp
je 0x1400a00a1
lea edx, [rbp + 0xe]
xor r8d, r8d
call fcn.1400ef620
mov r8d, dword [rsp + 0x50]
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400ef54c
mov ecx, dword [rsp + 0x50]
cmp rax, rcx
je 0x1400a00c1
mov rcx, rsi
call fcn.1400ea2a8
mov rcx, rdi
call fcn.1400eee40
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov rcx, rdi
call fcn.1400eee40
mov ecx, dword [rsp + 0x50]
mov r9d, 0x400
mov dword [rsp + 0x28], ecx
movzx r8d, r12w
mov edx, 2
mov rcx, r13
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rsi
mov ebx, eax
call fcn.1400ea2a8
cmp ebx, ebp
setne al
jmp 0x1400a00a8

Function at 0x1400a0144
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov rbx, rcx
lea rdx, [0x140110150]
mov rcx, rax
call fcn.1400b5c54
xor edi, edi
cmp rax, rdi
mov rsi, rax
sete dl
mov byte [rbx + 0x3038], dl
cmp dl, dil
je 0x1400a0197
mov al, 1
jmp 0x1400a01e8
lea rcx, [rsp + 0x20]
mov r9, rax
mov edx, 1
mov r8d, 0x400
call fcn.1400ef54c
mov rcx, rsi
mov rbx, rax
call fcn.1400eee40
lea ecx, [rbx - 4]
cmp ecx, edi
jle 0x1400a01e6
lea rax, [rsp + 0x21]
cmp byte [rax - 1], 0x55
jne 0x1400a01dd
cmp byte [rax], 0x50
jne 0x1400a01dd
cmp byte [rax + 1], 0x58
jne 0x1400a01dd
cmp byte [rax + 2], 0x30
je 0x1400a0193
inc edi
inc rax
cmp edi, ecx
jl 0x1400a01c6
xor al, al
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret