Function at 0x14007a27a
Capabilities:
Hide graphical window
Link many functions at runtime
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
lea r8, [0x1400f8af8]
lea rdx, [r8 - 0x1b78]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x14007a419
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov qword [0x1400f9920], rax
test rax, rax
je 0x14007a43b
lea rdx, str.SetProcessDPIAware
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1400f9928], rax
lea rdx, str.ChangeWindowMessageFilterEx
mov rcx, qword [0x1400f9920]
call rbx
mov qword [0x1400f9930], rax
lea rdx, str.EnableNonClientDpiScaling
mov rcx, qword [0x1400f9920]
call rbx
mov qword [0x1400f9938], rax
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, qword [0x1400f9920]
call rbx
mov qword [0x1400f9940], rax
lea rdx, str.GetDpiForWindow
mov rcx, qword [0x1400f9920]
call rbx
mov qword [0x1400f9948], rax
lea rdx, str.AdjustWindowRectExForDpi
mov rcx, qword [0x1400f9920]
call rbx
mov qword [0x1400f9950], rax
lea rdx, str.GetSystemMetricsForDpi
mov rcx, qword [0x1400f9920]
call rbx
mov qword [0x1400f9958], rax
lea rcx, str.dinput8.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400f98f0], rax
test rax, rax
je 0x14007a397
lea rdx, str.DirectInput8Create
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f98f8], rax
lea rcx, str.xinput1_4.dll
mov qword [rsp + 0x90], rcx
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x98], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0xa0], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0xa8], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0
lea rbx, [rsp + 0x90]
mov rsi, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rsi
mov qword [0x1400f9908], rax
test rax, rax
jne 0x14007a44e
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14007a3fd
jmp 0x14007a47f
lea rdx, str.Win32:_Failed_to_retrieve_own_module_handle
mov ecx, 0x10008
call sym._glfwInputErrorWin32
mov eax, 0
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, str.Win32:_Failed_to_load_user32.dll
mov ecx, 0x10008
call sym._glfwInputErrorWin32
jmp 0x14007a42a
lea rdx, str.XInputGetCapabilities
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1400f9910], rax
lea rdx, str.XInputGetState
mov rcx, qword [0x1400f9908]
call rbx
mov qword [0x1400f9918], rax
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400f9960], rax
test rax, rax
je 0x14007a4f7
lea rdx, str.DwmIsCompositionEnabled
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1400f9968], rax
lea rdx, str.DwmFlush
mov rcx, qword [0x1400f9960]
call rbx
mov qword [0x1400f9970], rax
lea rdx, str.DwmEnableBlurBehindWindow
mov rcx, qword [0x1400f9960]
call rbx
mov qword [0x1400f9978], rax
lea rdx, str.DwmGetColorizationColor
mov rcx, qword [0x1400f9960]
call rbx
mov qword [0x1400f9980], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400f9988], rax
test rax, rax
je 0x14007a541
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1400f9990], rax
lea rdx, str.GetDpiForMonitor
mov rcx, qword [0x1400f9988]
call rbx
mov qword [0x1400f9998], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400f99a0], rax
test rax, rax
je 0x14007a571
lea rdx, str.RtlVerifyVersionInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f99a8], rax
lea r8, [0x1400f8b28]
mov rax, 0xffffffffffffffff
mov ecx, pe_nt_image_headers64
mov rdi, r8
rep stosq qword [rdi], rax
mov ecx, 0x57
rep stosq qword [rdi], rax
mov word [rdi], 0xffff
mov word [0x1400f8b3e], 0x30
mov word [0x1400f8b2c], 0x31
mov word [0x1400f8b2e], 0x32
mov word [0x1400f8b30], 0x33
mov word [0x1400f8b32], 0x34
mov word [0x1400f8b34], 0x35
mov word [0x1400f8b36], 0x36
mov word [0x1400f8b38], 0x37
mov word [0x1400f8b3a], 0x38
mov word [0x1400f8b3c], 0x39
mov word [0x1400f8b64], 0x41
mov word [0x1400f8b88], 0x42
mov word [0x1400f8b84], 0x43
mov word [0x1400f8b68], 0x44
mov word [0x1400f8b4c], 0x45
mov word [0x1400f8b6a], 0x46
mov word [0x1400f8b6c], 0x47
mov word [0x1400f8b6e], 0x48
mov word [0x1400f8b56], 0x49
mov word [0x1400f8b70], 0x4a
mov word [0x1400f8b72], 0x4b
mov word [0x1400f8b74], 0x4c
mov word [0x1400f8b8c], 0x4d
mov word [0x1400f8b8a], 0x4e
mov word [0x1400f8b58], 0x4f
mov word [0x1400f8b5a], 0x50
mov word [0x1400f8b48], 0x51
mov word [0x1400f8b4e], 0x52
mov word [0x1400f8b66], 0x53
mov word [0x1400f8b50], 0x54
mov word [0x1400f8b54], 0x55
mov word [0x1400f8b86], 0x56
mov word [0x1400f8b4a], 0x57
mov word [0x1400f8b82], 0x58
mov word [0x1400f8b52], 0x59
mov word [0x1400f8b80], 0x5a
mov word [0x1400f8b78], 0x27
mov word [0x1400f8b7e], 0x5c
mov word [0x1400f8b8e], 0x2c
mov word [0x1400f8b42], 0x3d
mov word [0x1400f8b7a], 0x60
mov word [0x1400f8b5c], 0x5b
mov word [0x1400f8b40], 0x2d
mov word [0x1400f8b90], 0x2e
mov word [0x1400f8b5e], 0x5d
mov word [0x1400f8b76], 0x3b
mov word [0x1400f8b92], 0x2f
mov word [0x1400f8bd4], 0xa2
mov word [0x1400f8b44], 0x103
mov word [0x1400f8dce], 0x105
mov word [0x1400f8dc6], 0x10d
mov word [0x1400f8b60], 0x101
mov word [0x1400f8b2a], 0x100
mov word [0x1400f8db6], 0x10c
mov word [0x1400f8dcc], 0x104
mov word [0x1400f8de2], 0x15c
mov word [0x1400f8dca], 0x10b
mov word [0x1400f8dba], 0x10a
mov word [0x1400f8bb2], 0x11c
mov word [0x1400f8b9a], 0x20
mov word [0x1400f8b46], 0x102
mov word [0x1400f8b9c], 0x118
mov word [0x1400f8db2], 0x11a
mov word [0x1400f8bb4], 0x119
mov word [0x1400f8b9e], 0x122
mov word [0x1400f8ba0], 0x123
mov word [0x1400f8ba2], 0x124
mov word [0x1400f8ba4], 0x125
mov word [0x1400f8ba6], 0x126
mov word [0x1400f8ba8], 0x127
mov word [0x1400f8baa], 0x128
mov word [0x1400f8bac], 0x129
mov word [0x1400f8bae], 0x12a
mov word [0x1400f8bb0], 0x12b
mov word [0x1400f8bd6], 0x12c
mov word [0x1400f8bd8], 0x12d
mov word [0x1400f8bf0], 0x12e
mov word [0x1400f8bf2], 0x12f
mov word [0x1400f8bf4], 0x130
mov word [0x1400f8bf6], 0x131
mov word [0x1400f8bf8], 0x132
mov word [0x1400f8bfa], 0x133
mov word [0x1400f8bfc], 0x134
mov word [0x1400f8bfe], 0x135
mov word [0x1400f8c00], 0x136
mov word [0x1400f8c02], 0x137
mov word [0x1400f8c04], 0x138
mov word [0x1400f8c14], 0x139
mov word [0x1400f8b98], 0x156
mov word [0x1400f8b62], 0x155
mov word [0x1400f8b7c], 0x154
mov word [0x1400f8dde], 0x157
mov word [0x1400f8d96], 0x11b
mov word [0x1400f8d98], 0x15a
mov word [0x1400f8d62], 0x159
mov word [0x1400f8b94], 0x158
mov word [0x1400f8de0], 0x15b
mov word [0x1400f8dc8], 0x108
mov word [0x1400f8dbe], 0x107
mov word [0x1400f8dc2], 0x106
mov word [0x1400f8db8], 0x109
mov word [0x1400f8bcc], 0x140
mov word [0x1400f8bc6], 0x141
mov word [0x1400f8bc8], 0x142
mov word [0x1400f8bca], 0x143
mov word [0x1400f8bbe], 0x144
mov word [0x1400f8bc0], 0x145
mov word [0x1400f8bc2], 0x146
mov word [0x1400f8bb6], 0x147
mov word [0x1400f8bb8], 0x148
mov word [0x1400f8bba], 0x149
mov word [0x1400f8bc4], 0x14e
mov word [0x1400f8bce], 0x14a
mov word [0x1400f8d92], 0x14b
mov word [0x1400f8d60], 0x14f
mov word [0x1400f8bda], 0x150
mov word [0x1400f8b96], 0x14c
mov word [0x1400f8bbc], 0x14d
mov eax, 0
mov rcx, r8
lea r8, [r8 - 0x1ba8]
jmp 0x14007a9da
add rax, 1
cmp rax, 0x200
je 0x14007a9f2
movzx edx, word [rcx + rax*2]
test dx, dx
jle 0x14007a9ce
movsx rdx, dx
mov word [r8 + rdx*2 + 0x1fa8], ax
jmp 0x14007a9ce
call sym._glfwUpdateKeyNamesWin32
mov ecx, 0x3ad7
call sym._glfwIsWindows10BuildOrGreaterWin32
test eax, eax
je 0x14007abd1
mov rcx, 0xfffffffffffffffc
call qword [0x1400f9940]
pxor xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0x90], 0x50
mov dword [rsp + 0x94], 0x20
lea rax, [sym.helperWindowProc]
mov qword [rsp + 0x98], rax
mov rax, qword [0x1400f8af8]
mov qword [rsp + 0xa8], rax
lea rax, str.GLFW3_Helper
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov word [0x1400f8b08], ax
test ax, ax
je 0x14007ac22
movzx edx, ax
mov qword [rsp + 0x58], 0
mov rax, qword [0x1400f8af8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x6000000
lea r8, str.GLFW_message_window
mov ecx, 0x300
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov qword [0x1400f8b00], rax
test rax, rax
je 0x14007ac3d
mov edx, 0
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rsp + 0x60]
pxor xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x64], 5
mov dword [rsp + 0x6c], 0x4d1e55b2
mov word [rsp + 0x70], 0xf16f
mov word [rsp + 0x72], 0x11cf
movabs rax, 0x300000111100cb88
mov qword [rsp + 0x74], rax
mov r8d, 0
mov rcx, qword [0x1400f8b00]
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov qword [0x1400f8b10], rax
mov rsi, qword [sym.imp.USER32.dll_PeekMessageW]
mov rbp, qword [sym.imp.USER32.dll_TranslateMessage]
mov rdi, qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, qword [0x1400f8b00]
call rsi
test eax, eax
je 0x14007ac50
lea rbx, [rsp + 0x60]
mov rcx, rbx
call rbp
mov rcx, rbx
call rdi
jmp 0x14007ab96
mov r8d, 0
mov edx, 3
mov ecx, 6
call sym._glfwIsWindowsVersionOrGreaterWin32
test eax, eax
je 0x14007abfa
mov ecx, 2
call qword [0x1400f9990]
jmp 0x14007aa16
mov r8d, 0
mov edx, 0
mov ecx, 6
call sym._glfwIsWindowsVersionOrGreaterWin32
test eax, eax
je 0x14007aa16
call qword [0x1400f9928]
jmp 0x14007aa16
lea rdx, str.Win32:_Failed_to_register_helper_window_class
mov ecx, 0x10008
call sym._glfwInputErrorWin32
mov eax, 0
jmp 0x14007a42f
lea rdx, str.Win32:_Failed_to_create_helper_window
mov ecx, 0x10008
call sym._glfwInputErrorWin32
jmp 0x14007ac33
call sym._glfwPollMonitorsWin32
mov eax, 1
jmp 0x14007a42f