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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x30]
mov edx, 0x1a
xor ecx, ecx
mov byte [rbx], 0
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140053162
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x140053162
cmp byte [rbx], 0
je 0x140053162
mov rcx, rbx
call fcn.140052f74
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
xor edx, edx
repne scasb al, byte [rdi]
mov eax, dword [0x1400c7ee0]
mov rcx, rbx
mov dword [rdi - 1], eax
movzx eax, word [0x1400c7ee4]
mov word [rdi + 3], ax
mov al, byte [0x1400c7ee6]
mov byte [rdi + 5], al
call fcn.1400310a8
test al, al
jne 0x14005317b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400319d4
test eax, eax
je 0x14005317b
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.140053060
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140053198
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
xor esi, esi
lea r8, [rsp + 0x30]
lea edx, [rsi + 0x1a]
xor ecx, ecx
mov word [rbx], si
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
jne 0x14005323b
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, esi
je 0x14005323b
cmp word [rbx], si
je 0x14005323b
mov rcx, rbx
call fcn.14005254c
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
mov rdx, rbx
repne scasw ax, word [rdi]
mov rax, qword [0x1400c6ae8]
xor ecx, ecx
mov qword [rdi - 2], rax
mov eax, dword [0x1400c6af0]
mov dword [rdi + 6], eax
movzx eax, word [0x1400c6af4]
mov word [rdi + 0xa], ax
call fcn.1400310a8
cmp al, sil
jne 0x140053254
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.1400319d4
cmp eax, esi
je 0x140053254
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140053094
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140053274
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
mov byte [rcx], 0
lea rdx, [0x1400c7ef0]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400532e7
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400c7ee8]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [rbx], 0
je 0x1400532fa
xor edx, edx
mov rcx, rbx
call fcn.1400310a8
test al, al
jne 0x140053302
mov rcx, rbx
call fcn.1400530c8
add rsp, 0x30
pop rbx
ret

Function at 0x140053308
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rax, [rsp + 0x50]
mov rbx, rcx
mov word [rcx], di
lea rdx, str.SoftwareWinRARPaths
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x14005337f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbx], di
je 0x140053393
mov rdx, rbx
xor ecx, ecx
call fcn.1400310a8
cmp al, dil
jne 0x14005339b
mov rcx, rbx
call fcn.140053198
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14005706c
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 [0x1400e0920]
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.14003704c
lea r8, [rsp + 0xc0]
mov edx, edi
mov rcx, rbx
call fcn.14003705c
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0xc0]
mov r8d, 0xa0
call fcn.1400a8e30
lea r8, [rsp + 0x160]
mov edx, ebp
mov rcx, rsi
call fcn.1400370f0
mov r14d, dword [rsp + 0x2c0]
mov eax, 0xcccccccd
lea ecx, [r14 - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x140057235
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.1400a8e30
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 0x1400571fa
mov rsi, rbp
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x200]
mov edx, r12d
call fcn.1400370f0
mov r12d, 0x14
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x200]
mov edx, r12d
call fcn.1400371b0
xor r11d, r11d
mov rcx, r12
mov al, byte [rsp + r11 + 0x200]
inc r11
xor byte [rsp + r11 + 0x217], al
sub rcx, 1
jne 0x1400571c3
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0xc0]
mov r8d, 0xa0
call fcn.1400a8e30
sub rsi, 1
jne 0x14005718d
movsxd rdx, edi
xor ecx, ecx
lea r8, [rsp + 0x218]
add rdx, r15
lea eax, [rdi + rcx]
cmp eax, r14d
jae 0x140057224
mov al, byte [r8]
inc ecx
inc r8
mov byte [rdx], al
inc rdx
cmp ecx, 0x14
jb 0x14005720a
inc ebx
add edi, 0x14
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x140057121
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005b884
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 [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], bp
je 0x14005b971
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 0x14005b971
mov esi, ebp
xor edx, edx
jmp 0x14005b917
lea rax, [rsp + 0x60]
lea r8, [0x1400c82e0]
lea rcx, [rsp + 0x1f0]
mov r9, rbx
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.14005b860
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.14005b884
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 0x14005b8dd
mov rcx, qword [rsp + 0x48]
call fcn.14005b834
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x14005b971
inc dword [0x1401179a4]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005b9f4
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [rsp + 0x20]
mov r9d, 0x200
mov rbx, rcx
call fcn.14005b994
test al, al
je 0x14005ba34
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x430
pop rbx
ret

Function at 0x14005ba50
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, r8
lea r8, [rsp + 0x40]
mov r9d, 0x200
mov rdi, rcx
call fcn.14005b994
test al, al
je 0x14005bac6
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 0x14005bac6
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.14005b834
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret

Function at 0x14005bae8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14003ec88
test eax, eax
jne 0x14005bb11
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14005bb2c
and dword [0x1401179a4], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14005b884
cmp dword [0x1401179a4], 0
jne 0x14005bb11
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005bcfc
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.14005bbb8
mov rbx, rax
test rax, rax
je 0x14005bd61
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.14005b834
jmp 0x14005bd65
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 0x14005bd7c
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.14005bbb8
mov rdi, rax
test rax, rax
je 0x14005bdd0
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.14005b834
jmp 0x14005bdd4
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 0x14005bd7c

Function at 0x14005bde4
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.14005bbb8
mov rdi, rax
test rax, rax
je 0x14005be39
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.14005b834
jmp 0x14005be3d
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 0x14005be50
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.14005bc68
mov edi, dword [rsp + 0x88]
xor r13d, r13d
mov rbp, rax
mov sil, r13b
cmp rax, r13
je 0x14005bee6
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.14005b834
cmp sil, r13b
je 0x14005bee6
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp edi, r13d
jne 0x14005bed7
mov word [rbx], r13w
jmp 0x14005bef9
lea eax, [rdi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x14005bef9
mov rdx, qword [rsp + 0x80]
mov r8, rdi
mov rcx, rbx
call fcn.14006b580
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 0x14005bf18
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.14005bc68
mov rsi, rax
mov dword [rsp + 0x30], 4
test rax, rax
je 0x14005bf86
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.14005b834
test bl, bl
je 0x14005bf86
cmp dword [rsp + 0x30], 0
je 0x14005bf86
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 0x14005bf98
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.14005bc68
mov esi, dword [rsp + 0x78]
mov rbp, rax
mov dword [rsp + 0x30], esi
test rax, rax
je 0x14005c000
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.14005b834
test ebx, ebx
jne 0x14005c000
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14005c020
mov rdx, qword [rsp + 0x70]
mov r8, rsi
mov rcx, rdi
test rdx, rdx
je 0x14005c017
call fcn.1400a8e30
jmp 0x14005c01e
xor edx, edx
call fcn.1400a9164
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 0x14005c038
Capabilities:
Delete registry key

Disassembly:
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14005b9f4

Function at 0x14005c048
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14005ba50

Function at 0x14005c05c
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.14005bc68
xor esi, esi
mov rdi, rax
cmp rax, rsi
jne 0x14005c081
xor eax, eax
jmp 0x14005c0b5
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.14005b834
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 0x14005c05c
Function at 0x14005c0c8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xdf0
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0xde0], rax
lea rax, [rsp + 0x58]
mov rdi, rdx
mov rsi, rcx
mov rdx, rcx
mov rbx, 0xffffffff80000001
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebp, ebp
cmp eax, ebp
je 0x14005c122
xor al, al
jmp 0x14005c313
mov rdx, rdi
mov rcx, rbx
call fcn.14005bae8
lea r11, [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
cmp eax, ebp
je 0x14005c174
call fcn.14005b834
jmp 0x14005c11b
mov ebx, ebp
xor edx, edx
jmp 0x14005c1b3
mov eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x610]
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
inc ebx
mov edx, ebx
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x610]
mov dword [rsp + 0x50], 0xc8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x54], 0x3e8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
je 0x14005c17a
mov ebx, ebp
xor edx, edx
jmp 0x14005c2bc
lea rax, [rsp + 0x80]
lea r8, [0x1400c82e0]
lea rcx, [rsp + 0x610]
mov r9, rsi
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.14005b860
lea r11, [rsp + 0x80]
lea r8, [0x1400c82e0]
lea rcx, [rsp + 0x210]
mov r9, rdi
mov edx, 0x200
mov qword [rsp + 0x20], r11
call fcn.14005b860
lea r11, [rsp + 0x70]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebp
jne 0x14005c2fd
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x610]
call fcn.14005c0c8
inc ebx
mov edx, ebx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x80]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x50], 0xc8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
je 0x14005c20d
mov rcx, qword [rsp + 0x58]
call fcn.14005b834
mov rcx, qword [rsp + 0x68]
call fcn.14005b834
mov al, 1
mov rcx, qword [rsp + 0xde0]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0xe20]
add rsp, 0xdf0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005c3a0
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14005bcfc
Function at 0x14005c3b8
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.14005bbb8
mov rdi, rax
test rax, rax
je 0x14005bdd0
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.14005b834
jmp 0x14005bdd4
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 0x14005bd7c

