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, 0xfbd6e819
mov r8d, 0x8ebae3e3
mov ecx, 0x79d39f62
call fcn.1400015d0
lea r9, [0x140128d38]
lea r8, [rbp + 0x130]
lea rcx, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x20]
call fcn.14001fc34
test al, al
jne 0x140006132
mov rcx, qword [0x140174640]
lea r8, [rsp + 0x20]
mov r9d, edi
mov edx, InitCommonControls
call fcn.140022de0
test eax, eax
jne 0x140006114
movzx edx, word [0x140168d3c]
lea r8, [rsp + 0x20]
lea rcx, [0x140168d3e]
xor edx, 0xc4c4
mov r9d, edi
call fcn.14001b270
lea r8, [0x140128d38]
lea rdx, [rsp + 0x20]
mov r9d, InitCommonControls
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400061aa
call fcn.1400191a8
mov ebx, eax
call fcn.1400192e0
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.1400e875c
test rax, rax
je 0x1400061a5
mov edx, 0x2c7cd405
mov r8d, 0x6cf78ff3
mov ecx, 0xd3a8608e
call fcn.140001078
lea rcx, [rsp + 0x20]
mov r9d, 1
mov rdx, rax
xor r8d, r8d
call fcn.14001f8dc
test eax, eax
jne 0x140006273
mov eax, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov rcx, qword [0x140174640]
lea r8, [rsp + 0x20]
mov r9d, edi
mov edx, InitCommonControls
call fcn.140022de0
test eax, eax
jne 0x14000620c
movzx edx, word [0x140168dc4]
lea r8, [rsp + 0x20]
lea rcx, [0x140168dc6]
xor edx, 0xc4c4
mov r9d, edi
call fcn.14001b270
lea r8, [0x140128d38]
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, 0x7c66fe45
mov r8d, 0x3ceda5b3
mov ecx, 0x83b24ab8
call fcn.140001078
lea rcx, [rsp + 0x20]
mov r9d, 1
mov rdx, rax
xor r8d, r8d
call fcn.14001f8dc
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, 0x40f4fc43
mov ecx, 0xbf204bc4
mov r8d, 0x7fa7be
call fcn.140001078
mov edx, 0xbd503eaa
mov ecx, 0x42848953
mov r8d, 0xfddb6554
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 [0x140174640]
lea r8, [rsp + 0x30]
mov r9d, 0x100
mov edx, 0x12
call fcn.140022de0
test eax, eax
jne 0x140006913
movzx edx, word [0x140168eec]
lea r8, [rsp + 0x30]
lea rcx, [0x140168eee]
xor edx, 0xc4c4
mov r9d, 0x100
call fcn.14001b270
mov edx, 0x58317c36
mov ecx, 0xa7e5cb91
mov r8d, 0x18ba27cb
call fcn.140001078
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x130]
mov r8, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140128d38]
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 [0x140174740], 0
jne 0x1400069af
mov edx, 0x494ab79
mov ecx, 0xfb401ca8
mov r8d, 0x441ff080
call fcn.140001078
mov rcx, rax
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x140174740], 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 [0x140174640]
lea r8, [rsp + 0x30]
mov r9d, 0x100
mov edx, 0x12
call fcn.140022de0
test eax, eax
jne 0x140006a13
movzx edx, word [0x140168eec]
lea r8, [rsp + 0x30]
lea rcx, [0x140168eee]
xor edx, 0xc4c4
mov r9d, 0x100
call fcn.14001b270
mov edx, 0xe85973d4
mov ecx, 0x178dc593
mov r8d, 0xa8d22821
call fcn.140001078
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x130]
mov r8, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140128d38]
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.1400e7da0
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 [0x140174710]
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, [0x140128d38]
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, [0x140128d38]
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.1400e7da0
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 [0x140174718]
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 [0x140174720]
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 [0x140174728]
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, 0x2ddf339c
mov r8d, 0x6932e1e
mov ecx, 0xb3b691f9
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.1400e7da0
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, 0x30ebd37a
mov ecx, 0xae8270e5
mov r8d, 0x1ba7cef5
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, 0x9ebd00c9
mov ecx, 0xd4a342
mov r8d, 0xb5f11d46
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, 0xd5d82c17
mov ecx, 0x4bb18fa0
mov r8d, 0xfe943198
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, 0x43f861f0
mov ecx, 0xdd91c253
mov r8d, 0x68b47c71
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, 0xa1d55b7c
mov ecx, 0x3fbcf827
mov r8d, 0x8a9946f0
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, 0xd014e914
mov ecx, 0x4e7d4a51
mov r8d, 0xfb58f498
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, 0x613b4066
mov ecx, 0xff52e311
mov r8d, 0x4a775de0
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 [0x140174718]
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 [0x140174720]
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 [0x140174728]
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.1400e7da0
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, 0x7d479e38
mov ecx, 0xe32e3d07
mov r8d, 0x560b83b8
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, 0x587a6c50
mov ecx, 0xc613cd8b
mov r8d, 0x733671de
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.14001fc34
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, 0xc043373d
mov ecx, 0x5e2a97ec
mov r8d, 0xeb0f2abb
jmp 0x14000af79
mov edx, 0x6fbe26d
mov ecx, 0x989242a2
mov r8d, 0x2db7ffe1
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, 0xb2a7ffa9
mov ecx, 0x2cce5f50
mov r8d, 0x99ebe233
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.14001fc34
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, 0xe4b58c34
mov ecx, 0x7adc2cab
mov r8d, 0xcff991ae
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.14001fc34
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, 0x600a7084
mov ecx, 0xfe63d039
mov r8d, 0x4b466d02
jmp 0x14000b0bf
mov edx, 0x522fb23e
mov ecx, 0xcc461265
mov r8d, 0x7963afb2
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, 0x3d8a6e2f
mov r8d, 0x88afd3e4
mov edx, 0xa3e3ce6a
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, [0x1401747a0]
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.140020330
nop
movzx ebx, di
mov edx, 0x34c49f5c
mov ecx, 0xaaad3f25
mov r8d, 0x1f8882d1
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.14001fc34
test al, al
je 0x14000b448
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1400220bc
mov rbx, rax
test rax, rax
je 0x14000b448
mov edx, 0x3e09341f
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.14002067c
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, 0x422c0b15
mov ecx, 0xdc45ab02
mov r8d, 0x6960168f
call fcn.140001378
mov rdx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edi
lea r9, [0x140128e30]
lea r8, [0x140128d38]
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.140021530
mov edx, 0x7d53c0c5
mov r8d, InitCommonControls
lea rcx, [0x1401670d6]
call fcn.140001300
lea r8, [rbp + 0x2d0]
mov rdx, rax
lea rcx, [rbp + 0x3e0]
call fcn.1400e9240
mov edx, 0x628b575f
mov r8d, 9
lea rcx, [0x1401670ec]
call fcn.140001300
mov rbx, rax
mov edx, 0xdd698bd2
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.1400203ec
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400e7da0
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, [0x140128d38]
lea rbx, [rbx + rax*2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x140128d38]
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, 0x4c548406
mov edx, 0x67189984
mov ecx, 0xf97138b3
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, 0x9b3a76
mov ecx, 0x9ef29cd1
mov r8d, 0x2bd727fb
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.1400e875c
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, 0x839dc778
mov ecx, 0x1df4612f
mov r8d, 0xa8d1daf5
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.1400e7da0
add rsp, 0x260
pop rbx
ret