joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140085250
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, r8
mov rbx, rdx
mov rcx, r8
call fcn.1400056e0
xor r15d, r15d
mov qword [rsp + 0x148], r15
lea rdx, str.Process_Lasso_12.4.3.14
lea rcx, [rsp + 0x148]
call fcn.14003f460
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
jne 0x1400852f9
mov rdx, qword [rsp + 0x148]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14008549e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008549e
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x84000000
mov r9d, 0xffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x1400852ca
mov ecx, 0x1000
call fcn.1400ff0c4
mov rbp, rax
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call fcn.14012ce40
mov r14d, r15d
mov dword [rsp + 0x140], r15d
mov rbx, r15
nop
lea rdx, [rbx + rbp]
lea r9, [rsp + 0x140]
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x140]
test eax, eax
je 0x14008537a
test ecx, ecx
je 0x1400853c2
add r14d, ecx
lea eax, [r14 + 0x1000]
movsxd rbx, eax
mov rcx, rbx
call fcn.1400ff0c4
mov rdi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14012ce40
movsxd rbx, r14d
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14012c6c0
mov edx, 1
mov rcx, rbp
call fcn.1400ff054
mov rbp, rdi
jmp 0x140085350
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x148]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400853fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r14d, r14d
js 0x14008549e
test rbp, rbp
je 0x14008543c
lea ecx, [r14 + 1]
call fcn.1400ff0c4
mov rsi, rax
mov edi, r14d
mov r8d, r14d
mov rdx, rbp
mov rcx, rax
call fcn.14012c6c0
mov edx, 1
mov rcx, rbp
call fcn.1400ff054
mov rbp, rsi
mov byte [rdi + rsi], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov r8d, 3
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140070400
nop
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140085471
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140085464
mov r15d, ebx
mov r8d, r15d
mov rcx, r13
call fcn.140005a90
nop
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x140085491
call fcn.14010b5e8
mov edx, 1
mov rcx, rbp
call fcn.1400ff054
mov rax, qword [r13]
mov eax, dword [rax - 0x10]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400855e0
Capabilities:
Identify system language via api
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov rbx, qword [0x14017c768]
mov r8d, 0x409
movzx r9d, ax
mov ecx, dword [rbx + 0x1024]
test ecx, ecx
je 0x14008562f
mov r10d, 0x3ff
mov edx, r8d
and r9w, r10w
and cx, r10w
cmp cx, r9w
je 0x140085657
mov eax, dword [rbx + rdx*4 + 4]
inc rdx
inc r8d
movzx ecx, ax
test eax, eax
jne 0x140085614
call fcn.14007b750
mov ebx, eax
test eax, eax
je 0x140085645
mov dword [0x14017c770], eax
call fcn.14007b9c0
mov ecx, ebx
mov dword [0x140173e2c], ebx
add rsp, 0x20
pop rbx
jmp fcn.1400858b0
movsxd rax, r8d
mov ebx, dword [rbx + rax*4]
mov ecx, ebx
mov dword [0x140173e2c], ebx
add rsp, 0x20
pop rbx
jmp fcn.1400858b0
Function at 0x140086f10
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor dil, dil
lea rcx, [0x14017b6a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [0x14017b680]
test r8, r8
je 0x140086fbe
mov rax, qword [0x14017b6a0]
test rax, rax
je 0x140086fbe
mov rcx, qword [0x14017b698]
test rcx, rcx
je 0x140086fbe
mov rdx, qword [0x14017b690]
test rdx, rdx
je 0x140086fbe
mov r9, qword [0x14017b688]
test r9, r9
je 0x140086fbe
mov r10, qword [0x14017b670]
test r10, r10
je 0x140086fbe
mov r11, qword [0x14017b678]
test r11, r11
je 0x140086fbe
mov qword [rbx + 0x158], r8
mov dil, 1
mov qword [rbx + 0x170], rax
mov qword [rbx + 0x168], rcx
mov qword [rbx + 0x160], rdx
mov qword [rbx + 0x178], r9
mov qword [rbx + 0x180], r11
mov qword [rbx + 0x4e0], r10
jmp 0x140087111
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x158], rax
test rax, rax
jne 0x140086fe2
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.EnumProcessModules
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.GetModuleFileNameExW
mov qword [rbx + 0x170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.GetModuleBaseNameW
mov qword [rbx + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.GetProcessMemoryInfo
mov qword [rbx + 0x160], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.QueryWorkingSet
mov qword [rbx + 0x178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32
mov qword [rbx + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
mov r9, qword [rbx + 0x170]
mov r10, qword [rbx + 0x168]
mov r8, qword [rbx + 0x160]
mov rdx, qword [rbx + 0x178]
mov r11, qword [rbx + 0x180]
mov qword [rbx + 0x4e0], rax
mov qword [0x14017b680], rcx
mov qword [0x14017b6a0], r9
mov qword [0x14017b698], r10
mov qword [0x14017b690], r8
mov qword [0x14017b688], rdx
mov qword [0x14017b678], r11
mov qword [0x14017b670], rax
test rcx, rcx
je 0x140087111
test r9, r9
je 0x140087111
test r10, r10
je 0x140087111
test r8, r8
je 0x140087111
test rdx, rdx
je 0x140087111
test rax, rax
je 0x140087111
test r11, r11
movzx edi, dil
mov eax, 1
cmovne edi, eax
lea rcx, [0x14017b6a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
Function at 0x140087720
Capabilities:
Get session information
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
lea rbx, [rcx + 0x6a8]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call fcn.1400d8994
test eax, eax
jne 0x1400878c8
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1400878b8
lea rsi, [rdi + 0x698]
mov rax, qword [rsi]
cmp dword [rax - 0x10], 0
jne 0x140087881
lea rbp, [rdi + 0x6a0]
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.140087a10
test al, al
jne 0x140087881
xor edx, edx
mov r8d, 0x202
lea rcx, [rsp + 0x50]
call fcn.14012ce40
lea rdx, [rsp + 0x38]
mov ecx, dword [rdi + 0x544]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x140087871
mov edi, dword [rsp + 0x38]
mov dword [rsp + 0x3c], 0x101
mov qword [rsp + 0x30], 0
call fcn.14007e500
test al, al
je 0x140087871
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 5
mov edx, edi
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x140087861
mov rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov edx, 0x101
lea rcx, [rsp + 0x50]
call fcn.140115f0c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
lea rax, [rsp + 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140087845
mov r8d, edi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140005a90
jmp 0x140087881
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140087871
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov rcx, rsi
call fcn.1400056e0
mov rcx, rbp
call fcn.1400056e0
mov rdi, qword [rsi]
mov rcx, rbx
call fcn.1400d899c
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1400d7b54
int3
mov ecx, 5
call fcn.1400d7b54
int3

Function at 0x140087b10
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, dword [rcx + 0x544]
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140087b38
add rsp, 0x20
pop rbx
ret
mov edx, 9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400886c0
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
mov dword [rbp - 0x39], 0x68
lea rax, str.WinSta0Default
mov qword [rbp - 0x29], rax
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
xor edi, edi
mov qword [rbp + 0x3f], rdi
lea rdx, [rbp + 0x3f]
call fcn.140087140
nop
mov qword [rbp + 0x37], rdi
mov rcx, rbx
call fcn.1400873b0
mov rdx, rax
lea rcx, [rbp + 0x37]
call fcn.14003f460
nop
mov rdx, qword [rbp + 0x37]
cmp dword [rdx - 8], 1
jle 0x140088768
mov edx, dword [rdx - 0x10]
lea rcx, [rbp + 0x37]
call fcn.140005760
mov rdx, qword [rbp + 0x37]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne dil
test eax, eax
je 0x1400887da
mov r8d, 9
mov edx, dword [rbx + 0x544]
call fcn.1400768c0
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x37]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400887fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x3f]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140088819
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140088840
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
lea rax, [rsp + 0x38]
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov rdi, r9
mov rdx, rbp
mov rcx, rsi
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140088915
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov qword [rsp + 0x70], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x70]
jne 0x140088915
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008890b
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14008890f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140088917
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140088930
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r10, r8
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rax, rdx
lea rcx, [rsp + 0x50]
mov rbx, r9
mov qword [rsp + 0x38], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, r10
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400889c6
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400889db
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
Function at 0x140088a00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0xa0]
lea rax, [rsp + 0x30]
mov r14, rcx
mov qword [rsp + 0x20], rax
cmp rdx, 0xffffffff81000000
mov rbp, r8
mov rbx, r9
mov rsi, rdx
mov rcx, 0xffffffff80000001
mov r9d, 1
cmovne rcx, rdx
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140088ac8
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x3c], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140088abe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140088aa6
cmp rsi, 0xffffffff81000000
jne 0x140088aa4
mov byte [rsp + 0x28], 0
mov r9, rbx
mov r8, rbp
mov qword [rsp + 0x20], rdi
mov rdx, 0xffffffff80000002
mov rcx, r14
call fcn.140088a00
jmp 0x140088aa6

Function at 0x140088b00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x80]
xor ecx, ecx
mov r10, r8
mov rax, rdx
mov rdi, r9
xor r8d, r8d
mov r9d, 1
mov rdx, r10
mov word [rbx], cx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140088b99
mov eax, dword [rsp + 0x88]
lea r9, [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov rdx, rdi
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140088bb3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140088b9b
Function at 0x140088bc0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rax, rdx
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rcx
lea rdx, str.SoftwareProcessLasso
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140088c76
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140088c30
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.LicensedTo
mov r9d, 1
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x140088c8b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret

Function at 0x140088cb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x80]
lea rcx, [rsp + 0x38]
mov r10, r8
mov qword [rsp + 0x20], rcx
mov rax, rdx
mov rbx, r9
mov rcx, rax
mov r9d, 1
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140088d93
xor ecx, ecx
mov dword [rsp + 0x40], 3
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140088d88
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140088d88
lea ecx, [rax + 0x1000]
call fcn.1400ff0c4
lea rcx, [rsp + 0x30]
mov qword [rdi], rax
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140088d8d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
jmp 0x140088d95
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140088db0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov r10, r8
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rbx, r9
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rdx, r10
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140088e4d
mov eax, dword [rsp + 0xa8]
mov r9d, 3
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x140088e6a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140088e4f

Function at 0x140088e80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0xa0]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov r10, r8
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rbx, r9
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov rdx, r10
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140088f2b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov dword [rsp + 0x58], 8
mov dword [rsp + 0x5c], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x140088f48
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140088f2d
Function at 0x140088f60
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r10, r8
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rax, rdx
lea rcx, [rsp + 0x50]
mov rbx, r9
mov qword [rsp + 0x38], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, r10
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140088ff6
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 8
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14008900b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret