joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000777c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x57]
sub rsp, 0x100
lea rcx, [rbp - 0x49]
mov edi, r9d
mov r14, r8
mov rsi, rdx
call fcn.1400043c8
and qword [rbp - 0x19], 0
lea rcx, [rbp - 0x11]
xor edx, edx
mov dword [rbp - 0x21], 0x68
lea r8d, [rdx + 0x58]
call fcn.140038590
mov rbx, qword [rbp + 0x7f]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rax
xor r9d, r9d
and qword [rsp + 0x38], rcx
xor r8d, r8d
mov dword [rbp + 0x1b], 0x80
mov rdx, rsi
test r14, r14
jne 0x140007802
and qword [rsp + 0x30], r14
and dword [rsp + 0x28], r14d
jmp 0x14000780f
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 1
test eax, eax
jne 0x14000782b
call fcn.14000cde4
mov ebx, eax
jmp 0x140007871
mov al, byte [0x140052db1]
lea rdx, [0x140052c70]
neg al
sbb rcx, rcx
and rcx, rdx
je 0x14000786f
mov r8d, edi
mov qword [rbp - 0x61], rcx
mov dword [rbp - 0x59], 7
mov dword [rbp - 0x55], edi
call fcn.1400085a0
mov r8d, dword [rbx + 0x10]
lea rdx, str._Started_process___u_
lea rcx, [rbp - 0x61]
mov dword [rbp - 0x51], eax
call fcn.14000427c
xor ebx, ebx
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140007894
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x140007894
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rbp - 0x49]
call fcn.140003b70
lea r11, [rsp + 0x100]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140007c70
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x58], 0
lea rax, [rbp + 0x58]
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea rdx, str.SoftwareBraveSoftwareUpdateDev_
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007d08
and dword [rbp + 0x48], eax
lea esi, [rax + 4]
mov rcx, qword [rbp + 0x58]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x40]
lea rax, [rbp + 0x48]
mov dword [rbp + 0x50], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.IsEnabledLogToFile
mov dword [rbp + 0x40], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140007d08
cmp dword [rbp + 0x40], esi
jne 0x140007d08
cmp dword [rbp + 0x48], ebx
je 0x140007d08
mov al, 1
jmp 0x140007d0a
xor al, al
lea rdx, [rbp + 0x40]
mov byte [rdi + 0x93], al
mov rcx, rdi
call fcn.140008c8c
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
je 0x140007dba
lea rsi, str.LoggingSettings
mov r9, rbx
mov rcx, rsi
lea rdx, str.EnableLogging
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.ShowTime
test eax, eax
mov r8d, 1
mov rcx, rsi
setne al
mov byte [rdi + 0x90], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.LogToOutputDebug
test eax, eax
mov rcx, rsi
setne al
xor r8d, r8d
mov byte [rdi + 0x92], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.AppendToFile
test eax, eax
mov r8d, 1
mov rcx, rsi
setne al
mov byte [rdi + 0x94], al
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne al
jmp 0x140007dd1
mov byte [rdi + 0x90], 1
mov al, 1
mov byte [rdi + 0x92], 1
mov byte [rdi + 0x94], 0
mov byte [rdi + 0x95], al
cmp byte [rdi + 0x91], 0
je 0x140007de7
mov byte [rdi + 0x92], 1
mov byte [rdi], 1
xor esi, esi
mov dword [rdi + 4], 7
lea r12, str.LC_UTIL
movsxd r15, dword [rsi + r12 + 8]
mov r12, qword [rsi + r12]
test r12, r12
je 0x140007e6c
cmp r15d, 9
ja 0x140007e6c
lea rdx, [rbp + 0x48]
mov rcx, rdi
mov r14d, 1
call fcn.140008c8c
mov rbx, qword [rbp + 0x48]
cmp dword [rbx - 0x10], 0
je 0x140007e43
mov r9, rbx
lea rcx, str.LoggingLevel
mov r8d, r14d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
test r14d, r14d
mov dword [rdi + r15*8 + 4], r14d
lea rdx, [rbx - 0x18]
setne cl
or eax, 0xffffffff
mov byte [rdi + r15*8], cl
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007e6c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsi, 0x10
cmp rsi, 0x90
jb 0x140007df3
call fcn.140007748
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
mov qword [rdi + 0x98], rax
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007ea7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140008340
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp byte [rcx + 0x96], 1
jne 0x140008386
lea rcx, [rsp + 0x48]
call fcn.1400078c4
mov rdx, qword [rax]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x48]
call fcn.1400018e8
xor al, al
jmp 0x1400083d7
cmp byte [rcx + 0x50], 1
jne 0x140008390
mov al, 1
jmp 0x1400083d7
cmp byte [rcx + 0x51], 0
je 0x14000839a
xor al, al
jmp 0x1400083d7
mov byte [rcx + 0x51], 1
call fcn.140007c70
cmp byte [rbx + 0x90], 0
je 0x1400083b7
mov rcx, rbx
call fcn.1400080e8
mov byte [rbx + 0x50], al
mov byte [rbx + 0x51], 0
mov al, 1
jmp 0x1400083d7
add rsp, 0x30
pop rbx
ret

Function at 0x1400083e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov al, 1
mov rbx, rcx
cmp byte [rcx + 0x96], al
jne 0x14000843c
lea rcx, [rsp + 0x30]
call fcn.1400078c4
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
mov rdx, qword [rax]
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008438
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140008463
cmp byte [rcx + 0x50], al
je 0x140008463
lea rdi, [rcx + 0x60]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, rbx
call fcn.140008340
mov rdx, qword [rdi]
mov rcx, rdi
mov bl, al
call qword [rdx + 0x10]
mov al, bl
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140008928
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, qword [rsp + 0x90]
mov esi, r9d
mov r12d, r8d
mov ebp, edx
mov r15, rcx
test rbx, rbx
je 0x140008a8c
test edx, edx
jne 0x14000896f
cmp r9d, 2
jg 0x140008a8c
call fcn.1400014ec
test rax, rax
je 0x140008aab
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.1400014ec
test rax, rax
je 0x140008aab
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov edi, 1
lea r14, [r15 + 0x60]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0x18]
test al, al
jne 0x1400089de
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jle 0x1400089bb
jmp 0x140008a25
mov rax, qword [rsp + 0x98]
mov r9d, esi
mov qword [rsp + 0x38], rax
mov r8d, r12d
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov edx, ebp
lea rax, [rsp + 0x40]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140008684
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
cmp edi, 0x14
jle 0x140008a48
lea rcx, str.LOG_SYSTEM:_Couldnt_acquire_lock__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140046728]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008a6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008a8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov ecx, 0x80004005
call fcn.1400013e0
int3
Function at 0x140008d4c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
mov bl, dl
mov ecx, 0x38
call fcn.140037c10
mov rdi, rax
mov ebp, 1
lea rax, fcn.14000902c
and word [rdi + 0xc], 0
mov qword [rdi], rax
mov dword [rdi + 8], 0x989680
mov byte [rdi + 0xe], bl
mov byte [rdi + 0xf], bpl
call fcn.1400014ec
test rax, rax
je 0x140008ea3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rcx, [rdi + 0x20]
mov rdx, rsi
add rax, 0x18
mov qword [rdi + 0x10], rax
and qword [rdi + 0x18], 0
call fcn.140005590
and qword [rdi + 0x28], 0
call fcn.1400014ec
test rax, rax
je 0x140008ea3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rcx, [0x140052c70]
mov qword [rdi + 0x30], rax
mov al, byte [0x140052db1]
neg al
sbb rsi, rsi
and rsi, rcx
je 0x140008e8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140008c8c
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
je 0x140008e5b
mov r9, rbx
lea rdx, str.MaxLogFileSize
mov r8d, 0x989680
lea rcx, str.LoggingSettings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rbx
lea rdx, str.LogFileWide
lea rcx, str.LoggingSettings
mov dword [rdi + 8], eax
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne bpl
jmp 0x140008e62
mov dword [rdi + 8], 0x989680
lea rdx, [rsi + 0x58]
mov byte [rdi + 0xf], bpl
lea rcx, [rdi + 0x30]
call fcn.140001868
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008e8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400013e0
int3

Function at 0x140008f68
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx + 0xc], 0
mov rbx, rcx
jne 0x14000901c
mov byte [rcx + 0xc], 1
call fcn.140009064
lea rsi, [rbx + 0x18]
cmp qword [rsi], 0
je 0x14000901c
mov rdi, rsi
test al, al
je 0x140008faa
mov byte [rbx + 0xe], 1
lea rdi, [rbx + 0x18]
mov rcx, rbx
call fcn.140009c18
test al, al
jne 0x140008fd5
mov r8, qword [rbx + 0x10]
lea rcx, str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
mov rdx, qword [rbx + 0x30]
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000901c
mov rcx, rbx
call fcn.140009404
cmp qword [rbx + 0x28], 0
jne 0x140009007
mov r8, qword [rbx + 0x20]
lea rcx, str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
mov rdx, qword [rbx + 0x30]
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [rbx + 0xd], 0
jmp 0x14000900a
mov rdi, rsi
mov rcx, qword [rdi]
mov byte [rbx + 0xd], 1
test rcx, rcx
je 0x14000901c
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000969c
Capabilities:
Move file
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, str.LOG_SYSTEM:_trying_to_move_log_file_to_backup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdi, [rsi + 0x20]
mov rdx, rdi
lea r8, str..bak
lea rcx, [rsp + 0x30]
call fcn.14000651c
mov rbx, qword [rsp + 0x30]
mov r8d, 0xb
mov rcx, qword [rdi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140009720
call fcn.14000cde4
test eax, eax
jns 0x140009720
lea rcx, str.LOG_SYSTEM:_failed_to_move_log_file_to_backup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsi
call fcn.140009754
test al, al
jne 0x14000971b
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.140006b38
xor dil, dil
jmp 0x140009723
mov dil, 1
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000973e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rbx, qword [rsp + 0x38]
mov al, dil
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140009754
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x27], rax
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetControlSession_Manager]
lea rdx, [rbp - 0x49]
movaps xmm1, xmmword [0x140046a60]
mov rbx, rcx
movzx eax, word [0x140046ab0]
xor r12d, r12d
movaps xmmword [rbp - 0x49], xmm0
mov r9d, 0x20019
movaps xmm0, xmmword [0x140046a70]
xor r8d, r8d
movaps xmmword [rbp - 0x39], xmm1
mov rcx, 0xffffffff80000002
movaps xmm1, xmmword [0x140046a80]
movaps xmmword [rbp - 0x29], xmm0
movaps xmm0, xmmword [0x140046a90]
movaps xmmword [rbp - 0x19], xmm1
movaps xmm1, xmmword [0x140046aa0]
mov word [rbp + 0x17], ax
lea rax, [rbp - 0x61]
movaps xmmword [rbp - 9], xmm0
movaps xmmword [rbp + 7], xmm1
mov qword [rbp - 0x61], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009932
mov rcx, qword [rbp - 0x61]
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x65]
xor r8d, r8d
mov qword [rsp + 0x20], r12
lea rdx, str.PendingFileRenameOperations
mov dword [rbp - 0x69], r12d
mov dword [rbp - 0x65], 7
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009932
cmp dword [rbp - 0x65], 7
jne 0x140009932
mov ecx, dword [rbp - 0x69]
call fcn.140037c60
mov r8d, dword [rbp - 0x69]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.140038590
mov rcx, qword [rbp - 0x61]
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
lea rdx, str.PendingFileRenameOperations
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009922
mov edi, dword [rbp - 0x69]
shr rdi, 1
lea rax, [rdi - 2]
cmp rax, 0xffffd
ja 0x140009922
cmp word [r14 + rdi*2 - 4], r12w
jne 0x140009922
cmp word [r14 + rdi*2 - 2], r12w
jne 0x140009922
lea r8, [rbx + 0x20]
lea rdx, str.___
lea rcx, [rbp - 0x59]
call fcn.140009c94
mov rbx, qword [rbp - 0x59]
mov esi, r12d
test rdi, rdi
je 0x1400098fc
lea r15, [r14 + rsi*2]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400098ff
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
inc rcx
add rsi, rcx
cmp rsi, rdi
jb 0x1400098d1
or esi, 0xffffffff
cmp esi, 0xffffffff
lea rdx, [rbx - 0x18]
setne dil
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009925
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140009925
mov dil, r12b
mov rcx, r14
call fcn.140020374
mov al, dil
jmp 0x140009934
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140009c18
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140009c2e
xor al, al
jmp 0x140009c65
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140009c63
mov r8, qword [rbx + 0x10]
lea rcx, str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
mov rdx, qword [rbx + 0x30]
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [rbx + 0xd], 0
jmp 0x140009c2a
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14000a41c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor ebx, ebx
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x118
mov dword [rsp + 0x40], 0x11c
call fcn.140038590
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a68d
mov edi, dword [rsp + 0x44]
lea eax, [rdi - 6]
test eax, 0xfffffffb
je 0x14000a52e
cmp edi, 5
jne 0x14000a68d
cmp dword [rsp + 0x48], 2
jne 0x14000a50a
cmp byte [rbp + 0x5a], 1
jne 0x14000a4c5
lea rcx, [rsp + 0x30]
call fcn.14000a2bc
lea rdx, [0x140046b68]
lea ebx, [rdi - 4]
mov rcx, qword [rax]
call fcn.1400338f0
test eax, eax
jne 0x14000a4c5
mov dil, bl
jmp 0x14000a4c8
xor dil, dil
test bl, 1
je 0x14000a4ec
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a4ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
jne 0x14000a524
mov eax, 0x8000
test word [rbp + 0x58], ax
jne 0x14000a68d
mov eax, 2
jmp 0x14000a68f
cmp dword [rsp + 0x48], 1
jne 0x14000a68d
mov eax, 0x200
test word [rbp + 0x58], ax
jne 0x14000a68d
mov eax, 1
jmp 0x14000a68f
and dword [rsp + 0x30], ebx
lea rcx, str.kernel32.dll
mov esi, dword [rsp + 0x48]
call fcn.1400052a0
mov rbx, rax
test rax, rax
je 0x14000a68d
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000a684
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov ecx, edi
mov edx, esi
call rax
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x14000a68d
mov eax, dword [rsp + 0x30]
cmp eax, 0x30
ja 0x14000a649
je 0x14000a524
cmp eax, 0xb
ja 0x14000a600
je 0x14000a68d
sub eax, 1
je 0x14000a524
sub eax, 1
je 0x14000a68d
sub eax, 1
je 0x14000a68d
sub eax, 1
je 0x14000a676
sub eax, 2
je 0x14000a676
sub eax, 1
je 0x14000a500
sub eax, 1
je 0x14000a500
sub eax, 1
je 0x14000a500
cmp eax, 1
je 0x14000a500
jmp 0x14000a68d
sub eax, 0xc
je 0x14000a500
sub eax, 1
je 0x14000a500
sub eax, 1
je 0x14000a500
sub eax, 1
je 0x14000a500
sub eax, 1
je 0x14000a676
sub eax, 1
je 0x14000a500
sub eax, 1
je 0x14000a500
sub eax, 7
je 0x14000a500
cmp eax, 2
jmp 0x14000a674
sub eax, 0x46
je 0x14000a676
sub eax, 2
je 0x14000a676
sub eax, 0xc
je 0x14000a676
sub eax, 0x25
je 0x14000a67d
sub eax, 1
je 0x14000a67d
sub eax, 3
je 0x14000a676
sub eax, 1
je 0x14000a676
sub eax, 3
je 0x14000a676
cmp eax, 1
jne 0x14000a68d
mov eax, 3
jmp 0x14000a68f
mov eax, 4
jmp 0x14000a68f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000b1c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rdx
mov r14, r9
mov rdx, rcx
mov esi, r8d
lea rcx, [rbp - 0x38]
mov edi, 0x80070003
call fcn.140005590
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.14000bfac
mov rbx, qword [rbp - 0x38]
movups xmm0, xmmword [rax]
movq rdx, xmm0
test rdx, rdx
je 0x14000b3a1
and qword [rbp - 0x18], 0
lea rax, [0x140045c28]
and dword [rsp + 0x20], 0
lea rcx, [rbp - 0x20]
psrldq xmm0, 8
mov r8, rbx
movd r9d, xmm0
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x10], 0x200
or r9d, 0x20019
call fcn.14000b0a0
mov edi, eax
test eax, eax
jne 0x14000b387
sub esi, 1
je 0x14000b343
sub esi, 2
je 0x14000b321
sub esi, 1
je 0x14000b310
sub esi, 3
je 0x14000b2cd
cmp esi, 4
je 0x14000b28d
mov edi, 0x8007065d
jmp 0x14000b354
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x40]
and dword [rbp - 0x38], 0
lea r9, [rbp - 0x38]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x40], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000b354
and qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
and dword [rbp - 0x38], 0
lea r9, [rbp - 0x30]
and qword [rbp - 0x30], 0
lea r8, [rbp - 0x38]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.14000b3d8
mov edi, eax
test eax, eax
js 0x14000b354
mov rdx, qword [rbp - 0x40]
mov r8, r14
mov rcx, qword [rbp - 0x30]
call fcn.14000b6e0
jmp 0x14000b352
mov r8, r14
lea rcx, [rbp - 0x20]
mov rdx, r15
call fcn.14000b4a0
jmp 0x14000b352
mov rax, qword [rbp + 0x40]
lea r8, [rbp - 0x38]
and dword [rbp - 0x38], 0
lea rcx, [rbp - 0x20]
mov r9, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.14000b3d8
jmp 0x14000b352
mov r8, r14
lea rcx, [rbp - 0x20]
mov rdx, r15
call fcn.14000b4e8
mov edi, eax
mov rcx, qword [rbp - 0x18]
xor edx, edx
test rcx, rcx
je 0x14000b380
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, ax
or edx, 0x80070000
mov dword [rbp - 0x10], 0x200
test eax, eax
cmovle edx, eax
xor ecx, ecx
mov qword [rbp - 0x18], rcx
test edi, edi
cmove edi, edx
jmp 0x14000b38b
mov rcx, qword [rbp - 0x18]
lea rax, [0x140045c28]
mov qword [rbp - 0x20], rax
test rcx, rcx
je 0x14000b3a1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b3bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x70]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret