joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800649f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov r14d, r9d
mov ecx, dword [rcx + 8]
mov rsi, r8
test ecx, ecx
jne 0x180064aee
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call fcn.180095d50
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180064ac8
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180064ab9
mov qword [rsp + 0x298], rbx
lea rbx, [rdi + 0xc]
lea rcx, [rsp + 0x4c]
mov rdx, rsi
cmp r14d, 1
jne 0x180064a8a
call fcn.180096278
test rax, rax
je 0x180064aa0
jmp 0x180064a93
call fcn.1800abac4
test eax, eax
jne 0x180064aa0
mov eax, dword [rsp + 0x28]
mov dword [rbx], eax
inc dword [rdi + 8]
add rbx, 4
lea rdx, [rsp + 0x20]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180064a70
mov rbx, qword [rsp + 0x298]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rdi + 8], 0
ja 0x180064b08
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180093c30
mov rbp, qword [rsp + 0x2a8]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
xor eax, eax
test ecx, ecx
je 0x180064ac8
add rdi, 0xc
cmp edx, dword [rdi]
je 0x180064b08
inc eax
add rdi, 4
cmp eax, ecx
jb 0x180064af8
jmp 0x180064ac8
mov eax, 1
jmp 0x180064aca
Function at 0x18006a4e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push r15
sub rsp, 0x40
xor ecx, ecx
mov r15, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18006a5db
mov qword [rsp + 0x50], rbx
mov ecx, 1
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov r8, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea edi, [rax + 1]
mov eax, 2
mul rdi
cmovo rax, rbx
mov rcx, rax
call fcn.180093d68
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.180095d50
mov r9d, ebx
mov dword [rsp + 0x28], esi
mov r8, rbp
mov qword [rsp + 0x20], r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
nop
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x18006a5b0
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.1800111c0
mov rcx, r14
call fcn.180093588
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x40
pop r15
ret
mov rcx, qword [rcx]
jmp 0x18006a4e0
Function at 0x18006aae0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov ecx, 0x410
mov r8d, edx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea r9, [rsp + 0x58]
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], eax
lea r8d, [rax + 8]
call sub.KERNEL32.dll_K32EnumProcessModules
mov rdx, qword [rsp + 0x20]
mov r9d, 0x104
mov r8, rdi
mov rcx, rbx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18006b170
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
movsxd r12, edx
xor ecx, ecx
mov r15d, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18006b1c9
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rdi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, 0xffffffffffffffff
mov dword [rsp + 0x28], ebx
mov r9d, ebp
mov qword [rsp + 0x20], rbx
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea edi, [rax + 1]
mov eax, 2
mul rdi
cmovo rax, rbp
mov rcx, rax
call fcn.180093d68
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.180095d50
mov r9d, ebp
mov dword [rsp + 0x28], esi
mov r8, r15
mov qword [rsp + 0x20], r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax]
inc rbp
cmp word [r14 + rbp*2], bx
jne 0x18006b230
movsxd rdi, ebp
test ebp, ebp
jle 0x18006b27c
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [r14 + rbx*2]
mov edx, 0x102
mov r9d, 1
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
cmp rbx, rdi
jl 0x18006b250
mov rcx, r14
call fcn.180093588
mov rbx, qword [rsp + 0x50]
mov al, 1
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x18006b3f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov rsi, rdx
mov qword [rax - 0x20], r15
mov r8, rdx
mov qword [rax - 0x28], r15
mov rbx, 0xffffffffffffffff
mov dword [rax - 0x30], r15d
mov r9d, ebx
xor edx, edx
mov qword [rax - 0x38], r15
xor ecx, ecx
xor r14b, r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
lea eax, [rdi + 1]
movsxd rcx, eax
call fcn.180093d68
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.180095d50
mov qword [rsp + 0x38], r15
mov r9d, ebx
mov qword [rsp + 0x30], r15
mov r8, rsi
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18006b4f5
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], r14b
jne 0x18006b490
inc ebx
mov ecx, 0x2042
movsxd rsi, ebx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rsi
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call fcn.1800956b0
mov rcx, rdi
mov byte [rsi + rbx - 1], r14b
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
test rbx, rbx
setne r14b
mov rcx, rbp
call fcn.180093588
mov rbx, qword [rsp + 0x60]
movzx eax, r14b
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x18006b640
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
movsxd rdi, edx
mov ebx, r8d
mov rcx, rdi
xor sil, sil
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x18006b678
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ebx, ebx
jne 0x18006b693
xor r9d, r9d
lea edx, [rbx + 0x10]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x18006b850
cmp ebx, 1
je 0x18006b839
cmp ebx, 2
jne 0x18006b6b2
lea edx, [rbx + 5]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18006b850
cmp ebx, 3
jne 0x18006b6c8
lea edx, [rbx - 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18006b850
cmp ebx, 4
jne 0x18006b6de
lea edx, [rbx - 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18006b850
cmp ebx, 5
jne 0x18006b6f4
lea edx, [rbx - 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18006b850
cmp ebx, 6
jne 0x18006b709
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18006b850
cmp ebx, 7
je 0x18006b839
cmp ebx, 8
jne 0x18006b741
xor eax, eax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, [rax - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x18006b850
cmp ebx, 9
jne 0x18006b770
xor eax, eax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, [rax - 2]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x18006b850
cmp ebx, 0xa
jne 0x18006b785
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x18006b850
cmp ebx, 0xb
jne 0x18006b79b
lea edx, [rbx - 0xa]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x18006b850
cmp ebx, 0xc
jne 0x18006b7b1
lea edx, [rbx - 3]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x18006b850
cmp ebx, 0xd
jne 0x18006b7e9
xor eax, eax
lea rdx, [rsp + 0x78]
mov rcx, rdi
mov dword [rsp + 0x78], eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18006b850
cmp ebx, 0xe
jne 0x18006b819
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x50], 0xf
mov qword [rsp + 0x54], 0xffffff
mov qword [rsp + 0x48], rdi
call qword [sym.imp.USER32.dll_FlashWindowEx]
jmp 0x18006b850
cmp ebx, 0xf
jne 0x18006b835
lea edx, [rbx - 0xa]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x18006b850
ja 0x18006b853
jmp 0x18006b850
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov sil, 1
mov rbx, qword [rsp + 0x70]
movzx eax, sil
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x180075af0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push r15
sub rsp, 0x40
xor ecx, ecx
mov r15, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18006a5db
mov qword [rsp + 0x50], rbx
mov ecx, 1
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov r8, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea edi, [rax + 1]
mov eax, 2
mul rdi
cmovo rax, rbx
mov rcx, rax
call fcn.180093d68
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.180095d50
mov r9d, ebx
mov dword [rsp + 0x28], esi
mov r8, rbp
mov qword [rsp + 0x20], r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
nop
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x18006a5b0
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.1800111c0
mov rcx, r14
call fcn.180093588
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x40
pop r15
ret
mov rcx, qword [rcx]
jmp 0x18006a4e0

Function at 0x180076900
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x20
mov dword [r8], 0
mov rbx, r8
test edx, edx
jne 0x180076922
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [rbx], eax
add rsp, 0x20
pop rbx
ret
cmp edx, 1
jne 0x180076938
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov dword [rbx], eax
add rsp, 0x20
pop rbx
ret

Function at 0x180076b70
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, r8
movsxd rbx, edx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.180095d50
mov rcx, rbx
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180076bd0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180005760
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180093c30
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x1800773c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov r14, r9
mov dword [r9], edi
mov ebp, r8d
mov rsi, rdx
mov r15, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], di
jne 0x1800773f0
test rbx, rbx
je 0x180077433
nop
movzx ecx, word [rsi + rdi*2]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx edx, ax
mov rax, qword [r15]
mov rcx, qword [rax + 0x4a0]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov dword [r14], eax
test eax, eax
je 0x180077433
mov ecx, ebp
call fcn.180042a10
inc rdi
cmp rdi, rbx
jb 0x180077400
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18007abc0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov edi, r8d
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x18007abf5
lea rcx, [rsp + 0x20]
call fcn.18002fd30
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180044d40
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x18007ac5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007ac58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007acfa
call fcn.180093588
movdqa xmm0, xmmword [0x1800ce060]
movdqu xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov word [rsp + 0x20], bx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
seta bl
mov dword [rsi], ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18007accc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007acc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007acf4
call fcn.180093588
movdqa xmm0, xmmword [0x1800e4080]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
call fcn.18009a4c4
nop
call fcn.18009a4c4
nop
Function at 0x18007cef0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x18007cfd3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18007cfd3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18007cff1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18007cfc3
cmp word [rax], 0x5c
jne 0x18007cfbc
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x18007cfbc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18007cfa7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x18007cfb9
test r8b, 0x10
jne 0x18007cfbc
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x18007cfbc
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.18007ff70
test edi, edi
jne 0x18007cf20
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18007e2a0
int3

Function at 0x180080590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1800805d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800805c0
ret
Function at 0x180086030
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1800860e6
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x1800860b2
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800860d1
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800860d1
mov qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x1800860d1
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x1801088e0], 0
jne 0x180086131
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180086121
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801088d8], rax
mov byte [0x1801088e0], 1
jmp 0x180086138
mov rax, qword [0x1801088d8]
mov byte [0x1801088e0], 1
jmp 0x180086138
mov rax, qword [0x1801088d8]
mov rdx, rsi
mov rcx, qword [rbx]
test rax, rax
je 0x1800860bb
xor r9d, r9d
mov r8d, dword [rbx + 8]
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180086ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180086f75
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180086f75
call fcn.180085440
mov ebx, eax
jmp 0x180087097
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180086f96
call fcn.180085440
jmp 0x180087086
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180086fb9
call fcn.180085440
jmp 0x180087086
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180086fdb
mov ebx, 0x8007000e
jmp 0x180087088
mov ecx, eax
test eax, eax
je 0x180087010
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1800870cf
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180087010
lea rcx, [rsp + 0x60]
call fcn.180085150
jmp 0x18008701a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x18008702d
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x18008703e
mov ebx, 0x8007000e
jmp 0x180087088
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180087063
call fcn.180085440
jmp 0x180087086
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.180086a20
mov ebx, eax
test rdi, rdi
je 0x180087097
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1800870ae
lea rcx, [rsp + 0x60]
call fcn.180086170
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180030720
int3
Function at 0x18008e010
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18010ac4c]
mov ebx, edi
test ecx, ecx
je 0x18008e14b
mov rax, qword [0x18010ac40]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18008e068
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18008e040
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18008e14b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18008e390
mov r8d, dword [0x18010ac4c]
cmp ebx, r8d
jae 0x18008e0d8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18010ac40]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18008e0d1
mov edx, esi
mov ecx, ebx
call fcn.18008e280
mov edi, eax
test eax, eax
jne 0x18008e0d8
mov r8d, dword [0x18010ac4c]
inc ebx
cmp ebx, r8d
jb 0x18008e0a0
cmp qword [rsp + 0x20], 0
je 0x18008e14b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18008e137
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18008e128
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18008e100
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180108960]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18008e280
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18010ac40]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18008e2e4
mov eax, 0xa
jmp 0x18008e373
test esi, esi
je 0x18008e306
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18008e329
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18008e329
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18008e322
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18008e329
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret