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

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x48
lea rax, [r11 + 0x18]
lea rdx, str.LogFont
xor r8d, r8d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r9
lea r9, [r11 - 0x18]
mov dword [rsp + 0x60], 0x5c
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
cmp eax, ecx
je 0x14000e0ed
xor al, al
jmp 0x14000e102
cmp dword [rsp + 0x30], 3
jne 0x14000e100
cmp dword [rsp + 0x60], 0x5c
jne 0x14000e100
mov ecx, 1
mov al, cl
add rsp, 0x48
ret

Function at 0x14001019c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r13, rcx
mov r12d, edx
lea rcx, [0x140025f60]
xor edx, edx
xor ebx, ebx
call fcn.140011d7c
lea r14d, [rbx + 1]
mov ebp, r14d
jmp 0x140010282
test rbx, rbx
jne 0x14001028e
mov eax, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr eax, 4
mov rcx, rsi
add ax, r14w
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbx, rax
test rax, rax
je 0x140010271
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14001021e
xor ebx, ebx
jmp 0x14001026c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14001021a
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rdi
and ecx, 0xf
jbe 0x14001025b
cmp rdi, r11
jae 0x14001021a
add ecx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x140010249
cmp rdi, r11
jae 0x14001021a
movzx eax, word [rdi]
neg ax
sbb rbx, rbx
and rbx, rdi
test rbx, rbx
jne 0x140010290
lea rcx, [0x140025f60]
mov edx, ebp
call fcn.140011d7c
add ebp, r14d
mov rsi, rax
test rax, rax
jne 0x1400101db
xor esi, esi
test rsi, rsi
jne 0x140010299
xor eax, eax
jmp 0x1400102a7
mov r8d, r12d
mov rdx, rsi
mov rcx, r13
call fcn.1400102cc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x1400119c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
xor r12d, r12d
mov rdi, rcx
mov qword [rax + 0x20], r12
call fcn.14001196c
lea r11, [rsp + 0xa8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionMedia_CenterRemote_Controls
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x140011b73
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0xa0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, r12d
jne 0x140011b73
mov ecx, dword [rsp + 0x98]
lea eax, [r12 + 8]
lea rbx, [r12 - 1]
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.140002220
mov qword [rdi + 0xa8], rax
cmp rax, r12
je 0x140011b73
mov esi, dword [rsp + 0xa0]
lea eax, [rbx + 3]
inc esi
imul esi, dword [rsp + 0x98]
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.140002220
mov rbp, rax
mov qword [rdi + 0xb8], rax
cmp rax, r12
je 0x140011b73
mov ebx, r12d
jmp 0x140011b6a
cmp ebx, dword [rsp + 0x98]
jae 0x140011b73
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x90]
mov r8, rbp
mov edx, ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x140011b73
cmp eax, 0x7a
je 0x140011b68
cmp eax, r12d
jne 0x140011b73
mov eax, dword [rsp + 0x90]
mov word [rbp + rax*2], r12w
inc dword [rsp + 0x90]
mov rcx, qword [rdi + 0xb0]
mov rax, qword [rdi + 0xa8]
mov qword [rax + rcx*8], rbp
mov eax, dword [rsp + 0x90]
inc qword [rdi + 0xb0]
lea rbp, [rbp + rax*2]
sub rsi, rax
inc ebx
cmp rsi, r12
ja 0x140011ad8
mov rcx, qword [rsp + 0xa8]
mov byte [rdi + 0xa0], 1
cmp rcx, r12
je 0x140011b8d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140012cc8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140012bb0
Function at 0x1400202f3
Capabilities:
Get process image filename

Disassembly:
jmp 0x14005bac9
jmp qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]

