joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af790
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x28], rax
call fcn.14007f130
cmp dword [0x1401c06e8], eax
je 0x1400af7c7
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x38
ret
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1401c0700]
mov qword [rsp + 0x48], rsi
xor esi, esi
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x1400af864
nop dword [rax + rax]
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x20]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [rbx + 8], esi
jne 0x1400af84c
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400af84c
xorps xmm0, xmm0
mov rcx, rdx
movups xmmword [rdx], xmm0
and rcx, 0xffffffffffff0000
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rcx + 0x10], rdx
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx]
mov edx, 0x30
mov rcx, rbx
call fcn.14007e2a0
mov rbx, rdi
test rdi, rdi
jne 0x1400af7f0
mov qword [0x1401c0700], rsi
call fcn.1400af0d0
mov rdi, qword [0x1401c06f8]
test rdi, rdi
je 0x1400af8a1
nop dword [rax]
mov rcx, qword [rdi + 8]
call sub.KERNEL32.dll_ResumeThread
mov rbx, qword [rdi]
mov edx, 0x10
mov rcx, rdi
call fcn.14007e2a0
mov rdi, rbx
test rbx, rbx
jne 0x1400af880
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov qword [0x1401c06f8], rsi
mov dword [0x1401c06e8], esi
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x38
ret

Function at 0x1400af8e0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x1401c06e8], 0
jne 0x1400af9a2
call fcn.14007f130
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1401c06e8], ecx
jne 0x1400af9a2
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1401c06d0]
mov qword [rsp + 0x30], rdi
xor edi, edi
mov qword [0x1401c0700], rdi
mov qword [0x1401c06f8], rdi
mov qword [0x1401c06f0], rdi
test rbx, rbx
je 0x1400af97e
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x1400af977
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400af950
jmp 0x1400af97e
call fcn.14007f150
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov dword [0x1401c06ec], edi
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x38
ret
Function at 0x1400aff60
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x1401c06ec]
mov rdi, rcx
test eax, eax
jne 0x1400b0000
call sub.KERNEL32.dll_GetCurrentThread
cmp rdi, rax
jne 0x1400aff89
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov rbx, rax
test rax, rax
jne 0x1400affa5
lea edi, [rax + 8]
jmp 0x1400affc6
mov rcx, rdi
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1400affe4
call fcn.14007f150
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.14007e2a0
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x1401c06ec], edi
mov qword [0x1401c06f0], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1401c06f8]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x1401c06f8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b3630
Capabilities:
Log keystrokes

