joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020944
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x426]
mov rbx, rcx
lea rcx, [r11 + 8]
mov rdi, rdx
mov qword [r11 - 0x10], rcx
lea rdx, str.OAPPAuthenticationUserId
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 0x208
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x62e]
lea rdx, str.OAPPAuthenticationPassword
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x840]
mov qword [rsp + 0x28], rcx
lea rdx, str.AutoAuthorize
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140020a04
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rcx + 0x426]
mov rbx, rcx
lea rdx, str.OAPPAuthenticationUserId
mov r9d, 3
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x62e]
lea rdx, str.OAPPAuthenticationPassword
mov r9d, 3
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 0x208
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x840]
mov r9d, 4
lea rdx, str.AutoAuthorize
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400213d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [rcx + 0xa48]
mov rsi, rcx
lea rcx, [r11 + 8]
mov rdi, rdx
mov qword [r11 - 0x10], rcx
lea rdx, str.ServiceNameUTF8
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 0x104
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x40]
lea rax, [rsi + 0x420]
lea rdx, str.UUID
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x40]
lea rbx, [rsi + 0x424]
mov qword [rsp + 0x28], rax
lea rdx, str.Security
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14002148a
and dword [rbx], 0
lea rax, [rsp + 0x40]
lea rbx, [rsi + 0x428]
lea rdx, str.DefaultConnection
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400214c5
and dword [rbx], 0
lea rax, [rsp + 0x40]
lea rbx, [rsi + 0xa44]
lea rdx, str.SdpAttr
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140021500
and dword [rbx], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140021524
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rbx, [rcx + 0xa48]
mov rdi, rcx
mov rsi, rdx
mov rcx, rbx
call fcn.14005bc90
lea rdx, str.ServiceNameUTF8
mov r9d, 3
inc eax
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rdi + 0x420]
mov ebx, 4
lea rdx, str.UUID
xor r8d, r8d
mov rcx, rsi
mov r9d, ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x424]
lea rdx, str.Security
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x428]
lea rdx, str.DefaultConnection
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0xa44]
lea rdx, str.SdpAttr
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140021884
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rbx, [rcx + 0x420]
mov rdi, rcx
mov rsi, rdx
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.String
mov r9d, 1
lea r8d, [rax + rax + 2]
mov rcx, rsi
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x628]
mov ebx, 4
lea rdx, str.ItemData
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x62c]
lea rdx, str.Notify
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x630]
mov rcx, rbx
call fcn.14005d25c
lea rdx, [0x1400981a8]
mov r9d, 1
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140022034
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rax, [rcx + 0x420]
mov rbx, rcx
mov rdi, rdx
lea rcx, [rbp + 0x10]
lea rdx, str.BusinessCards
mov esi, 4
mov qword [r11 - 0x10], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rbp + 0x10], esi
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x424]
mov qword [rsp + 0x28], rcx
lea rdx, str.CalendarItems
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x428]
lea rdx, str.Notes
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x42c]
lea rdx, str.EmailMessages
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x430]
mov qword [rsp + 0x28], rcx
lea rdx, str.SendEmailAttachments
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x434]
lea rdx, str.ReceiveEmailAttachments
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x438]
lea rdx, str.PromptWhenChanged
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x43c]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov dword [rbp + 0x10], esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.AlertWhenNewPIM
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x1400221e4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rcx + 0x420]
mov esi, 4
mov rbx, rcx
lea rdx, str.BusinessCards
xor r8d, r8d
mov r9d, esi
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x424]
lea rdx, str.CalendarItems
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x428]
lea rdx, str.Notes
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x42c]
lea rdx, str.EmailMessages
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x430]
lea rdx, str.SendEmailAttachments
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x434]
lea rdx, str.ReceiveEmailAttachments
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x438]
lea rdx, str.PromptWhenChanged
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x43c]
lea rdx, str.AlertWhenNewPIM
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140022434
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x424]
mov rbx, rcx
lea rcx, [r11 + 8]
mov rdi, rdx
mov qword [r11 - 0x10], rcx
lea rdx, str.PimID
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x428]
lea rdx, str.BusinessCardID
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x630]
mov qword [rsp + 0x28], rcx
lea rdx, [0x1400981a8]
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x838]
lea rdx, str.Info
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 0xa28
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140022524
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
lea rax, [rcx + 0x424]
mov r9d, 4
mov rdi, rcx
mov dword [r11 - 0x10], r9d
lea rdx, str.PimID
mov rcx, rsi
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x428]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.BusinessCardID
mov r9d, 1
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x630]
mov rcx, rbx
call fcn.14005d25c
lea rdx, [0x1400981a8]
mov r9d, 1
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x838]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.Info
mov r9d, 1
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140022624
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x420]
mov rbx, rcx
lea rcx, [r11 + 8]
mov rdi, rdx
mov qword [r11 - 0x10], rcx
lea rdx, str.AppMenu
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 0x208
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x628]
lea rdx, str.AppName
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x830]
mov qword [rsp + 0x28], rcx
lea rdx, str.AppPath
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400226e4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rbx, [rcx + 0x420]
mov rdi, rcx
mov rsi, rdx
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.AppMenu
mov r9d, 1
lea r8d, [rax + rax + 2]
mov rcx, rsi
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x628]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.AppName
mov r9d, 1
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x830]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.AppPath
mov r9d, 1
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400227b4
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, rdx
add rcx, 0x420
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rdx, str.Installed
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret

Function at 0x140022804
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
add rcx, 0x420
mov rax, rdx
mov r9d, 4
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rcx
lea rdx, str.Installed
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140022884
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.1400227b4
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x428]
lea rdx, str.SendPictures
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x42c]
mov qword [rsp + 0x28], rcx
lea rdx, str.PromptForPictures
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140022914
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.140022804
lea r11, [rbx + 0x428]
lea rdx, str.SendPictures
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x42c]
lea rdx, str.PromptForPictures
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140022994
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r10, rdx
test rdx, rdx
je 0x1400229ca
lea rax, [rcx + 0x420]
mov r9d, 4
lea rdx, str.DisconnectDevices
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rcx, r10
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400229e4
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov r10, rdx
mov dword [rsp + 0x48], 4
test rdx, rdx
je 0x140022a24
lea rax, [rcx + 0x420]
lea rcx, [rsp + 0x48]
lea rdx, str.DisconnectDevices
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x140022a34
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x570], rax
lea rax, [rsp + 0x40]
xor edi, edi
mov rsi, rdx
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x160]
mov rbx, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x140022ae7
mov eax, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x48]
mov rcx, qword [rsi]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x160]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x160]
inc edi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov edx, edi
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x44], 0x208
mov dword [rsp + 0x40], 0x410
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140022a90
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x680
pop rdi
pop rsi
pop rbp
ret

Function at 0x140023784
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.14002d7b8
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12e0]
lea rdx, str.ComPortNumber
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12e4]
mov qword [rsp + 0x28], rcx
lea rdx, str.UserInstalled
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140023814
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.140018ae4
lea r11, [rbx + 0x12d8]
mov esi, 4
lea rdx, str.Auto
xor r8d, r8d
mov rcx, rdi
mov r9d, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x12e0]
lea rdx, str.ComPortNumber
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x12e4]
lea rdx, str.UserInstalled
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140023994
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.14002d7b8
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12e0]
lea rdx, str.ModemComPortNumber
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12e4]
mov qword [rsp + 0x28], rcx
lea rdx, str.FlowControl
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x12e8]
lea rdx, str.Baudrate
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140023a64
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.140018ae4
lea r11, [rbx + 0x12d8]
mov esi, 4
lea rdx, str.Auto
xor r8d, r8d
mov rcx, rdi
mov r9d, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x12e0]
lea rdx, str.ModemComPortNumber
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x12e4]
lea rdx, str.FlowControl
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x12e8]
lea rdx, str.Baudrate
mov r9d, esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140023c14
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.14002d7b8
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12e0]
lea rdx, str.ModemComPortNumber
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12e4]
mov qword [rsp + 0x28], rcx
lea rdx, str.FlowControl
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x12e8]
lea rdx, str.BaudRate
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret