joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f3474
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1405a5840]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea eax, [rcx - 0x60]
xor esi, esi
mov edi, ecx
mov ebx, reloc.WS2_32.dll_select
cmp eax, 9
ja 0x1400f34b6
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400f34e0
cmp dword [0x1405b61f4], esi
jne 0x1400f34e0
lea eax, [rdi - 0x41]
cmp eax, 0x19
jbe 0x1400f34dc
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400f34dc
mov ecx, edi
call fcn.1403c9090
jmp 0x1400f3558
mov eax, edi
jmp 0x1400f3558
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 4]
call fcn.1403df320
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1400f357d
call fcn.14005c384
mov ecx, dword [rax + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
mov ecx, edi
mov rbx, rax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov edx, eax
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], 2
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicodeEx]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x42], si
call qword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401d80d0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140057814
int3
Function at 0x14010cea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1405a5840]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
test ax, ax
js 0x14010cf77
mov rdi, qword [rsi + 0x248]
test rdi, rdi
jne 0x14010cf0d
mov rcx, qword [rsi + 0x130]
call fcn.140063188
mov rdx, rax
lea rcx, vtable.CGlobalUtils.0
call fcn.14012b444
mov rdi, rax
test rax, rax
je 0x14010cf70
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x28], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
xorps xmm0, xmm0
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r8, qword [rbp - 0x28]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x30]
mov dword [rbp - 0x30], ebx
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov qword [rbp - 0x20], rbx
call fcn.140113f08
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x14010cf70
cmp dword [rbp - 0x30], ebx
setne bl
mov eax, ebx
jmp 0x14010cf79
mov eax, 1
jmp 0x14010cf79
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401d80d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140129f2c
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14012a078
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14012a0ba
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x14012a4b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14012a57a
test rbx, rbx
je 0x14012a57a
test r9, r9
je 0x14012a57a
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14012a576
cmp dword [rsp + 0x48], 3
jne 0x14012a576
cmp dword [rdi], eax
je 0x14012a576
mov ecx, dword [rdi]
call fcn.140057b84
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14012a56a
cmp dword [rsp + 0x48], 3
jne 0x14012a56a
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.1400577d4
and qword [rbx], 0
xor eax, eax
jmp 0x14012a555
call fcn.140057814
int3

Function at 0x14012a83c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14012a84d
xor eax, eax
jmp 0x14012a87b
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14012a884
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14012a895
xor eax, eax
jmp 0x14012a8b9
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14014d2a4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1405a5840]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov edi, 0xfffffffd
mov dword [rcx + 0xd4], r15d
cmp dword [rcx + 0xc8], r15d
je 0x14014d344
test r8d, r8d
jne 0x14014d344
cmp dword [rcx + 0xcc], r15d
jne 0x14014d344
mov eax, dword [rcx + 0x24]
dec eax
cmp eax, edi
ja 0x14014d33a
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx + 0x108]
call qword [sym.imp.USER32.dll_PtInRect]
mov dword [rbx + 0xd4], eax
test eax, eax
je 0x14014d510
jmp 0x14014d344
mov dword [rcx + 0xd4], 1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x1e0]
call qword [case.0x14007fe76.0]
test eax, eax
je 0x14014d394
test esi, esi
jne 0x14014d394
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx + 0x118]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14014d510
cmp dword [rbx + 0xd4], r15d
jne 0x14014d3bc
mov eax, dword [rbx + 0x24]
dec eax
cmp eax, edi
ja 0x14014d3bc
cmp dword [rbx + 0xc8], r15d
jne 0x14014d3bc
cmp dword [rbx + 0xe0], r15d
je 0x14014d510
mov rdx, qword [rbx + 0x80]
lea rcx, str._b_A_
call fcn.14005a1f0
mov rdi, rax
mov rax, qword [rbx + 0xc0]
test rax, rax
je 0x14014d40c
mov dword [rax + 0x1f0], r15d
mov rcx, qword [rbx + 0xc0]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14007fe76.0]
mov qword [rbx + 0xc0], r15
test rdi, rdi
je 0x14014d45e
xor edx, edx
jmp 0x14014d456
mov rdx, qword [rbx + 0x80]
lea rcx, str.CMFCPopupMenuBar
call fcn.14005a1f0
test esi, esi
je 0x14014d4cb
test rax, rax
je 0x14014d4cb
cmp dword [0x1405b620c], r15d
jne 0x14014d4cb
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140125b30
test rdi, rdi
je 0x14014d45e
mov rdx, rbx
mov rcx, rdi
call fcn.1400bca88
cmp qword [rbx + 0x80], r15
je 0x14014d4a6
movups xmm0, xmmword [rbx + 0x68]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140079034
lea rcx, [rbp - 0x20]
mov edx, dword [rax + 0xcc]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
mov rcx, qword [rbx + 0x80]
lea rdx, [rbp - 0x20]
mov r9d, 0x401
xor r8d, r8d
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401d80d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
je 0x14014d4f2
xor edx, edx
mov rcx, rdi
call fcn.1400b4bc8
mov rcx, rax
test rax, rax
je 0x14014d4f2
mov rax, qword [rax]
mov rax, qword [rax + 0xb0]
call qword [case.0x14007fe76.0]
mov rax, qword [rbx]
mov rdx, r14
mov rcx, rbx
mov rax, qword [rax + 0x198]
call qword [case.0x14007fe76.0]
test eax, eax
jne 0x14014d44e
xor eax, eax
jmp 0x14014d4ab
Function at 0x140159dc4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x28]
xor ebx, ebx
cmp dword [rdi - 0x10], ebx
je 0x140159e3c
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
call fcn.14005c384
mov rcx, rax
test rax, rax
je 0x140159e13
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [case.0x14007fe76.0]
test rax, rax
je 0x140159e13
mov rcx, qword [rax + 0x40]
jmp 0x140159e16
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov r9, rbp
mov r8, rdi
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setae bl
mov eax, ebx
jmp 0x140159e3e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140162a78
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1405a493c], 0
mov ebx, ecx
je 0x140162b15
cmp dword [0x1405a4ed8], 0xfffffffe
jne 0x140162b02
cmp ecx, 0xffffffff
je 0x140162b15
lea rcx, [0x1405b8038]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1405b8060], 0
jne 0x140162b1b
xor r8d, r8d
lea rcx, [0x140162b24]
xor edx, edx
call fcn.1403bb688
mov rcx, rax
mov qword [0x1405b8060], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140162ae7
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1405a4ed8], ebx
jmp 0x140162aef
and qword [0x1405b8060], 0
lea rcx, [0x1405b8038]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x1405a4ed8], ebx
cmp ebx, 0xffffffff
jne 0x140162b15
and qword [0x1405b8060], 0
add rsp, 0x20
pop rbx
ret
call fcn.140057814
int3
Function at 0x140164d78
Capabilities:
Log keystrokes via polling

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
cmp dword [rdx + 8], 0x100
mov rbp, rdx
mov rbx, rcx
jne 0x140164e68
xor edx, edx
call fcn.1400b4bc8
mov rcx, rbx
test rax, rax
je 0x140164dc0
mov rdx, rbp
call fcn.14009fd70
jmp 0x140164e73
call fcn.1400b4bc0
cmp dword [rbx + 0x1394], 0
mov esi, eax
je 0x140164dd6
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x140164e68
cmp r14d, esi
jge 0x140164e68
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x140164e09
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, al
btc edi, 7
shr edi, 6
or edi, 0x25
mov rcx, rbx
call fcn.14006948c
bt eax, 0x16
jae 0x140164e29
cmp edi, 0x25
je 0x140164eab
cmp edi, 0x27
je 0x140164f01
sub edi, 0xd
je 0x140164f47
sub edi, 0xe
je 0x140164f15
sub edi, 0xa
je 0x140164f01
sub edi, 2
je 0x140164eab
mov rcx, rbx
cmp edi, 1
je 0x140164e8e
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
mov rax, qword [rax + 0x728]
call qword [case.0x14007fe76.0]
test eax, eax
jne 0x140164ea4
mov rdx, rbp
mov rcx, rbx
call fcn.1400baca0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov edx, dword [rbx + 0x1138]
call fcn.1400b4aa0
mov rdx, rax
mov rcx, rbx
call fcn.1400b40c4
mov eax, 1
jmp 0x140164e73
inc dword [rbx + 0x1138]
cmp dword [rbx + 0x1138], esi
jl 0x140164ec0
and dword [rbx + 0x1138], 0
mov edx, r14d
mov rcx, rbx
call fcn.1400b5398
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400b5398
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x1138]
mov rax, qword [rax + 0x4b8]
call qword [case.0x14007fe76.0]
jmp 0x140164e68
sub dword [rbx + 0x1138], 1
jns 0x140164ec0
lea eax, [rsi - 1]
mov dword [rbx + 0x1138], eax
jmp 0x140164ec0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x6c0]
call qword [case.0x14007fe76.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x6c8]
call qword [case.0x14007fe76.0]
and dword [0x1405b8068], 0
jmp 0x140164e68
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400b4aa0
mov rdx, rax
mov rcx, rbx
call fcn.1400b40c4
test eax, eax
jne 0x140164ea4
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400b4aa0
mov rdx, rax
mov rcx, rbx
call fcn.1400baf34
jmp 0x140164ea4
Function at 0x14017b104
Capabilities:
Check if file exists
Get common file path
Get file attributes

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 dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1403c90bc
test eax, eax
jne 0x14017b168
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14005b2b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14017b128
jmp 0x14017b17a
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

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

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
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14017b429
mov ebx, 0x811c9dc5
xor esi, esi
mov rcx, rdx
call fcn.1403b5278
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x14017b3cc
movzx ecx, word [rdi + rsi*2]
imul ebx, ebx, 0x1000193
xor ebx, ecx
add esi, edx
cmp esi, r8d
jb 0x14017b3b9
mov dword [r14], ebx
xor edx, edx
mov eax, ebx
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14017b409
mov rbx, qword [rbx + rdx*8]
jmp 0x14017b404
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x14017b401
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.1403bd0fc
nop
test eax, eax
je 0x14017b424
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14017b3e8
xor eax, eax
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
mov rax, rbx
jmp 0x14017b40b
call fcn.140057814
int3
Function at 0x14018446c
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
cmp dword [rdx + 8], 0x100
jne 0x1401845a2
mov ebx, dword [rdx + 0x10]
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1401845a2
cmp ebx, 0x43
je 0x1401844ba
cmp ebx, 0x2d
jne 0x1401845a2
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401845a2
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
call fcn.14005a8f4
mov rcx, rax
test rax, rax
je 0x1401845c1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007fe76.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rsi + 0x196]
movzx r9d, byte [rsi + 0x195]
movzx r8d, byte [rsi + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.14005b76c
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x14018457a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14018457a
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, recv
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401845a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007fe76.0]
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.1400572fc
int3
Function at 0x1401a57d8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rdi, rcx
xor ebp, ebp
cmp edx, 0x79
jne 0x1401a5806
lea ecx, [rdx - 0x69]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1401a580b
cmp esi, 0x5d
jne 0x1401a5830
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rdi
call fcn.1401a5380
mov eax, 1
jmp 0x1401a58d2
mov edx, esi
mov rcx, qword [rdi + 0x1558]
call fcn.1401a0e60
test eax, eax
jne 0x1401a5826
cmp qword [rdi + 0x1560], rbp
je 0x1401a588c
lea rax, vtable.CMFCDisableMenuAnimation.0
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.1400b498c
mov ebx, eax
mov dword [rsp + 0x28], eax
mov dword [0x1405b7cec], ebp
mov rcx, qword [rdi + 0x1560]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x1b8]
mov edx, esi
call qword [case.0x14007fe76.0]
nop
mov dword [0x1405b7cec], ebx
jmp 0x1401a58d2
cmp qword [rdi + 0x1580], rbp
je 0x1401a58d0
lea rax, vtable.CMFCDisableMenuAnimation.0
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.1400b498c
mov ebx, eax
mov dword [rsp + 0x28], eax
mov dword [0x1405b7cec], ebp
mov rcx, qword [rdi + 0x1580]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x1d0]
mov edx, esi
call qword [case.0x14007fe76.0]
nop
jmp 0x1401a5884
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1401cdc00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rdi, rdx
mov rbx, rcx
jne 0x1401cdd0e
cmp qword [rdx + 0x10], 9
je 0x1401cdc44
cmp qword [rdx + 0x10], 0x1b
jne 0x1401cdc98
call fcn.140063758
test rax, rax
je 0x1401cdc98
mov rcx, rbx
call fcn.140063758
jmp 0x1401cdc86
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140063144
test rax, rax
je 0x1401cdc98
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140063144
mov rdx, qword [rbx + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.140063144
mov rcx, rax
call fcn.1400697c0
mov eax, 1
jmp 0x1401cdd19
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140063144
cmp rax, rbx
jne 0x1401cdd0e
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401cdd0e
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x1401cdd07
cmp rax, 0x43
je 0x1401cdd00
cmp rax, 0x56
je 0x1401cdce9
cmp rax, 0x58
je 0x1401cdce2
cmp rax, 0x5a
jne 0x1401cdd0e
lea edx, [rax + 0x6d]
jmp 0x1401cdcee
mov edx, 0x300
jmp 0x1401cdcee
mov edx, 0x302
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1401cdc8e
mov edx, 0x301
jmp 0x1401cdcee
mov edx, 0x303
jmp 0x1401cdcee
mov rdx, rdi
mov rcx, rbx
call fcn.14008115c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401d87f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401d883e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401d883e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401d883e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401d883e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401d883e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401d8840
xor al, al
add rsp, 0x28
ret
Function at 0x1401da1b0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1405a5840]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, r8
movzx ebp, dx
mov rdi, rcx
call fcn.1401da020
mov word [rsi], ax
test ax, ax
je 0x1401da1f6
mov r8, rsi
movzx edx, bp
mov rcx, rdi
call fcn.1401da120
jmp 0x1401da2cc
xor eax, eax
mov qword [rsp + 0x138], rbx
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0xc00
movups xmmword [rsi + 2], xmm0
mov qword [rsi + 0x12], rax
lea rcx, [rsp + 0x60]
mov word [rsi + 0x1a], ax
xor ebx, ebx
movzx eax, word [rsi]
xorps xmm1, xmm1
mov dword [rsp + 0x2c], eax
mov r8d, 3
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov qword [rsp + 0x60], rax
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x50], rbx
movdqu xmmword [rsp + 0x40], xmm1
call fcn.1401da590
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x60]
mov edi, eax
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x1401da283
call fcn.1403b4a38
test edi, edi
je 0x1401da28b
mov ecx, edi
jmp 0x1401da2bc
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
test rdi, rdi
je 0x1401da2ae
mov eax, dword [rdx + 4]
cmp eax, 2
je 0x1401da2e7
cmp eax, 0x17
je 0x1401da2e7
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x1401da298
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, ebx
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401d80d0
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rdx + 0x10]
mov rcx, rsi
mov rdx, qword [rdx + 0x20]
call fcn.1403df6e0
mov rcx, rdi
mov ebx, 1
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movzx ecx, bp
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsi + 2], ax
jmp 0x1401da2c2
Function at 0x1401da320
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
xor ebx, ebx
mov dword [rax - 0x38], 0x1c
mov rdi, r8
mov rsi, rdx
lea r8, [rax - 0x38]
mov r14, r9
lea rdx, [rax - 0x30]
mov word [rax - 0x30], bx
cmp dword [rsp + 0x80], ebx
je 0x1401da364
call qword [sym.imp.WS2_32.dll_getsockname]
jmp 0x1401da36a
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1401da372
xor eax, eax
jmp 0x1401da3ec
movzx ecx, word [rsp + 0x2a]
mov qword [rsp + 0x60], rbp
movzx ebp, word [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [r14], ax
lea rcx, [rsp + 0x30]
movzx eax, word [rsp + 0x28]
mov r8, rsi
movsxd r9, dword [rdi]
lea rdx, [rsp + 0x2c]
cmp eax, 2
cmovne rdx, rcx
mov ecx, eax
call sub.WS2_32.dll_InetNtopW
test rax, rax
je 0x1401da3c7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov ebx, 1
mov dword [rdi], eax
jmp 0x1401da3e5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x57
jne 0x1401da3e5
cmp bp, 2
mov ecx, reloc.WS2_32.dll_shutdown
mov eax, 0x41
cmovne ecx, eax
mov dword [rdi], ecx
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret