joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400907b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
movzx edx, byte [rcx + 0x69]
test dl, 4
je 0x1400907eb
movzx eax, dl
shr al, 3
not al
shl al, 3
xor al, dl
and al, 8
xor al, dl
xor edx, edx
mov byte [rcx + 0x69], al
mov rcx, qword [rcx + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
add rsp, 0x30
pop rbx
ret
lea rbx, [rcx + 0x98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140090825
mov dword [rsp + 0x28], 3
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140091390
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x80
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm0
mov rsi, rax
movdqu xmmword [rsp + 0x60], xmm1
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140091422
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ScreenToClient]
cmp qword [rdi + 0x70], 0
jne 0x1400914af
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x5c]
mov rcx, rsi
mov edx, dword [rsp + 0x58]
sub r8d, dword [rsp + 0x54]
sub edx, dword [rsp + 0x50]
mov qword [rdi + 0x70], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rdi + 0x78], rax
mov rdx, rax
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rsp + 0x5c]
xor r8d, r8d
sub ecx, dword [rsp + 0x54]
xor edx, edx
mov r9d, dword [rsp + 0x58]
sub r9d, dword [rsp + 0x50]
mov qword [rdi + 0x80], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [rsp + 0x5c]
xor eax, eax
sub ecx, dword [rsp + 0x54]
xor r8d, r8d
mov r9d, dword [rsp + 0x58]
xor edx, edx
sub r9d, dword [rsp + 0x50]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rax, qword [rdi + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400dd830
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140093040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, r9
movzx ebx, r8b
mov rdi, rdx
mov r15, rcx
mov r14, qword [rcx]
mov r10, qword [r14 + 8]
mov r11, r14
mov r8b, 1
xor r9d, r9d
cmp byte [r10 + 0x19], r9b
jne 0x140093126
mov r11, r10
test bl, bl
je 0x1400930c8
mov rdx, qword [rsi]
test rdx, rdx
je 0x140093110
mov rax, qword [r10 + 0x20]
sub rdx, rax
nop
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400930b7
add rax, 2
test cx, cx
jne 0x1400930a0
mov eax, r9d
jmp 0x1400930bc
sbb eax, eax
or eax, 1
test eax, eax
sets r8b
xor r8b, 1
jmp 0x1400930f9
mov rdx, qword [r10 + 0x20]
test rdx, rdx
je 0x14009311b
mov rax, qword [rsi]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400930ee
add rax, 2
test cx, cx
jne 0x1400930d7
mov eax, r9d
jmp 0x1400930f3
sbb eax, eax
or eax, 1
test eax, eax
sets r8b
test r8b, r8b
je 0x140093103
mov r10, qword [r10]
jmp 0x140093107
mov r10, qword [r10 + 0x10]
cmp byte [r10 + 0x19], r9b
jmp 0x140093082
mov ecx, 0x80004005
call fcn.14004a980
int3
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rbx, r11
test r8b, r8b
je 0x1400931ca
cmp r11, qword [r14]
jne 0x14009316e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9, r11
mov r8b, 1
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140092a50
mov rax, qword [rax]
mov qword [rdi], rax
mov byte [rdi + 8], 1
mov rax, rdi
jmp 0x14009324c
cmp byte [r11 + 0x19], 0
je 0x14009317b
mov rbx, qword [r11 + 0x10]
jmp 0x1400931ca
mov rax, qword [r11]
cmp byte [rax + 0x19], 0
jne 0x1400931a0
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400931ca
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140093191
jmp 0x1400931ca
mov rax, qword [r11 + 8]
cmp byte [rax + 0x19], 0
jne 0x1400931c2
nop word [rax + rax]
cmp rbx, qword [rax]
jne 0x1400931c2
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400931b0
cmp byte [rbx + 0x19], 0
cmove rbx, rax
mov rdx, qword [rsi]
test rdx, rdx
jne 0x1400931dd
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rbx + 0x20]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400931f8
add rax, 2
test cx, cx
jne 0x1400931e4
jmp 0x1400931ff
sbb r9d, r9d
or r9d, 1
mov rcx, r15
test r9d, r9d
jns 0x140093235
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9, r11
lea rdx, [rsp + 0x38]
call fcn.140092a50
mov rax, qword [rax]
mov qword [rdi], rax
mov byte [rdi + 8], 1
mov rax, rdi
jmp 0x14009324c
mov rdx, qword [rsp + 0x80]
call fcn.1400a4550
mov qword [rdi], rbx
mov byte [rdi + 8], 0
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140095720
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call fcn.1400e0460
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140095791
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x140095777
cmp eax, 4
jne 0x140095791
cmp dword [rsp + 0x28], 0x5a
jb 0x140095791
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400dd830
add rsp, 0x158
ret
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400dd830
add rsp, 0x158
ret
Function at 0x140098530
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rbx, rdx
mov rdi, rcx
lea r8, [0x1401d2bec]
mov rdx, rcx
lea rcx, [rbp + 0x77]
call fcn.140075e90
nop
lea r8, str..cab
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140075e90
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x77]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400985ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, rdi
lea rdx, str._Y__E__L__
lea rcx, [rbp - 0x31]
call fcn.14007a480
nop
lea r8, [0x14018c340]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140075e90
nop
lea r8, [rbp + 0x77]
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.14007a3d0
nop
lea r8, [0x1401887f8]
mov rdx, rax
lea rcx, [rbp + 0x7f]
call fcn.140075e90
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140098619
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140098637
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140098654
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp - 0x19]
call fcn.1400e0460
mov dword [rbp - 0x19], 0x70
mov dword [rbp - 0x15], 0x440
xor ecx, ecx
mov qword [rbp - 0x11], rcx
lea rax, str.open
mov qword [rbp - 9], rax
lea rax, str.extrac32.exe
mov qword [rbp - 1], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], ecx
lea rcx, [rbp - 0x19]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp + 0x4f]
test rcx, rcx
je 0x1400986c2
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x4f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400986e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x77]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400986fb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140099330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov r8, rdx
lea rdx, str..PIPEHelpViewer_
lea rcx, [rsp + 0x40]
call fcn.14007a480
mov rcx, qword [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400993db
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140099404
mov edx, 0x4e20
lea rcx, str..PIPEHelpViewer_
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140099404
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140099388
xor r9d, r9d
mov dword [rsp + 0x70], 2
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x140099412
lea rcx, str.SetNamedPipeHandleState_failed
jmp 0x140099444
lea rcx, str.Could_not_open_pipe
call fcn.1400a4fd0
jmp 0x140099452
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rbx
lea r8d, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140099449
lea rcx, str.WriteFile_failed
call fcn.1400a4fd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140099471
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14009b480
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetCapture]
test rbx, rbx
lea rdx, [rbx - 0x40]
mov ecx, 8
cmove rdx, rcx
cmp rax, qword [rdx]
jne 0x14009b5f1
lea rax, [rdi - 0xd]
cmp rax, 0x1b
ja case.0x14009b4d6.14
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x9b61c]
mov ecx, dword [rdx + rax*4 + 0x9b608]
add rcx, rdx
jmp rcx
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], eax
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx], 0
je case.0x14009b4d6.14
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r10d, dword [rbx + 0x4c]
cmp rdi, 0x25
mov edx, dword [rbx + 0x48]
mov eax, 0xfffffff6
mov ecx, dword [rbx + 0x20]
mov r8d, 0xa
mov r9d, dword [rbx + 0x28]
cmove r8d, eax
sub ecx, dword [rbx + 0x18]
add r8d, r9d
lea eax, [rdx + r10]
cmp r8d, eax
jl 0x14009b54d
sub ecx, dword [rbx + 0x3c]
sub ecx, edx
mov edx, r8d
sub ecx, r10d
cmp r8d, ecx
cmovg edx, ecx
mov ecx, dword [rsp + 0x30]
sub edx, r9d
add ecx, edx
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x30], ecx
call qword [sym.imp.USER32.dll_SetCursorPos]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx], 0
jne case.0x14009b4d6.14
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r10d, dword [rbx + 0x4c]
cmp rdi, 0x26
mov ecx, dword [rbx + 0x48]
mov eax, 0xfffffff6
mov edx, dword [rbx + 0x24]
mov r8d, 0xa
mov r9d, dword [rbx + 0x28]
cmove r8d, eax
sub edx, dword [rbx + 0x1c]
add r8d, r9d
lea eax, [rcx + r10]
cmp r8d, eax
jl 0x14009b5cd
sub edx, dword [rbx + 0x3c]
sub edx, ecx
mov ecx, r8d
sub edx, r10d
cmp r8d, edx
cmovg ecx, edx
mov edx, dword [rsp + 0x34]
sub ecx, r9d
add edx, ecx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x34], edx
call qword [sym.imp.USER32.dll_SetCursorPos]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov dword [rax], ecx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14009b640
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetCapture]
test rbx, rbx
lea rdx, [rbx - 0x40]
mov ecx, 8
cmove rdx, rcx
cmp rax, qword [rdx]
jne 0x14009b7b1
lea rax, [rdi - 0xd]
cmp rax, 0x1b
ja case.0x14009b696.14
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x9b7dc]
mov ecx, dword [rdx + rax*4 + 0x9b7c8]
add rcx, rdx
jmp rcx
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], eax
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx], 0
je case.0x14009b696.14
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r10d, dword [rbx + 0x4c]
cmp rdi, 0x25
mov edx, dword [rbx + 0x48]
mov eax, 0xfffffff6
mov ecx, dword [rbx + 0x20]
mov r8d, 0xa
mov r9d, dword [rbx + 0x28]
cmove r8d, eax
sub ecx, dword [rbx + 0x18]
add r8d, r9d
lea eax, [rdx + r10]
cmp r8d, eax
jl 0x14009b70d
sub ecx, dword [rbx + 0x3c]
sub ecx, edx
mov edx, r8d
sub ecx, r10d
cmp r8d, ecx
cmovg edx, ecx
mov ecx, dword [rsp + 0x30]
sub edx, r9d
add ecx, edx
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x30], ecx
call qword [sym.imp.USER32.dll_SetCursorPos]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx], 0
jne case.0x14009b696.14
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r10d, dword [rbx + 0x4c]
cmp rdi, 0x26
mov ecx, dword [rbx + 0x48]
mov eax, 0xfffffff6
mov edx, dword [rbx + 0x24]
mov r8d, 0xa
mov r9d, dword [rbx + 0x28]
cmove r8d, eax
sub edx, dword [rbx + 0x1c]
add r8d, r9d
lea eax, [rcx + r10]
cmp r8d, eax
jl 0x14009b78d
sub edx, dword [rbx + 0x3c]
sub edx, ecx
mov ecx, r8d
sub edx, r10d
cmp r8d, edx
cmovg ecx, edx
mov edx, dword [rsp + 0x34]
sub ecx, r9d
add edx, ecx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x34], edx
call qword [sym.imp.USER32.dll_SetCursorPos]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov dword [rax], ecx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14009c800
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rdi, r8
mov rbx, rcx
cmp qword [r8], rax
je 0x14009c830
mov dword [r9], 0
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rbx + 8]
je 0x14009c866
test byte [rbx + 0x98], 4
je 0x14009c85c
cmp qword [rbx + 0x120], 0
jne 0x14009c85c
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rbx + 0x120], rax
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetFocus]
mov r8d, dword [rdi + 0x18]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
and byte [rbx + 0xf0], 0xcf
mov r8b, 1
mov edx, eax
mov rcx, rbx
call fcn.1400964c0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14009c9a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rsp + 0x50]
mov rsi, r8
mov rbx, rcx
mov dword [rdi], 0
mov eax, dword [rcx + 0x118]
cmp eax, 0x12
je 0x14009c9e6
cmp eax, 0x79
jne 0x14009c9dd
lea ecx, [rax - 0x69]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14009c9e6
cmp dword [rbx + 0x118], 0x20
jne 0x14009ca63
cmp rsi, 0xf100
jne 0x14009ca63
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rbx + 8]
jne 0x14009ca1b
mov rcx, rbx
call fcn.140099290
mov rcx, qword [rbx + 8]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov edx, 0x448
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14009ca63
mov eax, dword [rbx + 0x118]
cmp eax, 0x20
je 0x14009ca63
test byte [rbx + 0xf0], 0x40
jne 0x14009ca58
movzx ecx, byte [rbx + 0xf1]
movzx eax, cl
and al, 6
cmp al, 2
jne 0x14009ca4e
test cl, 8
je 0x14009ca4e
mov dl, 1
mov rcx, rbx
call fcn.1400a2b50
mov rcx, rbx
call fcn.1400a2fb0
jmp 0x14009ca5d
cmp eax, 0x20
je 0x14009ca63
mov dword [rdi], 1
and byte [rbx + 0xf0], 0xbf
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14009f380
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov dword [rsp + 0x50], ebp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x48]
call fcn.14009cf50
mov ebx, eax
test eax, eax
jne 0x14009f4ae
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14009f471
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14009f380
mov ebx, eax
test eax, eax
jne 0x14009f4ae
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009f420
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009f486
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rcx, qword [rdi + 0x10]
mov dword [rsp + 0x50], ebp
test rcx, rcx
je 0x14009f4a0
mov rdx, qword [rdi]
mov r8, rsi
call fcn.14009f4f0
jmp 0x14009f4ac
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009f4be
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400dd830
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009f4f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14009f564
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009f586
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009f586
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x14009f586
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14009f9e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], 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 0x14009fa6e
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 0x14009fa6e
call fcn.140066090
mov ebx, eax
jmp 0x14009fb96
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14009fa8f
call fcn.140066090
jmp 0x14009fb85
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 0x14009fab2
call fcn.140066090
jmp 0x14009fb85
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 0x14009fad4
mov ebx, 0x8007000e
jmp 0x14009fb87
mov ecx, eax
test eax, eax
je 0x14009fb0c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14009fb02
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14009fb0c
lea rcx, [rsp + 0x70]
call fcn.140094de0
jmp 0x14009fb16
mov ecx, 0x80070216
call fcn.14004a980
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14009fb29
cmp qword [rsp + 0x70], 0
jne 0x14009fb38
mov ebx, 0x8007000e
jmp 0x14009fb87
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
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 0x14009fb62
call fcn.140066090
jmp 0x14009fb85
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14009f7f0
mov ebx, eax
test rdi, rdi
je 0x14009fb96
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14009fbad
lea rcx, [rsp + 0x70]
call fcn.140098a90
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400dd830
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret