joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000ca50
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rax, [0x1800c9030]
xor r15d, r15d
mov r14d, 2
mov qword [rcx], rax
mov dword [rcx + 0x30], r15d
lea rsi, [rcx + 0x40]
mov rbx, rcx
mov edi, r14d
mov rcx, rsi
call fcn.18000ce00
add rsi, 0x10
sub rdi, 1
jne 0x18000ca89
mov qword [rbx + 0x68], r15
mov qword [rbx + 0x70], r15
mov dword [rbx + 0x38], r15d
mov qword [rbx + 0x7c], r15
mov dword [rbx + 0x78], r15d
mov qword [rbx + 0x60], r15
cmp dword [rbx + 0x30], r15d
jne 0x18000cace
lea rcx, [rbx + 8]
call qword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
test eax, eax
js 0x18000cace
mov dword [rbx + 0x30], 1
lea rax, [rbx + 0xa0]
mov qword [rbx + 0x90], 0x11
mov qword [rbx + 0x88], r15
mov ecx, 0xffffffff
mov qword [rbx + 0x98], r15
mov qword [rax + 8], rax
mov qword [rax], rax
mov eax, dword [rbx + 0x90]
shl rax, 3
cmp rax, rcx
ja 0x18000cb47
mov ecx, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
je 0x180037308
mov edx, r15d
mov qword [rbx + 0x88], rdi
cmp dword [rbx + 0x90], r15d
jbe 0x18000cb47
mov rax, qword [rbx + 0x88]
mov ecx, edx
inc edx
mov qword [rax + rcx*8], r15
cmp edx, dword [rbx + 0x90]
jb 0x18000cb30
lea rax, fcn.18000cc20
mov dword [rbx + 0xb0], r15d
mov qword [rbx], rax
lea rdi, [rbx + 0xf0]
mov dword [rbx + 0xe0], r15d
mov rcx, rdi
call fcn.18000ce00
add rdi, 0x10
sub r14, 1
jne 0x18000cb66
mov qword [rbx + 0x118], r15
mov qword [rbx + 0x120], r15
mov dword [rbx + 0xe8], r15d
mov qword [rbx + 0x12c], r15
mov dword [rbx + 0x128], r15d
mov qword [rbx + 0x110], r15
cmp dword [rbx + 0xe0], r15d
jne 0x18000cbc6
lea rcx, [rbx + 0xb8]
call qword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
test eax, eax
js 0x18000cbc6
mov dword [rbx + 0xe0], 1
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
shr eax, 3
mov dword [rbx + 0x13c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x138], eax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000017
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_RaiseException]
Function at 0x18000ce44
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x20], r9d
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rsi, r8
lea rcx, [rax - 0x18]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor r9d, r9d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
and dword [rsp + 0x20], 0
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
cmp eax, 0x80000005
je 0x1800373b8
cmp eax, 0xc0000023
je 0x1800373b8
mov ecx, eax
call fcn.18000ba18
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x1800373d4
mov ecx, 0xc000009a
jmp 0x18000cea4
lea rax, [rsp + 0x68]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x68]
mov r8d, 1
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov ebx, eax
test eax, eax
js 0x180037426
cmp dword [rdi + 4], 1
je 0x18003741c
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, 0x80040153
jmp 0x18000cea9
mov qword [rsi], rdi
xor eax, eax
jmp 0x18000cea9
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov ecx, ebx
jmp 0x18000cea4
Function at 0x18000dad0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rdi
mov rax, qword [0x180122658]
xor rax, rbp
mov qword [rbp + 0x18], rax
xor r14d, r14d
mov qword [rbp + 0x10], rcx
mov eax, r9d
mov qword [rbp + 8], r14
and eax, 0x300
mov r15d, r9d
mov r13, rdx
mov rbx, rcx
mov r12b, r14b
mov edi, r14d
cmp eax, 0x200
je 0x18000db6b
mov rax, qword [rbp + 0x70]
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
mov eax, edi
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.180023ec0
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x60]
lea rsp, [rbp + 0x20]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword gs:[0x30]
cmp dword [rax + 0x180c], r14d
jl 0x18000db26
xor r9d, r9d
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 8]
mov ecx, 0xb5
mov dword [rsp + 0x20], r14d
lea r8d, [r9 + 8]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
cmp eax, 0xc0000023
jne 0x18000db26
mov edx, dword [rbp]
lea rcx, [rdx + 0xf]
cmp rcx, rdx
ja 0x18000dbc2
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800245d0
sub rsp, rcx
lea rax, [rbp]
mov r8d, 8
mov ecx, 0xb5
mov qword [rsp + 0x28], rax
lea rsi, [rsp + 0x30]
mov dword [rsp + 0x20], edx
mov r9, rsi
lea rdx, [rbp + 8]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
js 0x18000db26
mov edx, dword [rsi]
test dx, dx
je 0x18000db26
mov rax, rsi
and edx, 0x60000
cmp edx, 0x20000
jne 0x18000dc5d
movzx ecx, word [rax]
mov r12b, 1
call qword [sym.imp.api_ms_win_core_wow64_l1_1_1.dll_Wow64SetThreadDefaultGuestMachine]
mov rcx, qword [rbp + 0x10]
mov r9d, r15d
movzx ebx, ax
xor r8d, r8d
mov rax, qword [rbp + 0x70]
mov rdx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
movzx ecx, bx
mov edi, eax
call qword [sym.imp.api_ms_win_core_wow64_l1_1_1.dll_Wow64SetThreadDefaultGuestMachine]
test edi, edi
je 0x18000db43
inc r14d
lea rax, [rsi + r14*4]
mov edx, dword [rax]
test dx, dx
jne 0x18000dc11
test r12b, r12b
jne 0x18000db43
jmp 0x180037944
mov rbx, qword [rbp + 0x10]
jmp 0x18000db26
Function at 0x18000f288
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
mov r10, r8
test r8, r8
je 0x18000f2b5
movzx eax, byte [r9 + rdx]
inc r9
add dword [rcx], eax
imul eax, dword [rcx], 0x401
mov r8d, eax
shr r8d, 6
xor r8d, eax
mov dword [rcx], r8d
cmp r9, r10
jb 0x18000f293
ret

Function at 0x18000fa0c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rcx], 0
lea rax, [rsp + 0x38]
and qword [rsp + 0x38], 0
lea rdx, str.SOFTWAREMicrosoftOleExtensions
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jg 0x1800389e2
test ebx, ebx
js 0x18000fb11
mov ebx, 0x208
lea rcx, [rsp + 0x60]
mov r8d, ebx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1800f2aa0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jg 0x1800389f0
test ebx, ebx
js 0x18000fb06
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov ebx, eax
test eax, eax
js 0x18000fb06
xor edx, edx
mov qword [rsp + 0x20], rdi
lea r9, [0x1800f2a90]
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
movzx ebx, ax
or ebx, 0x80070000
jmp 0x18000fa75
movzx ebx, ax
or ebx, 0x80070000
jmp 0x18000facd
Function at 0x180010e94
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x20
mov rbx, r8
mov r12b, dl
mov r15, rcx
call qword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
mov dword [rbx], eax
xor edi, edi
and qword [r15], 0
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov byte [rsp + 0x50], dil
call fcn.180010fbc
mov ebx, eax
test eax, eax
js 0x180010f05
movzx ecx, word [0x180123338]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x180010f22
test ebx, ebx
js 0x180039c9e
movzx edx, r12b
mov r8, r15
mov rcx, rdi
call fcn.1800105d8
mov ebx, eax
test eax, eax
js 0x180039c9e
lea rcx, [rsp + 0x50]
call fcn.180011038
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx ecx, word [0x180123338]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x180010ee4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x180039c80
cmp dword [rax], edi
jne 0x180010ee4
cmp dword [rax + 4], edi
jbe 0x180010ee4
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.18001ed68
test eax, eax
js 0x180010fb2
call fcn.180008404
cmp qword [rsp + 0x60], rax
jae 0x180010f89
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [0x180123080]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rdi, rdi
je 0x180010fb2
mov r8, qword [rsp + 0x60]
mov r9d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.18001ea84
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x180010ee4
mov ebx, 0x8007000e
jmp 0x180010fa4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x180010ee4
movzx ebx, ax
or ebx, 0x80070000
jmp 0x180010ee4
test rdi, rdi
je 0x180010f05
mov rcx, qword [0x180123080]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop
jmp 0x180010f05

Function at 0x180010fbc
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rcx
xor ebx, ebx
mov rsi, r8
lea ecx, [rbx + 1]
call fcn.180011074
mov rdi, rax
test rax, rax
je 0x18001102e
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180039cc0
call qword [sym.imp.ext_ms_win_edputil_policy_l1_1_0.dll_EdpGetIsManaged]
test eax, eax
jne 0x180039ce3
mov byte [r14], 1
test rsi, rsi
jne 0x180011029
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsi], rdi
jmp 0x180011011
mov ebx, 0x80004005
jmp 0x18001100c
xor ecx, ecx
call qword [sym.imp.KERNELBASE.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x180010ffa
mov ebx, 0x800401d0
jmp 0x18001100c
mov ecx, 1
call fcn.18007bcbc
nop
jmp 0x180011008
Function at 0x180012864
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and qword [rax + 0x20], 0
mov rbp, r8
mov rdi, rdx
lea r8, [rax + 0x20]
mov edx, 0x2000000
mov rsi, rcx
call fcn.18000d8c8
mov ebx, eax
test eax, eax
je 0x1800318f6
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x68]
mov r9d, 0xffff
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov qword [rsp + 0x28], rdi
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
test eax, 0xfffffffd
je 0x180031963
xor r8d, r8d
lea rcx, [0x1801220f0]
xor edx, edx
call fcn.18000e778
test al, al
jne 0x180031950
cmp dword [0x180122f00], 0
je 0x180031963
mov rax, qword [section..data]
test byte [rax + 0x1c], 1
je 0x180031963
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
call fcn.1800bd3b4
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
jmp 0x18001289e
Function at 0x180012e74
Capabilities:
Write clipboard data

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 r14
sub rsp, 0x20
mov rbp, rdx
movzx r14d, cx
mov rdx, r8
mov ecx, 0x2002
mov rsi, r8
xor ebx, ebx
call qword [sym.imp.KERNELBASE.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x180012f0b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x180031d4e
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
movzx ecx, r14w
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x180031d55
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ebx, 0x8007000e
jmp 0x180012eee
mov ebx, 0x8007000e
jmp 0x180031d5a
mov ebx, 0x800401d2
mov rcx, rdi
call qword [sym.imp.KERNELBASE.dll_GlobalFree]
nop
jmp 0x180012eee
Function at 0x180014a84
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rbp + 0x190], rax
movups xmm0, xmmword [rdx]
mov r15, rdx
mov r12, rcx
movups xmm1, xmmword [rdx + 0x10]
lea rax, [rsp + 0x48]
xor esi, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
movups xmmword [rsp + 0x50], xmm0
lea ebx, [rsi + 1]
xor r14b, r14b
mov r9d, ebx
movups xmmword [rsp + 0x60], xmm1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x180014b78
mov rcx, qword [rsp + 0x48]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.OlePictureFormatPreferenceList
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x180014b68
cmp dword [rsp + 0x3c], 7
jne 0x180014b68
mov r14b, bl
xor edi, edi
lea rcx, [rsp + 0x40]
call fcn.1800a0ca8
test eax, eax
js 0x180014b68
mov dword [rsp + rdi*4 + 0x70], eax
add esi, ebx
add rdi, rbx
cmp rdi, 4
jl 0x180014b4b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r14b, r14b
jne 0x180014b8b
movdqa xmm0, xmmword [0x180100870]
mov esi, 4
movdqu xmmword [rsp + 0x70], xmm0
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.18007ab4c
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.180026ac8
lea rcx, [rsp + 0x40]
call fcn.180005188
movsxd rsi, esi
test rsi, rsi
jle 0x180014c2a
xor edi, edi
lea r14, [0x180123570]
movsxd rax, dword [rsp + rdi*4 + 0x70]
lea rcx, [rax + rax*2]
movzx eax, word [r14 + rcx*8]
mov word [rsp + 0x50], ax
mov eax, dword [r14 + rcx*8 + 4]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x68], eax
call fcn.180026b18
lea rdx, [rsp + 0x50]
cmp eax, 0xffffffff
je 0x180014c0d
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x1800248fe.0]
jmp 0x180014c1e
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x28]
call qword [case.0x1800248fe.0]
test eax, eax
je 0x180014c63
add rdi, rbx
cmp rdi, rsi
jl 0x180014bc6
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.180026b10
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movzx eax, word [rsp + 0x50]
mov word [r15], ax
mov eax, dword [rsp + 0x68]
mov dword [r15 + 0x18], eax
jmp 0x180014c2c
Function at 0x18001bf04
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
lea rax, [rax + 8]
mov rbx, r9
mov rdi, r8
mov qword [rsp + 0x20], rax
xor esi, esi
mov r9d, 0x20019
mov dword [rax - 0x20], esi
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001bf7e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov r9d, 0x30000003
mov qword [rsp + 0x28], rdi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov rcx, qword [rsp + 0x60]
cmp eax, 2
mov ebx, eax
cmove ebx, esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x18001c764
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
xor ebx, ebx
and qword [r8], rbx
mov ecx, edx
mov rsi, r8
mov edi, edx
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ecx, edi
test eax, eax
je 0x18001c7b8
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x18001c7cc
mov qword [rsi], rax
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.18001cdd0
test eax, eax
jne 0x180038dd2
mov ebx, 0x80040064
jmp 0x18001c7a1
mov ebx, 0x800401d3
jmp 0x18001c7a1
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov edx, edi
mov rcx, rbp
call fcn.180084350
mov ebx, eax
test eax, eax
jne 0x18001c7a1
mov rcx, qword [rsp + 0x28]
mov qword [rsi], rcx
jmp 0x18001c7a1
Function at 0x18001e334
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x460], rax
movabs rax, 0x5c003a0041
mov rbx, rcx
mov qword [rsp + 0x28], rax
mov r15d, 0xffff
mov word [r8], r15w
mov rsi, r8
movzx eax, word [rcx]
mov r14, rdx
lea rcx, [rsp + 0x28]
mov word [rsp + 0x28], ax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
xor edi, edi
mov dword [rsp + 0x20], 0x42a
cmp eax, 4
je 0x18003b75c
and qword [r14], rdi
mov word [rsi], r15w
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180023ec0
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r9, [rsp + 0x20]
mov edx, 2
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.MPR.dll_WNetGetUniversalNameW]
test eax, eax
jne 0x18001e3a1
mov rcx, qword [rsp + 0x38]
call fcn.180005e78
mov rcx, qword [rsp + 0x40]
movsxd rdi, eax
call fcn.180005e78
lea ecx, [rdi + 1]
mov ebp, eax
add ecx, eax
cmp ecx, 0x104
jle 0x18003b7ac
mov edi, 0x800401e4
jmp 0x18001e3a8
movsxd r8, ecx
xor edx, edx
mov rcx, qword [0x180123080]
add r8, r8
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov qword [r14], rax
mov rcx, rax
test rax, rax
jne 0x18003b7d6
mov edi, 0x8007000e
jmp 0x18001e3a8
mov rdx, qword [rsp + 0x38]
lea rbx, [rdi + rdi]
mov r8, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rcx, qword [r14]
lea eax, [rbp + 1]
mov rdx, qword [rsp + 0x40]
add rcx, rbx
movsxd r8, eax
add r8, r8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
or eax, 0xffffffff
mov ecx, 0x80070216
test edi, edi
cmovns eax, edi
sar edi, 0x1f
and edi, ecx
jl 0x18001e3a8
cmp eax, r15d
ja 0x18003b827
mov word [rsi], ax
xor edi, edi
jmp 0x18001e3a8
mov edi, ecx
jmp 0x18001e3a4

Function at 0x180023ee4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x180122d50], eax
call fcn.180024a58
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x180122d50], 0
jne 0x180023f27
mov ecx, 1
call fcn.180024a58
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x1800417b0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebx, dword [0x180122704]
cmp ebx, 0xffffffff
jne 0x18004180e
xor edx, edx
lea rcx, [rsp + 0x20]
mov ebx, 0x1f4
lea r8d, [rdx + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x180041808
movsx eax, byte [rsp + 0x58]
imul ebx, eax, 0x1f4
mov dword [0x180122704], ebx
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180023ec0
add rsp, 0x70
pop rbx
ret

Function at 0x180041dec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov eax, edx
mov dword [r8], r13d
mov r12, r9
mov r15, r8
mov qword [r9], r13
mov rbp, rcx
mov edi, 0x800401e4
lea r14, [rax + rax]
lea rbx, [r14 + rcx]
cmp rbx, rcx
jbe 0x180041ea1
cmp edi, 0x800401e4
jne 0x180041ea1
movzx esi, word [rbx]
test si, si
je 0x180041e5a
lea eax, [rsi - 0x21]
cmp ax, 0x3b
ja 0x180041e94
movzx eax, ax
movabs rcx, 0xc00000002004005
bt rcx, rax
jae 0x180041e94
mov rcx, rbp
mov word [rbx], r13w
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180041e91
test al, 0x10
je 0x180041e77
mov edi, 0x800401ea
jmp 0x180041e91
mov rdx, r12
mov rcx, rbp
call sym.ole32.dll_CreateFileMoniker
mov edi, eax
test eax, eax
js 0x180041e91
mov rcx, r14
sar rcx, 1
mov dword [r15], ecx
mov word [rbx], si
sub rbx, 2
sub r14, 2
cmp rbx, rbp
ja 0x180041e2e
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180048b20
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x1800f3170]
jmp fcn.180048b2c