Disassembly:
push rbx
push rbp
sub rsp, 0x168
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
test r8b, r8b
je 0x1400b3666
call qword [sym.imp.USER32.dll_IsIconic]
mov edx, 9
test eax, eax
jne 0x1400b366b
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [rsp + 0x160], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
je 0x1400b37e2
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
je 0x1400b37e2
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x40]
xor edi, edi
cmp eax, 2
jne 0x1400b3700
cmp dword [rsp + 0x34], 4
ja 0x1400b3714
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
sete dil
mov eax, edi
jmp 0x1400b37e7
cmp eax, 1
jne 0x1400b36da
cmp dword [rsp + 0x34], 4
ja 0x1400b3714
jne 0x1400b36da
cmp dword [rsp + 0x38], edi
jbe 0x1400b36da
mov qword [rsp + 0x190], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov rcx, rbp
mov esi, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, 1
mov edx, esi
mov ecx, eax
mov ebp, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x1400b376f
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r8d, r8d
mov edx, esi
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, qword [rsp + 0x190]
cmp rax, rbx
je 0x1400b37e2
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x24]
xor edx, edx
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r9d, 2
lea r8, [rsp + 0x20]
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov r9d, 2
lea r8, [rsp + 0x24]
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x1400b36ec
mov eax, 1
mov rdi, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x168
pop rbp
pop rbx
ret
Function at 0x1400b3840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
call fcn.140004230
mov rcx, rax
test rax, rax
je 0x1400b3a26
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140077645.0]
add rax, 0x18
mov qword [rdi], rax
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x1400b38cc
cmp rdx, 0x10000
jae 0x1400b38b7
movzx edx, dx
mov rcx, rdi
call fcn.1400032a0
jmp 0x1400b38db
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400b38c0
jmp 0x1400b38cf
mov eax, r12d
mov r8d, eax
mov rcx, rdi
call fcn.140003640
nop
mov esi, 1
mov dword [rsp + 0x34], esi
mov ebx, dword [rsp + 0x98]
mov r9d, ebx
or r9d, 0x20019
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400b394c
mov eax, 0x100
mov r9d, 0x200
cmp ebx, r9d
cmove r9d, eax
or r9d, 0x20019
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b39fe
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b39fe
mov edx, dword [rsp + 0x30]
shr edx, 1
mov rax, qword [rdi]
sub esi, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or esi, ecx
jge 0x1400b399c
lfence
mov rcx, rdi
call fcn.1400034d0
mov rbx, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x30]
shr rax, 1
mov word [rbx + rax*2], r12w
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400b39db
mov eax, r12d
jmp 0x1400b39e9
movsxd rdx, dword [rcx - 0xc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
test eax, eax
js 0x1400b3a31
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x1400b3a31
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r12w
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400043d0
int3
mov ecx, 0x80070057
call fcn.1400043d0
int3
Function at 0x1400b3a50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x30]
mov rdi, r8
mov dword [rsp + 0x68], 0
or r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400b3ad8
mov r9d, 0x200
mov eax, 0x100
cmp dword [rsp + 0x70], r9d
mov rdx, rsi
mov rcx, 0xffffffff80000002
cmove r9d, eax
lea rax, [rsp + 0x30]
or r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b3b08
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x68]
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400b3b30
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov eax, dword [rsp + 0x80]
lea rcx, [r11 + 8]
mov rsi, r8
or eax, 0x20006
xor r8d, r8d
mov rbx, r9
mov qword [r11 - 0x18], r8
xor r9d, r9d
mov qword [r11 - 0x20], rcx
xor dil, dil
mov qword [r11 - 0x28], r8
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], eax
mov dword [r11 - 0x38], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400b3bce
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400b3b90
lea ecx, [rax*2 + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov ebx, 1
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
movzx edi, dil
cmove edi, ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
movzx eax, dil
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c3700
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rdx
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x1400c3720
mov qword [rax], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140027da0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400c376e
lea rcx, [rsp + 0x30]
call fcn.140005350
nop
cmp dword [rsp + 0x38], 0
je 0x1400c3782
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
add rsp, 0x40
pop rbx
ret
Function at 0x1400d16e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov edi, edx
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0x6f], esi
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea r14, str.CMainDialog::SwitchAccount
mov qword [rbp + 7], r14
mov r8d, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add r8d, eax
je 0x1400d1795
mov dword [rbp - 1], esi
call fcn.140005ad0
mov qword [rbp - 9], rax
lock inc dword [rbp - 1]
mov dword [rbp + 0x6f], 1
mov rax, qword [rbp - 9]
test rax, rax
jne 0x1400d1759
call fcn.140005ad0
mov qword [rbp - 9], rax
lock inc dword [rbp - 1]
mov rcx, qword [rbp - 9]
mov dword [rbp + 0x77], 0x20
mov qword [rsp + 0x30], r14
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x77]
movsx edx, si
call fcn.140004c90
nop
mov eax, dword [rbp + 0x6f]
test al, 1
je 0x1400d17cd
and eax, 0xfffffffe
mov dword [rbp + 0x6f], eax
mov qword [rbp - 9], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 1], eax
cmp eax, 1
js 0x1400d17c9
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 1], eax
cmp eax, 1
jns 0x1400d17b5
lock inc dword [rbp - 1]
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x1400d17ed
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x1401c0ff8]
jmp 0x1400d17f3
mov ecx, dword [0x1401c0ffc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x1400d1806
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test dil, 1
je 0x1400d184e
lea rcx, [rbp + 0x17]
call fcn.140039150
nop
lea rcx, [rbx + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140077645.0]
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 0x17]
call qword [sym.imp.bdhtmldialogs_sc.dll_void___cdecl_CheckPassword_class_CPlgPasswordProtectedCommData____ptr64_]
nop
lea rcx, [rbp + 0x17]
test dword [rbp + 0x17], 0xfffffffb
jne 0x1400d1849
call fcn.140039280
jmp 0x1400d1871
call fcn.140039280
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 - 1]
mov r8d, 0x81
mov rcx, rbx
call fcn.1400dc4b0
mov rcx, rbx
call fcn.1400eacf0
nop
lea rcx, [rbp + 7]
call fcn.140032660
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400efa90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401c15e0], 0
jne 0x1400efabd
lea rcx, [0x1401c15c0]
call fcn.140047ce0
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401c15e0]
test rcx, rcx
je 0x1400efaf1
mov rax, qword [rcx]
lea r8, [0x14016e0a0]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
jmp 0x1400efaf8
lea rax, str._error_interface_not_inited_
xor ebx, ebx
mov dword [rsp + 0x68], 4
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x30], rcx
lea r8, str.CentralOffersLastClick
lea rcx, [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x28], rcx
lea r9d, [rbx + 0x10]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400efb64
mov dword [rsp + 0x40], eax
lea rax, [0x1401b9210]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
jmp 0x1400efb6d
mov ecx, ebx
lea rdx, [0x1401b91d8]
mov rax, qword [0x1401b91e0]
cmp qword [rdx + 8], rax
jne 0x1400efb82
mov eax, dword [rsp + 0x60]
test ecx, ecx
je 0x1400efb84
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140100d70
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x28]
add rcx, 0x28
mov rax, qword [rax]
call qword [case.0x140077645.0]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x140100f76
mov eax, dword [rsp + 0x60]
lea rcx, [0x1401c15e8]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401c15e0], 0
jne 0x140100de0
lea rcx, [0x1401c15c0]
call fcn.140047ce0
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401c15e0]
test rcx, rcx
je 0x140100e14
mov rax, qword [rcx]
lea r8, [0x14016b0d0]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
jmp 0x140100e1b
lea rax, str._error_interface_not_inited_
xor ecx, ecx
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x38], rcx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x48], rcx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x140100e40
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002f20
mov r11, qword [rsp + 0x50]
lea r9, [rsp + 0x38]
mov r10, qword [rsp + 0x38]
cmp r11, 8
cmovae r9, r10
cmp qword [rsp + 0x48], 0x11
jne 0x140100ebc
movzx ecx, word [r9]
lea rax, [0x14016b5e0]
mov r8d, 0x3c
mov edx, 0x11
cmp cx, r8w
jb 0x140100ebc
sub r9, rax
cmp cx, r8w
ja 0x140100ebc
cmp rdx, 1
je 0x140100f3f
movzx ecx, word [r9 + rax + 2]
add rax, 2
dec rdx
movzx r8d, word [rax]
cmp cx, r8w
jae 0x140100e99
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
cmp r11, 8
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
cmovae rdx, r10
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8, [0x14016b608]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140100f76
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140100f71
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140100f71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r11, 8
jb 0x140100f76
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140100f6e
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140100f38
mov rcx, r10
call fcn.14007e2a0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x88
ret
Function at 0x140108880
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140108940
cmp byte [rsp + 0x38], 0
je 0x140108933
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401c15e0], 0
jne 0x1401088bf
lea rcx, [0x1401c15c0]
call fcn.140047ce0
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401c15e0]
test rcx, rcx
je 0x1401088f6
mov rax, qword [rcx]
lea r8, [0x14016a308]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
mov rdx, rax
jmp 0x1401088fd
lea rdx, str._error_interface_not_inited_
mov rax, qword [rsp + 0x30]
lea r8, [0x14016a178]
mov qword [rsp + 0x58], rax
mov r9d, 0xb
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
add rsp, 0x48
ret

Function at 0x140108b50
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rdi, rcx
jne 0x140108b66
xor al, al
add rsp, 0x50
pop rdi
ret
lea rcx, [0x1401c15e8]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401c15e0], 0
jne 0x140108b8e
lea rcx, [0x1401c15c0]
call fcn.140047ce0
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401c15e0]
test rcx, rcx
je 0x140108bc2
mov rax, qword [rcx]
lea r8, [0x14016a170]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
jmp 0x140108bc9
lea rax, str._error_interface_not_inited_
xor ebx, ebx
mov dword [rsp + 0x60], 8
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x30], rcx
lea r8, str.ClickedBFSplashSQN
lea rcx, [rsp + 0x68]
mov rdx, rax
mov qword [rsp + 0x28], rcx
lea r9d, [rbx + 0x40]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140108c36
mov dword [rsp + 0x40], eax
lea rax, [0x1401b9210]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
jmp 0x140108c3f
mov ecx, ebx
lea rdx, [0x1401b91d8]
mov rax, qword [0x1401b91e0]
cmp qword [rdx + 8], rax
jne 0x140108c67
test ecx, ecx
jne 0x140108c6b
mov rbx, qword [rsp + 0x68]
cmp qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x70]
setne al
add rsp, 0x50
pop rdi
ret
test ecx, ecx
je 0x140108c55
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x14011aef0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov r9d, 0x20019
mov dword [rsp + 0x40], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14017f0f8]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011af78
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [0x14017f128]
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, ebx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], 1
sete al
add rsp, 0x30
pop rbx
ret