joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053104
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 0x14005319e
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x14005319e
cmp byte [rbx], 0
je 0x14005319e
mov rcx, rbx
call fcn.140052fb0
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.1400310fc
test al, al
jne 0x1400531b7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140031a30
test eax, eax
je 0x1400531b7
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.14005309c
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 0x1400531d4
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 0x140053277
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, esi
je 0x140053277
cmp word [rbx], si
je 0x140053277
mov rcx, rbx
call fcn.140052588
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.1400310fc
cmp al, sil
jne 0x140053290
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.140031a30
cmp eax, esi
je 0x140053290
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.1400530d0
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 0x1400532b0
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 0x140053323
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 0x140053336
xor edx, edx
mov rcx, rbx
call fcn.1400310fc
test al, al
jne 0x14005333e
mov rcx, rbx
call fcn.140053104
add rsp, 0x30
pop rbx
ret

Function at 0x140053344
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 0x1400533bb
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 0x1400533cf
mov rdx, rbx
xor ecx, ecx
call fcn.1400310fc
cmp al, dil
jne 0x1400533d7
mov rcx, rbx
call fcn.1400531d4
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140057100
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.1400370b4
lea r8, [rsp + 0xc0]
mov edx, edi
mov rcx, rbx
call fcn.1400370c4
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0xc0]
mov r8d, 0xa0
call fcn.1400a8fe0
lea r8, [rsp + 0x160]
mov edx, ebp
mov rcx, rsi
call fcn.140037158
mov r14d, dword [rsp + 0x2c0]
mov eax, 0xcccccccd
lea ecx, [r14 - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x1400572c9
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.1400a8fe0
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 0x14005728e
mov rsi, rbp
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x200]
mov edx, r12d
call fcn.140037158
mov r12d, 0x14
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x200]
mov edx, r12d
call fcn.140037218
xor r11d, r11d
mov rcx, r12
mov al, byte [rsp + r11 + 0x200]
inc r11
xor byte [rsp + r11 + 0x217], al
sub rcx, 1
jne 0x140057257
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0xc0]
mov r8d, 0xa0
call fcn.1400a8fe0
sub rsi, 1
jne 0x140057221
movsxd rdx, edi
xor ecx, ecx
lea r8, [rsp + 0x218]
add rdx, r15
lea eax, [rdi + rcx]
cmp eax, r14d
jae 0x1400572b8
mov al, byte [r8]
inc ecx
inc r8
mov byte [rdx], al
inc rdx
cmp ecx, 0x14
jb 0x14005729e
inc ebx
add edi, 0x14
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x1400571b5
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005b8f4
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 0x14005b9e1
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 0x14005b9e1
mov esi, ebp
xor edx, edx
jmp 0x14005b987
lea rax, [rsp + 0x60]
lea r8, [0x1400c82e0]
lea rcx, [rsp + 0x1f0]
mov r9, rbx
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.1400287d0
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.14005b8f4
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 0x14005b94d
mov rcx, qword [rsp + 0x48]
call fcn.14005b8c8
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x14005b9e1
inc dword [0x140116e28]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005ba64
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.14005ba04
test al, al
je 0x14005baa4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x430
pop rbx
ret

Function at 0x14005bac0
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.14005ba04
test al, al
je 0x14005bb36
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 0x14005bb36
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.14005b8c8
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret

Function at 0x14005bb58
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14003ed2c
test eax, eax
jne 0x14005bb81
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14005bb9c
and dword [0x140116e28], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14005b8f4
cmp dword [0x140116e28], 0
jne 0x14005bb81
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005bd6c
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.14005bc28
mov rbx, rax
test rax, rax
je 0x14005bdd1
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.14005b8c8
jmp 0x14005bdd5
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 0x14005bdec
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.14005bc28
mov rdi, rax
test rax, rax
je 0x14005be40
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.14005b8c8
jmp 0x14005be44
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 0x14005bdec

Function at 0x14005be54
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.14005bc28
mov rdi, rax
test rax, rax
je 0x14005bea9
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.14005b8c8
jmp 0x14005bead
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 0x14005bec0
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.14005bcd8
mov edi, dword [rsp + 0x88]
xor r13d, r13d
mov rbp, rax
mov sil, r13b
cmp rax, r13
je 0x14005bf56
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.14005b8c8
cmp sil, r13b
je 0x14005bf56
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp edi, r13d
jne 0x14005bf47
mov word [rbx], r13w
jmp 0x14005bf69
lea eax, [rdi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x14005bf69
mov rdx, qword [rsp + 0x80]
mov r8, rdi
mov rcx, rbx
call fcn.14006b658
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 0x14005bf88
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.14005bcd8
mov rsi, rax
mov dword [rsp + 0x30], 4
test rax, rax
je 0x14005bff6
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.14005b8c8
test bl, bl
je 0x14005bff6
cmp dword [rsp + 0x30], 0
je 0x14005bff6
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 0x14005c008
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.14005bcd8
mov esi, dword [rsp + 0x78]
mov rbp, rax
mov dword [rsp + 0x30], esi
test rax, rax
je 0x14005c070
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.14005b8c8
test ebx, ebx
jne 0x14005c070
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14005c090
mov rdx, qword [rsp + 0x70]
mov r8, rsi
mov rcx, rdi
test rdx, rdx
je 0x14005c087
call fcn.1400a8fe0
jmp 0x14005c08e
xor edx, edx
call fcn.1400a9314
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 0x14005c0a8
Capabilities:
Delete registry key

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

Function at 0x14005c0b8
Capabilities:
Delete registry value

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

Function at 0x14005c0cc
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.14005bcd8
xor esi, esi
mov rdi, rax
cmp rax, rsi
jne 0x14005c0f1
xor eax, eax
jmp 0x14005c125
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.14005b8c8
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 0x14005c0cc
Function at 0x14005c138
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 0x14005c192
xor al, al
jmp 0x14005c383
mov rdx, rdi
mov rcx, rbx
call fcn.14005bb58
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 0x14005c1e4
call fcn.14005b8c8
jmp 0x14005c18b
mov ebx, ebp
xor edx, edx
jmp 0x14005c223
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 0x14005c1ea
mov ebx, ebp
xor edx, edx
jmp 0x14005c32c
lea rax, [rsp + 0x80]
lea r8, [0x1400c82e0]
lea rcx, [rsp + 0x610]
mov r9, rsi
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.1400287d0
lea r11, [rsp + 0x80]
lea r8, [0x1400c82e0]
lea rcx, [rsp + 0x210]
mov r9, rdi
mov edx, 0x200
mov qword [rsp + 0x20], r11
call fcn.1400287d0
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 0x14005c36d
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x610]
call fcn.14005c138
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 0x14005c27d
mov rcx, qword [rsp + 0x58]
call fcn.14005b8c8
mov rcx, qword [rsp + 0x68]
call fcn.14005b8c8
mov al, 1
mov rcx, qword [rsp + 0xde0]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0xe20]
add rsp, 0xdf0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005c410
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14005bd6c
Function at 0x14005c428
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.14005bc28
mov rdi, rax
test rax, rax
je 0x14005be40
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.14005b8c8
jmp 0x14005be44
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 0x14005bdec

Function at 0x14005c490
Capabilities:
Query or enumerate registry value

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

Function at 0x14005c4d4
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.14005bcd8
xor esi, esi
mov rdi, rax
cmp rax, rsi
jne 0x14005c0f1
xor eax, eax
jmp 0x14005c125
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.14005b8c8
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 0x14005c0cc
Function at 0x14005e958
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 0x14005e9a7
mov ecx, 0x557
call fcn.140061d94
mov rdx, rdi
mov rcx, rax
call fcn.140096028
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14005ecac
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.1400baa60
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.1400ac0ac
xor r11d, r11d
mov word [rsp + 0x281e], r11w
cmp edi, r11d
je 0x14005ed6a
sub edi, 1
je 0x14005ed4b
cmp edi, 1
jne 0x14005edae
lea rdx, [rsp + 0x2820]
lea rcx, [rsp + 0x20]
mov r8d, 0x1400
call fcn.140052a2c
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 0x14005eda1
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 0x14005eda6
lea rdx, [rsp + 0x3c20]
lea rcx, [rsp + 0x20]
mov r8d, 0x5000
call fcn.140073ce4
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.1400aa848
mov rcx, qword [rsp + 0x8c20]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x8c38
pop rdi
pop rsi
ret
Function at 0x14006185c
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.1400a879c
mov rbx, rax
test rax, rax
jne 0x1400618de
and qword [rsi], rax
jmp 0x140061a08
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1400a8fe0
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.140061240
test al, al
je 0x14006196c
mov r8, rbx
test dil, dil
je 0x14006192a
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 0x140061993
mov rcx, rdx
jmp 0x1400619a1
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 0x1400619bc
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.14006104c
lea rcx, [rsp + 0x40]
call fcn.1400aa638
cmp dword [rsp + 0x34], 0x64
mov qword [rsi], rax
jne 0x140061a05
cmp dword [rsp + 0x30], 0x64
jne 0x140061a05
mov rcx, rbx
call fcn.1400a8854
xor ebx, ebx
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x498]
add rsp, 0x450
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret