Function at 0x1400b4210
Capabilities:
Log keystrokes

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x1401e2ca8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r9d, r9d
lea r8, [0x1401ef378]
xor edx, edx
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
call fcn.1400b4c80
test eax, eax
je 0x1400b45be
mov qword [rsp + 0x220], rbx
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x1f8], r14
mov qword [rsp + 0x1f0], r15
call fcn.1400b49a0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x1401efa42]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rbp + 0x80]
mov qword [rsp + 0x230], rdi
sub r14, 0x480
lea r15, [0x1401ef7c8]
xor r13d, r13d
lea r12, [0x1401efae2]
mov ebx, reloc.WLDAP32.dll_Ordinal_32
nop dword [rax]
movsx esi, word [r15]
cmp esi, 0xffffffff
je 0x1400b4440
cmp ebx, 0x140
jb 0x1400b43b0
cmp ebx, 0x14e
ja 0x1400b43b0
mov dword [rbp + 0x80], 0x60
mov dword [rbp + 0x84], 0x61
mov dword [rbp + 0x88], 0x62
mov dword [rbp + 0x8c], 0x63
mov dword [rbp + 0x90], 0x64
mov dword [rbp + 0x94], 0x65
mov dword [rbp + 0x98], WSAGetLastError
mov dword [rbp + 0x9c], WSASetLastError
mov dword [rbp + 0xa0], WSASetLastError
mov dword [rbp + 0xa4], WSASetLastError
mov dword [rbp + 0xa8], WSAStartup
mov dword [rbp + 0xac], reloc.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0xb0], WSAStartup
mov dword [rbp + 0xb4], WSAStartup
mov dword [rbp + 0xb8], WSAStartup
mov edi, dword [r14]
jmp 0x1400b43bf
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r13d
lea r9, [rbp + 0xc0]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400b440a
mov dword [rsp + 0x28], r13d
lea r9, [rbp + 0xc0]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400b4440
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0xc0]
mov qword [rsp + 0x30], r13
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r12, 5
add r14, 4
add r15, 2
cmp ebx, 0x15c
jle 0x1400b42f0
xor edx, edx
mov dword [rsp + 0x60], 0x11c
mov r8d, 0x10c
mov qword [rsp + 0x64], 0xa
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x6c], 0x3ad7
call sub.VCRUNTIME140.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edx, 7
lea rcx, [rsp + 0x60]
mov r8, rax
call qword [0x1401f01f8]
mov r15, qword [rsp + 0x1f0]
mov r14, qword [rsp + 0x1f8]
mov r12, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x230]
mov rsi, qword [rsp + 0x228]
mov rbx, qword [rsp + 0x220]
test eax, eax
jne 0x1400b450d
mov rcx, 0xfffffffffffffffc
call qword [0x1401f0190]
jmp 0x1400b4544
xor r8d, r8d
lea edx, [r8 + 3]
lea ecx, [rdx + 3]
call fcn.1400b4130
test eax, eax
je 0x1400b452d
mov ecx, 2
call qword [0x1401f01e0]
jmp 0x1400b4544
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400b4130
test eax, eax
je 0x1400b4544
call qword [0x1401f0178]
call fcn.1400b0a10
test eax, eax
je 0x1400b45be
mov rax, qword [0x1401ef360]
lea r8, str.GLFW_message_window
mov qword [rsp + 0x58], r13
lea rdx, str.GLFW30
mov qword [rsp + 0x50], rax
mov r9d, 0x6000000
mov qword [rsp + 0x48], r13
mov ecx, 0x300
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1401ef368], rax
test rax, rax
jne 0x1400b45da
lea rdx, str.Win32:_Failed_to_create_helper_window
mov ecx, 0x10008
call fcn.1400b3f80
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x208
pop r13
pop rbp
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [0x14016e490]
mov rcx, qword [0x1401ef368]
lea rdx, [rbp + 0xc0]
xor r8d, r8d
mov qword [rbp + 0xc4], 5
movups xmmword [rbp + 0xcc], xmm0
mov dword [rbp + 0xdc], r13d
mov dword [rbp + 0xc0], reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov rdx, qword [0x1401ef368]
lea rcx, [rbp + 0x80]
xor r9d, r9d
mov qword [0x1401ef370], rax
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400b4693
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rdx, qword [0x1401ef368]
lea rcx, [rbp + 0x80]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400b4653
call fcn.1400b5e50
call fcn.1400b62e0
call fcn.1400b5590
mov eax, 1
jmp 0x1400b45c0