joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006530
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400014b8
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x1400065f6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov esi, 0x103
mov qword [rbx], rax
lea edi, [rsi + 1]
test edi, edi
js 0x140006601
mov rdx, qword [rbx]
mov ecx, 1
mov eax, dword [rdx - 0xc]
sub ecx, dword [rdx - 8]
sub eax, edi
or ecx, eax
jge 0x140006598
mov edx, edi
mov rcx, rbx
call fcn.140001b34
mov rdx, qword [rbx]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
mov esi, eax
sbb eax, eax
and eax, esi
cmp eax, 0xffffffff
jne 0x1400065c2
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400065b9
mov eax, ebp
jmp 0x1400065c6
movsxd rdx, dword [rcx - 0xc]
call fcn.1400313e8
test eax, eax
js 0x140006601
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140006601
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
cmp esi, edi
jae 0x14000656c
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001834
int3
mov ecx, 0x80070057
call fcn.140001834
int3

Function at 0x140006acc
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.1400069c4
test al, al
jne 0x140006af1
mov eax, 0x80070002
jmp 0x140006b22
mov rcx, rdi
mov ebx, 4
call fcn.140006a10
test al, al
lea ecx, [rbx + 1]
mov rdx, rsi
cmove ebx, ecx
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140006b20
call fcn.14000ca08
jmp 0x140006b22
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006dcc
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rcx
test edx, edx
jle 0x140006ef3
mov r10, r8
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jmp 0x140006e4f
sub r9d, 4
js 0x140006ef3
movzx eax, byte [r11]
shr rax, 2
mov al, byte [rax + rbx]
mov byte [r10], al
movzx eax, byte [r11 + 1]
movzx ecx, byte [r11]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
mov al, byte [rcx + rbx]
mov byte [r10 + 1], al
movzx eax, byte [r11 + 2]
movzx ecx, byte [r11 + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
mov al, byte [rax + rbx]
mov byte [r10 + 2], al
movzx eax, byte [r11 + 2]
add r11, 3
and eax, 0x3f
mov al, byte [rax + rbx]
mov byte [r10 + 3], al
add r10, 4
sub edx, 3
cmp edx, 2
jg 0x140006de8
sub edx, 1
je 0x140006eb3
cmp edx, 1
jne 0x140006eeb
sub r9d, 3
js 0x140006ef3
movzx eax, byte [r11]
shr rax, 2
mov al, byte [rax + rbx]
mov byte [r10], al
movzx ecx, byte [r11]
movzx eax, byte [r11 + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov al, byte [rcx + rbx]
mov byte [r10 + 1], al
movzx eax, byte [r11 + 1]
and eax, 0xf
mov al, byte [rbx + rax*4]
mov byte [r10 + 2], al
lea eax, [r9 - 1]
test eax, eax
js 0x140006ef3
mov byte [r10 + 3], 0x3d
jmp 0x140006ee7
sub r9d, 2
js 0x140006ef3
movzx eax, byte [r11]
shr rax, 2
mov al, byte [rax + rbx]
mov byte [r10], al
movzx eax, byte [r11]
and eax, 3
add rax, rax
mov cl, byte [rbx + rax*8]
mov byte [r10 + 1], cl
lea ecx, [r9 - 2]
test ecx, ecx
js 0x140006ef3
mov word [r10 + 2], 0x3d3d
add r10, 4
sub r10d, r8d
mov eax, r10d
jmp 0x140006ef5
xor eax, eax
mov rbx, qword [rsp + 8]
ret

Function at 0x1400076a8
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x100
lea rcx, [rbp - 0x59]
mov esi, r9d
mov r15, r8
mov r14, rdx
call fcn.14000420c
xor edx, edx
mov dword [rbp - 0x31], 0x68
lea rcx, [rbp - 0x29]
lea r8d, [rdx + 0x60]
call fcn.1400218f0
mov rdi, qword [rbp + 0x7f]
lea rax, [rbp - 0x31]
xor ebx, ebx
mov qword [rsp + 0x48], rdi
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov dword [rbp + 0xb], 0x80
mov rdx, r14
test r15, r15
jne 0x14000772a
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
jmp 0x140007737
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000774e
call fcn.14000ca08
mov ebx, eax
jmp 0x140007796
mov al, byte [0x140057d71]
lea rdx, [0x140057c30]
neg al
sbb rcx, rcx
and rcx, rdx
je 0x140007796
mov r8d, 1
mov qword [rbp - 0x71], rcx
mov dword [rbp - 0x65], r8d
mov dword [rbp - 0x69], 7
call fcn.140008450
mov r8d, dword [rdi + 0x10]
lea rdx, str._Started_process___u_
lea rcx, [rbp - 0x71]
mov dword [rbp - 0x61], eax
call fcn.140004194
lea rcx, [rbp - 0x59]
call fcn.1400042b8
lea r11, [rsp + 0x100]
mov eax, ebx
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
Function at 0x140007ff0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x138], 0
mov rbp, rcx
jne 0x140008040
mov ecx, 0x40
call fcn.140038cd0
mov rcx, rax
call fcn.14000cd18
mov qword [rbp + 0x138], rax
test rax, rax
jne 0x140008040
mov rdx, qword [rbp + 0x58]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_ETW_log_writer
call fcn.14000cb10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x140008066
movsxd rax, dword [rbp + 0xa8]
cmp eax, 0xf
jge 0x140008066
mov qword [rbp + rax*8 + 0xb0], rcx
inc dword [rbp + 0xa8]
cmp byte [rbp + 0x93], 0
je 0x1400081b9
cmp qword [rbp + 0x128], 0
jne 0x140008193
lea rdx, [rsp + 0x40]
call fcn.140007db0
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
jne 0x1400080bc
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400081b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400081b9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14000c690
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400069c4
test al, al
jne 0x140008110
mov rcx, rdi
call fcn.140004bd0
test eax, eax
jns 0x140008110
or ebx, 0xffffffff
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008105
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
jmp 0x14000809d
mov sil, byte [rbp + 0x95]
mov ecx, 0x38
call fcn.140038cd0
mov r8b, sil
mov rdx, rbx
mov rcx, rax
call fcn.140008ba8
mov qword [rbp + 0x128], rax
test rax, rax
jne 0x140008157
mov rdx, qword [rbp + 0x58]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
mov r8, rbx
call fcn.14000cb10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or ebx, 0xffffffff
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008174
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 0x140008193
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x1400081b9
movsxd rax, dword [rbp + 0xa8]
cmp eax, 0xf
jge 0x1400081b9
mov qword [rbp + rax*8 + 0xb0], rcx
inc dword [rbp + 0xa8]
cmp byte [rbp + 0x94], 0
je 0x14000820b
mov rcx, qword [rbp + 0x130]
test rcx, rcx
jne 0x1400081f1
mov ecx, 8
call fcn.140038cd0
mov rcx, rax
lea rax, fcn.140002454
mov qword [rcx], rax
mov qword [rbp + 0x130], rcx
test rcx, rcx
je 0x14000820b
movsxd rax, dword [rbp + 0xa8]
cmp eax, 0xf
jge 0x14000820b
mov qword [rbp + rax*8 + 0xb0], rcx
inc dword [rbp + 0xa8]
cmp dword [rbp + 0xa8], 0
mov rbx, qword [rsp + 0x50]
setg al
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008224
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp byte [rcx + 0x96], 1
jne 0x14000826a
lea rcx, [rsp + 0x48]
call fcn.1400077c8
mov rdx, qword [rax]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
call fcn.14000cb10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x48]
call fcn.1400018d8
xor al, al
jmp 0x1400082bb
cmp byte [rcx + 0x50], 1
jne 0x140008274
mov al, 1
jmp 0x1400082bb
cmp byte [rcx + 0x51], 0
je 0x14000827e
xor al, al
jmp 0x1400082bb
mov byte [rcx + 0x51], 1
call fcn.140007b60
cmp byte [rbx + 0x90], 0
je 0x14000829b
mov rcx, rbx
call fcn.140007ff0
mov byte [rbx + 0x50], al
mov byte [rbx + 0x51], 0
mov al, 1
jmp 0x1400082bb
add rsp, 0x30
pop rbx
ret

Function at 0x1400082c4
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 0x140008320
lea rcx, [rsp + 0x30]
call fcn.1400077c8
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
mov rdx, qword [rax]
call fcn.14000cb10
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 0x14000831c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140008347
cmp byte [rcx + 0x50], al
je 0x140008347
lea rdi, [rcx + 0x60]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, rbx
call fcn.140008224
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 0x1400087bc
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 rdi, qword [rsp + 0x90]
mov esi, r9d
mov r12d, r8d
mov ebp, edx
mov r15, rcx
test rdi, rdi
je 0x140008920
test edx, edx
jne 0x140008803
cmp r9d, 2
jg 0x140008920
call fcn.1400014b8
test rax, rax
je 0x14000893f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.1400014b8
test rax, rax
je 0x14000893f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov ebx, 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 0x140008872
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x14
jle 0x14000884f
jmp 0x1400088b9
mov rax, qword [rsp + 0x98]
mov r9d, esi
mov qword [rsp + 0x38], rax
mov r8d, r12d
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov edx, ebp
lea rax, [rsp + 0x40]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140008534
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
cmp ebx, 0x14
jle 0x1400088dc
lea rcx, str.LOG_SYSTEM:_Couldnt_acquire_lock__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14004c9a8]
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 0x140008901
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 0x140008920
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.140001834
int3
Function at 0x140009438
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.14000670c
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 0x1400094bc
call fcn.14000ca08
test eax, eax
jns 0x1400094bc
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.1400094f0
test al, al
jne 0x1400094b7
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.140006acc
xor dil, dil
jmp 0x1400094bf
mov dil, 1
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400094da
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 0x1400094f0
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 [0x140055010]
xor rax, rsp
mov qword [rbp + 0x27], rax
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetControlSession_Manager]
lea rdx, [rbp - 0x49]
movaps xmm1, xmmword [0x14004cce0]
mov rbx, rcx
movzx eax, word [0x14004cd30]
xor r12d, r12d
movaps xmmword [rbp - 0x49], xmm0
mov r9d, 0x20019
movaps xmm0, xmmword [0x14004ccf0]
xor r8d, r8d
movaps xmmword [rbp - 0x39], xmm1
mov rcx, 0xffffffff80000002
movaps xmm1, xmmword [0x14004cd00]
movaps xmmword [rbp - 0x29], xmm0
movaps xmm0, xmmword [0x14004cd10]
movaps xmmword [rbp - 0x19], xmm1
movaps xmm1, xmmword [0x14004cd20]
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 0x1400096ce
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 0x1400096ce
cmp dword [rbp - 0x65], 7
jne 0x1400096ce
mov ecx, dword [rbp - 0x69]
call fcn.140038d20
mov r8d, dword [rbp - 0x69]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.1400218f0
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 0x1400096be
mov edi, dword [rbp - 0x69]
shr rdi, 1
lea rax, [rdi - 2]
cmp rax, 0xffffd
ja 0x1400096be
cmp word [r14 + rdi*2 - 4], r12w
jne 0x1400096be
cmp word [r14 + rdi*2 - 2], r12w
jne 0x1400096be
lea r8, [rbx + 0x20]
lea rdx, str.___
lea rcx, [rbp - 0x59]
call fcn.140009a74
mov rbx, qword [rbp - 0x59]
mov esi, r12d
test rdi, rdi
je 0x140009698
lea r15, [r14 + rsi*2]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14000969b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
inc rcx
add rsi, rcx
cmp rsi, rdi
jb 0x14000966d
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 0x1400096c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400096c1
mov dil, r12b
mov rcx, r14
call fcn.140020f38
mov al, dil
jmp 0x1400096d0
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140020a60
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 0x1400099f8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140009a0e
xor al, al
jmp 0x140009a45
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140009a43
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.14000cb10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [rbx + 0xd], 0
jmp 0x140009a0a
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14000a12c
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 [0x140055010]
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.1400218f0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a397
mov edi, dword [rsp + 0x44]
lea eax, [rdi - 6]
test eax, 0xfffffffb
je 0x14000a23e
cmp edi, 5
jne 0x14000a397
cmp dword [rsp + 0x48], 2
jne 0x14000a21a
cmp byte [rbp + 0x5a], 1
jne 0x14000a1d5
lea rcx, [rsp + 0x30]
call fcn.140009fd4
lea rdx, [0x14004cde8]
lea ebx, [rdi - 4]
mov rcx, qword [rax]
call fcn.1400348c8
test eax, eax
jne 0x14000a1d5
mov dil, bl
jmp 0x14000a1d8
xor dil, dil
test bl, 1
je 0x14000a1fc
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a1fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
jne 0x14000a234
mov eax, 0x8000
test word [rbp + 0x58], ax
jne 0x14000a397
mov eax, 2
jmp 0x14000a399
cmp dword [rsp + 0x48], 1
jne 0x14000a397
mov eax, 0x200
test word [rbp + 0x58], ax
jne 0x14000a397
mov eax, 1
jmp 0x14000a399
and dword [rsp + 0x30], ebx
lea rcx, str.kernel32.dll
mov esi, dword [rsp + 0x48]
call fcn.140005648
mov rbx, rax
test rax, rax
je 0x14000a397
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000a38e
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 0x14000a397
mov eax, dword [rsp + 0x30]
cmp eax, 0x30
ja 0x14000a353
je 0x14000a234
cmp eax, 0xb
ja 0x14000a30a
je 0x14000a397
sub eax, 1
je 0x14000a234
sub eax, 1
je 0x14000a397
sub eax, 1
je 0x14000a397
sub eax, 1
je 0x14000a380
sub eax, 2
je 0x14000a380
sub eax, 1
je 0x14000a210
sub eax, 1
je 0x14000a210
sub eax, 1
je 0x14000a210
cmp eax, 1
jmp 0x14000a20a
sub eax, 0xc
je 0x14000a210
sub eax, 1
je 0x14000a210
sub eax, 1
je 0x14000a210
sub eax, 1
je 0x14000a210
sub eax, 1
je 0x14000a380
sub eax, 1
je 0x14000a210
sub eax, 1
je 0x14000a210
sub eax, 7
je 0x14000a210
cmp eax, 2
jmp 0x14000a37e
sub eax, 0x46
je 0x14000a380
sub eax, 2
je 0x14000a380
sub eax, 0xc
je 0x14000a380
sub eax, 0x25
je 0x14000a387
sub eax, 1
je 0x14000a387
sub eax, 3
je 0x14000a380
sub eax, 1
je 0x14000a380
sub eax, 3
je 0x14000a380
cmp eax, 1
jne 0x14000a397
mov eax, 3
jmp 0x14000a399
mov eax, 4
jmp 0x14000a399
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140020a60
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 0x14000af20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, rdx
mov r14, r9
mov rdx, rcx
mov esi, r8d
lea rcx, [rbp - 0x28]
mov edi, 0x80070003
call fcn.140005938
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x10]
call fcn.14000bbd8
mov rbx, qword [rbp - 0x28]
movups xmm0, xmmword [rax]
movq rdx, xmm0
movups xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x14000b0f6
mov r9d, dword [rbp - 0x18]
lea r13, [0x14004bee8]
and qword [rbp - 0x38], 0
lea rcx, [rbp - 0x40]
or r9d, 0x20019
mov qword [rbp - 0x40], r13
mov r8, rbx
mov dword [rbp - 0x30], 0x200
call fcn.14000ae04
mov edi, eax
test eax, eax
jne 0x14000b0e3
sub esi, 1
je 0x14000b09f
sub esi, 2
je 0x14000b07d
sub esi, 1
je 0x14000b06c
sub esi, 3
je 0x14000b029
cmp esi, 4
je 0x14000afe9
mov edi, 0x8007065d
jmp 0x14000b0b0
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x48]
and dword [rbp - 0x50], 0
lea r9, [rbp - 0x50]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x48], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000b0b0
and qword [rbp - 0x48], 0
lea rax, [rbp - 0x48]
and dword [rbp - 0x50], 0
lea r9, [rbp - 0x20]
and qword [rbp - 0x20], 0
lea r8, [rbp - 0x50]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.14000b134
mov edi, eax
test eax, eax
js 0x14000b0b0
mov rdx, qword [rbp - 0x48]
mov r8, r14
mov rcx, qword [rbp - 0x20]
call fcn.14000b448
jmp 0x14000b0ae
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, r15
call fcn.14000b1fc
jmp 0x14000b0ae
mov rax, qword [rbp + 0x40]
lea r8, [rbp - 0x50]
and dword [rbp - 0x50], 0
lea rcx, [rbp - 0x40]
mov r9, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.14000b134
jmp 0x14000b0ae
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, r15
call fcn.14000b244
mov edi, eax
mov rcx, qword [rbp - 0x38]
xor edx, edx
test rcx, rcx
je 0x14000b0dc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, ax
or edx, 0x80070000
mov dword [rbp - 0x30], 0x200
test eax, eax
cmovle edx, eax
xor ecx, ecx
mov qword [rbp - 0x38], rcx
test edi, edi
cmove edi, edx
jmp 0x14000b0e7
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x40], r13
test rcx, rcx
je 0x14000b0f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b110
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret