joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f830
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x70], edi
mov qword [rcx], rdx
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x14002f8c9
mov dword [rsp + 0x48], edi
call fcn.1400057e0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14002f88a
call fcn.1400057e0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x78], 0x20
mov qword [rsp + 0x30], rbx
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, [rsp + 0x78]
movsx edx, di
call fcn.140004bd0
nop
mov eax, dword [rsp + 0x70]
test al, 1
je 0x14002f90a
and eax, 0xfffffffe
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x40], rdi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x14002f905
nop dword [rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x14002f8f0
lock inc dword [rsp + 0x48]
mov rax, qword [0x140198db8]
cmp eax, 0xffffffff
je 0x14002f935
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [0x140198db8]
cmp ecx, 0xffffffff
je 0x14002f935
inc eax
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14002f940
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rdi, rcx
xor esi, esi
mov ebx, esi
mov dword [rbp + 0x6f], ebx
mov rax, qword [0x140198db8]
cmp eax, 0xffffffff
je 0x14002f991
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [0x140198db8]
cmp ecx, 0xffffffff
je 0x14002f991
dec eax
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rbp + 0x7f]
sub rax, qword [rdi + 8]
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbp + 7]
divsd xmm6, xmm0
cmp qword [rdi], rbx
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
je 0x14002faa5
add ecx, eax
je 0x14002fa6c
mov dword [rbp + 0x17], esi
call fcn.1400057e0
mov qword [rbp + 0xf], rax
lock inc dword [rbp + 0x17]
mov rax, qword [rbp + 0xf]
test rax, rax
jne 0x14002fa05
call fcn.1400057e0
mov qword [rbp + 0xf], rax
lock inc dword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
mov dword [rbp + 0x6f], 0x20
cvttsd2si edx, xmm6
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
mulsd xmm6, qword [0x140166c58]
cvttsd2si eax, xmm6
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], edx
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rax, str._s_end___d._03d_
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::_CScopeTrace
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x6f]
movsx edx, si
call fcn.140004bd0
mov ebx, 1
test bl, 1
je 0x14002fb68
mov qword [rbp + 0xf], rsi
mov eax, 0xffffffff
lock xadd dword [rbp + 0x17], eax
cmp eax, 1
js 0x14002fa9c
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp + 0x17], eax
cmp eax, 1
jns 0x14002fa88
lock inc dword [rbp + 0x17]
jmp 0x14002fb68
add ecx, eax
je 0x14002fb32
mov dword [rbp + 0x27], esi
call fcn.1400057e0
mov qword [rbp + 0x1f], rax
lock inc dword [rbp + 0x27]
mov rax, qword [rbp + 0x1f]
test rax, rax
jne 0x14002fad3
call fcn.1400057e0
mov qword [rbp + 0x1f], rax
lock inc dword [rbp + 0x27]
mov rcx, qword [rbp + 0x1f]
mov dword [rbp + 0x77], 0x20
cvttsd2si edx, xmm6
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
mulsd xmm6, qword [0x140166c58]
cvttsd2si eax, xmm6
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edx
lea rax, str.end___d._03d_
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::_CScopeTrace
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x77]
movsx edx, si
call fcn.140004bd0
mov ebx, 2
test bl, 2
je 0x14002fb68
mov qword [rbp + 0x1f], rsi
mov eax, 0xffffffff
lock xadd dword [rbp + 0x27], eax
cmp eax, 1
js 0x14002fb64
nop word [rax + rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp + 0x27], eax
cmp eax, 1
jns 0x14002fb50
lock inc dword [rbp + 0x27]
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x140031fd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rsp + 0x80], rax
test rcx, rcx
jne 0x140032008
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140071e30
add rsp, 0x98
ret
mov rax, qword [rcx]
lea r8, [0x140160878]
mov edx, 0xca
mov qword [rsp + 0x90], rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
xor ebx, ebx
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x60], rbx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], rbx
inc r8
cmp word [rax + r8*2], bx
jne 0x140032045
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002ed0
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp qword [rsp + 0x70], rbx
je 0x140032126
cmp r8, 8
lea rax, [rsp + 0x60]
cmovae rax, rcx
cmp word [rax], 0x3c
je 0x140032126
cmp r8, 8
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x40]
cmovae rdx, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140147a78]
mov r9d, Ordinal_21
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400320fe
mov dword [rsp + 0x50], eax
lea rax, [0x1401921e8]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
jmp 0x140032107
mov ecx, ebx
lea rdx, [0x1401921c0]
mov rax, qword [0x1401921c8]
cmp qword [rdx + 8], rax
jne 0x14003211c
test ecx, ecx
jne 0x14003211c
mov ebx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp r8, 8
jb 0x140032161
lea rdx, [r8*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003215c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003215c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov eax, ebx
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140071e30
add rsp, 0x98
ret
Function at 0x140032190
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov edi, edx
test rcx, rcx
jne 0x1400321c4
lea eax, [rcx + 0x1f]
jmp 0x140032387
mov rax, qword [rcx]
lea r8, [0x140160878]
mov edx, 0xca
mov qword [rsp + 0xa8], rsi
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
xor esi, esi
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x27], rsi
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x37], rsi
nop
inc r8
cmp word [rax + r8*2], si
jne 0x140032200
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.140002ed0
mov r8, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x27]
cmp qword [rbp + 0x37], rsi
je 0x14003233d
cmp r8, 8
lea rax, [rbp + 0x27]
cmovae rax, rcx
cmp word [rax], 0x3c
je 0x14003233d
cmp r8, 8
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov dword [rbp + 0x17], edi
lea rdx, [rbp + 0x27]
mov qword [rsp + 0x20], rax
cmovae rdx, rcx
lea r8, [0x140147a78]
mov rcx, 0xffffffff80000001
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x140032317
cmp qword [rbp + 0x3f], 8
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x40], rsi
lea rdx, [rbp + 0x27]
cmovae rdx, qword [rbp + 0x27]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
mov qword [rbp + 0x1f], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140032333
cmp qword [rbp + 0x3f], 8
lea rax, [rbp + 0x17]
lea rdx, [rbp + 0x27]
mov dword [rsp + 0x28], 4
cmovae rdx, qword [rbp + 0x27]
lea r9d, [rbx + 4]
lea r8, [0x140147a78]
mov dword [rbp + 0x17], edi
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x1f]
test eax, eax
jne 0x140032323
test rcx, rcx
je 0x140032317
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbp + 0x3f]
mov ebx, esi
mov rcx, qword [rbp + 0x27]
jmp 0x140032342
mov ebx, 0x1f
test rcx, rcx
je 0x140032333
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x27]
jmp 0x140032342
mov ebx, 0x1f
mov rsi, qword [rsp + 0xa8]
cmp r8, 8
jb 0x140032385
lea rdx, [r8*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032380
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032380
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140071e30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004ec90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rcx
lea r8, [0x14004ee40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x20], rax
lea rsi, str.CApplicationInstance::InstanceThread
test rax, rax
jne 0x14004ed8a
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x14004ed52
mov dword [rbp - 0x18], edi
call fcn.1400057e0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov dword [rbp + 0x20], 1
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x14004ed15
call fcn.1400057e0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x28], 4
mov dword [rsp + 0x30], eax
lea rax, str.Failed_to_create_single_instance_monitor_thread__LastError:_d_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [0x140000000]
lea r8, [rbp + 0x28]
movsx edx, di
mov rcx, rbx
call fcn.140004bd0
nop
mov eax, dword [rbp + 0x20]
test al, 1
je 0x14004ed8a
and eax, 0xfffffffe
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x20], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
js 0x14004ed86
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jns 0x14004ed72
lock inc dword [rbp - 0x18]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x14004edf4
mov dword [rbp - 8], edi
call fcn.1400057e0
mov qword [rbp - 0x10], rax
lock inc dword [rbp - 8]
or dword [rbp + 0x20], 2
mov rax, qword [rbp - 0x10]
test rax, rax
jne 0x14004edc4
call fcn.1400057e0
mov qword [rbp - 0x10], rax
lock inc dword [rbp - 8]
mov rcx, qword [rbp - 0x10]
mov dword [rbp + 0x30], 0x20
lea rax, str.There_are_no_more_instances_of_seccenter__SingleInstanceThread_started
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [0x140000000]
lea r8, [rbp + 0x30]
movsx edx, di
call fcn.140004bd0
nop
mov eax, dword [rbp + 0x20]
test al, 2
je 0x14004ee2c
and eax, 0xfffffffd
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x10], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 8], eax
cmp eax, 1
js 0x14004ee28
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 8], eax
cmp eax, 1
jns 0x14004ee14
lock inc dword [rbp - 8]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140055a50
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp - 0x70], eax
mov r9, 0xffffffffffffffff
lea r8, str.bd::process_broker::client::this_process_should_be_started_by_broker
mov edx, 0x102
lea rcx, [rbp - 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x14016059c]
mov edx, 0x104
lea rcx, [rbp - 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.bd::process_broker::client::this_process_should_be_started_by_broker
mov edx, 0x104
lea rcx, [rbp + 0x19c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
xor ebx, ebx
add ecx, eax
je 0x140055b8a
mov dword [rsp + 0x70], ebx
call fcn.1400057e0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140055b14
call fcn.1400057e0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x78], 0x20
mov edx, 1
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x19c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x78]
movsx edx, dx
call fcn.140004bd0
mov qword [rsp + 0x68], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x140055b85
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x140055b70
lock inc dword [rsp + 0x70]
call fcn.140011220
test al, al
je 0x140055c34
mov dword [rbp - 0x78], ebx
mov word [rbp - 0x74], 0x500
mov qword [rbp - 0x80], rbx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140055c14
mov dword [rsp + 0x60], ebx
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
je 0x140055c34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1400541e0
test al, al
sete bl
lea rcx, [rbp - 0x70]
call fcn.1400091b0
movzx eax, bl
jmp 0x140055c3f
lea rcx, [rbp - 0x70]
call fcn.1400091b0
xor al, al
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140071e30
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rbp
ret
Function at 0x140057fd0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x68]
mov word [rsp + 0x74], 0x500
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140058071
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140071e30
add rsp, 0x80
pop rbx
ret
Function at 0x14005d220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, rcx
mov r9, qword [rdx + 0x10]
jb 0x14005d231
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x14005d264
movabs r11, 0x100000001b3
nop dword [rax]
movzx ecx, byte [r8 + rdx]
inc r8
xor rax, rcx
imul rax, r11
cmp r8, r9
jb 0x14005d250
movabs rdx, 0xc6a4a7935bd1e995
imul rax, rdx
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
mov eax, 0xe6546b64
imul rcx, rdx
xor rcx, r10
imul rcx, rdx
add rax, rcx
ret

Function at 0x14005eb50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r9, rax
test rax, rax
je 0x14005eb8b
mov rax, qword [rdi]
mov qword [r9], rax
movups xmm0, xmmword [rsi]
movups xmmword [r9 + 8], xmm0
jmp 0x14005eb8e
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x14006a150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14005ebd0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14006d150
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov dword [rcx + 0x474], r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, str.debug
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 4
mov rbp, r9
mov qword [rsp + 0x20], rax
mov r14, rdx
mov dword [rsp + 0x70], 0
mov rbx, rcx
mov dword [rsp + 0x60], 4
lea r9, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareBitdefender_bdhtml
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x70], 1
jne 0x14006d1c7
mov byte [rbx + 0x479], 1
movzx edx, word [rbx + 0x474]
mov r8d, 0x17
mov rcx, qword [rbx + 0x248]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14006d205
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006d1e9
mov rcx, rax
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14006d246
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
jne 0x14006d259
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
jmp 0x14006d329
lea eax, [rdi + 2]
mov qword [rbx + 0x10], r14
mov ecx, eax
mov dword [rbx + 0x30], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rbx + 0x30]
xor edx, edx
mov rcx, rax
mov qword [rbx + 0x28], rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x28]
mov r8, rdi
mov eax, dword [rbx + 0x30]
test rcx, rcx
jne 0x14006d29a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x14006d2c2
cmp rax, r8
jb 0x14006d2ac
lfence
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14006d2c8
mov r8, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
add dword [rbx + 0x30], 0xfffffffe
test rbp, rbp
je 0x14006d2da
lea rcx, [rbx + 0x34]
mov r8, rbp
jmp 0x14006d315
cmp word [0x140198ba0], 0
jne 0x14006d2e9
call fcn.14006e610
lea rcx, [rbx + 0x34]
test rcx, rcx
je 0x14006d320
lea r8, [0x140198ba0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x14006d300
cmp eax, 0x104
jge 0x14006d320
lfence
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx - 0x28]
call fcn.14006d340
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x14006d950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp method.bdHtmlDlgEx.1.virtual_392
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x14006daea
cmp word [r8], 0
je 0x14006daea
lea rdx, str.sciter:
mov rcx, r8
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
cmp rax, rsi
je 0x14006dae6
mov edx, 0x2f
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x14006daea
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r8, [rdi + 2]
mov edx, 0x104
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov edx, 0x2e
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x14006da70
xor eax, eax
mov word [rdi], ax
add rdi, 2
je 0x14006da70
lea rdx, str.HTML
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14006da70
lea rdx, [0x1401667d8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rdx, [rsp + 0x30]
test eax, eax
jne 0x14006da6b
mov rcx, qword [rbx + 0x278]
lea r8, [0x1401667d8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14006da62
mov rbx, qword [rbx + 0x278]
jmp 0x14006da97
lea r8, [0x1401667d8]
jmp 0x14006da76
mov r8, rdi
jmp 0x14006da7b
mov r8d, 0x17
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14006dae6
mov rbx, qword [rbx + 0x270]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006daea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14006daea
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x14006daea
call fcn.140009d20
mov r9d, ebx
mov r8, rbp
mov rdx, rsi
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x14006aed5.0]
xor eax, eax
jmp 0x14006daef
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140071e30
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret