joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400627f0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1030
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor r14d, r14d
mov r12, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x140062a26
call fcn.1400614f4
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rcx, rbx
call fcn.140061f20
cmp al, r14b
je 0x140062913
mov rcx, rbx
call fcn.1400614f4
cmp al, r14b
je 0x1400628a2
lea rax, [r13 + 4]
cmp r12, rax
jbe 0x140062a26
lea r8d, [r14 + 4]
lea rdx, [0x1400e5bc8]
mov rcx, rsi
call fcn.1400c8444
sub rsi, rbx
movzx ecx, word [rbx]
add rbx, 2
mov word [rsi + rbx + 6], cx
cmp cx, r14w
jne 0x140062889
mov al, 1
jmp 0x140062a28
mov ebp, 0x5c
cmp word [rbx], bp
jne 0x140062a26
add rbx, 2
cmp word [rbx], bp
jne 0x140062a26
lea rax, [r13 + 6]
cmp r12, rax
jbe 0x140062a26
lea r8d, [rbp - 0x58]
lea rdx, [0x1400e5bc8]
mov rcx, rsi
call fcn.1400c8444
lea rdx, [0x1400e5bc0]
mov rcx, rsi
sub rcx, rdx
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx + 6], ax
cmp ax, r14w
jne 0x1400628ea
sub rsi, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rsi + rbx + 0xc], ax
cmp ax, r14w
jne 0x1400628ff
jmp 0x14006289b
mov edi, 0x7ff
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, r14d
je 0x140062a26
cmp eax, edi
ja 0x140062a26
movzx eax, word [rbx]
mov ebp, 0x5c
cmp eax, ebp
je 0x1400629da
cmp eax, 0x2f
je 0x1400629da
lea edx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.14006119c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
lea rax, [rcx + r13 + 3]
cmp r12, rax
jbe 0x140062a26
lea r8d, [rbp - 0x58]
lea rdx, [0x1400e5bc8]
mov rcx, rsi
call fcn.1400c8444
lea rax, [rsp + 0x20]
mov rcx, rsi
sub rcx, rax
lea rdx, [rsp + 0x20]
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx + 6], ax
cmp ax, r14w
jne 0x14006299e
cmp word [rbx], 0x2e
jne 0x1400629c7
movzx eax, word [rbx + 2]
cmp eax, ebp
je 0x1400629c3
cmp eax, 0x2f
jne 0x1400629c7
add rbx, 4
mov r8, r12
mov rdx, rbx
mov rcx, rsi
call fcn.1400805dc
jmp 0x14006289b
lea rax, [r13 + 6]
cmp r12, rax
jbe 0x140062a26
lea rdx, [0x1400e5bc8]
mov r8d, 4
mov rcx, rsi
call fcn.1400c8444
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.1400c8444
sub rsi, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rsi + rbx + 0xa], ax
cmp ax, r14w
jne 0x140062a0f
jmp 0x14006289b
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x1030
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140066080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x248
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r15, qword [rsp + 0x2b8]
mov rbx, rcx
lea rcx, [rsp + 0xc0]
mov ebp, r9d
mov rsi, r8
mov edi, edx
call fcn.1400435a8
lea r8, [rsp + 0xc0]
mov edx, edi
mov rcx, rbx
call fcn.1400435b8
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0xc0]
mov r8d, 0xa0
call fcn.1400c6bb0
lea r8, [rsp + 0x160]
mov edx, ebp
mov rcx, rsi
call fcn.14004364c
mov r14d, dword [rsp + 0x2c0]
mov eax, 0xcccccccd
lea ecx, [r14 - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x140066249
mov ebp, dword [rsp + 0x2b0]
xor edi, edi
lea ebx, [rdi + 1]
xor eax, eax
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x160]
mov r8d, 0xa0
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x228], eax
call fcn.1400c6bb0
mov eax, ebx
shr eax, 0x10
mov r11d, ebx
mov byte [rsp + 0x203], bl
mov byte [rsp + 0x201], al
shr r11d, 0x18
mov eax, ebx
shr eax, 8
mov byte [rsp + 0x200], r11b
mov r12d, 4
mov byte [rsp + 0x202], al
test ebp, ebp
je 0x14006620e
mov rsi, rbp
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x200]
mov edx, r12d
call fcn.14004364c
mov r12d, 0x14
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x200]
mov edx, r12d
call fcn.14004370c
xor r11d, r11d
mov rcx, r12
mov al, byte [rsp + r11 + 0x200]
inc r11
xor byte [rsp + r11 + 0x217], al
sub rcx, 1
jne 0x1400661d7
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0xc0]
mov r8d, 0xa0
call fcn.1400c6bb0
sub rsi, 1
jne 0x1400661a1
movsxd rdx, edi
xor ecx, ecx
lea r8, [rsp + 0x218]
add rdx, r15
lea eax, [rdi + rcx]
cmp eax, r14d
jae 0x140066238
mov al, byte [r8]
inc ecx
inc r8
mov byte [rdx], al
inc rdx
cmp ecx, 0x14
jb 0x14006621e
inc ebx
add edi, 0x14
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x140066135
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006726c
Capabilities:
Encode data using xor

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, 0x20
and dword [rcx + 4], 0
and dword [rcx], 0
mov eax, 0x8000
cmp r8d, eax
mov r12, rcx
mov rcx, qword [rcx + 0x10]
cmovb eax, r8d
mov ebp, r8d
mov rbx, r9
mov r8d, eax
mov rsi, rdx
call fcn.1400c6bb0
xor dil, dil
cmp ebp, 1
jbe 0x1400672cb
lea rcx, [rsi + 1]
lea edx, [rbp - 1]
xor dil, byte [rcx]
inc rcx
sub rdx, 1
jne 0x1400672bf
mov edx, 8
mov rcx, r12
call fcn.140041290
and dword [rbx + 0x28], 0
cmp dil, byte [rsi]
jne 0x14006733d
mov r8d, ebp
mov rdx, rsi
mov rcx, r12
call fcn.140067180
mov edi, eax
test eax, eax
je 0x14006733d
mov edx, 1
mov rcx, rbx
call fcn.1400671cc
movsxd rcx, dword [rbx + 0x28]
mov rdx, rcx
inc ecx
mov dword [rbx + 0x28], ecx
imul rdx, rdx, 0x38
add rdx, qword [rbx]
lea rax, [rdx + 0xc]
mov dword [rdx], 0x28
mov dword [rax], edi
mov qword [rdx + 0x18], rax
lea rax, [rdx + 0x24]
mov qword [rdx + 0x30], rax
mov eax, 3
mov dword [rdx + 0x20], eax
mov dword [rdx + 8], eax
jmp 0x1400673bd
mov edx, 1
mov rcx, rbx
call fcn.1400671cc
movsxd rax, dword [rbx + 0x28]
xor r8d, r8d
mov rcx, rax
inc eax
mov dword [rbx + 0x28], eax
imul rcx, rcx, 0x38
add rcx, qword [rbx]
lea rax, [rcx + 0xc]
mov dword [rcx], 0x16
mov qword [rcx + 0x18], rax
lea rax, [rcx + 0x24]
mov qword [rcx + 0x30], rax
mov eax, 3
mov dword [rcx + 0x20], eax
mov dword [rcx + 8], eax
cmp dword [rbx + 0x28], r8d
jle 0x1400673bd
xor ecx, ecx
mov rdx, qword [rbx]
cmp qword [rcx + rdx + 0x18], 0
jne 0x14006739e
lea rax, [rcx + rdx + 0xc]
mov qword [rcx + rdx + 0x18], rax
cmp qword [rcx + rdx + 0x30], 0
jne 0x1400673b0
lea rax, [rcx + rdx + 0x24]
mov qword [rcx + rdx + 0x30], rax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx + 0x28]
jl 0x140067389
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14006c7f4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x600
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], bp
je 0x14006c8e1
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x14006c8e1
mov esi, ebp
xor edx, edx
jmp 0x14006c887
lea rax, [rsp + 0x60]
lea r8, [0x1400e61d0]
lea rcx, [rsp + 0x1f0]
mov r9, rbx
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.140022b7c
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.14006c7f4
inc esi
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0xc8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
je 0x14006c84d
mov rcx, qword [rsp + 0x48]
call fcn.14006c7c8
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x14006c8e1
inc dword [0x140176a88]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006c964
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [rsp + 0x20]
mov r9d, 0x200
mov rbx, rcx
call fcn.14006c904
test al, al
je 0x14006c9a4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x430
pop rbx
ret

Function at 0x14006c9c0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, r8
lea r8, [rsp + 0x40]
mov r9d, 0x200
mov rdi, rcx
call fcn.14006c904
test al, al
je 0x14006ca36
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006ca36
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.14006c7c8
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret

Function at 0x14006ca58
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14004b0ac
test eax, eax
jne 0x14006ca81
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14006ca9c
and dword [0x140176a88], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14006c7f4
cmp dword [0x140176a88], 0
jne 0x14006ca81
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006cc6c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, r8
lea r8, [rax - 0x18]
mov rsi, r9
call fcn.14006cb28
mov rbx, rax
test rax, rax
je 0x14006ccd1
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.14006c7c8
jmp 0x14006ccd5
mov edi, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x14006ccec
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rbx, r8
lea r8, [rsp + 0x30]
call fcn.14006cb28
mov rdi, rax
test rax, rax
je 0x14006cd40
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14006c7c8
jmp 0x14006cd44
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x14006ccec

Function at 0x14006cd54
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
lea r8, [rsp + 0x30]
mov rbx, r9
call fcn.14006cb28
mov rdi, rax
test rax, rax
je 0x14006cda9
mov ecx, dword [rsp + 0x70]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rax
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14006c7c8
jmp 0x14006cdad
mov ebx, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14006cdc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov rbx, r9
mov r12, r8
call fcn.14006cbd8
mov edi, dword [rsp + 0x88]
xor r13d, r13d
mov rbp, rax
mov sil, r13b
cmp rax, r13
je 0x14006ce56
lea ecx, [rdi + rdi]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rbp
mov rdx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
cmp eax, r13d
sete sil
call fcn.14006c7c8
cmp sil, r13b
je 0x14006ce56
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp edi, r13d
jne 0x14006ce47
mov word [rbx], r13w
jmp 0x14006ce69
lea eax, [rdi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x14006ce69
mov rdx, qword [rsp + 0x80]
mov r8, rdi
mov rcx, rbx
call fcn.1400805a0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov al, sil
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x14006ce88
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, r9d
mov rbx, r8
call fcn.14006cbd8
mov rsi, rax
mov dword [rsp + 0x30], 4
test rax, rax
je 0x14006cef6
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov rdx, rbx
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.14006c7c8
test bl, bl
je 0x14006cef6
cmp dword [rsp + 0x30], 0
je 0x14006cef6
mov edi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x14006cf08
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
call fcn.14006cbd8
mov esi, dword [rsp + 0x78]
mov rbp, rax
mov dword [rsp + 0x30], esi
test rax, rax
je 0x14006cf70
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call fcn.14006c7c8
test ebx, ebx
jne 0x14006cf70
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14006cf90
mov rdx, qword [rsp + 0x70]
mov r8, rsi
mov rcx, rdi
test rdx, rdx
je 0x14006cf87
call fcn.1400c6bb0
jmp 0x14006cf8e
xor edx, edx
call fcn.1400c7170
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14006cfa8
Capabilities:
Delete registry key

Disassembly:
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14006c964

Function at 0x14006cfb8
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14006c9c0

Function at 0x14006cfcc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
call fcn.14006cbd8
xor esi, esi
mov rdi, rax
cmp rax, rsi
jne 0x14006cff1
xor eax, eax
jmp 0x14006d025
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14006c7c8
mov eax, dword [rsp + 0x58]
cmp ebx, esi
cmovne eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x14006cfcc
Function at 0x14006d344
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14006cc6c

Function at 0x14006d35c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rbx, r8
lea r8, [rsp + 0x30]
call fcn.14006cb28
mov rdi, rax
test rax, rax
je 0x14006cd40
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14006c7c8
jmp 0x14006cd44
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x14006ccec

Function at 0x14006d3c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14006ce88

Function at 0x14006d408
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
call fcn.14006cbd8
xor esi, esi
mov rdi, rax
cmp rax, rsi
jne 0x14006cff1
xor eax, eax
jmp 0x14006d025
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14006c7c8
mov eax, dword [rsp + 0x58]
cmp ebx, esi
cmovne eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x14006cfcc
Function at 0x14006eae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rbx, r9d
mov r12, r8
mov rdi, rdx
mov rbp, rcx
lea rsi, [0x1401772d0]
lea r13, [0x140176ad0]
cmp ebx, dword [0x140176ac8]
je 0x14006eb6b
mov rcx, rsi
call fcn.140027cfc
xor r11d, r11d
mov r9, r13
mov r8d, 0x100
movzx eax, r11b
mov rdx, qword [rsi + rax*8]
test ebx, ebx
je 0x14006eb55
mov r10d, ebx
mov rax, rdx
movzx ecx, dl
mov rdx, qword [rsi + rcx*8]
shr rax, 8
xor rdx, rax
sub r10, 1
jne 0x14006eb3e
mov qword [r9], rdx
inc r11
add r9, 8
sub r8, 1
jne 0x14006eb2f
mov dword [0x140176ac8], ebx
or rsi, 0xffffffffffffffff
cmp qword [rbp + 0x10078], 0
jne 0x14006eb8a
mov ecx, 0x400001
call fcn.1400c61d4
mov qword [rbp + 0x10078], rax
mov r15, qword [rbp + 0x10078]
cmp rdi, r12
jae 0x14006eca4
mov r13, qword [rsp + 0x80]
mov r14d, 0x400000
cmp rsi, 0xffffffffffffffff
jne 0x14006eca4
mov rcx, qword [rbp + 0x20]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x20]
mov r8, r12
mov rax, qword [rcx]
sub r8, rdi
mov rdx, r15
cmp r8, r14
cmova r8, r14
call qword [rax + reloc.COMCTL32.dll_CreateMappedBitmap]
cmp eax, ebx
mov r14d, eax
mov dword [rsp + 0x78], eax
jl 0x14006eca4
mov r8d, ebx
mov rdx, r15
xor ecx, ecx
mov r12d, ebx
call fcn.140027dc8
xor edx, edx
xor r8d, r8d
lea r9, [0x1401772d0]
lea r10, [0x140176ad0]
mov r11, rax
sub r14d, ebx
cmp r11, qword [r13 + 0x60]
je 0x14006ec4f
lea rcx, [r8 + rbx]
inc edx
movzx eax, byte [rcx + r15]
xor rax, r11
movzx ecx, al
movzx eax, byte [r8 + r15]
inc r8
mov rcx, qword [r9 + rcx*8]
xor rcx, qword [r10 + rax*8]
mov rax, r11
shr rax, 8
mov r11, rcx
xor r11, rax
cmp edx, r14d
jbe 0x14006ec14
jmp 0x14006ec84
mov rcx, qword [r13 + 0x30]
mov esi, edx
mov r8, r12
add rdx, r15
call fcn.1400c6bb0
mov r11d, dword [rbp + 0x100b0]
cmp ebx, r11d
jae 0x14006ec81
mov rax, qword [r13 + 0x30]
sub r11d, ebx
xor edx, edx
lea rcx, [r12 + rax]
mov r8d, r11d
call fcn.1400c7170
add rsi, rdi
cmp dword [rsp + 0x78], ebx
je 0x14006eca4
mov r12, qword [rsp + 0x70]
mov ecx, r14d
mov r14d, 0x400000
add rdi, rcx
cmp rdi, r12
jb 0x14006eba8
mov rax, rsi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140072cd8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, 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 bl
test bl, bl
jne 0x140072d27
mov ecx, 0x557
call fcn.140076080
mov rdx, rdi
mov rcx, rax
call fcn.1400b189c
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140073054
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.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
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.1400ca3a8
xor r11d, r11d
mov word [rsp + 0x301e], r11w
cmp edi, r11d
je 0x140073112
sub edi, 1
je 0x1400730f3
cmp edi, 1
jne 0x140073156
lea rdx, [rsp + 0x3020]
lea rcx, [rsp + 0x20]
mov r8d, 0x1800
call fcn.140087f80
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 0x140073149
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 0x14007314e
lea rdx, [rsp + 0x4820]
lea rcx, [rsp + 0x20]
mov r8d, 0x6000
call fcn.140088094
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.1400c8f54
mov rcx, qword [rsp + 0xa820]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0xa838
pop rdi
pop rsi
ret
Function at 0x140075c44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x450
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13, rcx
mov rcx, qword [0x140134b88]
mov rsi, r8
mov r8d, 5
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x140134b88]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x140134b88]
mov rdx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rdi, eax
mov rcx, rdi
call fcn.1400c799c
mov rbx, rax
test rax, rax
jne 0x140075cc6
and qword [rsi], rax
jmp 0x140075df0
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1400c6bb0
mov eax, dword [rbx]
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
mov ecx, 0xffff0000
lea r9, [rsp + 0x30]
and eax, ecx
lea r8, [rsp + 0x34]
mov rdx, r12
cmp eax, ecx
mov rcx, r13
sete dil
call fcn.140075598
test al, al
je 0x140075d54
mov r8, rbx
test dil, dil
je 0x140075d12
lea r8, [rbx + 8]
movsx ecx, word [r8 + 0xe]
mov r9d, 0x51eb851f
mov eax, r9d
imul ecx, dword [rsp + 0x34]
imul ecx
mov eax, r9d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
movsx ecx, word [r8 + 0x10]
mov word [r8 + 0xe], dx
imul ecx, dword [rsp + 0x30]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [r8 + 0x10], dx
neg dil
mov r10d, 0xffff
sbb rax, rax
or r11, 0xffffffffffffffff
and eax, 4
lea edx, [r11 + 3]
lea r8, [rbx + rax*2 + 0x12]
cmp word [r8], r10w
jne 0x140075d7b
mov rcx, rdx
jmp 0x140075d89
xor eax, eax
mov rcx, r11
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
lea r9, [r8 + rcx*2]
cmp word [r9], r10w
je 0x140075da4
xor eax, eax
mov rcx, r11
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
lea rdx, [r9 + rdx*2]
lea r8, [rsp + 0x40]
mov rcx, r13
mov r9d, 0x200
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
call fcn.1400753a4
lea rcx, [rsp + 0x40]
call fcn.1400c8250
cmp dword [rsp + 0x34], 0x64
mov qword [rsi], rax
jne 0x140075ded
cmp dword [rsp + 0x30], 0x64
jne 0x140075ded
mov rcx, rbx
call fcn.1400c7040
xor ebx, ebx
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x498]
add rsp, 0x450
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret