joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004720
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x180004810
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x58
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1800048f8
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x68], 0
call fcn.180015d0c
lea rcx, [rsp + 0x60]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x68]
lea rdx, str.LastDeskbarPingCheck
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
xor r8d, r8d
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000487c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov edx, 0x18
mov dword [rsp + 0x70], ecx
call fcn.1800152bc
test al, al
je 0x1800048f8
lea rcx, [rsp + 0x30]
call fcn.180015d0c
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x78], ecx
lea rcx, [rsp + 0x78]
lea rdx, str.LastDeskbarPingCheck
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800048e4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.180012b34
lea rcx, [rsp + 0x60]
call fcn.180015248
add rsp, 0x58
ret
Function at 0x18000bb80
Capabilities:
Check os version
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x110
mov rax, qword [0x18003d928]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
cmp r8, 1
jne 0x18000bcc4
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, VariantChangeTypeEx
mov qword [rsp + 0x128], rdi
mov dword [rsp + 0x60], 0
call fcn.18001a530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x64], 5
lea rcx, [rsp + 0x40]
setbe dil
mov dword [rsp + 0x38], 0
call fcn.180015d0c
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x3c]
lea rdx, str.db_rebar_fixed
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000bc34
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
jne 0x18000bc94
lea rcx, [rsp + 0x40]
call fcn.180015d0c
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
lea rdx, str.db_rebar_fixed
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x30], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000bc88
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, dil
mov rcx, rbx
call fcn.18000b060
mov rcx, qword [rbx + 8]
mov edx, 1
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x3e8
call qword [sym.imp.USER32.dll_SetTimer]
mov rdi, qword [rsp + 0x128]
jmp 0x18000bd03
cmp r8, 2
jne 0x18000bd03
mov rcx, qword [rcx + 0x88]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18000bcfb
mov rcx, qword [rbx + 0x80]
call fcn.180003990
mov rcx, qword [rbx + 8]
mov edx, 2
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, rbx
call fcn.180004810
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800193b0
add rsp, 0x110
pop rbx
ret

Function at 0x18000e7f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x18000e823
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov ecx, eax
add edi, eax
add rbx, rcx
cmp eax, 1
jne 0x18000e832
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x18000f120
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x18003d928]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.1800012d0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18000f23c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], pe_nt_image_headers64
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x18000f211
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18000f120
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18000f23c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], pe_nt_image_headers64
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x18000f1c0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000f226
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x50], ebp
call fcn.180001220
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x18000f247
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1800193b0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x180012bf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
and dword [rsp + 0x60], 0
lea rcx, [rsp + 0x30]
call fcn.180015d0c
lea rcx, [rsp + 0x68]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
lea rdx, str.va_time
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
xor r8d, r8d
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180012c47
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x60], 0
jne 0x180012c53
or eax, 0xffffffff
jmp 0x180012c74
lea rcx, [rsp + 0x78]
call fcn.18001af88
mov r11d, dword [rsp + 0x78]
mov eax, 0xc22e4507
sub r11d, dword [rsp + 0x60]
mul r11d
shr edx, 0x10
mov eax, edx
add rsp, 0x58
ret
Function at 0x180015650
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov r13, rdx
mov rsi, rcx
and dword [rax + 0x20], 0
lea rcx, [0x18003d858]
mov rax, qword [0x18003d858]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0xb8], 1
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
test rax, rax
je 0x1800157dd
cmp rax, 0xffffffffffffffff
je 0x1800157dd
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
lea ecx, [rax + 1]
mov ebx, ecx
call fcn.1800189c0
mov r12, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.18001a530
and dword [rsp + 0xb0], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
mov r8d, ebp
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800157cb
cmp dword [rsp + 0xb0], ebp
jne 0x1800157cb
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.180015354
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x18001576c
cmp qword [rbx + 8], 0
jne 0x180015768
mov rcx, qword [rbx]
call fcn.18002a130
mov qword [rbx + 8], rax
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180015775
xor eax, eax
jmp 0x18001577d
mov rcx, rbx
call fcn.18001b040
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.180003dd0
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1800157cb
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x1800157cb
test rbx, rbx
je 0x1800157cb
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800157b5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800157c3
call fcn.180018adc
mov rcx, rbx
call fcn.180018adc
mov rcx, r12
call fcn.180018adc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [r13]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800157fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180017b58
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x18003d928]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x40], rdx
and dword [rbp - 0x4c], 0
mov rbx, qword [rdx]
mov qword [rbp - 0x18], 0xf
and qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
mov rcx, rbx
call fcn.18001b040
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.18001763c
nop
lea rcx, [0x18003d858]
mov rax, qword [0x18003d858]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov ebx, 1
mov dword [rbp - 0x4c], ebx
and dword [rbp - 0x50], 0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
mov edx, dword [rbp - 0x20]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x180017cab
mov edx, dword [rbp - 0x50]
test edx, edx
je 0x180017cab
jns 0x180017c31
mov ecx, 0x80070057
call fcn.1800010d0
int3
mov rax, qword [rdi]
mov ecx, ebx
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, ecx
jge 0x180017c4a
mov rcx, rdi
call fcn.1800026b0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi]
mov r8d, ebx
mov edx, dword [rbp - 0x20]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x180017c7c
xor eax, eax
jmp 0x180017c89
movsxd rdx, dword [rcx - 0xc]
call fcn.180019134
test eax, eax
js 0x180017ca0
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x180017ca0
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov byte [rcx + rax], 0
jmp 0x180017cab
mov ecx, 0x80070057
call fcn.1800010d0
nop
cmp qword [rbp - 0x18], 0x10
jb 0x180017cbb
mov rcx, qword [rbp - 0x30]
call fcn.180018adc
mov qword [rbp - 0x18], 0xf
and qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
mov rdx, qword [rsi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180017ceb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800193b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret

Function at 0x180017d10
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
seta al
add rsp, 0x28
ret
Function at 0x180017d24
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
ja 0x180017d41
xor eax, eax
jmp 0x180017e17
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 0x18
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180017e15
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea rax, [rsp + 0x40]
lea edx, [r9 + 0x19]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x180017e0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180017e0a
mov edx, dword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x180017e0a
mov r9d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r8, rdi
mov edx, 0x19
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x180017e01
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov cl, byte [rax]
dec cl
movzx edx, cl
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
cmp dword [rax], 0x2000
jae 0x180017df6
mov ebx, 1
jmp 0x180017e01
cmp dword [rax], 0x3000
sbb eax, eax
lea ebx, [rax + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18001887c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x18003f2a8]
test rcx, rcx
jne 0x1800187d3
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1800187cc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800187fe
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1800187c8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x18003f2a8], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x180018871
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180018821
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x18003f2a8]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x18001884e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x180018871
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x18003f2a8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x180018855
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x180018758

Function at 0x180019f08
Capabilities:
Create thread
Resume thread

Disassembly:
lea r8, [rcx + 0x38]
lea rcx, [0x180003960]
xor edx, edx
jmp 0x180019f08
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
sub rsp, 0x30
xor ebx, ebx
mov rbp, r8
mov r12d, edx
mov rsi, rcx
test rcx, rcx
jne 0x180019f46
call fcn.18001cf7c
mov dword [rax], 0x16
call fcn.18001d2a4
jmp 0x180019fcd
call fcn.18001717c
mov edx, 0x2c8
mov ecx, 1
call fcn.18001ff98
mov rdi, rax
test rax, rax
je 0x180019fba
call fcn.18001e010
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.18001ded4
lea r8, [0x180019e90]
mov rdx, r12
mov r9, rdi
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x180019fec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.180018b9c
test ebx, ebx
je 0x180019fcd
mov ecx, ebx
call fcn.18001cfbc
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x180019fb2
mov rax, rbx
jmp 0x180019fd1
Function at 0x18001e637
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18003d928]
jne 0x1800193ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1800193c6
repz ret
ror rcx, 0x10
jmp 0x18001e590
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18003fac0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18003fbb8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18001e615
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18003fac0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18001e637
mov rax, qword [rsp + 0x88]
mov qword [0x18003fbb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18003fb58], rax
mov rax, qword [0x18003fbb8]
mov qword [0x18003fa30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18003fb40], rax
mov dword [0x18003fa20], 0xc0000409
mov dword [0x18003fa24], 1
mov rax, qword [0x18003d928]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18003d930]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18003fab8], eax
mov ecx, 1
call fcn.180024eb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800309a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18003fab8], 0
jne 0x18001e6be
mov ecx, 1
call fcn.180024eb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180024b74
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18003d928]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18001de88
xor ebx, ebx
cmp qword [0x1800403d8], rbx
mov rdi, rax
jne 0x180024c87
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180024d5e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180024d5e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800403d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800403e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1800403e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800403f8], rax
test rax, rax
je 0x180024c7e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800403f0], rax
jmp 0x180024c8e
mov rax, qword [0x1800403f0]
jmp 0x180024c95
mov rax, qword [0x1800403f0]
mov r11, qword [0x1800403f8]
cmp rax, rdi
je 0x180024cfc
cmp r11, rdi
je 0x180024cfc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800403f8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180024cfc
test rax, rax
je 0x180024cfc
call rsi
test rax, rax
je 0x180024cf6
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180024cf6
test byte [rsp + 0x40], 1
jne 0x180024cfc
bts ebp, 0x15
jmp 0x180024d3c
mov rcx, qword [0x1800403e0]
cmp rcx, rdi
je 0x180024d3c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180024d3c
call rax
mov rbx, rax
test rax, rax
je 0x180024d3c
mov rcx, qword [0x1800403e8]
cmp rcx, rdi
je 0x180024d3c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180024d3c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800403d8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180024d5e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180024d60
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800193b0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005594
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140075078]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea rcx, [0x140082026]
call fcn.14004ea38
xor esi, esi
mov bl, sil
call fcn.1400057b8
cmp eax, 2
je 0x1400055e1
xor al, al
jmp 0x140005770
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatTrunkInstaller_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000576e
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x48], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.IsInstalledViaUpsell
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000566a
cmp dword [rsp + 0x30], 4
jne 0x14000566a
cmp dword [rsp + 0x34], 1
sete bl
xor edx, edx
mov dword [rsp + 0x38], esi
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x3c], 0x104
test bl, bl
jne 0x140005763
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.ProductSource
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005763
cmp dword [rsp + 0x38], 1
jne 0x140005763
cmp dword [rsp + 0x3c], esi
je 0x140005763
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003c60
lea rdx, str.UPGRADE32
lea rcx, [rsp + 0x50]
call fcn.140005560
mov rdx, qword [rsp + 0x68]
mov bl, al
cmp rdx, 8
jb 0x140005763
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000575e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000575e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e6b4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14004eb00
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret