joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400572e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x58
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, qword [rsp + 0xa0]
lea rax, [rsp + 0x30]
mov rdi, r9
mov qword [rsp + 0x20], rax
mov rsi, r8
xor ebp, ebp
mov r9d, 0x20019
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400573d3
lea rax, [rsp + 0x38]
mov qword [rdi], rbp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rdx, rsi
mov qword [rsp + 0x50], rbx
mov dword [r14], ebp
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x38], ebp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400573ad
mov eax, dword [rsp + 0x38]
mov ecx, eax
mov dword [r14], eax
call fcn.1402032f4
lea rcx, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x1400573cc
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400573cc
call fcn.140202ee8
mov qword [rdi], rbp
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140202880
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400573f0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rbp, r9
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x38], rax
mov rsi, r8
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x2001f
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov edi, 0x80004005
mov qword [rsp + 0x50], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140057486
mov eax, dword [rsp + 0xc0]
lea r9d, [rbx + 3]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140202880
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400574b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r9
mov r12, r8
mov edi, 0x80004005
xor r13d, r13d
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140057690
cmp qword [r14 + 8], r13
jbe 0x14005767a
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x1400576be
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov esi, r13d
mov rax, qword [r14 + 8]
lea r15d, [r13 + 1]
test rax, rax
je 0x1400575e7
cmp r13, rax
jae 0x1400576e7
mov rax, qword [r14]
mov rdx, qword [rax + rsi*8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14003c4a0
mov rbx, qword [rsp + 0x50]
movsxd rbp, dword [rbx - 0x10]
lea edi, [rbp + 1]
test edi, edi
js 0x1400576dc
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400575c2
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.14003b630
mov rbx, qword [rsp + 0x50]
mov eax, ebp
mov word [rbx + rax*2], r13w
cmp edi, dword [rbx - 0xc]
jg 0x1400576d1
mov dword [rbx - 0x10], edi
mov word [rbx + rbp*2 + 2], r13w
inc rsi
mov rax, qword [r14 + 8]
cmp rsi, rax
jb 0x140057579
movsxd rsi, dword [rbx - 0x10]
lea edi, [rsi + 1]
test edi, edi
js 0x1400576c6
sub r15d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r15d
jge 0x140057615
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.14003b630
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov word [rbx + rax*2], r13w
cmp edi, dword [rbx - 0xc]
jg 0x1400576b3
mov dword [rbx - 0x10], edi
mov word [rbx + rsi*2 + 2], r13w
mov eax, dword [rbx - 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 7
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140057685
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
jmp 0x140057685
mov rdx, r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov edi, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140202880
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80070057
call fcn.140039950
nop
mov ecx, edi
call fcn.140039950
nop
mov ecx, 0x80070057
call fcn.140039950
int3
mov ecx, 0x80070057
call fcn.140039950
int3
mov ecx, 0x80070057
call fcn.140039950
int3
mov ecx, 0x80070057
call fcn.140039950
int3
Function at 0x1400578b0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push r14
sub rsp, 0x278
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r14d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
cmp qword [rsp + 0x40], r14
je 0x140057a0b
mov rcx, qword [rbx]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x2a8], rsi
test rcx, rcx
je 0x14005792f
mov rdx, qword [rbx + 8]
call fcn.140059000
mov rcx, qword [rbx]
call fcn.1402384fc
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov esi, 1
mov qword [rbx + 0x10], r14
mov ebp, r14d
mov qword [rsp + 0x270], rdi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, ebp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400579b8
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jb 0x1400579a1
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140058ea0
test al, al
je 0x140057a0f
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
lea rcx, [rax + rdi*8]
call fcn.14003be10
inc qword [rbx + 8]
jmp 0x1400579c4
cmp eax, 0x103
mov esi, r14d
setne sil
inc ebp
test esi, esi
jne 0x140057950
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rsp + 0x270]
lea eax, [rsi + 1]
mov rsi, qword [rsp + 0x2a8]
mov rbp, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140202880
add rsp, 0x278
pop r14
pop rbx
ret
xor eax, eax
jmp 0x1400579f0
mov ecx, 0x8007000e
call fcn.140039950
int3
Function at 0x140057a20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push r14
sub rsp, 0x278
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r14d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
cmp qword [rsp + 0x40], r14
je 0x140057b7b
mov rcx, qword [rbx]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x2a8], rsi
test rcx, rcx
je 0x140057a9f
mov rdx, qword [rbx + 8]
call fcn.140059000
mov rcx, qword [rbx]
call fcn.1402384fc
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov esi, 1
mov qword [rbx + 0x10], r14
mov ebp, r14d
mov qword [rsp + 0x270], rdi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, ebp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x140057b28
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jb 0x140057b11
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140058ea0
test al, al
je 0x140057b7f
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
lea rcx, [rax + rdi*8]
call fcn.14003be10
inc qword [rbx + 8]
jmp 0x140057b34
cmp eax, 0x103
mov esi, r14d
setne sil
inc ebp
test esi, esi
jne 0x140057ac0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rsp + 0x270]
lea eax, [rsi + 1]
mov rsi, qword [rsp + 0x2a8]
mov rbp, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140202880
add rsp, 0x278
pop r14
pop rbx
ret
xor eax, eax
jmp 0x140057b60
mov ecx, 0x8007000e
call fcn.140039950
int3

Function at 0x1400581f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140058268
xor edx, edx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140202880
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140058280
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140058309
test rdi, rdi
jne 0x1400582d0
lea ebx, [rdi + 1]
jmp 0x140058303
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov dword [rsp + 0x38], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
cmp eax, 2
setne bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140058520
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x90]
xor eax, eax
mov qword [rsp + 0x40], rax
mov rbx, r8
mov qword [rsp + 0x30], rax
or r9d, 0x20019
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400585af
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140202880
add rsp, 0x60
pop rbx
ret

Function at 0x1400585d0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xb0]
lea rcx, [r11 - 0x30]
mov qword [r11 - 0x48], rcx
xor ebx, ebx
mov qword [r11 - 0x28], r9
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x50], rcx
or eax, 0x2001f
mov qword [r11 - 0x58], rbx
mov rsi, r8
mov dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x58], ebx
mov qword [r11 - 0x38], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
test rcx, rcx
je 0x140058670
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 8
lea r9d, [rbx + 0xb]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140202880
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005a090
Capabilities:
Query service status
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rsi, rcx
test rcx, rcx
je 0x14005a172
xor edx, edx
mov qword [rsp + 0x88], rdi
xor ecx, ecx
lea r8d, [rbx + 4]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14005a14c
lea r8d, [rbx + 4]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14005a143
xor eax, eax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rax
lea r9d, [rbx + 0x24]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x50], rax
mov rcx, rsi
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14005a13a
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove ebx, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x88]
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
movzx eax, bl
jmp 0x14005a157

Function at 0x14005a180
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x34]
call fcn.140222790
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14005a2f2
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, str.start
lea rcx, [rsp + 0x20]
call fcn.14003b370
test al, al
jne 0x14005a21b
mov r8d, 6
lea rdx, str.start
lea rcx, [rsp + 0x20]
call fcn.14003beb0
nop
mov rdi, 0xffffffffffffffff
test rbx, rbx
jne 0x14005a22b
xor eax, eax
jmp 0x14005a23a
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14005a230
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14003c4a0
lea rax, str.Open
mov qword [rsp + 0x40], rax
lea rax, [0x1403285c8]
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x34], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14005a2ae
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14005a2cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov eax, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
mov ecx, 0x80004005
call fcn.140039950
int3
Function at 0x14005be00
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor eax, eax
mov qword [rcx], rax
call fcn.14005bb20
mov dword [rsp + 0x20], 1
mov rcx, qword [rdi]
cmp dword [rcx - 0x10], ebx
je 0x14005bf0a
add rcx, 0xffffffffffffffe8
call fcn.14003c400
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14005b920
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rsi, qword [rdi]
sub rsi, 0x18
mov rbx, 0xffffffffffffffff
cmp rcx, rsi
je 0x14005bee4
cmp dword [rsi + 0x10], 0
jl 0x14005bed7
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14005bed7
call fcn.14003c400
mov rbp, rax
mov ecx, ebx
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x14005bece
mov rcx, qword [rsi]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdx, rsi
call qword [case.0x14004487d.0]
lea rax, [rbp + 0x18]
mov qword [rdi], rax
jmp 0x14005bee4
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.14003beb0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14005c009
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
jmp 0x14005c003
mov qword [rsp + 0x28], rbx
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14005c034
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x50], 0x101
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rcx, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005bf65
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14003beb0
mov rdx, qword [rsp + 0x28]
lea r14, [rdx - 0x18]
mov rsi, qword [rdi]
sub rsi, 0x18
cmp r14, rsi
je 0x14005bfe3
cmp dword [rsi + 0x10], 0
jl 0x14005bfd7
mov rax, qword [rsi]
cmp qword [r14], rax
jne 0x14005bfd7
mov rcx, r14
call fcn.14003c400
mov rbp, rax
mov ecx, ebx
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x14005bfce
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
lea rax, [rbp + 0x18]
mov qword [rdi], rax
jmp 0x14005bfe3
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.14003beb0
mov dword [rsp + 0x20], 1
lock xadd dword [r14 + 0x10], ebx
sub ebx, 1
jg 0x14005c009
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140039950
int3
Function at 0x1400607d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0xffffffff
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140060861
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r8d, r8d
lea rdx, [0x1403291a0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140202880
add rsp, 0x58
ret
Function at 0x140065d10
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
xor eax, eax
mov qword [rcx], rax
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x140065f33
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x40], 1
lea r15, [0x14031b7bc]
mov esi, 0xffffffff
test rdi, rdi
je 0x140065e27
mov qword [rsp + 0x20], r15
mov r9, rdi
lea r8, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x90]
call fcn.140056fc0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbx]
sub rdi, 0x18
cmp rcx, rdi
je 0x140065dff
cmp dword [rdi + 0x10], 0
jl 0x140065df2
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140065df2
call fcn.14003c400
mov rbp, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140065de9
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
lea rax, [rbp + 0x18]
mov qword [rbx], rax
jmp 0x140065dff
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.14003beb0
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140065e27
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
lea rax, str.GetInferenceEngineDirectory__inferenceEngineDirectory___s.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 1
lea r8, [0x1404675c0]
mov edx, 0x437
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shared_apoutilities.cpp
call fcn.140039f30
mov r8, r15
lea rdx, [0x14032a1f8]
mov rcx, rbx
call fcn.140066320
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
je 0x140065e93
test rcx, rcx
je 0x140065e93
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x140065f25
lea rcx, [rsp + 0x98]
call fcn.14012e690
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbx]
sub rdi, 0x18
cmp rcx, rdi
je 0x140065eff
cmp dword [rdi + 0x10], 0
jl 0x140065ef2
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140065ef2
call fcn.14003c400
mov rbp, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140065ee9
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
lea rax, [rbp + 0x18]
mov qword [rbx], rax
jmp 0x140065eff
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.14003beb0
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140065f25
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, rbx
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140039950
int3