joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000240c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002458
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002450
cmp dword [rcx + 0x3c], edx
jl 0x140002450
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002450
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140002458
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400026b4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400026c0
push rbx
sub rsp, 0x540
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000273d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14000275d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140001d90
add rsp, 0x540
pop rbx
ret

Function at 0x1400026c0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400026c0
push rbx
sub rsp, 0x540
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000273d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14000275d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140001d90
add rsp, 0x540
pop rbx
ret
Function at 0x1400048b8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x48], 0
mov rsi, rdx
and qword [rsp + 0x50], 0
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x48]
mov r9d, 0x2001f
call fcn.1400044cc
jmp 0x14000491f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400048b8
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140004998
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x100
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
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140004910
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140004986
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rsp + 0x48], 0
mov rdx, rsi
mov rcx, rdi
call fcn.140003f20
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x1400049a9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004b84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x60], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140004bf2
call fcn.1400036d4
mov ebx, eax
jmp 0x140004d7c
xor r9d, r9d
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140004c1c
call fcn.1400036d4
jmp 0x140004d6a
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140004c12
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x140004c95
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140004c70
lea rcx, [rsp + 0x60]
call fcn.140004030
nop
mov eax, 0x8007000e
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140001d90
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r14d, eax
test eax, eax
jne 0x140004ca1
mov r14, rbx
jmp 0x140004cb7
xor edx, edx
or rax, 0xffffffffffffffff
div r14
cmp rax, 2
jb 0x140004d9a
add r14, r14
cmp qword [rsp + 0x60], rbx
je 0x140004cd6
lea r8, str.m_p__0
mov edx, 0x207
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlalloc.h
call fcn.14008ac24
cmp r14, 0x400
jbe 0x140004cf3
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14000354c
mov rax, qword [rsp + 0x60]
jmp 0x140004cfd
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140004d14
test rax, rax
jne 0x140004d20
mov ebx, 0x8007000e
jmp 0x140004d6c
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r15
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax + rax]
test eax, eax
je 0x140004c12
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400049d4
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140004d93
lea rcx, [rsp + 0x60]
call fcn.140004030
nop
mov eax, ebx
jmp 0x140004c75
mov ecx, 0x80070057
call fcn.140003714
int3
Function at 0x1400056bc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx], rbp
jne 0x1400056f8
lea r8, str.m_hKey___0
mov edx, 0x16e0
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
test rbx, rbx
je 0x14000574b
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], bp
jne 0x140005701
mov rcx, qword [rdi]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea r8, str.__atl_condVal
mov edx, 0x16e1
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
mov ecx, 0x80004005
call fcn.140003714
int3
Function at 0x140032644
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebp, ebp
mov rdi, rcx
mov qword [rsp + 0x30], rbp
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
lea r15, [0x14015a530]
cmp rcx, r14
je 0x1400326ad
test byte [rcx + 0x1c], 1
je 0x1400326ad
cmp byte [rcx + 0x19], 4
jb 0x1400326ad
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c5
mov r8, r15
call fcn.140006b98
mov edx, dword [rdi + 0x150]
lea r8, [rsp + 0x30]
mov rcx, qword [rdi + 0x158]
call fcn.140117414
mov ebx, eax
test eax, eax
jns 0x14003270f
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14003283e
test byte [rcx + 0x1c], 1
je 0x14003283e
cmp byte [rcx + 0x19], 2
jb 0x14003283e
mov r9, qword [rdi + 0x158]
mov edx, 0x2c6
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.140011330
jmp 0x140032837
mov ebx, 0x101
lea rcx, [rsp + 0x40]
mov r8d, ebx
mov dword [rsp + 0x38], ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, qword [rdi + 0x260]
lea rcx, [rsp + 0x40]
test rdx, rdx
jne 0x14003279c
lea rdx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400327d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140032769
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140032795
test byte [rcx + 0x1c], 1
je 0x140032795
cmp byte [rcx + 0x19], 2
jb 0x140032795
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c7
mov r9d, eax
mov r8, r15
call fcn.140006bc4
mov word [rsp + 0x40], bp
jmp 0x1400327d4
lea rax, [rsp + 0x40]
sub rdx, rax
lea rax, [rbx + 0x7ffffefd]
test rax, rax
je 0x1400327c6
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400327c6
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1400327a4
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bp
mov r8, qword [rdi + 0x188]
lea r9, [rsp + 0x40]
mov rdx, qword [rdi + 0x158]
mov rcx, qword [rsp + 0x30]
call fcn.1400e3d34
mov ebx, eax
test eax, eax
jns 0x140032837
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14003283e
test byte [rcx + 0x1c], 1
je 0x14003283e
cmp byte [rcx + 0x19], 2
jb 0x14003283e
mov r9, qword [rdi + 0x158]
mov edx, 0x2c8
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x160]
mov qword [rsp + 0x20], rax
call fcn.140011464
mov rcx, qword [0x14017a048]
cmp qword [rsp + 0x30], rbp
je 0x14003285d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14003287f
test byte [rcx + 0x1c], 1
je 0x14003287f
cmp byte [rcx + 0x19], 4
jb 0x14003287f
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c9
mov r8, r15
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140048990
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 0x140048a4d
cmp dword [rsi], ebx
je 0x140048a08
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140048ac4
test byte [rcx + 0x1c], 1
je 0x140048ac4
cmp byte [rcx + 0x19], 4
jb 0x140048ac4
mov edx, 0x213
jmp 0x140048a38
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140048ac4
test byte [rcx + 0x1c], 1
je 0x140048ac4
cmp byte [rcx + 0x19], 4
jb 0x140048ac4
mov edx, 0x214
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov r9, rdi
call fcn.1400112c8
jmp 0x140048ac4
cmp eax, 2
jne 0x140048a78
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140048ac4
test byte [rcx + 0x1c], 1
je 0x140048ac4
cmp byte [rcx + 0x19], 3
jb 0x140048ac4
mov edx, 0x215
jmp 0x140048a38
test eax, eax
jg 0x140048a80
mov ebx, eax
jmp 0x140048a89
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140048ac4
test byte [rcx + 0x1c], 1
je 0x140048ac4
cmp byte [rcx + 0x19], 2
jb 0x140048ac4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x216
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140011330
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400495b0
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 [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x140049603
test dword [rcx + 0x1c], 0x200
je 0x140049603
cmp byte [rcx + 0x19], 4
jb 0x140049603
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x2f
call fcn.140006b98
mov rcx, qword [0x14017a048]
test rdi, rdi
jne 0x14004960f
mov ebx, 0x80004003
jmp 0x140049668
mov rcx, rbx
call fcn.14004a1f4
mov ebx, eax
test eax, eax
js 0x140049661
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14004964a
test byte [rcx + 0x1c], 1
je 0x14004964a
cmp byte [rcx + 0x19], 4
jb 0x14004964a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x8e
call fcn.140006b98
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
nop dword [rax + rax]
mov dword [rdi], eax
xor ebx, ebx
jmp 0x140049691
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1400496c1
test byte [rcx + 0x1c], 1
je 0x140049698
cmp byte [rcx + 0x19], 2
jb 0x140049698
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x30
mov r9d, ebx
call fcn.140006bc4
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1400496c1
test dword [rcx + 0x1c], 0x200
je 0x1400496c1
cmp byte [rcx + 0x19], 4
jb 0x1400496c1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015aeb8]
mov edx, 0x31
call fcn.140006b98
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006540c
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x30], rax
lea r14, [rcx + 0x50]
mov rbx, rcx
lea r15, [rcx + 0x58]
mov dword [r14], 7
mov rcx, r15
mov rsi, rdx
call fcn.14006419c
lea r12, [rbx + 0x60]
mov rcx, r12
call fcn.14006419c
lea rcx, [rbx + 0x68]
call fcn.14006419c
lea r13, [rbx + 0x70]
mov rcx, r13
call fcn.14006419c
mov byte [rbx + 0x4c], 0
test rsi, rsi
jne 0x14006549a
lea r8, str.pszAccountName
mov edx, 0x9c
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlsecurity.inl
call fcn.14008ac24
jmp 0x140065635
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
mov edx, 0x100
call fcn.14000354c
mov rdi, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x20]
mov rdx, rsi
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov dword [rsp + 0x44], 0x44
mov dword [rsp + 0x40], 0x80
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14006556c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x1400655f3
cmp dword [rsp + 0x44], 0x44
ja 0x14006565f
cmp dword [rsp + 0x40], 0x80
jbe 0x140065536
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
add rdx, rdx
call fcn.1400666f4
mov rdi, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], rdi
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
nop dword [rax + rax]
test eax, eax
je 0x1400655f3
lea rcx, [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
nop dword [rax + rax]
cmp eax, 0x44
jb 0x140065599
lea r8, str.::GetLengthSid_pSid_____sizeof_SID____sizeof_ULONG_____15___sizeof_ULONG___
mov edx, 0xc4
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlsecurity.inl
call fcn.14008ac24
mov ecx, dword [rsp + 0x44]
lea rdx, [rbx + 8]
lea r8, [rbp - 0x20]
mov byte [rbx + 0x4c], 1
call qword [sym.imp.ADVAPI32.dll_CopySid]
nop dword [rax + rax]
test eax, eax
je 0x1400655f3
mov rdx, rdi
mov rcx, r12
call fcn.140062824
mov rdx, rsi
mov rcx, r15
call fcn.140062824
xor edx, edx
mov rcx, r13
call fcn.140062824
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x50], rcx
je 0x1400655ef
lea rcx, [rsp + 0x50]
call fcn.140004030
mov al, 1
jmp 0x140065637
mov rcx, r15
mov dword [r14], 7
call fcn.14006419c
mov rcx, r12
call fcn.14006419c
lea rcx, [rbx + 0x68]
call fcn.14006419c
mov rcx, r13
call fcn.14006419c
lea rax, [rsp + 0x58]
mov byte [rbx + 0x4c], 0
cmp qword [rsp + 0x50], rax
je 0x140065635
lea rcx, [rsp + 0x50]
call fcn.140004030
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003714
int3
Function at 0x14006607c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov ebx, 1
mov rdi, qword [0x14017a1c0]
mov rax, qword [0x14017a1c8]
jmp 0x14006614c
test ebx, ebx
js 0x1400662c7
mov r14, qword [rdi]
test r14, r14
je 0x140066148
and qword [rsp + 0x50], 0
cmp qword [r14 + 0x10], 0
jne 0x1400660cd
xor ebx, ebx
jmp 0x140066148
movabs r10, 0x804916e15a52a070
lea r8, [rsp + 0x50]
lea rdx, [0x14015b890]
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14 + 0x10]
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
js 0x140066120
lea rax, [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8d, [r9 - 1]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140066141
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [vtable.H_MA8HI.0]
mov rax, qword [0x14017a1c8]
add rdi, 8
cmp rdi, rax
jb 0x1400660a8
test ebx, ebx
js 0x1400662c7
jne 0x1400662c3
lea r14, [0x14015b8a0]
cmp byte [rsi + 0x60], 0
je 0x140066241
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 0x1400661d4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x1400659c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400661de
mov rcx, qword [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov ebx, 0x80004005
jmp 0x140066267
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140066228
mov r8, r14
mov edx, 0xe4a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
mov rcx, qword [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov edx, dword [rsi + 0x58]
add edx, edx
mov rcx, rdi
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]
test ebx, ebx
jns 0x1400662c7
jmp 0x140066267
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1400662c7
mov r8, r14
mov edx, 0xe55
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
xor eax, eax
mov rdi, qword [0x14017a1c0]
mov rcx, qword [0x14017a1c8]
jmp 0x1400662a4
test eax, eax
jne 0x1400662a9
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400662a0
cmp dword [rdx + 0x28], eax
je 0x1400662a0
mov ecx, dword [rdx + 0x28]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
nop dword [rax + rax]
mov rcx, qword [0x14017a1c8]
add rdi, 8
cmp rdi, rcx
jb 0x140066279
test ebx, ebx
jns 0x1400662c7
mov r8, r14
mov edx, 0xe75
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
jmp 0x1400662c7
mov byte [rsi + 0x60], 0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400667fc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov sil, dl
call fcn.140065378
test eax, eax
jne 0x140066996
mov edx, 0x67
lea rax, str.APPID
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
lea rbx, [0x14015b3b0]
lea r9, [rbp - 0x28]
mov qword [rbp - 0x20], rbx
lea r8d, [rdx - 0x66]
movdqu xmmword [rbp - 0x18], xmm0
call fcn.140005938
test eax, eax
js 0x14006699b
and qword [rbp - 0x28], 0
lea r8, str.AppID
and qword [rbp - 0x20], 0
lea rcx, [rbp - 0x28]
and qword [rbp - 0x18], 0
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
call fcn.1400044cc
test eax, eax
je 0x1400668b3
mov ecx, eax
call fcn.1400036fc
mov rcx, qword [rbp - 0x28]
mov ebx, eax
test rcx, rcx
je 0x1400668ac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14006699b
and qword [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
and qword [rbp - 0x38], 0
mov r8, rbx
mov rbx, qword [rbp - 0x28]
and qword [rbp - 0x30], 0
mov rdx, rbx
call fcn.1400038cc
test eax, eax
je 0x140066912
mov ecx, eax
call fcn.1400036fc
mov rcx, qword [rbp - 0x40]
mov edi, eax
test rcx, rcx
je 0x1400668f7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x14006690b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
jmp 0x14006699b
mov rdi, qword [rbp - 0x40]
test rdi, rdi
jne 0x140066933
lea r8, str.m_hKey___0
mov edx, 0x1544
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test sil, sil
je 0x1400669b5
lea r8, [0x14017b3f8]
lea rdx, str.LocalService
lea rcx, [rbp - 0x40]
call fcn.1400056bc
call fcn.14006504c
test eax, eax
jne 0x1400669b5
test rdi, rdi
je 0x140066982
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x140066996
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, 0x80004005
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
test rdi, rdi
je 0x1400669c9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x1400669dd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006699b