Function at 0x14005c420
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14005bf18

Function at 0x14005c464
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.14005bc68
xor esi, esi
mov rdi, rax
cmp rax, rsi
jne 0x14005c081
xor eax, eax
jmp 0x14005c0b5
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.14005b834
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 0x14005c05c
Function at 0x14005e8e8
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 0x14005e937
mov ecx, 0x557
call fcn.140061d2c
mov rdx, rdi
mov rcx, rax
call fcn.140095e68
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14005ec3c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
push rdi
mov eax, 0x8c38
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x8c20], rax
mov rsi, rcx
mov edi, edx
lea r9, [rsp + 0x8c68]
lea rcx, [rsp + 0x20]
mov edx, 0x1400
call fcn.1400abefc
xor r11d, r11d
mov word [rsp + 0x281e], r11w
cmp edi, r11d
je 0x14005ecfa
sub edi, 1
je 0x14005ecdb
cmp edi, 1
jne 0x14005ed3e
lea rdx, [rsp + 0x2820]
lea rcx, [rsp + 0x20]
mov r8d, 0x1400
call fcn.1400529f0
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x2820]
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x2820]
jmp 0x14005ed31
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 0x14005ed36
lea rdx, [rsp + 0x3c20]
lea rcx, [rsp + 0x20]
mov r8d, 0x5000
call fcn.140073b5c
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3c20]
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x3c20]
mov edx, 1
mov r9, rsi
call fcn.1400aa698
mov rcx, qword [rsp + 0x8c20]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x8c38
pop rdi
pop rsi
ret
Function at 0x1400617ec
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 [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13, rcx
mov rcx, qword [0x1400ec660]
mov rsi, r8
mov r8d, 5
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1400ec660]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x1400ec660]
mov rdx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rdi, eax
mov rcx, rdi
call fcn.1400a85ec
mov rbx, rax
test rax, rax
jne 0x14006186e
and qword [rsi], rax
jmp 0x140061998
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1400a8e30
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.1400611d0
test al, al
je 0x1400618fc
mov r8, rbx
test dil, dil
je 0x1400618ba
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 0x140061923
mov rcx, rdx
jmp 0x140061931
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 0x14006194c
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.140060fdc
lea rcx, [rsp + 0x40]
call fcn.1400aa488
cmp dword [rsp + 0x34], 0x64
mov qword [rsi], rax
jne 0x140061995
cmp dword [rsp + 0x30], 0x64
jne 0x140061995
mov rcx, rbx
call fcn.1400a86a4
xor ebx, ebx
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x498]
add rsp, 0x450
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret