joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cb320
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
xor eax, eax
mov qword [rbp + 0x38], rax
cmp qword [0x008e2690], 0
je 0x5cb4e8
mov ecx, 0x11
call sub.user32.dll_GetKeyState
mov rcx, qword [0x008d6368]
mov rcx, qword [rcx]
test ax, 0x8000
setne al
movzx rcx, byte [rcx + 0x178]
xor cl, al
test cl, cl
je 0x5cb4e8
mov rcx, qword [0x008e2698]
mov rax, qword [0x008e2698]
mov rbx, qword [rax]
call qword [rbx + 0x10]
xor eax, eax
mov rcx, qword [0x008e2690]
mov esi, dword [rcx + 0x10]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x5cb4ab
sub esi, eax
add esi, 1
mov rcx, qword [0x008e2690]
mov edx, ebx
call fcn.00506c10
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
cmp rax, qword [rbp + 0x98]
je 0x5cb49d
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x389], 0
je 0x5cb49d
mov rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax + 0xe8]
test al, al
je 0x5cb49d
mov rcx, qword [rbp + 0x50]
call fcn.005dd0c0
mov rcx, rax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cb49d
mov rcx, rbp
call fcn.005cb2c0
test al, al
jne 0x5cb49d
mov rcx, qword [rbp + 0x50]
mov dx, 0xffb8
call fcn.0040d200
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x98]
call rax
test al, al
je 0x5cb49d
mov byte [rbp + 0x5f], 1
mov rcx, qword [rbp + 0x50]
mov dx, 0xffb9
call fcn.0040d200
mov rdi, rax
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x98]
lea r8, [rbp + 0x40]
mov r9, qword [rbp + 0x90]
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x20], rax
call rdi
cmp byte [rbp + 0x5f], 0
je 0x5cb49d
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x90]
call fcn.0041d0d0
test al, al
je 0x5cb49d
mov rcx, qword [0x008e2698]
mov rdx, qword [rbp + 0x50]
call fcn.005ca550
add ebx, 1
sub esi, 1
test esi, esi
jne 0x5cb3ae
nop
mov rax, qword [0x008e2698]
cmp dword [rax + 0x10], 0
jle 0x5cb4c9
mov rcx, qword [0x008e2698]
call fcn.005ca650
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x5cb4e8
mov rcx, rbp
mov rdx, qword [rbp + 0x38]
call fcn.005cb0d0
test al, al
jne 0x5cb4e8
xor eax, eax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x5d7d00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
call sub.user32.dll_GetMessagePos
mov ecx, eax
call fcn.0041d900
mov dword [rbp + 0x3c], eax
movsx rax, word [rbp + 0x3c]
mov dword [rbp + 0x34], eax
movsx rax, word [rbp + 0x3e]
mov dword [rbp + 0x38], eax
mov rcx, rbx
mov rdx, qword [rbp + 0x34]
call fcn.005ceba0
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x5d7d6b
mov rcx, rbx
mov rdx, qword [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.005d7b30
mov rdi, rax
test rdi, rdi
je 0x5d7e5a
cmp rdi, rbx
je 0x5d7d99
mov eax, dword [rbp + 0x158]
sub eax, dword [rdi + 0x90]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x15c]
sub eax, dword [rdi + 0x94]
mov dword [rbp + 0x44], eax
jmp 0x5d7da4
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x40], rax
movzx eax, word [rsi + 0x10]
mov dword [rbp + 0x48], eax
mov rax, qword [rsi + 8]
mov qword [rbp + 0x50], rax
movzx rax, word [rsi + 0x12]
cmp rax, 0x201
jge 0x5d7de4
sub rax, 0xa1
cmp rax, 2
jb 0x5d7e07
sub rax, 3
cmp rax, 2
jb 0x5d7e13
sub rax, 3
cmp rax, 2
jae 0x5d7e19
jmp 0x5d7e0d
sub rax, 0x201
cmp rax, 2
jb 0x5d7e07
sub rax, 3
cmp rax, 2
jb 0x5d7e13
sub rax, 3
cmp rax, 2
jae 0x5d7e19
jmp 0x5d7e0d
mov byte [rbp + 0x4c], 0
jmp 0x5d7e1d
mov byte [rbp + 0x4c], 2
jmp 0x5d7e1d
mov byte [rbp + 0x4c], 1
jmp 0x5d7e1d
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.007058d0
mov ebx, eax
call fcn.005c9c70
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.005d1480
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x5d7e5c
xor eax, eax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x61dce0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
mov ecx, 0xd
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
nop
cmp qword [rbp + 0x38], 0
je 0x61dd31
mov rcx, qword [rbp + 0x38]
call sub.kernel32.dll_GlobalLock
mov rcx, qword [rbp + 0x68]
mov rdx, rax
call fcn.004113b0
jmp 0x61dd3a
mov rcx, qword [rbp + 0x68]
call fcn.0040ffb0
nop
cmp qword [rbp + 0x38], 0
je 0x61dd4b
mov rcx, qword [rbp + 0x38]
call sub.kernel32.dll_GlobalUnlock
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
mov rax, qword [rbp + 0x68]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x61ddf0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
xor ecx, ecx
call sub.user32.dll_EnumClipboardFormats
mov word [rbp + 0x46], ax
cmp word [rbp + 0x46], 0
je 0x61de83
mov rcx, qword [0x00588878]
movzx rdx, word [rbp + 0x46]
call fcn.00595650
test al, al
je 0x61de6f
movzx ecx, word [rbp + 0x46]
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x48], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x78]
movzx rdx, word [rbp + 0x46]
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x38]
call fcn.005954f0
jmp 0x61deb2
movzx ecx, word [rbp + 0x46]
call sub.user32.dll_EnumClipboardFormats
mov word [rbp + 0x46], ax
cmp word [rbp + 0x46], 0
jne 0x61de26
nop
mov rcx, qword [0x0061d4d0]
mov dl, 1
mov r8, qword [0x008d5a78]
call fcn.00441470
mov rcx, rax
call fcn.0040f0e0
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
jmp 0x61debd
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
call fcn.0061ded0
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x61def0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov ecx, 2
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov dx, 2
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
call qword [rbx + 0xd0]
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x61df90
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov ecx, 3
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov dx, 3
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
call qword [rbx + 0xd0]
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x61e0b0
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov rcx, qword [rbp + 0x70]
call fcn.0061d670
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x46]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x38]
call fcn.00595630
movzx ecx, word [rbp + 0x46]
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
cmp qword [rbp + 0x38], 0
je 0x61e11d
mov ecx, 9
mov rdx, qword [rbp + 0x38]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x61e160
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov rcx, qword [rbp + 0x70]
call fcn.0061d670
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x46]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x38]
mov rax, qword [rbp + 0x78]
mov rbx, qword [rax]
call qword [rbx + 0xd8]
movzx ecx, word [rbp + 0x46]
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
cmp qword [rbp + 0x38], 0
je 0x61e1d5
mov ecx, 9
mov rdx, qword [rbp + 0x38]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x65a770
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00410140
nop
xor ecx, ecx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x65a860
nop
mov dword [rbp + 0x3c], 0
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x65a7bc
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x3c], eax
mov ecx, 0x2002
mov edx, dword [rbp + 0x3c]
add edx, edx
add edx, 2
movsxd rdx, edx
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp + 0x48], rax
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_GlobalLock
mov qword [rbp + 0x40], rax
nop
mov dword [rbp + 0x38], 0
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x65a7ff
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x68]
call fcn.00411310
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
add r8d, r8d
add r8d, 2
movsxd r8, r8d
call fcn.00409570
call sub.user32.dll_EmptyClipboard
mov ecx, 0xd
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_GlobalUnlock
jmp 0x65a858
nop
call sub.user32.dll_CloseClipboard
jmp 0x65a87d
mov rcx, qword [0x0042a5a8]
mov dl, 1
mov r8, qword [0x008d58a0]
call fcn.00441470
mov rcx, rax
call fcn.0040f0e0
nop
lea rcx, [rbp + 0x68]
call fcn.0040ffb0
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x667b50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x00667ba4]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x667b71
or bx, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x667b85
or bx, 4
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x667b99
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x68fde0
Capabilities:
Get graphical window text

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov rcx, rsi
mov edx, 0xe
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
mov rdi, rax
mov rcx, rbx
xor edx, edx
mov r8d, edi
call fcn.00410270
test edi, edi
je 0x68fe57
mov rcx, qword [rbx]
call fcn.00411310
mov rcx, rsi
mov edx, 0xd
mov r8d, edi
add r8d, 1
movsxd r8, r8d
mov r9, rax
call sub.user32.dll_SendMessageW
sub edi, eax
test edi, edi
jle 0x68fe57
xor eax, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x68fe4b
mov eax, dword [rcx - 4]
mov rcx, rbx
mov edx, eax
sub edx, edi
call fcn.004115a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6f3720
Capabilities:
Get keyboard layout

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
nop
mov byte [0x008b89e0], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x0057c890]
mov dl, 1
call fcn.0057dfc0
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.0057e290
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.00411410
lea rcx, [rbp + 0x30]
lea rdx, [0x006f3908]
mov r8, qword [rbp + 0x28]
call fcn.00411750
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.0057e680
test al, al
je 0x6f385c
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x006f397c]
call fcn.0057f310
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.00445ac0
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x6f385c
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x006f3994]
call fcn.004210e0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x6f3852
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x6f3852
mov rcx, qword [rbp + 0x90]
call fcn.006f3690
test eax, eax
je 0x6f3836
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x6f3840
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
and eax, 1
cmp eax, 1
sete al
mov byte [0x008b89e0], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary_2
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040cbb0
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00410090
lea rcx, [rbp + 0x68]
call fcn.0040ffb0
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x6f3a10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rsi, rcx
lea rdi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movzx bx, byte [rbp + 0x28]
test bx, bx
je 0x6f3a6e
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6f3a49
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6f3a5e
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x6f3a6e
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x705800
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x00705868]
mov eax, ecx
test ax, 4
je 0x70581a
or bx, 1
mov eax, ecx
test ax, 8
je 0x705827
or bx, 4
mov eax, ecx
test ax, 1
je 0x705834
or bx, 8
mov eax, ecx
test ax, 2
je 0x705841
or bx, 0x10
test cx, 0x10
je 0x70584c
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x705860
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x705870
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x007058c0]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x705894
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x7058a8
or si, 4
test ebx, 0x20000000
je 0x7058b4
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x713c80
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x510
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x520], rcx
nop
mov rax, qword [rbp + 0x520]
cmp qword [rax + 0x80], 0
jne 0x713e8f
mov rcx, qword [0x004dba48]
mov dl, 1
call fcn.0050e210
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.0040ffb0
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor eax, eax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov ecx, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], ecx
jg 0x713e72
mov ecx, dword [rbp + 0x3c]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x3c], ecx
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.005e6b40
test al, al
je 0x713e59
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x50], 0x10
lea rcx, [rbp + 0x70]
lea rdx, [0x00713ef8]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.004385f0
mov rcx, 0xffffffff80000002
mov rdx, rax
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x713e59
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x00713f66]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4f4]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x713e4c
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411410
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r8, qword [r8]
mov rax, qword [rax]
call qword [rax + 0x80]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rax]
cmp rax, qword [rcx + 0x90]
jne 0x713e4c
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411410
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey_1
add qword [rbp + 0x60], 8
mov eax, dword [rbp + 0x3c]
sub eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
test eax, eax
jne 0x713d34
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.0050e090
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.0040ffb0
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x714fd0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x008e2968]
cmp byte [rax + 0x159], 0
jne 0x715070
cmp qword [0x008e29a0], 0
jne 0x715016
call sub.kernel32.dll_GetCurrentThreadId_1
mov ecx, 3
mov rdx, qword [0x008baca8]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x008e29a0], rax
cmp qword [0x008e2998], 0
jne 0x715036
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x008e2998], rax
cmp qword [0x008e29a8], 0
jne 0x715070
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x008baca0]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov qword [0x008e29a8], rax
add rsp, 0x48
ret

Function at 0x7162a0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
mov rax, qword [rbx + 0x2d0]
test rax, rax
je 0x716381
cmp dword [rbx + 0x128], 0
jne 0x716377
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x00716190]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x716377
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x716325
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x716376
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.00506c10
mov rcx, rax
mov rdx, qword [rbp + 0x40]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x213
call sub.user32.dll_SetWindowPos
sub esi, 1
cmp esi, 0xffffffff
jne 0x716336
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x716750
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rax, qword [0x008e2968]
cmp qword [rax + 0x2d0], 0
je 0x716929
test sil, sil
jne 0x716848
cmp dword [rbx + 0x138], 0
jne 0x716839
mov rcx, rbx
call fcn.0071abf0
lea rcx, [0x007165f0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x7167fb
mov rax, qword [0x008e2968]
cmp byte [rax + 0x193], 0
je 0x7167fb
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x7167d5
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x7167fa
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor edx, edx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x7167dd
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x716838
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00506c10
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x71680c
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x716929
cmp dword [rbx + 0x138], 0
jle 0x716929
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x716929
cmp qword [rbx + 0xa8], 0
je 0x7168c8
mov rax, qword [0x008e2968]
cmp byte [rax + 0x193], 0
je 0x7168c8
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x71689e
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x7168c7
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x7168a6
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x716905
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00506c10
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x7168d9
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x007009c0]
call fcn.00413710
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x717ac0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x717b2d
cmp byte [rbx + 0x193], 0
jne 0x717b2d
mov rcx, qword [rbx + 0x2d0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.00410270
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x717b18
mov eax, dword [rcx - 4]
test eax, eax
jne 0x717b3c
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.00410600
jmp 0x717b3c
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.00410600
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret