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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov edi, 0x104
lea rcx, [rbp + 0x130]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, 0xbc30015
mov r8d, 0xf13cf68a
mov ecx, 0xea2351d4
call fcn.1400015d0
lea r9, [0x140128df8]
lea r8, [rbp + 0x130]
lea rcx, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x20]
call fcn.14001f944
test al, al
jne 0x140006132
mov rcx, qword [0x1401745a0]
lea r8, [rsp + 0x20]
mov r9d, edi
mov edx, InitCommonControls
call fcn.140022af0
test eax, eax
jne 0x140006114
movzx edx, word [0x140168cdc]
lea r8, [rsp + 0x20]
lea rcx, [0x140168cde]
xor edx, 0xc7c7
mov r9d, edi
call fcn.14001af80
lea r8, [0x140128df8]
lea rdx, [rsp + 0x20]
mov r9d, InitCommonControls
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400061aa
call fcn.140018eb8
mov ebx, eax
call fcn.140018ff0
test ebx, ebx
je 0x1400061ce
test eax, eax
je 0x1400061ce
lea rdx, [rsp + 0x20]
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.1400e839c
test rax, rax
je 0x1400061a5
mov edx, 0xffcca6b7
mov r8d, 0x9ab598c9
mov ecx, 0x1b04fe90
call fcn.140001078
lea rcx, [rsp + 0x20]
mov r9d, 1
mov rdx, rax
xor r8d, r8d
call fcn.14001f5ec
test eax, eax
jne 0x140006273
mov eax, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov rcx, qword [0x1401745a0]
lea r8, [rsp + 0x20]
mov r9d, edi
mov edx, InitCommonControls
call fcn.140022af0
test eax, eax
jne 0x14000620c
movzx edx, word [0x140168d64]
lea r8, [rsp + 0x20]
lea rcx, [0x140168d66]
xor edx, 0xc7c7
mov r9d, edi
call fcn.14001af80
lea r8, [0x140128df8]
lea rdx, [rsp + 0x20]
mov r9d, 0x14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1400061a5
lea rdx, [rsp + 0x20]
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0xfd25ec53
mov r8d, 0x985cd22d
mov ecx, 0x19edb402
call fcn.140001078
lea rcx, [rsp + 0x20]
mov r9d, 1
mov rdx, rax
xor r8d, r8d
call fcn.14001f5ec
cmp eax, 0x64
jne 0x1400061a5
call fcn.140005fbc
jmp 0x14000612e
Function at 0x140006864
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov edx, 0xbfbf54a6
mov ecx, 0x5b770f8d
mov r8d, 0xdac66ad3
call fcn.140001078
mov edx, 0x65c4ac75
mov ecx, 0x810cf720
mov r8d, 0xbd9203
mov rbx, rax
call fcn.140001078
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140006978
mov rcx, qword [0x1401745a0]
lea r8, [rsp + 0x30]
mov r9d, 0x100
mov edx, 0x12
call fcn.140022af0
test eax, eax
jne 0x140006913
movzx edx, word [0x140168e8c]
lea r8, [rsp + 0x30]
lea rcx, [0x140168e8e]
xor edx, 0xc7c7
mov r9d, 0x100
call fcn.14001af80
mov edx, 0x3c303f77
mov ecx, 0xd8f8647c
mov r8d, 0x59490102
call fcn.140001078
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x130]
mov r8, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140128df8]
lea rdx, [rbp + 0x130]
mov r9d, 0x40034
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x140006965
xor eax, eax
jmp 0x140006a79
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
and qword [rsp + 0x20], 0
cmp dword [0x1401746a0], 0
jne 0x1400069af
mov edx, 0x73ee352
mov ecx, 0xe3f6b82f
mov r8d, 0x6247dd23
call fcn.140001078
mov rcx, rax
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x1401746a0], eax
test eax, eax
je 0x1400069c1
lea rdx, [rsp + 0x20]
lea rcx, [0x1400067a8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x140006a74
mov rcx, qword [0x1401745a0]
lea r8, [rsp + 0x30]
mov r9d, 0x100
mov edx, 0x12
call fcn.140022af0
test eax, eax
jne 0x140006a13
movzx edx, word [0x140168e8c]
lea r8, [rsp + 0x30]
lea rcx, [0x140168e8e]
xor edx, 0xc7c7
mov r9d, 0x100
call fcn.14001af80
mov edx, 0x1c97cc5e
mov ecx, 0xf85f96b5
mov r8d, 0x79eef223
call fcn.140001078
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x130]
mov r8, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140128df8]
lea rdx, [rbp + 0x130]
mov r9d, 0x40034
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14000695e
lea edx, [rax - 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x450]
add rsp, 0x440
pop rbp
ret
Function at 0x14000a4f4
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [0x140174670]
test cl, cl
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
je 0x14000a565
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000a58c
lea rcx, [rsp + 0x40]
call fcn.14000ad3c
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140128df8]
add eax, eax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14000a581
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000a58c
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140128df8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x268
ret

Function at 0x14000a5a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r8
xor ebx, ebx
lea r9, [r11 - 0x18]
lea eax, [rbx + 4]
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x68], eax
lea rax, [r11 + 0x20]
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x14]
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a5e9
mov eax, dword [rsp + 0x34]
mov bl, 1
mov dword [rdi], eax
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000a5f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
lea eax, [r9 + r9]
xor edi, edi
lea r9, [r11 - 0x18]
mov dword [rsp + 0x68], eax
lea rax, [r11 + 0x20]
lea ebx, [rdi + 1]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r8
xor r8d, r8d
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, dil
test eax, eax
cmove ecx, ebx
mov rbx, qword [rsp + 0x50]
mov al, cl
add rsp, 0x40
pop rdi
ret
Function at 0x14000a644
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdx, qword [0x140174678]
mov rbx, rcx
lea r8, [rbp - 0x18]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000a74b
mov rdx, qword [0x140174680]
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
lea r9, [rbp - 0x20]
xor r8d, r8d
mov dword [rbp - 0x20], 3
mov dword [rbp - 0x1c], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a6ca
mov eax, dword [rbp - 0x10]
mov dword [rbx + 0x24], eax
mov eax, dword [rbp - 0xc]
mov dword [rbx + 0x28], eax
mov rdx, qword [0x140174688]
lea rcx, [rbp - 0x1c]
lea rax, [rbx + 0x20]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x20]
xor r8d, r8d
mov dword [rbp - 0x20], 4
mov dword [rbp - 0x1c], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0x933b8c98
mov r8d, 0x687b03a
mov ecx, 0x8981d28a
mov dword [rbp - 0x20], 4
mov dword [rbp - 0x1c], 4
add rbx, 0x34
call fcn.140001378
mov rcx, qword [rbp - 0x18]
mov rdx, rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x14000aa70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, rdx
xor edi, edi
mov word [rdx + 8], di
lea edx, [rdi + 4]
mov rcx, rbx
call fcn.14000a76c
test al, al
je 0x14000ab01
mov edx, 0x8673e2d2
mov ecx, 0x9cc9bd3a
mov r8d, 0x13cfde7d
call fcn.140001378
mov rcx, rbx
sub rax, rbx
movzx edx, word [rcx]
movzx r8d, word [rcx + rax]
sub edx, r8d
jne 0x14000aac8
add rcx, 2
test r8d, r8d
jne 0x14000aab2
test edx, edx
je 0x14000ab01
mov edx, 0x41cd7929
mov ecx, 0x5b7726d5
mov r8d, 0xd4714586
call fcn.140001378
mov rcx, rbx
sub rax, rbx
movzx edx, word [rcx]
movzx r8d, word [rcx + rax]
sub edx, r8d
jne 0x14000aafd
add rcx, 2
test r8d, r8d
jne 0x14000aae7
test edx, edx
jne 0x14000ab2c
mov edx, 0x1197090c
mov ecx, 0xb2d56cc
mov r8d, 0x842b35a3
call fcn.140001378
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14000ab1c
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000ad94
test eax, eax
je 0x14000ab80
mov edx, 0xe364fed1
mov ecx, 0xf9dea105
mov r8d, 0x76d8c270
call fcn.140001378
mov rcx, qword [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000ab90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, rdx
xor edi, edi
mov word [rdx + 0xa], di
lea edx, [rdi + 5]
mov rcx, rbx
call fcn.14000a76c
test al, al
je 0x14000abec
mov edx, 0xd9aa6ac5
mov ecx, 0xc31035e9
mov r8d, 0x4c165669
call fcn.140001378
mov rcx, rbx
sub rax, rbx
movzx edx, word [rcx]
movzx r8d, word [rcx + rax]
sub edx, r8d
jne 0x14000abe8
add rcx, 2
test r8d, r8d
jne 0x14000abd2
test edx, edx
jne 0x14000ac17
mov edx, 0x411b53f1
mov ecx, 0x5ba10cc3
mov r8d, 0xd4a76f5d
call fcn.140001378
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14000ac07
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000ad94
test eax, eax
je 0x14000ac6b
mov edx, 0x191955e9
mov ecx, 0x3a30ae9
mov r8d, 0x8ca5694f
call fcn.140001378
mov rcx, qword [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x28], InitCommonControls
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000ac78
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, qword [0x140174678]
mov rbx, rcx
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000ad1b
mov eax, dword [rbx + 0x24]
mov rdx, qword [0x140174680]
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x28]
mov r9d, 3
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000acf2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x140174688]
mov rcx, qword [rsp + 0x30]
lea rax, [rbx + 0x20]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x50
pop rbx
ret
Function at 0x14000ae40
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor esi, esi
xor edx, edx
mov word [rcx], si
lea rcx, [rsp + 0x30]
call fcn.14000ad94
test eax, eax
je 0x14000ae9d
mov edx, 0xa133b48b
mov ecx, 0xbb89ebc3
mov r8d, 0x348f882b
call fcn.140001378
mov rcx, qword [rsp + 0x30]
mov r9d, 0x104
mov rdx, rax
mov r8, rdi
call fcn.14000a5f8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rdi], si
jne 0x14000aed9
mov rcx, rdi
call fcn.14000b47c
mov edx, 0xf95e16ff
mov ecx, 0xe3e44b53
mov r8d, 0x6ce22a51
mov rbx, rax
call fcn.140001378
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x14000aedd
lea rbx, [rdi + rax*2]
mov eax, 0x5c
cmp word [rbx - 2], ax
je 0x14000aeff
mov word [rbx], ax
add rbx, 2
mov word [rbx], si
mov rcx, rdi
call fcn.14001f944
test al, al
jne 0x14000af19
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000af2c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rcx, [rsp + 0x58]
xor edx, edx
mov bl, r8b
call fcn.14000ad94
xor esi, esi
test eax, eax
je 0x14000afac
test bl, bl
je 0x14000af69
mov edx, 0x70caaa89
mov ecx, 0x6a70f62f
mov r8d, 0xe576962f
jmp 0x14000af79
mov edx, 0xe03a93af
mov ecx, 0xfa80cf17
mov r8d, 0x7586af03
call fcn.140001378
mov rcx, qword [rsp + 0x58]
mov r9d, 0x104
mov rdx, rax
mov r8, rdi
call fcn.14000a5f8
mov rcx, qword [rsp + 0x58]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14000afac
mov al, 1
jmp 0x14000b073
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14000b00b
mov edx, 0x76034c13
mov ecx, 0x6cb9109d
mov r8d, 0xe3bf70a9
call fcn.140001378
lea rcx, [rdi - 2]
mov r8, rax
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x14000afe3
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x14000afee
mov rcx, rdi
call fcn.14001f944
cmp al, 1
je 0x14000afa5
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x23]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14000b06e
mov edx, 0xd6367321
mov ecx, 0xcc8c2fc9
mov r8d, 0x438a4f9b
call fcn.140001378
lea rcx, [rdi - 2]
mov r8, rax
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x14000b042
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x14000b04d
mov rcx, rdi
call fcn.14001f944
cmp al, 1
je 0x14000afa5
mov word [rdi], si
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000b084
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rcx
test dl, dl
je 0x14000b0af
mov edx, 0xcc53ffa9
mov ecx, 0xd6e9a363
mov r8d, 0x59efc30f
jmp 0x14000b0bf
mov edx, 0xf331f1a1
mov ecx, 0xe98bad8d
mov r8d, 0x668dcd0d
call fcn.140001378
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rdi]
lea eax, [rax*2 + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rdi]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegCloseKey]

Function at 0x14000b110
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov ecx, 0x28adc652
mov r8d, 0xa7aba6ce
mov edx, 0x32179a60
call fcn.140001378
lea rcx, [rsp + 0x40]
xor edx, edx
mov rdi, rax
call fcn.14000ad94
xor ebp, ebp
test eax, eax
je 0x14000b1a6
mov rcx, qword [rsp + 0x40]
mov r9d, 0x104
mov r8, rsi
mov rdx, rdi
call fcn.14000a5f8
mov rcx, qword [rsp + 0x40]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14000b1a6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rsi + rcx*2]
cmp rbx, rsi
je 0x14000b1df
cmp word [rbx - 2], 0x2f
je 0x14000b1df
lea eax, [rbp + 0x5c]
cmp word [rbx - 2], ax
je 0x14000b1df
mov word [rbx], ax
add rbx, 2
jmp 0x14000b1dc
mov rcx, rsi
call fcn.14000b47c
mov rbx, rax
sub rax, rdi
movzx ecx, word [rdi]
mov word [rax + rdi], cx
lea rdi, [rdi + 2]
test cx, cx
jne 0x14000b1b4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
add rbx, 8
mov word [rbx - 2], ax
mov word [rbx], bp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b1f8
Capabilities:
Create directory
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x518]
sub rsp, 0x600
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
movzx edi, dx
movzx eax, dil
sub eax, 0x41
cdqe
lea r14, [0x140174700]
mov r14, qword [r14 + rax*8]
test r14, r14
je 0x14000b452
lea rcx, [rbp + 0xc0]
call fcn.14000ae40
xor edx, edx
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rsi, [rbp + 0xc0]
lea rsi, [rsi + rcx*2]
mov eax, 0x5c
mov word [rsi], ax
lea rcx, [rsp + 0x50]
call fcn.140020040
nop
movzx ebx, di
mov edx, 0x868abcfa
mov ecx, 0x9c30e0f4
mov r8d, 0x13368057
call fcn.140001378
mov rdx, rax
mov r8d, ebx
lea rcx, [rsi + 2]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0xc0]
call fcn.14001f944
test al, al
je 0x14000b448
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.140021dcc
mov rbx, rax
test rax, rax
je 0x14000b448
mov edx, 0xaff852b5
mov r8d, 8
lea rcx, [0x1401670aa]
call fcn.140001300
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14002038c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rbx, [r14 + 0xb0]
movsx edi, dil
mov edx, 0xa2a7555d
mov ecx, 0xb81d093d
mov r8d, 0x371b69e7
call fcn.140001378
mov rdx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edi
lea r9, [0x140128ef0]
lea r8, [0x140128df8]
lea rcx, [rsi + 2]
call qword [sym.imp.USER32.dll_wsprintfW]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rbp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp + 0x2d0]
lea rcx, [rsp + 0x50]
call fcn.140021240
mov edx, 0x80901470
mov r8d, InitCommonControls
lea rcx, [0x1401670d6]
call fcn.140001300
lea r8, [rbp + 0x2d0]
mov rdx, rax
lea rcx, [rbp + 0x3e0]
call fcn.1400e8e80
mov edx, 0xc25a7244
mov r8d, 9
lea rcx, [0x1401670ec]
call fcn.140001300
mov rbx, rax
mov edx, 0x974ca1bc
mov r8d, 5
lea rcx, [0x1401670e4]
call fcn.140001300
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x3e0]
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rcx, [rsp + 0x50]
call fcn.1400200fc
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000b47c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor r9d, r9d
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea edx, [r9 + 0x23]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor esi, esi
mov edi, 0x5c
test eax, eax
jle 0x14000b4c9
movsxd rcx, eax
cmp word [rbx + rcx*2 - 2], di
je 0x14000b4c9
mov word [rbx + rcx*2], di
inc eax
cdqe
lea rdx, [0x140128df8]
lea rbx, [rbx + rax*2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x140128df8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rax, [rbx + rcx*2]
mov rbx, qword [rsp + 0x40]
mov word [rax], di
add rax, 2
mov word [rax], si
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000bb30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov r8d, 0xf40e8616
mov edx, 0x61b2bab4
mov ecx, 0x7b08e7f4
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x50], InitCommonControls
call fcn.140001378
mov rcx, qword [rdi]
mov rdx, rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rdi]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x50]
xor ecx, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x40]
cmovne eax, ecx
shr rax, 2
add rsp, 0x30
pop rdi
ret

Function at 0x14000bbb0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rcx, [rax + 8]
xor edx, edx
call fcn.14000ad94
xor esi, esi
test eax, eax
je 0x14000bc14
mov edx, 0x524be011
mov ecx, 0x48f1bac1
mov r8d, 0xc7f7dcbc
call fcn.140001378
mov rcx, qword [rsp + 0x40]
mov r9d, 0x104
mov rdx, rax
mov r8, rdi
call fcn.14000a5f8
mov rcx, qword [rsp + 0x40]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x14000bc2b
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 5]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x14000bc2f
lea rax, [rdi + rax*2]
mov ecx, 0x5c
cmp word [rax - 2], cx
je 0x14000bc51
mov word [rax], cx
add rax, 2
mov word [rax], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000bc64
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rcx, rdx
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rsp + 0x40]
mov edx, 0x5c
call fcn.1400e839c
xor ebx, ebx
test rax, rax
je 0x14000bcb0
mov word [rax], bx
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14000ad94
test eax, eax
je 0x14000bd1b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14000bd10
mov edx, 0x784e5297
mov ecx, 0x62f408b7
mov r8d, 0xedf26e3a
lea ebx, [rax*2 + 2]
call fcn.140001378
mov rcx, qword [rsp + 0x30]
mov rdx, rax
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x260
pop rbx
ret