joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14021c200
Capabilities:
Capture screenshot

Disassembly:
push rsi
push rdi
push r12
push r15
sub rsp, 0xd8
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, rcx
call qword [sym.imp.USER32.dll_GetDC]
xor edx, edx
mov rcx, r12
mov r15, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rsi, rax
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14021c3b3
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x118], r13
mov qword [rsp + 0xd0], r14
test rdi, rdi
jne 0x14021c277
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdi, rax
jmp 0x14021c288
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 1
movups xmm0, xmmword [rsi + 0x288]
mov rcx, rdi
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
movups xmm1, xmmword [rsp + 0x58]
mov rcx, rdi
mov rbp, rax
movdqa xmm0, xmm1
psrldq xmm1, 8
psrldq xmm0, 0xc
movd r13d, xmm0
movd edx, xmm1
movd dword [rsp + 0x50], xmm1
mov r8d, r13d
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r14, rax
test rbp, rbp
je 0x14021c34d
test rax, rax
je 0x14021c34d
mov rdx, rax
mov qword [rsp + 0x108], rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbp
mov rcx, rsi
mov rbx, rax
call fcn.140219a20
mov rdx, rbp
mov rcx, rsi
call fcn.14021b560
mov r9d, dword [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x40], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x38], eax
xor edx, edx
mov dword [rsp + 0x30], eax
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, qword [rsp + 0x108]
jmp 0x14021c368
test rdi, rdi
je 0x14021c368
mov rdx, rdi
mov rcx, rsi
call fcn.140219a20
mov rdx, rdi
mov rcx, rsi
call fcn.14021b560
mov r13, qword [rsp + 0x118]
test r14, r14
je 0x14021c37e
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r14, qword [rsp + 0xd0]
test rbp, rbp
je 0x14021c394
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
cmp qword [rsp + 0x70], 0
mov rbp, qword [rsp + 0x110]
je 0x14021c3b3
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_EndPaint]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0xd8
pop r15
pop r12
pop rdi
pop rsi
ret
Function at 0x140223bc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x60
mov r14d, r9d
mov r15, r8
mov r12d, edx
mov r13, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x50], edi
mov rbx, qword [0x140699308]
mov qword [rsp + 0x58], rdi
cmp dword [0x14068c074], edi
jne 0x140223cac
mov eax, dword [0x14068c070]
test eax, eax
jne 0x140223cac
mov edx, dword [0x14068c07c]
test edx, edx
je 0x140223c3b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov edx, dword [0x14068c07c]
test eax, eax
jne 0x140223cac
test edx, edx
jne 0x140223c4c
call fcn.14018bc50
test eax, eax
je 0x140223c62
lea rdx, [rsp + 0x58]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140223cac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x140223ca2
cmp ecx, 0x78
je 0x140223ca2
cmp ecx, 1
je 0x140223ca2
cmp ecx, 0x32
je 0x140223ca2
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
mov dword [0x14068c070], 1
test rbx, rbx
jne 0x140223ccc
lea rcx, [0x140454220]
call fcn.140199e30
mov rbx, rax
test rax, rax
je 0x140223d22
mov qword [0x140699308], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8, r15
mov edx, r12d
mov rcx, r13
call rbx
mov esi, eax
mov dword [rsp + 0x50], eax
cmp dword [0x14068c074], 0
je 0x140223d34
cmp dword [0x14068c070], 0
jne 0x140223d60
mov ebx, edi
test esi, esi
sete bl
test ebx, ebx
je 0x140223d47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140223d60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x140223c83
Function at 0x140226280
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [r8 + 0x10]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rdi, rdx
movzx eax, byte [r8 + 0x11]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x13]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x18]
and rdx, r9
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140226314
cmp rax, r8
jne 0x14022630a
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14022631f
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14022631f
cmp rax, r8
jne 0x14022631f
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.14039ba1c
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140226360
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [r8 + 0x10]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rdi, rdx
movzx eax, byte [r8 + 0x11]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x13]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x18]
and rdx, r9
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x1402263f4
cmp rax, r8
jne 0x1402263ea
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1402263ff
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1402263ff
cmp rax, r8
jne 0x1402263ff
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.14039ba1c
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1402297a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r11, rdx
movzx eax, byte [r8 + 1]
mov rbx, r8
mov rdx, qword [r10 + 0x18]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r10 + 8]
imul r9, rcx
xor r9, rax
mov rax, qword [r10 + 0x30]
imul r9, rcx
and rax, r9
mov rcx, rax
add rcx, rcx
add rax, rax
mov rcx, qword [rdx + rcx*8]
mov r9, qword [rdx + rax*8]
lea r10, [rdx + rax*8]
cmp r9, r8
jne 0x14022981f
mov rax, r8
jmp 0x140229826
mov rax, qword [r10 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140229843
mov eax, dword [rbx]
cmp dword [rcx + 0x10], eax
je 0x140229837
mov rcx, qword [rcx]
jmp 0x140229815
mov qword [r11], rcx
mov rax, r11
mov rbx, qword [rsp + 8]
ret
mov qword [r11], r8
mov rax, r11
mov rbx, qword [rsp + 8]
ret

Function at 0x140229850
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r11, rdx
movzx eax, byte [r8 + 1]
mov rbx, r8
mov rdx, qword [r10 + 0x18]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r10 + 8]
imul r9, rcx
xor r9, rax
mov rax, qword [r10 + 0x30]
imul r9, rcx
and rax, r9
mov rcx, rax
add rcx, rcx
add rax, rax
mov rcx, qword [rdx + rcx*8]
mov r9, qword [rdx + rax*8]
lea r10, [rdx + rax*8]
cmp r9, r8
jne 0x1402298cf
mov rax, r8
jmp 0x1402298d6
mov rax, qword [r10 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x1402298f3
mov eax, dword [rbx]
cmp dword [rcx + 0x10], eax
je 0x1402298e7
mov rcx, qword [rcx]
jmp 0x1402298c5
mov qword [r11], rcx
mov rax, r11
mov rbx, qword [rsp + 8]
ret
mov qword [r11], r8
mov rax, r11
mov rbx, qword [rsp + 8]
ret
Function at 0x14022a430
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xa0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, qword [rsp + 0xe8]
cmp rcx, 0xffffffffffffffff
mov rdi, rcx
mov dword [rsp + 0x38], r8d
cmove rdi, qword [0x14068c268]
mov rbp, r9
test rdi, rdi
je 0x14022a58e
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140450d30]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rdi + 0x418]
test rcx, rcx
je 0x14022a58e
mov edi, dword [rsp + 0xe0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
mov qword [rsp + 0x98], rsi
lea rdx, [rsp + 0x40]
mov esi, dword [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp eax, 0xea
jne 0x14022a506
test rbx, rbx
je 0x14022a57d
mov eax, dword [rsp + 0x30]
mov edx, 0x8004e03c
mov rsi, qword [rsp + 0x98]
mov dword [rbx], eax
mov eax, edx
jmp 0x14022a593
mov eax, dword [rsp + 0x38]
test ecx, ecx
jne 0x14022a523
cmp eax, esi
jne 0x14022a523
mov rsi, qword [rsp + 0x98]
mov edx, 0x8004e00a
mov eax, edx
jmp 0x14022a593
mov ecx, dword [rsp + 0x30]
test rbx, rbx
je 0x14022a52e
mov dword [rbx], ecx
xor r10d, r10d
mov edx, r10d
cmp eax, 1
jne 0x14022a582
cmp ecx, edi
mov eax, edi
cmovb eax, ecx
mov r9d, eax
mov dword [rsp + 0x30], r9d
lea rcx, [rax + 2]
cmp rcx, rdi
ja 0x14022a562
mov rsi, qword [rsp + 0x98]
mov word [rax + rbp], r10w
mov eax, edx
jmp 0x14022a593
cmp r9d, 2
jbe 0x14022a582
cmp word [rax + rbp - 2], dx
je 0x14022a582
test rbx, rbx
je 0x14022a577
add dword [rbx], 2
mov word [rax + rbp - 2], r10w
mov edx, 0x8004e03c
mov rsi, qword [rsp + 0x98]
mov eax, edx
jmp 0x14022a593
mov eax, 0x8000ffff
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0xa0
pop rdi
pop rbp
pop rbx
ret

Function at 0x14022a5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov rbx, rcx
cmove rbx, qword [0x14068c268]
test rbx, rbx
je 0x14022a65f
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140450d30]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022a65f
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022a65f
cmp dword [rsp + 0x30], 4
jne 0x14022a65f
mov eax, dword [rsp + 0x38]
jmp 0x14022a661
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x90
pop rbx
ret
Function at 0x14022a680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov rsi, rcx
mov edi, r9d
mov ebx, r8d
cmove rsi, qword [0x14068c268]
test rsi, rsi
je 0x14022a74a
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140450d30]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsi + 0x418]
test rcx, rcx
je 0x14022a74a
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022a730
cmp dword [rsp + 0x30], 4
mov eax, dword [rsp + 0x38]
je 0x14022a737
mov eax, dword [rsp + 0xc0]
cmp ebx, edi
je 0x14022a751
cmp eax, ebx
jge 0x14022a743
mov eax, ebx
jmp 0x14022a751
cmp eax, edi
cmovg eax, edi
jmp 0x14022a751
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14022a780
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov rdi, rcx
mov ebx, r8d
cmove rdi, qword [0x14068c268]
test rdi, rdi
je 0x14022a82d
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140450d30]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rdi + 0x418]
test rcx, rcx
je 0x14022a82d
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022a824
cmp dword [rsp + 0x30], 4
jne 0x14022a824
mov ebx, dword [rsp + 0x38]
xor eax, eax
test ebx, ebx
setne al
jmp 0x14022a82f
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret

Function at 0x14022a860
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov dword [rsp + 0x30], r8d
mov rbx, rcx
cmove rbx, qword [0x14068c268]
test rbx, rbx
je 0x14022a8f2
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140450d30]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022a8f2
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov ecx, 0x80004005
test eax, eax
cmove ecx, edx
mov eax, ecx
jmp 0x14022a8f7
mov eax, 0x80004005
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x90
pop rbx
ret
Function at 0x14022a920
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov dword [rsp + 0x30], r8d
mov rbx, rcx
mov rdi, rdx
cmove rbx, qword [0x14068c268]
test rbx, rbx
je 0x14022a9b0
xor r8d, r8d
lea rdx, [0x140450d30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022a9b0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14022a9b5
jle 0x14022a9b5
movzx eax, ax
or eax, 0x80070000
jmp 0x14022a9b5
mov eax, 0x80004005
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret

Function at 0x14022a9e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov rdi, rcx
mov ebx, r8d
mov rsi, rdx
cmove rdi, qword [0x14068c268]
test rdi, rdi
je 0x14022aa83
xor r8d, r8d
lea rdx, [0x140450d30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rdi + 0x418]
test rcx, rcx
je 0x14022aa83
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022aa83
cmp dword [rsp + 0x30], 4
jne 0x14022aa83
mov ebx, dword [rsp + 0x38]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14022aab0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov ebx, r9d
mov rsi, rcx
mov rdi, r8
cmove rsi, qword [0x14068c268]
test rsi, rsi
je 0x14022ab73
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140454eb8]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsi + 0x418]
test rcx, rcx
je 0x14022ab73
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x34], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022ab52
cmp dword [rsp + 0x34], 3
jne 0x14022ab52
mov eax, dword [rsp + 0x30]
jmp 0x14022ab58
xor eax, eax
mov dword [rsp + 0x30], eax
cmp eax, ebx
jae 0x14022ab82
sub ebx, eax
mov ecx, eax
mov r8d, ebx
add rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x30]
jmp 0x14022ab82
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret

Function at 0x14022abb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, qword [rsp + 0xe0]
xor ebx, ebx
mov esi, r9d
mov rbp, r8
mov rdi, rcx
test r14, r14
je 0x14022acac
cmp rcx, 0xffffffffffffffff
cmove rdi, qword [0x14068c268]
test rdi, rdi
je 0x14022aca5
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140454eb8]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rdi + 0x418]
test rcx, rcx
je 0x14022aca5
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x34], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14022ac69
mov eax, dword [rsp + 0x30]
mov ebx, 0x8004e03c
jmp 0x14022ac85
test eax, eax
jne 0x14022ac7a
cmp dword [rsp + 0x34], 3
jne 0x14022ac7a
mov eax, dword [rsp + 0x30]
jmp 0x14022ac85
mov eax, ebx
mov dword [rsp + 0x30], ebx
mov ebx, 1
cmp eax, esi
jae 0x14022ac9e
sub esi, eax
mov ecx, eax
mov r8d, esi
add rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x30]
mov dword [r14], eax
mov eax, ebx
jmp 0x14022acb1
mov eax, 0x8004e00a
jmp 0x14022acb1
mov eax, 0x80070057
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14022ace0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, edx
mov esi, r9d
lea rdx, [rcx - 1]
mov rdi, r8
mov rbx, rcx
cmp rdx, 0xfffffffffffffffd
ja 0x14022ad62
cdq
lea rcx, [rsp + 0x30]
xor eax, edx
sub eax, edx
lea rdx, [0x140454eb8]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022ad62
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
mov r9d, 3
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov ecx, 0x80004005
test eax, eax
cmove ecx, edx
mov eax, ecx
jmp 0x14022ad67
mov eax, 0x80004005
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14022aed0
Capabilities:
Set registry value

Disassembly:
push rbp
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, r8
mov r15d, edx
mov rbp, rcx
test r8, r8
jne 0x14022af07
mov eax, 0x80004003
jmp 0x14022b029
mov rax, qword [r8]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x98], rsi
mov rcx, r14
mov qword [rsp + 0x90], rdi
xor edi, edi
mov edx, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 1]
call qword [rax + 0x28]
mov esi, eax
test eax, eax
jne 0x14022b007
mov qword [rsp + 0xd8], rbx
mov rbx, qword [rsp + 0x38]
cmp rbx, 0x800
jbe 0x14022af61
mov esi, 0x80070057
jmp 0x14022afff
test ebx, ebx
jne 0x14022af6f
mov esi, 0x8000ffff
jmp 0x14022afff
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov esi, eax
test eax, eax
jne 0x14022afff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
jne 0x14022af9d
mov esi, 0x8000ffff
jmp 0x14022afff
cmp rbp, 0xffffffffffffffff
je 0x14022affa
test rbp, rbp
je 0x14022affa
mov eax, r15d
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140454eb8]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbp + 0x418]
test rcx, rcx
je 0x14022affa
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x40]
mov r9d, 3
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov esi, 0x80004005
cmove esi, edi
jmp 0x14022afff
mov esi, 0x80004005
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x90]
test rcx, rcx
je 0x14022b01f
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, esi
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0xa0
pop r15
pop r14
pop rbp
ret