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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rdx
call fcn.1400014bc
xor esi, esi
mov rcx, rax
test rax, rax
je 0x1400079ff
mov rax, qword [rax]
call qword [rax + 0x18]
lea ecx, [rsi + 1]
mov edx, 0x104
lea rbx, [rax + 0x18]
mov eax, dword [rbx - 0xc]
sub ecx, dword [rbx - 8]
sub eax, edx
or ecx, eax
mov qword [rsp + 0x40], rbx
jge 0x14000795c
lea rcx, [rsp + 0x40]
call fcn.140001ac4
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14000797c
mov rcx, rdi
jmp 0x140007993
lea rdx, str.GoogleUpdateLog
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
test eax, eax
jne 0x1400079f3
lea rdx, [0x140045cf8]
call fcn.1400052f4
test rbx, rbx
jne 0x1400079a8
mov eax, esi
jmp 0x1400079b8
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14002ba48
test eax, eax
js 0x140007a0a
cmp eax, dword [rbx - 0xc]
jg 0x140007a0a
mov dword [rbx - 0x10], eax
lea rdx, [rbx - 0x18]
cdqe
mov word [rbx + rax*2], si
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400079e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rdx, [rsp + 0x40]
call fcn.140005380
jmp 0x14000799f
mov ecx, 0x80004005
call fcn.140001814
int3
mov ecx, 0x80070057
call fcn.140001814
int3
Function at 0x140007b84
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x150], 0
mov rbp, rcx
jne 0x140007bd4
mov ecx, 0x40
call fcn.140032ba4
mov rcx, rax
call fcn.14000bb24
mov qword [rbp + 0x150], rax
test rax, rax
jne 0x140007bd4
mov rdx, qword [rbp + 0x60]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_ETW_log_writer
call fcn.14000b8f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x140007bfa
movsxd rax, dword [rbp + 0xc0]
cmp eax, 0xf
jge 0x140007bfa
mov qword [rbp + rax*8 + 0xc8], rcx
inc dword [rbp + 0xc0]
cmp byte [rbp + 0x9b], 0
je 0x140007d50
cmp qword [rbp + 0x140], 0
jne 0x140007d2a
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140007a18
mov rdi, qword [rsp + 0x40]
cmp dword [rdi - 0x10], 0
jne 0x140007c53
lea rdx, [rdi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007d50
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140007d50
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14000b474
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140006658
test al, al
jne 0x140007ca7
mov rcx, rbx
call fcn.140004870
test eax, eax
jns 0x140007ca7
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007c9c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
jmp 0x140007c34
mov sil, byte [rbp + 0xa9]
mov ecx, 0x38
call fcn.140032ba4
mov r8b, sil
mov rdx, rdi
mov rcx, rax
call fcn.140008730
mov qword [rbp + 0x140], rax
test rax, rax
jne 0x140007cee
mov rdx, qword [rbp + 0x60]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
mov r8, rdi
call fcn.14000b8f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140007d0b
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 0x140007d2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x140007d50
movsxd rax, dword [rbp + 0xc0]
cmp eax, 0xf
jge 0x140007d50
mov qword [rbp + rax*8 + 0xc8], rcx
inc dword [rbp + 0xc0]
cmp byte [rbp + 0xa8], 0
je 0x140007da2
mov rcx, qword [rbp + 0x148]
test rcx, rcx
jne 0x140007d88
mov ecx, 8
call fcn.140032ba4
mov rcx, rax
lea rax, fcn.1400024b4
mov qword [rcx], rax
mov qword [rbp + 0x148], rcx
test rcx, rcx
je 0x140007da2
movsxd rax, dword [rbp + 0xc0]
cmp eax, 0xf
jge 0x140007da2
mov qword [rbp + rax*8 + 0xc8], rcx
inc dword [rbp + 0xc0]
cmp dword [rbp + 0xc0], 0
mov rbx, qword [rsp + 0x50]
setg al
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007dbc
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp byte [rcx + 0xaa], 1
jne 0x140007e02
lea rcx, [rsp + 0x48]
call fcn.1400072a0
mov rdx, qword [rax]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
call fcn.14000b8f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x48]
call fcn.140001920
xor al, al
jmp 0x140007e53
cmp byte [rcx + 0x58], 1
jne 0x140007e0c
mov al, 1
jmp 0x140007e53
cmp byte [rcx + 0x59], 0
je 0x140007e16
xor al, al
jmp 0x140007e53
mov byte [rcx + 0x59], 1
call fcn.140007660
cmp byte [rbx + 0x98], 0
je 0x140007e33
mov rcx, rbx
call fcn.140007b84
mov byte [rbx + 0x58], al
mov byte [rbx + 0x59], 0
mov al, 1
jmp 0x140007e53
add rsp, 0x30
pop rbx
ret

Function at 0x140007e5c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov al, 1
mov rbx, rcx
cmp byte [rcx + 0xaa], al
jne 0x140007eb8
lea rcx, [rsp + 0x30]
call fcn.1400072a0
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
mov rdx, qword [rax]
call fcn.14000b8f8
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 0x140007eb4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140007edf
cmp byte [rcx + 0x58], al
je 0x140007edf
lea rdi, [rcx + 0x68]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, rbx
call fcn.140007dbc
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 0x140008350
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, qword [rsp + 0xa0]
mov ebp, r9d
mov r12d, r8d
mov r14d, edx
mov r13, rcx
test rsi, rsi
je 0x1400084b4
test edx, edx
jne 0x140008397
cmp r9d, 2
jg 0x1400084b4
call fcn.1400014bc
test rax, rax
je 0x1400084d2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.1400014bc
test rax, rax
je 0x1400084d2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov edi, 1
lea r15, [r13 + 0x68]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xa0], rbx
xor edx, edx
mov rcx, r15
call fcn.140009828
test al, al
jne 0x140008405
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jle 0x1400083e3
jmp 0x140008450
mov rax, qword [rsp + 0xa8]
mov r9d, ebp
mov qword [rsp + 0x38], rax
mov r8d, r12d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov edx, r14d
lea rax, [rsp + 0x40]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400080cc
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xa0]
cmp edi, 0x14
jle 0x140008478
lea rcx, str.LOG_SYSTEM:_Couldnt_acquire_lock__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1400494f8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140008495
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 0x1400084b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001814
int3
Function at 0x140008730
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and word [rcx + 0xc], 0
lea rax, fcn.14000892c
mov ebp, 1
mov qword [rcx], rax
mov byte [rcx + 0xf], bpl
mov rbx, rdx
mov rdi, rcx
mov dword [rcx + 8], 0x989680
mov byte [rcx + 0xe], r8b
call fcn.1400014bc
test rax, rax
je 0x14000887c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rcx, [rdi + 0x20]
mov rdx, rbx
add rax, 0x18
mov qword [rdi + 0x10], rax
and qword [rdi + 0x18], 0
call fcn.1400052f4
and qword [rdi + 0x28], 0
call fcn.1400014bc
test rax, rax
je 0x14000887c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rcx, [0x140053b80]
mov qword [rdi + 0x30], rax
mov al, byte [0x140053b79]
neg al
sbb rsi, rsi
and rsi, rcx
je 0x140008866
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400086b4
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
je 0x140008834
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 0x14000883b
mov dword [rdi + 8], 0x989680
lea rdx, [rsi + 0x60]
mov byte [rdi + 0xf], bpl
lea rcx, [rdi + 0x30]
call fcn.140001838
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008866
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140001814
int3
Function at 0x140008964
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rcx
lea r8, [rcx + 0x20]
lea rcx, [rbp + 0x50]
lea rdx, str._Google_Update_logging_mutex_
call fcn.140006e4c
or r12d, 0xffffffff
mov r14, rax
xor edi, edi
mov r9, qword [rax]
mov rdx, r9
movzx r8d, word [r9]
jmp 0x1400089b1
cmp r8w, 0x5c
je 0x1400089d0
add rdx, 2
movzx r8d, word [rdx]
test r8w, r8w
jne 0x1400089a2
mov edx, r12d
cmp edx, r12d
jne 0x1400089d8
mov rdx, r14
lea rcx, [rbp + 0x48]
call fcn.140005380
jmp 0x140008a64
sub rdx, r9
sar rdx, 1
jmp 0x1400089ba
call fcn.1400014bc
mov rcx, rax
test rax, rax
je 0x140008b7b
mov rax, qword [rax]
call qword [rax + 0x18]
mov esi, edi
lea rbx, [rax + 0x18]
mov rax, qword [r14]
mov qword [rbp + 0x40], rbx
cmp dword [rax - 0x10], edi
jle 0x140008a3b
mov rbx, rdi
test rbx, rbx
js 0x140008b70
cmp esi, dword [rax - 0x10]
jg 0x140008b70
movzx edx, word [rbx + rax]
cmp dx, 0x5c
je 0x140008a2c
lea rcx, [rbp + 0x40]
call fcn.140005874
mov rax, qword [r14]
inc esi
add rbx, 2
cmp esi, dword [rax - 0x10]
jl 0x140008a04
mov rbx, qword [rbp + 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.140005380
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140008a64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp + 0x48]
lea rcx, [r15 + 0x10]
call fcn.140001838
mov rdx, qword [rbp + 0x48]
mov eax, r12d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140008a91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x50]
mov eax, r12d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140008ab1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rsi, [0x140048c48]
mov qword [rbp - 0x38], rdi
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x40], rsi
call fcn.140004208
mov rdx, qword [rbp - 0x38]
mov rax, rdi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rax
test rdx, rdx
je 0x140008aea
lea rcx, [rbp - 0x18]
call fcn.14000393c
mov rax, qword [rbp - 0x10]
mov rbx, qword [r15 + 0x10]
mov dword [rbp - 0x30], 0x18
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], edi
call fcn.1400095f0
mov rax, qword [0x140053890]
lea rcx, [rbp - 0x30]
test rax, rax
je 0x140008b21
mov r9d, 0x100001
xor r8d, r8d
mov rdx, rbx
call rax
jmp 0x140008b2c
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r15 + 0x18], rax
test rax, rax
je 0x140008b44
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete dil
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], rsi
call fcn.140003864
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x40], rsi
call fcn.140003864
mov al, dil
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070057
call fcn.140001814
int3
mov ecx, 0x80004005
call fcn.140001814
int3
Function at 0x140008d44
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.1400063d0
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 0x140008d9d
call fcn.14000b35c
jmp 0x140008d9f
xor eax, eax
test eax, eax
jns 0x140008dcc
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.140008e00
test al, al
jne 0x140008dc7
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.1400066fc
xor dil, dil
jmp 0x140008dcf
mov dil, 1
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140008dea
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 0x140008e00
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 [0x140051010]
xor rax, rsp
mov qword [rbp + 0x27], rax
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetControlSession_Manager]
lea rdx, [rbp - 0x49]
movaps xmm1, xmmword [0x1400497b0]
mov rdi, rcx
movzx eax, word [0x140049800]
xor r12d, r12d
movaps xmmword [rbp - 0x49], xmm0
mov r9d, 0x20019
movaps xmm0, xmmword [0x1400497c0]
xor r8d, r8d
movaps xmmword [rbp - 0x39], xmm1
mov rcx, 0xffffffff80000002
movaps xmm1, xmmword [0x1400497d0]
movaps xmmword [rbp - 0x29], xmm0
movaps xmm0, xmmword [0x1400497e0]
movaps xmmword [rbp - 0x19], xmm1
movaps xmm1, xmmword [0x1400497f0]
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 0x140008fe0
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 0x140008fe0
cmp dword [rbp - 0x65], 7
jne 0x140008fe0
mov ecx, dword [rbp - 0x69]
call fcn.140032c00
mov r8d, dword [rbp - 0x69]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.14001ffd0
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], rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008fd0
mov esi, dword [rbp - 0x69]
shr rsi, 1
lea rax, [rsi - 2]
cmp rax, 0xffffd
ja 0x140008fd0
cmp word [rbx + rsi*2 - 4], r12w
jne 0x140008fd0
cmp word [rbx + rsi*2 - 2], r12w
jne 0x140008fd0
lea r8, [rdi + 0x20]
lea rdx, str.___
lea rcx, [rbp - 0x59]
call fcn.140006e4c
mov rdi, qword [rbp - 0x59]
mov r14d, r12d
test rsi, rsi
je 0x140008fa8
lea r15, [rbx + r14*2]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140008fac
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
inc rcx
add r14, rcx
cmp r14, rsi
jb 0x140008f7d
or r14d, 0xffffffff
cmp r14d, 0xffffffff
lea rdx, [rdi - 0x18]
setne sil
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008fd3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140008fd3
mov sil, r12b
mov rcx, rbx
call fcn.14001f66c
mov al, sil
jmp 0x140008fe2
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001f3c0
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 0x14000930c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140009322
xor al, al
jmp 0x140009359
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140009357
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.14000b8f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [rbx + 0xd], 0
jmp 0x14000931e
mov al, 1
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 8]
mov esi, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x140009877
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x140009877
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, esi
jb 0x140009852
xor al, al
jmp 0x140009879
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009b7c
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
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov r15, rdx
mov r14, r9
mov rdx, rcx
mov esi, r8d
lea rcx, [rbp + 7]
mov edi, 0x80070003
call fcn.1400052f4
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.14000a7bc
mov rbx, qword [rbp + 7]
movups xmm0, xmmword [rax]
movq rdx, xmm0
movups xmmword [rbp + 0x17], xmm0
test rdx, rdx
je 0x140009d28
mov r9d, dword [rbp + 0x1f]
lea r13, [0x140048bd0]
and qword [rbp - 9], 0
lea rcx, [rbp - 0x11]
or r9d, 0x20019
mov qword [rbp - 0x11], r13
mov r8, rbx
mov dword [rbp - 1], 0x200
call fcn.140009a60
mov edi, eax
test eax, eax
jne 0x140009d1b
sub esi, 1
je 0x140009cfc
sub esi, 2
je 0x140009cda
sub esi, 1
je 0x140009cc9
sub esi, 3
je 0x140009c86
cmp esi, 4
je 0x140009c46
mov edi, 0x8007065d
jmp 0x140009d0d
mov rcx, qword [rbp - 9]
lea rax, [rbp - 0x21]
and dword [rbp - 0x1d], 0
lea r9, [rbp - 0x1d]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x21], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140009d0d
and qword [rbp + 0xf], 0
lea rax, [rbp + 0xf]
and dword [rbp - 0x19], 0
lea r9, [rbp + 0x17]
and qword [rbp + 0x17], 0
lea r8, [rbp - 0x19]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x11]
call fcn.140009d68
mov edi, eax
test eax, eax
js 0x140009d0d
mov rdx, qword [rbp + 0xf]
mov r8, r14
mov rcx, qword [rbp + 0x17]
call fcn.14000a088
jmp 0x140009d0b
mov r8, r14
lea rcx, [rbp - 0x11]
mov rdx, r15
call fcn.140009e30
jmp 0x140009d0b
mov rax, qword [rbp + 0x7f]
lea r8, [rbp - 0x15]
and dword [rbp - 0x15], 0
lea rcx, [rbp - 0x11]
mov r9, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.140009d68
jmp 0x140009d0b
mov r8, r14
lea rcx, [rbp - 0x11]
mov rdx, r15
call fcn.140009e78
mov edi, eax
lea rcx, [rbp - 0x11]
call fcn.1400098a4
test edi, edi
cmove edi, eax
lea rcx, [rbp - 0x11]
mov qword [rbp - 0x11], r13
call fcn.1400098a4
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009d42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x90]
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
Function at 0x140009d68
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [r9], 0
lea rax, [r11 + 8]
and dword [rsp + 0x40], 0
mov rbx, r9
mov r9, r8
mov qword [r11 - 0x10], rax
and qword [r11 - 0x18], 0
mov rdi, r8
mov rbp, rcx
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
test r8d, r8d
jne 0x140009e09
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140009e0d
mov ecx, eax
call fcn.140032c00
lea rcx, [rsp + 0x40]
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
mov r9, rdi
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov edx, eax
mov eax, r8d
mov qword [rcx], rdx
add rsp, 0x30
pop rdi
ret

Function at 0x140009e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
and dword [rsp + 0x58], 0
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x140009e78
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rdi, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140009f3c
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [r14 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140032c00
mov qword [rdi], rax
test rax, rax
je 0x140009f37
cmp dword [rsp + 0x50], r14d
je 0x140009f31
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140009f3c
mov word [rax], r14w
jmp 0x140009f3c
mov ebx, 0x8007000e
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret