joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009aa00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14009ee70
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14009b250
nop
lea rax, [0x14009a3a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140003e60
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14009aaa3
lea rcx, [rsp + 0x40]
call fcn.1400a3b60
jmp 0x14009aaba
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.14009bd40
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x58
ret

Function at 0x14009aae0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14009ee70
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14009b250
nop
lea rax, [0x14009a430]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140003e60
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14009ab83
lea rcx, [rsp + 0x40]
call fcn.1400a3b60
jmp 0x14009ab9a
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.14009bd40
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x58
ret
Function at 0x1400a1140
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
call fcn.140006090
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400a137c
call fcn.140006090
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140005110
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea r8, [0x140152e08]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x188]
call fcn.14000adc0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400058f0
call fcn.140006090
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x48]
call fcn.140005070
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140014eb0
lea r8, str.Fortnite.cfg
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x168]
call fcn.140099740
nop
call fcn.140006090
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x68]
call fcn.140005070
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140014f30
movzx eax, al
test eax, eax
je 0x1400a1301
call fcn.140006090
mov byte [rax + 0x2dc], 0
call fcn.140006090
mov byte [rax + 0x2dd], 0
call fcn.140006090
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x88]
call fcn.140005070
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140014f80
jmp 0x1400a1361
call fcn.140006090
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0xa8]
call fcn.140005070
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.140018d40
nop
lea rcx, [rsp + 0x168]
call fcn.1400058f0
nop
lea rcx, [rsp + 0x188]
call fcn.1400058f0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x1b8
ret
Function at 0x1400a3050
Capabilities:
Hide thread from debugger

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x140153298]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a3087
xor al, al
jmp 0x1400a30e8
cmp qword [rsp + 0x50], 0
jne 0x1400a30b7
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call qword [rsp + Ordinal_50]
mov dword [rsp + 0x20], eax
jmp 0x1400a30d9
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, qword [rsp + 0x50]
call qword [rsp + gethostname]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400a30e6
xor al, al
jmp 0x1400a30e8
mov al, 1
add rsp, 0x48
ret