Function at 0x140020500
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140056150
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x1400b63a5]
call fcn.140021856
mov qword [rbp + 0x268], 0
mov edx, 0x238
lea rcx, [rbp + 0x10]
call fcn.140021095
xor edx, edx
mov ecx, 2
call fcn.140020b09
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x1400561e2
lea rcx, str.CreateToolhelp32Snapshot
call fcn.140020d61
xor eax, eax
jmp 0x14005628d
mov dword [rbp + 0x10], 0x238
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140020e6a
test eax, eax
jne 0x14005621a
lea rcx, str.Process32First
call fcn.140020d61
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14005628d
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x140056241
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x18]
jmp 0x14005628d
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14002146e
test eax, eax
je 0x14005627e
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14005627c
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x18]
jmp 0x14005628d
jmp 0x140056241
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007e800]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret
Function at 0x140020677
Capabilities:
Terminate process

Disassembly:
jmp 0x140052170
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x1400b6391]
call fcn.140021856
mov qword [rbp + 8], 0
xor ecx, ecx
call fcn.1400524c0
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xe8]
call fcn.140052460
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140052209
lea rcx, str.localtime_s
call fcn.140020d61
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea r8, [rbp + 0xe8]
mov edx, 0x20
lea rcx, [rbp + 0x70]
call qword [sym.imp.ucrtbased.dll__wasctime_s]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x14005223f
lea rcx, str._tasctime_s
call fcn.140020d61
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp + 0x70]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0x40
jae 0x140052261
jmp 0x140052266
call fcn.1400210fe
xor eax, eax
mov rcx, qword [rbp + 0x1e8]
mov word [rbp + rcx + 0x70], ax
lea rcx, [rbp + 0x70]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 6]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400522d0
mov r8, qword [rbp + 8]
xor edx, edx
mov rcx, qword [rbp + 0x28]
call fcn.1400211da
xor edx, edx
mov rax, qword [rbp + 8]
mov ecx, 2
div rcx
lea r9, [rbp + 0x70]
lea r8, str.__s_
mov rdx, rax
mov rcx, qword [rbp + 0x28]
call fcn.1400206fe
mov rax, qword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007dcb0]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret

Function at 0x1400206a4
Capabilities:
Get process heap flags

Disassembly:
jmp 0x140037dd0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b60d0]
call fcn.140021856
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
call fcn.14002069a
movzx eax, al
test eax, eax
je 0x140037e29
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
add rax, 0x70
mov qword [rbp + 0x28], rax
jmp 0x140037e49
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
add rax, 0x14
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140020703
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140056cf0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xc58
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x21a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc78]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0xc18], rax
lea rcx, [0x1400b63a5]
call fcn.140021856
mov qword [rbp + 8], 0
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov dword [rbp + 0x844], 0x104
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0xc48]
mov rcx, qword [rbp + 0xc40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056df5
lea rax, [rbp + 0x844]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xc50]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140056deb
mov rdx, qword [rbp + 0xc58]
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140056deb
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056df7
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14007dfe0]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0xc18]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0xc28]
pop rdi
pop rbp
ret
Function at 0x140020726
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
jmp 0x140056320
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x50]
lea rcx, [0x1400b63a5]
call fcn.140021856
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14005636f
lea rcx, str.CoInitializeEx
call fcn.140020d61
xor eax, eax
jmp 0x140056570
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400563ce
lea rcx, str.CoInitializeSecurity
call fcn.140020d61
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140056570
mov rcx, qword [rbp + 0x128]
call fcn.140020942
mov qword [rsp + 0x20], rax
lea r9, [0x140080258]
mov r8d, 1
xor edx, edx
lea rcx, [0x1400821d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14005641d
lea rcx, str.CoCreateInstance
call fcn.140020d61
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140056570
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400564dc
mov rax, qword [rbp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x120]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400564d2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, str.ConnectServer
call fcn.140020d61
mov rax, qword [rbp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx]
mov rax, qword [rax]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140056570
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14005656b
lea rcx, str.CoSetProxyBlanket
call fcn.140020d61
mov rax, qword [rbp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x120]
mov rcx, qword [rcx]
mov rax, qword [rax]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx]
mov rax, qword [rax]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140056570
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14002073a
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14002dbb0
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400b6085]
call fcn.140021856
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0xc]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea r8, [rbp + 0x78]
lea rdx, [0x140021987]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x14002dd3b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r8, [rbp + 0x98]
mov rdx, qword [rbp + 0x78]
mov rcx, rax
call fcn.14002066d
test eax, eax
je 0x14002dd3b
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x138], 0
jmp 0x14002dc89
mov rax, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x138], rax
mov eax, dword [rbp + 0xa0]
cmp qword [rbp + 0x138], rax
jae 0x14002dd3b
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
mov r8d, 0x30
lea rdx, [rbp + 0xc8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jb 0x14002dd36
mov eax, dword [rbp + 0xec]
and eax, 0x10
cmp eax, 0x10
je 0x14002dd08
mov eax, dword [rbp + 0xec]
and eax, 0x20
cmp eax, 0x20
je 0x14002dd08
mov eax, dword [rbp + 0xec]
and eax, 0x80
cmp eax, 0x80
je 0x14002dd08
mov eax, dword [rbp + 0xec]
and eax, 0x40
cmp eax, 0x40
jne 0x14002dd36
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x218], rax
lea rdx, [rbp + 0x218]
lea rcx, [0x1400aa528]
call fcn.140020514
jmp 0x14002dc71
lea rcx, [rbp - 0x20]
lea rdx, [0x14006cfe0]
call fcn.1400213b5
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret

Function at 0x1400207df
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
jmp 0x140037ee0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b60d6]
call fcn.140021856
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
call fcn.14002069a
movzx eax, al
test eax, eax
je 0x140037f39
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
add rax, 0x74
mov qword [rbp + 0x28], rax
jmp 0x140037f59
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
add rax, 0x18
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400209fb
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x140056e80
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400b63a5]
call fcn.140021856
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayLock
rep stosb byte [rdi], al
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x54], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x38]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140056f0c
lea rcx, str.OpenProcessToken
call fcn.140020d61
mov eax, dword [rbp + 0x54]
jmp 0x140056f9d
mov dword [rbp + 8], 1
mov eax, 0xc
imul rax, rax, 0
mov dword [rbp + rax + 0x14], 2
mov eax, 0xc
imul rax, rax, 0
lea rax, [rbp + rax + 0xc]
mov r8, rax
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140056f84
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 8]
xor edx, edx
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
jne 0x140056f82
lea rcx, str.AdjustTokenPrivileges
call fcn.140020d61
jmp 0x140056f90
lea rcx, str.LookupPrivilegeValue
call fcn.140020d61
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x54]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140020af0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x140043630
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b613c]
call fcn.140021856
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
lea rcx, str.___Increasing_SizeOfImage_in_PE_Header_to:_0x100000_n
call fcn.1400200d7
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov ecx, 8
imul rcx, rcx, 1
mov rax, qword [rax + rcx + 8]
mov qword [rbp + 0x28], rax
xor eax, eax
mov ecx, 8
imul rcx, rcx, 0
add rax, rcx
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x38]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x30]
add rax, 0x100000
mov rcx, qword [rbp + 0x68]
mov dword [rcx], eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140020d20
Capabilities:
Enumerate services

Disassembly:
jmp 0x140049d10
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400b6169]
call fcn.140021856
mov dword [rbp + 4], 0xe000
mov eax, dword [rbp + 4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x1b8], 0
je 0x140049d94
mov rax, qword [rbp + 0x1b8]
mov dword [rax], 0
cmp qword [rbp + 0x28], 0
je 0x140049f1a
mov eax, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x28]
call fcn.140021095
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
mov qword [rsp + 0x48], 0
lea rax, [rbp + 0x64]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x1b8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, dword [rbp + 0x1a8]
xor edx, edx
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x140049e2a
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov eax, 1
jmp 0x140049f1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0xea
jne 0x140049efe
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_realloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x140049efc
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x28]
call fcn.140021095
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x1b8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, dword [rbp + 0x1a8]
xor edx, edx
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x140049efc
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov eax, 1
jmp 0x140049f1c
jmp 0x140049f10
mov edx, dword [rbp + 0x84]
lea rcx, str.ERROR:__u_n
call fcn.140020adc
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret