joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004eb8
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rbp + 0x40], rax
and qword [rsp + 0x38], 0
lea rax, [0x1400498d8]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x28], xmm0
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 8
lea rcx, [rsp + 0x20]
mov r8, rax
call fcn.140004040
test al, al
jne 0x140004f23
int3
lea rcx, [rsp + 0x40]
call fcn.140001ecc
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140003ee4
test al, al
jne 0x140004f49
int3
mov r9d, 0x12
lea rdx, [0x1400496d0]
lea rcx, [rbp - 0x40]
lea r8d, [r9 - 0x11]
call fcn.140001fa0
cmp byte [rbp - 0x74], 0
je 0x140004fa2
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x140004fa2
cmp byte [rbp + 0xc], 0
je 0x140004fa2
lea rcx, [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x140004fa2
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x140004fa4
xor al, al
lea rcx, [rbp - 0x40]
mov byte [rbx], al
call fcn.140002160
xor edi, edi
lea rcx, [rsp + 0x40]
call fcn.140002160
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
test rdx, rdx
je 0x140004fd8
test rbx, rbx
je 0x140004fe6
mov rcx, rbx
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
test rbx, rbx
je 0x140004fe6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
mov edx, 8
call fcn.1400200bc
mov eax, edi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14001fe10
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140005018
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
call fcn.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x1400050f0
mov rax, qword [rax]
call qword [rax + 0x18]
xor r8d, r8d
xor edx, edx
add rax, 0x18
mov rcx, rsi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x1400050c8
test eax, eax
js 0x1400050e5
mov rax, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [rax - 0xc]
sub edx, dword [rax - 8]
sub ecx, edi
or edx, ecx
jge 0x140005089
mov edx, edi
mov rcx, rbx
call fcn.140001a54
mov rax, qword [rbx]
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400050a4
mov eax, ebp
jmp 0x1400050b1
movsxd rdx, dword [rcx - 0xc]
int3
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400050e5
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1400050cd
int3
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, 0x80070057
call fcn.1400017a4
int3
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x1400060c4
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.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x140006190
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 0x14000619b
mov r8, qword [rbx]
mov ecx, 1
mov eax, dword [r8 - 0xc]
sub ecx, dword [r8 - 8]
sub eax, edi
or ecx, eax
jge 0x14000612e
mov edx, edi
mov rcx, rbx
call fcn.140001a54
mov r8, qword [rbx]
mov edx, edi
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
mov esi, eax
sbb eax, eax
and eax, esi
cmp eax, 0xffffffff
jne 0x14000615b
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140006152
mov eax, ebp
jmp 0x14000615f
movsxd rdx, dword [rcx - 0xc]
int3
test eax, eax
js 0x14000619b
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000619b
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
cmp esi, edi
jae 0x140006100
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.1400017a4
int3
mov ecx, 0x80070057
call fcn.1400017a4
int3

Function at 0x1400061a8
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.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x14000626f
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 0x14000627a
mov rdx, qword [rbx]
mov ecx, 1
mov eax, dword [rdx - 0xc]
sub ecx, dword [rdx - 8]
sub eax, edi
or ecx, eax
jge 0x140006210
mov edx, edi
mov rcx, rbx
call fcn.140001a54
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 0x14000623a
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140006231
mov eax, ebp
jmp 0x14000623e
movsxd rdx, dword [rcx - 0xc]
int3
test eax, eax
js 0x14000627a
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000627a
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
cmp esi, edi
jae 0x1400061e4
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.1400017a4
int3
mov ecx, 0x80070057
call fcn.1400017a4
int3

Function at 0x140006648
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.1400065a4
test al, al
jne 0x14000666d
mov eax, 0x80070002
jmp 0x14000669e
mov rcx, rdi
mov ebx, 4
call fcn.1400065f0
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 0x14000669c
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006938
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rcx
test edx, edx
jle 0x140006a5f
mov r10, r8
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jmp 0x1400069bb
sub r9d, 4
js 0x140006a5f
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 0x140006954
sub edx, 1
je 0x140006a1f
cmp edx, 1
jne 0x140006a57
sub r9d, 3
js 0x140006a5f
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 0x140006a5f
mov byte [r10 + 3], 0x3d
jmp 0x140006a53
sub r9d, 2
js 0x140006a5f
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 0x140006a5f
mov word [r10 + 2], 0x3d3d
add r10, 4
sub r10d, r8d
mov eax, r10d
jmp 0x140006a61
xor eax, eax
mov rbx, qword [rsp + 8]
ret

Function at 0x1400072e0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rbp, rdx
mov dword [rax - 0x78], 0x68
xor edx, edx
lea rcx, [rax - 0x70]
mov rsi, r8
mov edi, r9d
lea r8d, [rdx + 0x60]
call fcn.140020a20
mov rbx, qword [rsp + 0x110]
lea rax, [rsp + 0x70]
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 [rsp + 0xac], 0x80
mov rdx, rbp
test rsi, rsi
jne 0x140007358
and qword [rsp + 0x30], rsi
and dword [rsp + 0x28], esi
jmp 0x140007365
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000737a
int3
mov al, byte [0x140054b09]
lea rdx, [0x140054b10]
neg al
sbb rcx, rcx
and rcx, rdx
je 0x1400073c6
mov edx, 7
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
lea r8d, [rdx - 6]
mov dword [rsp + 0x5c], r8d
call fcn.140008144
mov r8d, dword [rbx + 0x10]
lea rdx, str._Started_process___u_
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x60], eax
call fcn.140004120
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007a5c
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.14000144c
xor esi, esi
mov rcx, rax
test rax, rax
je 0x140007b5b
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 0x140007ab8
lea rcx, [rsp + 0x40]
call fcn.140001a54
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 0x140007ad8
mov rcx, rdi
jmp 0x140007aef
lea rdx, str.GoogleUpdateLog
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
test eax, eax
jne 0x140007b4f
lea rdx, [0x140046cf8]
call fcn.1400055c0
test rbx, rbx
jne 0x140007b04
mov eax, esi
jmp 0x140007b14
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
int3
cmp eax, dword [rbx - 0xc]
jg 0x140007b66
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 0x140007b3c
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.14000564c
jmp 0x140007afb
mov ecx, 0x80004005
call fcn.1400017a4
int3
mov ecx, 0x80070057
call fcn.1400017a4
int3

Function at 0x140007f18
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp byte [rcx + 0xa2], 1
jne 0x140007f5e
lea rcx, [rsp + 0x48]
call fcn.1400073ec
mov rdx, qword [rax]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
call fcn.14000bbc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x48]
call fcn.1400018b0
xor al, al
jmp 0x140007faf
cmp byte [rcx + 0x50], 1
jne 0x140007f68
mov al, 1
jmp 0x140007faf
cmp byte [rcx + 0x51], 0
je 0x140007f72
xor al, al
jmp 0x140007faf
mov byte [rcx + 0x51], 1
call fcn.1400077bc
cmp byte [rbx + 0x90], 0
je 0x140007f8f
mov rcx, rbx
call fcn.140007ce0
mov byte [rbx + 0x50], al
mov byte [rbx + 0x51], 0
mov al, 1
jmp 0x140007faf
add rsp, 0x30
pop rbx
ret
Function at 0x140007fb8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov al, 1
mov rbx, rcx
cmp byte [rcx + 0xa2], al
jne 0x140008014
lea rcx, [rsp + 0x30]
call fcn.1400073ec
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
mov rdx, qword [rax]
call fcn.14000bbc8
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 0x140008010
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x14000803b
cmp byte [rcx + 0x50], al
je 0x14000803b
lea rdi, [rcx + 0x60]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, rbx
call fcn.140007f18
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 0x1400084c0
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 0x140008624
test edx, edx
jne 0x140008507
cmp r9d, 2
jg 0x140008624
call fcn.14000144c
test rax, rax
je 0x140008642
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.14000144c
test rax, rax
je 0x140008642
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov edi, 1
lea r15, [r13 + 0x60]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xa0], rbx
xor edx, edx
mov rcx, r15
call fcn.140009cd0
test al, al
jne 0x140008575
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jle 0x140008553
jmp 0x1400085c0
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.140008238
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xa0]
cmp edi, 0x14
jle 0x1400085e8
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, [0x14004a228]
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 0x140008605
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 0x140008624
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.1400017a4
int3
Function at 0x1400088a0
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, [0x14004a548]
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.14000144c
test rax, rax
je 0x1400089ec
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.1400055c0
and qword [rdi + 0x28], 0
call fcn.14000144c
test rax, rax
je 0x1400089ec
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rcx, [0x140054b10]
mov qword [rdi + 0x30], rax
mov al, byte [0x140054b09]
neg al
sbb rsi, rsi
and rsi, rcx
je 0x1400089d6
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140008824
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
je 0x1400089a4
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 0x1400089ab
mov dword [rdi + 8], 0x989680
lea rdx, [rsi + 0x58]
mov byte [rdi + 0xf], bpl
lea rcx, [rdi + 0x30]
call fcn.1400017c8
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400089d6
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.1400017a4
int3

Function at 0x140008eb4
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.14000639c
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 0x140008f0d
int3
xor eax, eax
test eax, eax
jns 0x140008f3c
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.140008f70
test al, al
jne 0x140008f37
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.140006648
xor dil, dil
jmp 0x140008f3f
mov dil, 1
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140008f5a
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 0x14000a3fc
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 rbx, 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 edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14000a50e
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000a506
shr edx, 1
lea r8d, [r14 + 1]
add edx, r8d
js 0x14000a523
mov rcx, qword [rbx]
mov r9, rcx
mov eax, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub eax, edx
or r8d, eax
jge 0x14000a493
mov rcx, rbx
call fcn.140001a54
mov rcx, qword [rbx]
mov r9, rcx
test rcx, rcx
jne 0x14000a49f
mov edi, 0x8007000e
jmp 0x14000a4d4
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rbp + 8]
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov r9, qword [rbx]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test r9, r9
jne 0x14000a4de
mov eax, r14d
jmp 0x14000a4ee
movsxd rdx, dword [r9 - 0xc]
mov rcx, r9
int3
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000a523
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
jmp 0x14000a50e
mov rcx, rbx
call fcn.1400018d8
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.1400017a4
int3
Function at 0x14000ab2c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 0x10]
lea r12, [0x140049920]
and qword [rsp + 0x50], 0
mov rsi, rdx
mov r8, rdx
mov qword [rsp + 0x48], r12
mov rdx, qword [rcx + 8]
mov rdi, rcx
or r9d, 0xf003f
mov dword [rsp + 0x58], 0x200
lea rcx, [rsp + 0x48]
call fcn.140009f08
mov ebx, eax
mov r13d, 1
add eax, 0x7ff8fffe
cmp eax, r13d
cmovbe ebx, r13d
test ebx, ebx
jmp 0x14000abba
lea rdx, [rsp + 0x70]
call fcn.14000ab2c
mov ebx, eax
test eax, eax
jne 0x14000ac2d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x70]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x14000abac
call fcn.140009d4c
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea eax, [rbx + 0x7ff8fffe]
cmp eax, r13d
cmovbe ebx, r13d
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], r12
call fcn.140009d4c
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14001fe10
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000b01c
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x250], rax
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov rdi, r8
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000b092
lea rcx, [rsp + 0x50]
call fcn.140034204
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001948
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001fe10
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret
Function at 0x14000bab4
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, r9d
mov ecx, r9d
mov rsi, r8
mov rbp, rdx
call fcn.140033650
mov qword [rbx], rax
test rax, rax
je 0x14000bb4c
mov edx, dword [rsi]
mov r9, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, qword [rbx]
test eax, eax
je 0x14000bb3f
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000bb3c
cmp dword [rsp + 0x58], 0
je 0x14000bb3c
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax]
movzx eax, word [rax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [rbx + 8], ecx
jmp 0x14000bb4e
mov rcx, qword [rbx]
call fcn.1400200bc
and qword [rbx], 0
and dword [rbx + 8], 0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000bcc4
Capabilities:
Open clipboard
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x14000bd1c
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14001fe10
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140020a20
mov rbx, qword [0x140054b00]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000602c
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000bd94
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000bdb9
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14000ca08
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x14000bde8
cmp eax, 1
jne 0x14000bdde
int3
mov eax, 1
jmp 0x14000bcf7
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]