Function at 0x1400a3bc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x7b
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
je 0x1400a3c43
movzx eax, byte [0x1401ed857]
test eax, eax
jne 0x1400a3c41
call fcn.140037ea0
mov qword [rsp + 0x28], rax
call fcn.14006c6f0
call fcn.14006a260
mov rcx, qword [0x1401edc00]
call fcn.1400ad910
call fcn.140006090
cmp dword [rax + 0x1bc], 0
je 0x1400a3c23
mov byte [rsp + 0x20], 1
jmp 0x1400a3c28
mov byte [rsp + 0x20], 0
movzx r9d, byte [rsp + 0x20]
mov r8b, 1
mov dl, 1
mov cl, 1
call fcn.1400a3d50
mov byte [0x1401ed857], 1
jmp 0x1400a3c98
movzx eax, byte [0x1401ed857]
cmp eax, 1
jne 0x1400a3c98
call fcn.14006c6f0
call fcn.14006a260
mov rcx, qword [0x1401edc00]
call fcn.1400ad910
call fcn.140006090
cmp dword [rax + 0x1bc], 0
je 0x1400a3c7a
mov byte [rsp + 0x21], 1
jmp 0x1400a3c7f
mov byte [rsp + 0x21], 0
movzx r9d, byte [rsp + 0x21]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400a3d50
mov byte [0x1401ed857], 0
cmp qword [0x1401edc00], 0
je 0x1400a3d2f
call fcn.1400adbf0
call fcn.14006b8c0
call fcn.14006a050
call fcn.140006090
movzx eax, byte [rax + 0x184]
mov ecx, eax
call fcn.1400b3d70
call fcn.140042220
call fcn.14009ceb0
call fcn.14009ee90
call fcn.1400aa390
call fcn.140043fa0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
mov rcx, qword [0x1401edc00]
call fcn.1400ad9f0
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
call fcn.140037fc0
mov rcx, rax
call fcn.14006b8e0
mov rcx, qword [0x1401edc00]
call fcn.1400b3d30
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x48
ret
Function at 0x1400a97a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x22], 1
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x20], 1
movzx r8d, byte [rsp + 0x20]
movzx edx, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x22]
call fcn.1400a8210
movzx eax, al
test eax, eax
jne 0x1400a9821
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140153b48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, str.__ERROR___Connect_DMA_Failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a920
mov qword [rsp + 0x28], rax
lea rdx, [0x14000f880]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor r8d, r8d
movabs rdx, 0x300000800000000
mov rcx, qword [0x1401ece70]
call sub.VMM.dll_VMMDLL_ConfigSet
xor r8d, r8d
movabs rdx, 0x300000700000000
mov rcx, qword [0x1401ece70]
call sub.VMM.dll_VMMDLL_ConfigSet
xor r8d, r8d
movabs rdx, 0x2000000300000000
mov rcx, qword [0x1401ece70]
call sub.VMM.dll_VMMDLL_ConfigSet
mov r8d, 1
movabs rdx, 0x2000000d00000000
mov rcx, qword [0x1401ece70]
call sub.VMM.dll_VMMDLL_ConfigSet
mov r8d, 0x1869f
movabs rdx, 0x2000000700000000
mov rcx, qword [0x1401ece70]
call sub.VMM.dll_VMMDLL_ConfigSet
mov r8d, 0x1869f
movabs rdx, 0x2000000800000000
mov rcx, qword [0x1401ece70]
call sub.VMM.dll_VMMDLL_ConfigSet
add rsp, 0x38
ret
Function at 0x1400accf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400acd57
mov eax, 0xffffffff
jmp 0x1400acd5c
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x58
ret
Function at 0x1400adbf0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1401edcb0], 0
jne 0x1400adc05
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400acde0
jmp 0x1400aff40
push rbx
sub rsp, 0xa0
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400affda
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400affa5
mov rbx, qword [0x1401ee0a0]
test rbx, rbx
je 0x1400affbb
mov rcx, rbx
call fcn.1400ad390
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400aff93
jmp 0x1400affbb
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400aff80
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400b00d7
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400b00cf
movdqa xmm0, xmmword [0x14016df00]
xor ebx, ebx
movdqa xmm1, xmmword [0x14016df10]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x1401ef788]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400b009e
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400b009e
call fcn.1400b1520
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400ae4b0
inc rbx
cmp rbx, 4
jl 0x1400b0060
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x1401f0128]
test rbx, rbx
je 0x1400b015c
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x1400b011e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400b015c
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0xa0
pop rbx
ret
Function at 0x1400adc10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x1401edcb0], 0
mov r10d, r9d
mov r11d, r8d
jne 0x1400adc2b
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400acde0
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x30]
test r8d, r8d
jle 0x1400adc80
test r9d, r9d
jle 0x1400adc80
mov eax, dword [rsp + 0x38]
cmp eax, 0xfffffffe
jg 0x1400adc5c
mov r8d, eax
lea rdx, str.Invalid_refresh_rate__i
mov ecx, 0x10004
jmp fcn.1400acde0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r8d
mov dword [rcx + 0x2c], r8d
mov r8d, r11d
mov dword [rcx + 0x30], r9d
mov r9d, r10d
mov dword [rcx + 0x40], eax
jmp fcn.1400b0460
lea rdx, str.Invalid_window_size__ix_i
mov ecx, 0x10004
jmp fcn.1400acde0

Function at 0x1400ae860
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
cmp dword [0x1401edcb0], 0
jne 0x1400ae880
xor edx, edx
mov ecx, 0x10001
call fcn.1400acde0
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x1400afbb0
sub rsp, 0x28
mov rcx, qword [0x1401ef368]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400afbdd
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.1400b3f80
xor eax, eax
add rsp, 0x28
ret
mov ecx, reloc.WS2_32.dll_listen
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
jne 0x1400afc18
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.1400b3f80
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x28
ret
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x1400afc56
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
call fcn.1400b3f80
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov rcx, qword [0x1401ef380]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call fcn.1400b3dd0
mov rcx, rbx
mov qword [0x1401ef380], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x1401ef380]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400aec40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp dword [0x1401edcb0], 0
jne 0x1400aec55
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400acde0
mov rcx, rdx
jmp 0x1400b0190
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor eax, eax
mov rsi, rcx
mov r8, rcx
mov dword [rsp + 0x28], eax
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
lea r9d, [rax - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
je 0x1400b029e
mov rdx, rdi
mov qword [rsp + 0x40], rbx
add rdx, rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400b0205
lea rdx, str.Win32:_Failed_to_allocate_global_handle_for_clipboard
mov ecx, 0x10008
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400b3f80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x1400b021c
lea rdx, str.Win32:_Failed_to_lock_global_handle
jmp 0x1400b025c
mov dword [rsp + 0x28], edi
mov r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [0x1401ef368]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400b027f
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.1400b3f80
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400af8c0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, r9
mov r8, r9
mov rsi, rdx
mov rbx, rcx
call fcn.1400b0d70
test eax, eax
je 0x1400afa13
cmp dword [rdi], 0
je 0x1400af981
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x1400af920
call fcn.1400b7660
test eax, eax
je 0x1400afa13
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b71e0
jmp 0x1400af966
cmp eax, 0x36002
jne 0x1400af944
call fcn.1400b8a60
test eax, eax
je 0x1400afa13
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b8550
jmp 0x1400af966
cmp eax, 0x36003
jne 0x1400af96e
call fcn.1400b98a0
test eax, eax
je 0x1400afa13
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b9660
test eax, eax
je 0x1400afa13
mov rdx, rdi
mov rcx, rbx
call fcn.1400b3470
test eax, eax
je 0x1400afa13
cmp qword [rbx + 0x48], 0
je 0x1400af9e6
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call fcn.1400b0b30
mov rcx, rbx
call fcn.1400b1480
cmp dword [rsi + 0x2c], 0
je 0x1400afa0c
mov rcx, rbx
call fcn.1400ae1a0
mov eax, 1
jmp 0x1400afa15
cmp dword [rsi + 0x14], 0
je 0x1400afa0c
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x1400afa0c
mov rcx, rbx
call fcn.1400afaf0
mov eax, 1
jmp 0x1400afa15
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400afbb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
cmp dword [0x1401edcb0], 0
jne 0x1400ae880
xor edx, edx
mov ecx, 0x10001
call fcn.1400acde0
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x1400afbb0
sub rsp, 0x28
mov rcx, qword [0x1401ef368]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400afbdd
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.1400b3f80
xor eax, eax
add rsp, 0x28
ret
mov ecx, reloc.WS2_32.dll_listen
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
jne 0x1400afc18
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.1400b3f80
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x28
ret
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x1400afc56
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
call fcn.1400b3f80
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov rcx, qword [0x1401ef380]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call fcn.1400b3dd0
mov rcx, rbx
mov qword [0x1401ef380], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x1401ef380]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400aff40
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1401edcb0], 0
jne 0x1400adc05
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400acde0
jmp 0x1400aff40
push rbx
sub rsp, 0xa0
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400affda
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400affa5
mov rbx, qword [0x1401ee0a0]
test rbx, rbx
je 0x1400affbb
mov rcx, rbx
call fcn.1400ad390
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400aff93
jmp 0x1400affbb
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400aff80
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400b00d7
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400b00cf
movdqa xmm0, xmmword [0x14016df00]
xor ebx, ebx
movdqa xmm1, xmmword [0x14016df10]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x1401ef788]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400b009e
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400b009e
call fcn.1400b1520
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400ae4b0
inc rbx
cmp rbx, 4
jl 0x1400b0060
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x1401f0128]
test rbx, rbx
je 0x1400b015c
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x1400b011e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400b015c
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0xa0
pop rbx
ret