joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2240
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea ecx, [rbp + 0x20]
call fcn.14008f45c
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400b22a4
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
mov qword [rax], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
shr r8, 1
mov rcx, rax
call fcn.140091130
jmp 0x1400b22a7
mov rbx, rbp
mov qword [r14], rbx
mov dword [rsp + 0x20], 1
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x1400b2319
sub rax, rcx
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400b22ce
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x1400b2338
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400b22ea
mov rdx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rbx + 0x10]
sub rcx, rax
lea rdi, [rdx + rax*2]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi + 0x18]
cmp qword [rbx + 0x10], rax
jb 0x1400b2332
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x1400b2315
mov rbx, qword [rbx]
mov word [rbx + rax*2], bp
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.1400058b0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400aedb0
lea rdx, [0x140104888]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400c4ce0
Capabilities:
Read http header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rax - 0x18], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rax - 0x18], 1
mov dword [rax + 0x18], esi
mov qword [rax - 0x20], rsi
lea rax, [rax + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edx, dword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x1400c4d5e
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c4d58
mov rax, qword [rbx]
mov word [rax + rdx*2], si
jmp 0x1400c4d6c
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.140090e40
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400c4d79
mov r9, qword [rbx]
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400c4eaf
mov r9, qword [rbx + 0x18]
cmp r9, 8
jb 0x1400c4db7
mov rax, qword [rbx]
mov rcx, rax
jmp 0x1400c4dbd
mov rax, rbx
mov rcx, rbx
lea rdx, [r8 + r8]
add rax, rdx
cmp word [rcx], 0
jne 0x1400c4e3f
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400c4de2
cmp word [rdx], 0
jne 0x1400c4e10
add rdx, 2
cmp rdx, rax
jne 0x1400c4dd3
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp r9, 8
jb 0x1400c4df2
mov rax, qword [rbx]
mov word [rax], si
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
je 0x1400c4e10
sub rax, rdx
lea r8, [rax + 2]
sar r8, 1
mov rcx, rbx
call fcn.140091130
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
jne 0x1400c4eaf
nop dword [rax]
mov rcx, rax
sub rax, 2
cmp word [rax], 0
je 0x1400c4e50
sub rdx, rcx
mov rax, r8
cmp r9, 8
mov r9, rcx
jb 0x1400c4e77
sub r9, qword [rbx]
add rdx, qword [rbx]
mov rcx, qword [rbx]
jmp 0x1400c4e80
sub r9, rbx
add rdx, rbx
mov rcx, rbx
sar r9, 1
sar rdx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rcx + r9*2]
sub r8, rdx
mov qword [rbx + 0x10], r8
sub r8, r9
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c4ed0
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401cdf40]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov rdi, qword [r8]
mov rbx, qword [rdi + 0x58]
mov r8, qword [rbx + 8]
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x58]
call fcn.14005b910
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r15d, r15d
mov qword [rdi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
test rdx, rdx
jne 0x1400c4f71
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r15w
jmp 0x1400c4f7d
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.140090e40
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
cmp rbx, qword [rbp - 0x38]
je 0x1400c50da
cmp dword [rdi], 0x22
je 0x1400c50e7
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c502f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c502a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c502a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f498
mov rax, qword [rsi]
mov word [rax + 0x88], r15w
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400c4ce0
nop
mov rcx, qword [rsi]
add rcx, 0x90
cmp rcx, rax
je 0x1400c506d
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400c5063
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.140091130
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c50b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c50ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c50ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f498
mov rdx, qword [rsi]
add rdx, 0x58
mov rcx, r12
call fcn.1400a53b0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c8840
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400c8630
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c866a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c866f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c86b8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400e28c0]
cmp byte [rcx + rax], 0
je 0x1400c86b8
dec r8
sub rdx, 1
jne 0x1400c869e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180003fa0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x180011040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, dl
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
mov ecx, edi
xor ebp, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, eax
cmp dil, 1
jne 0x180003fff
xorps xmm0, xmm0
lea r8d, [rbp + 6]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
lea rdx, str.MOUSE0
mov qword [rbx + 0x18], rbp
jmp 0x180004100
cmp dil, 2
jne 0x180004025
xorps xmm0, xmm0
lea rdx, str.MOUSE1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 6
mov qword [rbx + 0x18], rbp
jmp 0x180004100
cmp dil, 4
jne 0x18000404b
xorps xmm0, xmm0
lea rdx, str.MBUTTON
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 7
mov qword [rbx + 0x18], rbp
jmp 0x180004100
cmp dil, 5
jne 0x180004071
xorps xmm0, xmm0
lea rdx, str.XBUTTON1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 8
mov qword [rbx + 0x18], rbp
jmp 0x180004100
cmp dil, 6
jne 0x180004094
xorps xmm0, xmm0
lea rdx, str.XBUTTON2
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 8
mov qword [rbx + 0x18], rbp
jmp 0x180004100
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x1800040b9.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x4138]
mov ecx, dword [rdx + rax*4 + 0x4130]
add rcx, rdx
jmp rcx
bts r9d, 8
shl r9d, 0x10
lea rdx, [rsp + 0x30]
mov ecx, r9d
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
inc r8
cmp byte [rax + r8], bpl
jne 0x1800040f2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000b6a0
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18000b810
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180004c40
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x18001c040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, dl
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
mov ecx, edi
xor ebp, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, eax
cmp dil, 1
jne 0x180004c9f
xorps xmm0, xmm0
lea r8d, [rbp + 6]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
lea rdx, str.MOUSE0
mov qword [rbx + 0x18], rbp
jmp 0x180004da0
cmp dil, 2
jne 0x180004cc5
xorps xmm0, xmm0
lea rdx, str.MOUSE1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 6
mov qword [rbx + 0x18], rbp
jmp 0x180004da0
cmp dil, 4
jne 0x180004ceb
xorps xmm0, xmm0
lea rdx, str.MBUTTON
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 7
mov qword [rbx + 0x18], rbp
jmp 0x180004da0
cmp dil, 5
jne 0x180004d11
xorps xmm0, xmm0
lea rdx, str.XBUTTON1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 8
mov qword [rbx + 0x18], rbp
jmp 0x180004da0
cmp dil, 6
jne 0x180004d34
xorps xmm0, xmm0
lea rdx, str.XBUTTON2
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 8
mov qword [rbx + 0x18], rbp
jmp 0x180004da0
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x180004d59.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x4dd8]
mov ecx, dword [rdx + rax*4 + 0x4dd0]
add rcx, rdx
jmp rcx
bts r9d, 8
shl r9d, 0x10
lea rdx, [rsp + 0x30]
mov ecx, r9d
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
inc r8
cmp byte [rax + r8], bpl
jne 0x180004d92
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180012f70
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1800130e0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000112c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
jmp 0x14000e570
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, dx
xor edx, edx
mov rsi, r8
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ebx, al
bts ebx, 9
shl ebx, 0x10
cmp edi, 0x21
jl 0x14000e5af
cmp edi, 0x28
jle 0x14000e5ab
lea ecx, [rdi - 0x2d]
cmp ecx, 1
ja 0x14000e5af
bts ebx, 0x18
mov r8d, 0x104
mov rdx, rsi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000114f
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140019f50
push rbx
sub rsp, 0x40
mov rbx, r8
test r8, r8
je 0x140019fad
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019fad
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x1400011a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140010d40
push rbp
push rsi
push rdi
push r12
sub rsp, 0x248
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov r12, rcx
test r8, r8
jne 0x140010d76
xor eax, eax
jmp 0x140010e97
mov qword [rsp + 0x270], rbx
movzx eax, dx
movzx ebx, dx
shr bx, 2
and ax, 1
mov qword [rsp + 0x240], r13
shl ax, 2
and bx, 1
xor r13d, r13d
or bx, ax
movzx eax, dx
mov rdx, r9
and ax, 2
or bx, ax
shr rdx, 1
je 0x140010e02
cmp rdx, 0x7fffffff
ja 0x140010e02
mov rcx, r8
lea r9, [0x140056f3c]
mov r8d, 0x7ffffffe
sub r8, rdx
sub r9, rdi
lea rax, [r8 + rdx]
test rax, rax
je 0x140010df5
movzx eax, word [r9 + rcx]
test ax, ax
je 0x140010df5
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140010dd3
jmp 0x140010dfa
test rdx, rdx
jne 0x140010dfe
sub rcx, 2
mov word [rcx], r13w
test bl, 2
je 0x140010e19
lea r8, str.Ctrl
mov rdx, rsi
mov rcx, rdi
call fcn.1400013c5
test bl, 1
je 0x140010e30
lea r8, str.Shift
mov rdx, rsi
mov rcx, rdi
call fcn.1400013c5
test bl, 4
mov rbx, qword [rsp + 0x270]
je 0x140010e4f
lea r8, str.Alt
mov rdx, rsi
mov rcx, rdi
call fcn.1400013c5
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], r13w
call fcn.14001e8c0
shr ebp, 0x10
lea r8, [rsp + 0x20]
movzx edx, bp
mov rcx, r12
call fcn.14000112c
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.1400013c5
mov r13, qword [rsp + 0x240]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x248
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400012a3
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140019080
push rbx
push rsi
push rdi
sub rsp, 0x80
xor eax, eax
xor esi, esi
mov rdi, rcx
mov rcx, qword [rcx + 0x2d8]
mov dword [rdx], esi
mov dword [rdx + 4], eax
mov dword [rdx + 8], eax
mov rbx, rdx
mov dword [rdx + 0xc], eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
call fcn.14000126c
test eax, eax
je 0x1400191f3
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0xa0]
lea rdx, str.Toolbar
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400191e8
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0xa8]
lea rdx, [rdi + 0x2c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0xa8], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400191dd
mov rcx, qword [rsp + 0x50]
xor eax, eax
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0xb0]
lea rdx, [0x140058aa0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], esi
mov dword [rsp + 0xb0], 0x10
mov dword [rsp + 0xb8], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400191d2
lea rcx, [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rbx], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400012f3
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140018ff0
push rbx
sub rsp, 0x40
mov rax, r8
mov r10, rdx
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov rbx, r9
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rcx, r10
mov rdx, rax
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019054
mov eax, dword [rsp + 0x30]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14000134d
Capabilities:
Set registry value

Disassembly:
jmp 0x140019fd0
sub rsp, 0x38
test r8, r8
jne 0x140019fe0
xor eax, eax
add rsp, 0x38
ret
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x38
ret

Function at 0x14000135c
Capabilities:
Query environment variable

Disassembly:
jmp 0x140011eb0
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r9
mov esi, r8d
mov rbx, rdx
test r9, r9
je 0x140011f56
test rdx, rdx
je 0x140011f56
xor eax, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], ax
call fcn.14001e8c0
lea rdx, [rsp + 0x30]
lea rcx, str.SystemRoot
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140011f2d
lea rdx, [rsp + 0x30]
lea rcx, str.windir
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x30]
lea r8, str._s_nview_nvtb_thumb__08X__08X.bmp
mov edx, 8
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call fcn.1400011f4
mov eax, 1
jmp 0x140011f58
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400013b6
Capabilities:
Check for unmoving mouse cursor

Disassembly:
jmp 0x14001a6f0
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [0x1400673b8]
test rcx, rcx
je 0x14001a882
sub edx, 1
mov qword [rsp + 0x48], rdi
je 0x14001a888
sub edx, 1
je 0x14001a7fd
sub edx, 1
je 0x14001a7dc
sub edx, 1
je 0x14001a77b
cmp edx, 2
jne 0x14001a87d
mov edx, 6
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400673b8]
call fcn.140001154
test eax, eax
jne 0x14001a87d
mov rcx, qword [0x1400673c0]
call fcn.14000119a
mov rcx, qword [0x1400673c0]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
jmp fcn.1400013c0
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400673b8]
call fcn.14000107d
mov rcx, qword [0x1400673b8]
mov r8d, dword [rax + 0x1c]
mov edx, dword [rax + 0x24]
call fcn.1400014bf
mov rcx, qword [0x1400673c0]
call fcn.14000133e
mov rcx, qword [0x1400673c0]
xor edi, edi
cmp dword [rcx + 0x86088], edi
sete dil
mov dword [rcx + 0x86088], edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
jmp fcn.140001497
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
mov dword [0x1400673a0], edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x40], rsi
call fcn.14000107d
mov edx, 2
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
lea rdx, [rsp + 0x20]
xor edi, edi
mov rcx, rbx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [rsi], edi
je 0x14001a878
cmp dword [rsi + 8], edi
je 0x14001a878
xor eax, eax
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14001a878
mov rcx, qword [0x1400673b8]
call fcn.140001221
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
call fcn.14000107d
cmp dword [rax], 0
je 0x14001a87d
cmp dword [rax + 8], 0
jne 0x14001a87d
xor eax, eax
lea rcx, [rsp + 0x50]
xor edi, edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14001a87d
cmp rdi, rbx
je 0x14001a87d
test rdi, rdi
je 0x14001a87d
lea edx, [rax + 4]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
cmp rax, rbx
je 0x14001a87d
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1400673b8]
call fcn.140001429
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
Function at 0x1400013d9
Capabilities:
Query environment variable

Disassembly:
jmp 0x140011da0
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
test r8, r8
je 0x140011e5c
test rdx, rdx
je 0x140011e5c
mov qword [rsp + 0x270], rbp
lea rcx, [rsp + 0x32]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bp
call fcn.14001e8c0
lea rdx, [rsp + 0x30]
lea rcx, str.SystemRoot
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140011e2d
lea rdx, [rsp + 0x30]
lea rcx, str.windir
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x30]
lea r8, str._s_nview_nvtb__08X__08X.bmp
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
call fcn.1400011f4
mov rbp, qword [rsp + 0x270]
mov eax, 1
jmp 0x140011e5e
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret

Function at 0x140001410
Capabilities:
Set registry value

Disassembly:
jmp 0x140018fb0
sub rsp, 0x38
mov rax, r8
mov rcx, rdx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r9
xor r8d, r8d
mov rdx, rax
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret