joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aaa1c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r14d, r14d
mov rdi, rcx
mov rcx, qword [rcx + 0x30]
mov sil, r9b
mov dword [rsp + 0x40], r14d
mov rbx, r8
cmp rcx, 0xffffffffffffffff
je 0x1400aaac2
mov eax, 0xffffffff
cmp rbx, rax
ja 0x1400aaaea
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400aab21
mov ecx, dword [rsp + 0x40]
cmp rcx, rbx
je 0x1400aaa99
test sil, sil
jne 0x1400aab73
mov eax, ecx
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140121d80
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, str.trying_to_read_from_a_file_thats_not_open
mov edx, 0x15
lea rcx, [rsp + 0x50]
call fcn.1400097cc
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, [0x1401e3810]
mov dword [rsp + 0x50], 0x5d
lea rcx, [rsp + 0x50]
mov dword [rbp + 0x154], r14d
mov word [rbp + 0x258], r14w
mov word [rbp + 0x158], r14w
mov word [rsp + 0x54], r14w
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rsp + 0x44], ebx
lea rbx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400a9480
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x10]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
mov edx, 0x21
lea r8, str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
call fcn.1400a93c4
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400aabb8
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 0xffffffff
cmp qword [rsp + 0x20], rax
jg 0x1400aac43
mov edx, dword [rsp + 0x20]
mov rcx, rdi
call fcn.140020570
mov r8, qword [rdi + 8]
mov r9b, 1
sub r8, qword [rdi]
mov rcx, rbx
mov rax, r8
neg rax
sbb rdx, rdx
and rdx, qword [rdi]
call fcn.1400aaa1c
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3d0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.OFile_does_not_support_reading_files_of_this_size
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.1400241c0
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400aac74
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x3e8
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rcx, qword [rcx + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x1400aacc9
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400aacf1
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140121d80
add rsp, 0x3e8
ret
lea r8, str.trying_to_write_to_a_file_thats_not_opened
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.14004f038
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.write_to_file_failed
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14002d5dc
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400ab35c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
lea rax, [r11 - 0x28]
mov rbp, r8
mov dword [r11 + 0x20], r14d
xor r8d, r8d
mov qword [r11 - 0x38], rax
or r9d, 0x20019
mov esi, r14d
mov edi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ab450
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ab450
mov ebx, dword [rsp + 0x78]
test ebx, ebx
je 0x1400ab450
mov eax, ebx
and eax, 1
test al, al
jne 0x1400ab450
shr ebx, 1
lea eax, [r14 + 2]
inc ebx
lea r15, [r14 - 1]
mov ecx, ebx
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1400206a0
mov rdi, rax
test rax, rax
je 0x1400ab450
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ab450
mov rdx, qword [rsp + 0x80]
lea eax, [rbx - 1]
xor r9d, r9d
mov word [rdi + rax*2], r14w
mov r8, r15
mov rcx, rdi
call fcn.1400076bc
test eax, eax
sete sil
mov rcx, rdi
call fcn.1400206c0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ab468
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1400ab5e4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r8, rdx
mov dword [rsp + 0x20], 0x20a
mov rbx, rcx
lea r9, str.AutoConvert
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.1400ab294
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140121d80
add rsp, 0x460
pop rbx
ret
Function at 0x1400ab660
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, rdx
mov dword [rsp + 0x20], 0x20a
mov rdi, rcx
lea r9, str.TreatAs
mov r8, rsi
lea rcx, [rsp + 0x30]
mov edx, 0x105
call fcn.1400ab294
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor ebx, ebx
test eax, eax
jne 0x1400ab6d1
lea eax, [rbx + 1]
jmp 0x1400ab714
mov edx, 0x105
lea r9, str.AutoTreatAs
mov r8, rsi
lea rcx, [rsp + 0x30]
call fcn.1400ab294
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x20a
lea r8, [rsp + 0x240]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140121d80
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400ab73c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rsi, r8
mov dword [rsp + 0x20], 0x20a
mov r8, rdx
mov rbx, rcx
or r15, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov r14d, 0x105
mov r9, r15
mov edx, r14d
xor edi, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r9, r15
lea r8, [0x140174654]
mov edx, r14d
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov r9, r15
lea r8, str.protocolStdFileEditing_server
mov edx, r14d
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rbp + 0x560]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x1400ab7e9
lea eax, [rdi + 1]
jmp 0x1400ab85a
mov rdx, rsi
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400ab858
mov ebx, 0x104
mov word [rbp + 0x350], di
mov r8d, ebx
mov word [rbp + 0x140], di
lea rdx, [rbp + 0x350]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r8d, ebx
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x8c8]
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ab880
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rax, r9
mov dword [rsp + 0x20], 0x20a
mov rsi, r8
lea r9, str.LocalServer32
mov rbx, rcx
mov r8, rax
mov edx, 0x105
lea rcx, [rbp + 0x560]
xor edi, edi
call fcn.1400ab294
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rbp + 0x350]
lea rdx, [rbp + 0x560]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x1400ab8fb
lea eax, [rdi + 1]
jmp 0x1400ab966
mov rdx, rsi
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400ab964
mov ebx, 0x104
mov word [rbp + 0x140], di
mov r8d, ebx
mov word [rsp + 0x30], di
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x880
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400da5f8
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
and qword [rbp - 0x38], 0
and qword [rbp - 0x30], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.1400295d0
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1400da06c
mov rdi, qword [rbp - 0x38]
cmp qword [rbp - 0x30], 0
je 0x1400da723
mov qword [rbp + 0x30], rdi
mov rbx, qword [rdi]
mov qword [rbp + 0x38], rbx
cmp rbx, rdi
je 0x1400da723
lea r12, vtable.OHandle.0
mov r8d, dword [rbx + 0x10]
mov dword [rbp + 0x28], r8d
lea rax, vtable.RefCounted.0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0
mov qword [rbp - 0x28], r12
and qword [rbp - 0x18], 0
mov byte [rbp - 0x10], 0
mov dword [rbp - 0xc], 0x55
mov byte [rsp + 0x20], 1
lea r9, [rbp - 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call fcn.140028af8
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, str.TaskRemoveInstallation::KillProcessesRunningFromInstallDirectory___Terminating_still_running_process:__d
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x3d1787
lea r8d, [rdx + 0x24]
call fcn.14000bab0
xor edx, edx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov qword [rbp - 0x28], r12
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400da6f1
cmp byte [rbp - 0x10], 0
je 0x1400da6f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400da667
lea r9, str.TaskRemoveInstallation::KillProcessesRunningFromInstallDirectory:_Pausing_to_give_processes_time_to_exit.
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x3d1788
lea r8d, [rdx + 0x24]
call sub.Mso20Win32Client.dll_Ordinal_489
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rdi]
mov qword [rdi], rdi
mov qword [rdi + 8], rdi
cmp rcx, rdi
je 0x1400da743
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, rdi
jne 0x1400da732
mov rcx, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r12
pop rdi
pop rbp
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
Function at 0x1400df538
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x160
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, rcx
mov dword [rsp + 0x48], edx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
sub eax, dword [rsi + 0xd0]
cqo
xor rax, rdx
sub rax, rdx
cmp rax, 0x36ee80
jle 0x1400df6bf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0xd4]
mov dword [rsp + 0x40], eax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, str.StreamPercent:_d_StreamTime:_d
lea rcx, [rbp - 0x60]
call fcn.1400dde60
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400df5ca
mov rdi, qword [rax]
lea rcx, [rbp - 0x40]
call fcn.1400f27cc
mov rbx, rax
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x78]
call fcn.1400c2680
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14006f440
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x50], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, str.TaskStream::SendHeartbeat
mov edx, 0x3ac
mov ecx, 0x5605c8
mov r8d, 0x32
call fcn.1400b4934
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x1400df671
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400df671
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400df671
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.14000867c
mov dword [rsi + 0xd0], r14d
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140121d80
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e5fa8
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rsp + 0x48], rax
and dword [rsp + 0x20], 0
xor eax, eax
mov dword [rsp + 0x24], eax
movsxd rdi, edx
call fcn.140041eb8
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.140045750
cmp qword [rax + 0x18], 8
jb 0x1400e5feb
mov rax, qword [rax]
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xor r8d, r8d
lea rcx, [rsp + 0x28]
mov dl, 1
mov ebx, eax
call fcn.14000867c
test ebx, ebx
je 0x1400e6026
mov rcx, rdi
shl rcx, 0x14
cmp qword [rsp + 0x20], rcx
jae 0x1400e6026
mov al, 1
jmp 0x1400e6028
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400e6610
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rcx, rdi
call fcn.1400e6d3c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov dword [rsp + 0x30], eax
cmp qword [rsi + 0x18], 8
jb 0x1400e6668
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._s.Approximate_duration_:__d_milliseconds.
lea rcx, [rsp + 0x60]
call fcn.1400bae28
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400e6695
mov rbx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.1400f27cc
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x40], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.MonitoredScope::ExecuteUnderStopWatch
mov edx, 0x3b0
mov ecx, 0x51054a
mov r8d, 0x32
call fcn.140014530
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14000867c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f36a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rdi, rcx
mov rsi, r8
mov rcx, qword [rcx + 0x30]
mov rbx, rdx
test rcx, rcx
je 0x1400f37a7
and dword [rsp + 0x30], 0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x34], 3
jb 0x1400f36f9
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x1400f3783
cmp dword [rsp + 0x34], 3
jne 0x1400f3783
test eax, eax
jne 0x1400f37d2
mov edx, dword [rsp + 0x30]
mov rcx, rsi
call fcn.140020570
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
neg rax
sbb rcx, rcx
and rcx, qword [rsi]
cmp qword [rbx + 0x18], 8
jb 0x1400f3753
mov rdx, qword [rbx]
jmp 0x1400f3756
mov rdx, rbx
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f3806
mov al, 1
jmp 0x1400f3785
xor al, al
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x418]
add rsp, 0x3e0
pop rdi
pop rsi
pop rbp
ret
mov r9, rdx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_value._The_tregistry_key_is_closed_or_not_set
mov edx, 0x3a
lea rcx, [rsp + 0x40]
call fcn.140009bfc
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, [rdi + 0x10]
mov r9, rbx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_the_binary_value___s__in_registry_key__s.
mov qword [rsp + 0x20], rax
mov edx, 0x2b
lea rcx, [rsp + 0x40]
call fcn.1400f0f4c
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, [rdi + 0x10]
mov r9, rbx
lea r8, str.ORegistryKey.GetValue_failure:_Cannot_get_the_binary_value___s__in_registry_key__s.
mov qword [rsp + 0x20], rax
mov edx, 0x2b
lea rcx, [rsp + 0x40]
call fcn.1400f0f4c
lea rdx, [0x1401e3810]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400fb8c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov rcx, qword [rdi]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea r14, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
lea r15, str.ContextData
test al, al
je 0x1400fb9fe
lea rdx, [rsp + 0x60]
mov rcx, qword [rdi]
call fcn.1400fb374
nop
cmp qword [rax + 0x18], 8
jb 0x1400fb939
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, str.Watcher_is_running_successfully._WatcherName:_s
lea rcx, [rbp + 0x10]
call fcn.1400345e0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400fb960
mov rdi, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.1400f27cc
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.Watcher::Watch
mov edx, 0x3b0
mov ecx, 0x71d70b
mov r8d, 0x32
call fcn.140014530
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000867c
nop
nop dword [rax]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14000867c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
mov dword [rsp + 0x30], eax
cmp qword [rbx + 0x18], 8
jb 0x1400fba14
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, str._s.Approximate_duration_:__d_milliseconds.
lea rcx, [rsp + 0x60]
call fcn.1400bae28
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400fba41
mov rbx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.1400f27cc
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.MonitoredScope::ExecuteUnderStopWatch
mov edx, 0x3b0
mov ecx, 0x51054a
mov r8d, 0x32
call fcn.140014530
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14000867c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret