joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e30c
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r15
sub rsp, 0x260
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebp, ebp
mov rbx, rcx
mov qword [rsp + 0x30], rbp
mov rcx, qword [0x14017b048]
lea r15, [0x14017b048]
lea r12, [0x1401563e0]
cmp rcx, r15
je 0x14002e375
test byte [rcx + 0x1c], 1
je 0x14002e375
cmp byte [rcx + 0x19], 4
jb 0x14002e375
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c5
mov r8, r12
call fcn.140004c10
mov edx, dword [rbx + 0x150]
lea r8, [rsp + 0x30]
mov rcx, qword [rbx + 0x158]
call fcn.14010f7dc
mov edi, eax
test eax, eax
jns 0x14002e3d7
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14002e4d4
test byte [rcx + 0x1c], 1
je 0x14002e4d4
cmp byte [rcx + 0x19], 2
jb 0x14002e4d4
mov r9, qword [rbx + 0x158]
mov edx, 0x2c6
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov dword [rsp + 0x20], eax
call fcn.140005d40
jmp 0x14002e4cd
mov edi, 0x101
lea rcx, [rsp + 0x40]
mov r8d, edi
mov dword [rsp + 0x38], edi
xor edx, edx
call sub.msvcrt.dll_memset
mov r8, qword [rbx + 0x260]
lea rcx, [rsp + 0x40]
test r8, r8
jne 0x14002e462
lea rdx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14002e46a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14002e45b
test byte [rcx + 0x1c], 1
je 0x14002e45b
cmp byte [rcx + 0x19], 2
jb 0x14002e45b
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c7
movzx r9d, ax
mov r8, r12
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
call fcn.140004c3c
mov word [rsp + 0x40], bp
jmp 0x14002e46a
mov rdx, rdi
call fcn.14003bd58
mov r8, qword [rbx + 0x188]
lea r9, [rsp + 0x40]
mov rdx, qword [rbx + 0x158]
mov rcx, qword [rsp + 0x30]
call fcn.1400dfbb4
mov edi, eax
test eax, eax
jns 0x14002e4cd
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14002e4d4
test byte [rcx + 0x1c], 1
je 0x14002e4d4
cmp byte [rcx + 0x19], 2
jb 0x14002e4d4
mov r9, qword [rbx + 0x158]
mov edx, 0x2c8
mov rcx, qword [rcx + 0x10]
mov r8, r12
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x160]
mov qword [rsp + 0x20], rax
call fcn.140005e80
mov rcx, qword [0x14017b048]
cmp qword [rsp + 0x30], rbp
je 0x14002e4f3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14002e515
test byte [rcx + 0x1c], 1
je 0x14002e515
cmp byte [rcx + 0x19], 4
jb 0x14002e515
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c9
mov r8, r12
call fcn.140004c10
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
Function at 0x14003d530
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
cmp rcx, rsi
je 0x14003d583
test dword [rcx + 0x1c], 0x200
je 0x14003d583
cmp byte [rcx + 0x19], 4
jb 0x14003d583
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x2f
call fcn.140004c10
mov rcx, qword [0x14017b048]
test rdi, rdi
jne 0x14003d58f
mov ebx, 0x80004003
jmp 0x14003d5e8
mov rcx, rbx
call fcn.1400535c4
mov ebx, eax
test eax, eax
js 0x14003d5e1
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14003d5ca
test byte [rcx + 0x1c], 1
je 0x14003d5ca
cmp byte [rcx + 0x19], 4
jb 0x14003d5ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x8e
call fcn.140004c10
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
nop dword [rax + rax]
mov dword [rdi], eax
xor ebx, ebx
jmp 0x14003d611
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14003d641
test byte [rcx + 0x1c], 1
je 0x14003d618
cmp byte [rcx + 0x19], 2
jb 0x14003d618
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x30
mov r9d, ebx
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14003d641
test dword [rcx + 0x1c], 0x200
je 0x14003d641
cmp byte [rcx + 0x19], 4
jb 0x14003d641
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x31
call fcn.140004c10
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004c374
Capabilities:
Get disk size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [0x14017b048]
lea r13, [0x14017b048]
lea r14, [0x140156d68]
mov r12d, 0x200
cmp rcx, r13
je 0x14004c3c6
test dword [rcx + 0x1c], r12d
je 0x14004c3c6
cmp byte [rcx + 0x19], 4
jb 0x14004c3c6
mov rcx, qword [rcx + 0x10]
lea edx, [r12 - 9]
mov r8, r14
call fcn.140004c10
mov rcx, rdi
call fcn.140142fc8
mov rdx, rdi
mov rcx, rsi
call fcn.14010dd98
mov ebx, eax
test eax, eax
jns 0x14004c420
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14004c59c
test dword [rcx + 0x1c], r12d
je 0x14004c59c
cmp byte [rcx + 0x19], 2
jb 0x14004c59c
mov edx, 0x1f8
mov dword [rsp + 0x20], eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
mov r9, rsi
call fcn.140005d40
jmp 0x14004c595
mov eax, dword [rdi]
dec eax
test eax, 0xfffffffb
je 0x14004c443
lea r8, str.pMedia__m_eMediaType__BLB_MT_SHINY__pMedia__m_eMediaType__BLB_MT_REMOVABLE
mov edx, 0x27cb
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140087b08
lea rbp, [rdi + 8]
mov rcx, rsi
mov rdx, rbp
call fcn.140135758
mov ebx, eax
test eax, eax
jns 0x14004c483
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14004c59c
test dword [rcx + 0x1c], r12d
je 0x14004c59c
cmp byte [rcx + 0x19], 2
jb 0x14004c59c
mov edx, 0x1f9
jmp 0x14004c408
cmp qword [rbp], 0
je 0x14004c4ca
lea rdx, [rdi + 0x10]
mov rcx, rsi
call fcn.14013623c
mov ebx, eax
test eax, eax
jns 0x14004c4ca
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14004c59c
test dword [rcx + 0x1c], r12d
je 0x14004c59c
cmp byte [rcx + 0x19], 2
jb 0x14004c59c
mov edx, 0x1fa
jmp 0x14004c408
cmp qword [rbp], 0
lea r14, [rdi + 0x18]
mov rcx, rsi
je 0x14004c55d
and qword [r14], 0
lea r9, [rsp + 0x88]
and qword [rdi + 0x20], 0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004c516
mov rcx, rsi
call fcn.140137834
mov ebx, eax
jmp 0x14004c52c
mov rax, qword [rsp + 0x78]
mov qword [r14], rax
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
xor ebx, ebx
test ebx, ebx
jns 0x14004c5a8
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14004c59c
test dword [rcx + 0x1c], r12d
je 0x14004c59c
cmp byte [rcx + 0x19], 2
jb 0x14004c59c
mov edx, 0x1fb
mov dword [rsp + 0x20], ebx
lea r8, [0x140156d68]
jmp 0x14004c40f
mov rdx, r14
call fcn.140135280
mov ebx, eax
test eax, eax
jns 0x14004c58e
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14004c59c
test dword [rcx + 0x1c], r12d
je 0x14004c59c
cmp byte [rcx + 0x19], 2
jb 0x14004c59c
mov edx, 0x1fc
mov dword [rsp + 0x20], eax
jmp 0x14004c551
mov rax, qword [r14]
mov qword [rdi + 0x20], rax
mov rcx, qword [0x14017b048]
test ebx, ebx
jns 0x14004c5af
mov rcx, rdi
call fcn.140142fc8
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x14004c5d5
test dword [rcx + 0x1c], r12d
je 0x14004c5d5
cmp byte [rcx + 0x19], 4
jb 0x14004c5d5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x1fd
call fcn.140004c10
mov eax, ebx
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004d164
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x20]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x10], rax
mov rsi, r8
mov qword [r11 - 0x18], r8
xor r9d, r9d
xor r8d, r8d
mov rdi, rdx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004d221
cmp dword [rsi], ebx
je 0x14004d1dc
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14004d295
test byte [rcx + 0x1c], 1
je 0x14004d295
cmp byte [rcx + 0x19], 4
jb 0x14004d295
mov edx, 0x213
jmp 0x14004d20c
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14004d295
test byte [rcx + 0x1c], 1
je 0x14004d295
cmp byte [rcx + 0x19], 4
jb 0x14004d295
mov edx, 0x214
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov r9, rdi
call fcn.140005cd0
jmp 0x14004d295
cmp eax, 2
jne 0x14004d24c
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14004d295
test byte [rcx + 0x1c], 1
je 0x14004d295
cmp byte [rcx + 0x19], 3
jb 0x14004d295
mov edx, 0x215
jmp 0x14004d20c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14004d295
test byte [rcx + 0x1c], 1
je 0x14004d295
cmp byte [rcx + 0x19], 2
jb 0x14004d295
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x216
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140005d40
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400616fc
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
cmp byte [0x14017c2c1], 0
mov qword [0x14017c2c8], rcx
je 0x14006172d
lea r8, [0x140153a84]
mov edx, 0xecf
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
or eax, 0xffffffff
jmp 0x14006175c
and dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rdx, rax
lea r8, [rsp + 0x30]
call fcn.140061d7c
cmp al, 1
jne 0x140061758
add rsp, 0x28
jmp 0x140061f14
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
lea r8, str.AppID
mov r9d, 0x20019
mov qword [rsp + 0x50], r14
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x60], r14
call fcn.140001c08
mov ebx, eax
test eax, eax
je 0x140061f80
mov dword [0x14017c60c], eax
jmp 0x1400620d3
mov rdx, qword [rsp + 0x50]
lea r8, [0x140157260]
mov r9d, 0x20019
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
call fcn.140001c08
mov ebx, eax
test eax, eax
jne 0x1400620b5
cmp qword [rsp + 0x38], r14
jne 0x140061fd4
lea r8, str.m_hKey___0
mov edx, 0x1625
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140062046
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140062025
mov eax, 0xd
jmp 0x140062046
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14006203e
test al, 1
jne 0x14006201e
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r14w
je 0x140062043
jmp 0x14006201e
mov word [rbp - 0x70], r14w
mov eax, r14d
mov dword [0x14017c61c], r14d
test eax, eax
jne 0x1400620a7
lea rax, [0x14017c3f8]
mov dword [0x14017c61c], 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
lea rax, [0x1400621f0]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
test eax, eax
jne 0x14006209f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x1400620b3
mov ebx, dword [0x14017c60c]
jmp 0x1400620bb
lea rcx, [0x14017c390]
call fcn.14006117c
mov ebx, eax
mov dword [0x14017c60c], eax
cmp qword [rsp + 0x38], r14
je 0x1400620d3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp qword [rsp + 0x50], r14
je 0x1400620eb
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140061b30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, qword [0x14017b1c0]
mov rsi, rcx
mov rax, qword [0x14017b1c8]
mov ebx, 1
jmp 0x140061be8
test ebx, ebx
js 0x140061d65
mov r14, qword [rdi]
test r14, r14
je 0x140061be4
and qword [rsp + 0x50], 0
cmp qword [r14 + 0x10], 0
jne 0x140061b7d
xor ebx, ebx
jmp 0x140061be4
mov rcx, qword [r14 + 0x18]
lea r8, [rsp + 0x50]
mov rax, qword [r14 + 0x10]
lea rdx, [0x1401575a8]
call qword [case.0x140005bb3.0]
mov ebx, eax
test eax, eax
js 0x140061bc6
mov rdx, qword [rsp + 0x50]
lea rax, [r14 + 0x28]
mov rcx, qword [r14]
mov r9d, 5
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 1]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140061bdd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov rax, qword [0x14017b1c8]
add rdi, 8
cmp rdi, rax
jb 0x140061b5c
test ebx, ebx
js 0x140061d65
lea r14, str.___HRESULT__hr_____0_
jne 0x140061d49
cmp byte [rsi + 0x60], 0
je 0x140061cdb
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rsi + 0x50], rax
test rax, rax
je 0x140061cd4
lea rax, [rsp + 0x58]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140062380]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140061c74
mov rcx, qword [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rdi, rdi
je 0x140061cd4
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140061cc3
mov r8, r14
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
mov edx, 0xe4a
call fcn.140087b08
mov rcx, qword [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov edx, dword [rsi + 0x58]
mov rcx, rdi
add edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x140061d01
mov ebx, 0x80004005
jmp 0x140061d05
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140061d65
mov r8, r14
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
mov edx, 0xe55
call fcn.140087b08
test ebx, ebx
jns 0x140061d65
mov rdi, qword [0x14017b1c0]
xor eax, eax
mov rcx, qword [0x14017b1c8]
jmp 0x140061d42
test eax, eax
jne 0x140061d4d
mov rdx, qword [rdi]
test rdx, rdx
je 0x140061d3e
cmp dword [rdx + 0x28], eax
je 0x140061d3e
mov ecx, dword [rdx + 0x28]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
nop dword [rax + rax]
mov rcx, qword [0x14017b1c8]
add rdi, 8
cmp rdi, rcx
jb 0x140061d17
jmp 0x140061d4d
mov byte [rsi + 0x60], 0
test ebx, ebx
jns 0x140061d65
mov r8, r14
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
mov edx, 0xe75
call fcn.140087b08
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140061f14
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
cmp byte [0x14017c2c1], 0
mov qword [0x14017c2c8], rcx
je 0x14006172d
lea r8, [0x140153a84]
mov edx, 0xecf
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
or eax, 0xffffffff
jmp 0x14006175c
and dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rdx, rax
lea r8, [rsp + 0x30]
call fcn.140061d7c
cmp al, 1
jne 0x140061758
add rsp, 0x28
jmp 0x140061f14
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
lea r8, str.AppID
mov r9d, 0x20019
mov qword [rsp + 0x50], r14
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x60], r14
call fcn.140001c08
mov ebx, eax
test eax, eax
je 0x140061f80
mov dword [0x14017c60c], eax
jmp 0x1400620d3
mov rdx, qword [rsp + 0x50]
lea r8, [0x140157260]
mov r9d, 0x20019
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
call fcn.140001c08
mov ebx, eax
test eax, eax
jne 0x1400620b5
cmp qword [rsp + 0x38], r14
jne 0x140061fd4
lea r8, str.m_hKey___0
mov edx, 0x1625
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140062046
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140062025
mov eax, 0xd
jmp 0x140062046
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14006203e
test al, 1
jne 0x14006201e
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r14w
je 0x140062043
jmp 0x14006201e
mov word [rbp - 0x70], r14w
mov eax, r14d
mov dword [0x14017c61c], r14d
test eax, eax
jne 0x1400620a7
lea rax, [0x14017c3f8]
mov dword [0x14017c61c], 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
lea rax, [0x1400621f0]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
test eax, eax
jne 0x14006209f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x1400620b3
mov ebx, dword [0x14017c60c]
jmp 0x1400620bb
lea rcx, [0x14017c390]
call fcn.14006117c
mov ebx, eax
mov dword [0x14017c60c], eax
cmp qword [rsp + 0x38], r14
je 0x1400620d3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp qword [rsp + 0x50], r14
je 0x1400620eb
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400621fc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov bl, dl
call fcn.14006273c
test eax, eax
je 0x140062226
mov eax, 0x80004005
jmp 0x14006235b
mov edx, 0x67
lea rax, str.APPID
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
lea rdi, [0x140157260]
lea r9, [rbp - 0x28]
mov qword [rbp - 0x20], rdi
lea r8d, [rdx - 0x66]
movdqu xmmword [rbp - 0x18], xmm0
call fcn.140003df0
test eax, eax
js 0x14006235b
and qword [rbp - 0x40], 0
lea r8, str.AppID
and qword [rbp - 0x38], 0
lea rcx, [rbp - 0x40]
and qword [rbp - 0x30], 0
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
call fcn.140001c08
test eax, eax
je 0x14006229c
mov ecx, eax
call fcn.1400019ec
mov ebx, eax
jmp 0x140062342
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
and qword [rbp - 0x28], 0
mov r8, rdi
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
call fcn.140001b48
mov rdi, qword [rbp - 0x28]
test eax, eax
je 0x1400622ce
mov ecx, eax
call fcn.1400019ec
mov ebx, eax
jmp 0x14006232e
test rdi, rdi
jne 0x1400622eb
lea r8, str.m_hKey___0
mov edx, 0x1544
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test bl, bl
je 0x14006232c
lea r8, [0x14017c3f8]
lea rdx, str.LocalService
lea rcx, [rbp - 0x28]
call fcn.140001cd0
call fcn.140062410
test eax, eax
jne 0x14006232c
mov ebx, 0x80004005
jmp 0x14006232e
xor ebx, ebx
test rdi, rdi
je 0x140062342
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp qword [rbp - 0x40], 0
je 0x140062359
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400627bc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
call fcn.1400628f8
test eax, eax
jne 0x1400627dc
mov eax, 0x80004005
jmp 0x1400628e2
and qword [rbp - 0x38], 0
lea r8, str.AppID
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x38]
and qword [rbp - 0x28], 0
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
call fcn.140001c08
test eax, eax
je 0x14006281a
mov ecx, eax
call fcn.1400019ec
mov edi, eax
jmp 0x1400628c9
mov rdx, qword [rbp - 0x38]
lea rdi, [0x140157260]
and qword [rbp - 0x50], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x48], 0
mov r8, rdi
and qword [rbp - 0x40], 0
mov r9d, 0x20006
call fcn.140001c08
test eax, eax
je 0x140062853
mov ecx, eax
call fcn.1400019ec
jmp 0x1400628b0
cmp qword [rbp - 0x50], 0
jne 0x140062872
lea r8, str.m_hKey___0
mov edx, 0x1544
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
mov rcx, qword [rbp - 0x50]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
xor r8d, r8d
mov qword [rbp - 0x18], rdi
lea rax, str.APPID
xorps xmm0, xmm0
lea r9, [rbp - 0x20]
mov qword [rbp - 0x20], rax
movdqu xmmword [rbp - 0x10], xmm0
lea edx, [r8 + 0x67]
call fcn.140003df0
cmp qword [rbp - 0x50], 0
mov edi, eax
je 0x1400628c9
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp qword [rbp - 0x38], 0
je 0x1400628e0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
mov rdi, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret