Function at 0x140078c8e
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, [0x1401f1238]
lea rdx, [r8 - 0x1b78]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140078e2d
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov qword [0x1401f2058], rax
test rax, rax
je 0x140078e4f
lea rdx, str.SetProcessDPIAware
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1401f2060], rax
lea rdx, str.ChangeWindowMessageFilterEx
mov rcx, qword [0x1401f2058]
call rbx
mov qword [0x1401f2068], rax
lea rdx, str.EnableNonClientDpiScaling
mov rcx, qword [0x1401f2058]
call rbx
mov qword [0x1401f2070], rax
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, qword [0x1401f2058]
call rbx
mov qword [0x1401f2078], rax
lea rdx, str.GetDpiForWindow
mov rcx, qword [0x1401f2058]
call rbx
mov qword [0x1401f2080], rax
lea rdx, str.AdjustWindowRectExForDpi
mov rcx, qword [0x1401f2058]
call rbx
mov qword [0x1401f2088], rax
lea rdx, str.GetSystemMetricsForDpi
mov rcx, qword [0x1401f2058]
call rbx
mov qword [0x1401f2090], rax
lea rcx, str.dinput8.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401f2028], rax
test rax, rax
je 0x140078dab
lea rdx, str.DirectInput8Create
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401f2030], 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 [0x1401f2040], rax
test rax, rax
jne 0x140078e62
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140078e11
jmp 0x140078e93
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 0x140078e3e
lea rdx, str.XInputGetCapabilities
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1401f2048], rax
lea rdx, str.XInputGetState
mov rcx, qword [0x1401f2040]
call rbx
mov qword [0x1401f2050], rax
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401f2098], rax
test rax, rax
je 0x140078f0b
lea rdx, str.DwmIsCompositionEnabled
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1401f20a0], rax
lea rdx, str.DwmFlush
mov rcx, qword [0x1401f2098]
call rbx
mov qword [0x1401f20a8], rax
lea rdx, str.DwmEnableBlurBehindWindow
mov rcx, qword [0x1401f2098]
call rbx
mov qword [0x1401f20b0], rax
lea rdx, str.DwmGetColorizationColor
mov rcx, qword [0x1401f2098]
call rbx
mov qword [0x1401f20b8], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401f20c0], rax
test rax, rax
je 0x140078f55
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov qword [0x1401f20c8], rax
lea rdx, str.GetDpiForMonitor
mov rcx, qword [0x1401f20c0]
call rbx
mov qword [0x1401f20d0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401f20d8], rax
test rax, rax
je 0x140078f85
lea rdx, str.RtlVerifyVersionInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401f20e0], rax
lea r8, [0x1401f1268]
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 [0x1401f127e], 0x30
mov word [0x1401f126c], 0x31
mov word [0x1401f126e], 0x32
mov word [0x1401f1270], 0x33
mov word [0x1401f1272], 0x34
mov word [0x1401f1274], 0x35
mov word [0x1401f1276], 0x36
mov word [0x1401f1278], 0x37
mov word [0x1401f127a], 0x38
mov word [0x1401f127c], 0x39
mov word [0x1401f12a4], 0x41
mov word [0x1401f12c8], 0x42
mov word [0x1401f12c4], 0x43
mov word [0x1401f12a8], 0x44
mov word [0x1401f128c], 0x45
mov word [0x1401f12aa], 0x46
mov word [0x1401f12ac], 0x47
mov word [0x1401f12ae], 0x48
mov word [0x1401f1296], 0x49
mov word [0x1401f12b0], 0x4a
mov word [0x1401f12b2], 0x4b
mov word [0x1401f12b4], 0x4c
mov word [0x1401f12cc], 0x4d
mov word [0x1401f12ca], 0x4e
mov word [0x1401f1298], 0x4f
mov word [0x1401f129a], 0x50
mov word [0x1401f1288], 0x51
mov word [0x1401f128e], 0x52
mov word [0x1401f12a6], 0x53
mov word [0x1401f1290], 0x54
mov word [0x1401f1294], 0x55
mov word [0x1401f12c6], 0x56
mov word [0x1401f128a], 0x57
mov word [0x1401f12c2], 0x58
mov word [0x1401f1292], 0x59
mov word [0x1401f12c0], 0x5a
mov word [0x1401f12b8], 0x27
mov word [0x1401f12be], 0x5c
mov word [0x1401f12ce], 0x2c
mov word [0x1401f1282], 0x3d
mov word [0x1401f12ba], 0x60
mov word [0x1401f129c], 0x5b
mov word [0x1401f1280], 0x2d
mov word [0x1401f12d0], 0x2e
mov word [0x1401f129e], 0x5d
mov word [0x1401f12b6], 0x3b
mov word [0x1401f12d2], 0x2f
mov word [0x1401f1314], 0xa2
mov word [0x1401f1284], 0x103
mov word [0x1401f150e], 0x105
mov word [0x1401f1506], 0x10d
mov word [0x1401f12a0], 0x101
mov word [0x1401f126a], 0x100
mov word [0x1401f14f6], 0x10c
mov word [0x1401f150c], 0x104
mov word [0x1401f1522], 0x15c
mov word [0x1401f150a], 0x10b
mov word [0x1401f14fa], 0x10a
mov word [0x1401f12f2], 0x11c
mov word [0x1401f12da], 0x20
mov word [0x1401f1286], 0x102
mov word [0x1401f12dc], 0x118
mov word [0x1401f14f2], 0x11a
mov word [0x1401f12f4], 0x119
mov word [0x1401f12de], 0x122
mov word [0x1401f12e0], 0x123
mov word [0x1401f12e2], 0x124
mov word [0x1401f12e4], 0x125
mov word [0x1401f12e6], 0x126
mov word [0x1401f12e8], 0x127
mov word [0x1401f12ea], 0x128
mov word [0x1401f12ec], 0x129
mov word [0x1401f12ee], 0x12a
mov word [0x1401f12f0], 0x12b
mov word [0x1401f1316], 0x12c
mov word [0x1401f1318], 0x12d
mov word [0x1401f1330], 0x12e
mov word [0x1401f1332], 0x12f
mov word [0x1401f1334], 0x130
mov word [0x1401f1336], 0x131
mov word [0x1401f1338], 0x132
mov word [0x1401f133a], 0x133
mov word [0x1401f133c], 0x134
mov word [0x1401f133e], 0x135
mov word [0x1401f1340], 0x136
mov word [0x1401f1342], 0x137
mov word [0x1401f1344], 0x138
mov word [0x1401f1354], 0x139
mov word [0x1401f12d8], 0x156
mov word [0x1401f12a2], 0x155
mov word [0x1401f12bc], 0x154
mov word [0x1401f151e], 0x157
mov word [0x1401f14d6], 0x11b
mov word [0x1401f14d8], 0x15a
mov word [0x1401f14a2], 0x159
mov word [0x1401f12d4], 0x158
mov word [0x1401f1520], 0x15b
mov word [0x1401f1508], 0x108
mov word [0x1401f14fe], 0x107
mov word [0x1401f1502], 0x106
mov word [0x1401f14f8], 0x109
mov word [0x1401f130c], 0x140
mov word [0x1401f1306], 0x141
mov word [0x1401f1308], 0x142
mov word [0x1401f130a], 0x143
mov word [0x1401f12fe], 0x144
mov word [0x1401f1300], 0x145
mov word [0x1401f1302], 0x146
mov word [0x1401f12f6], 0x147
mov word [0x1401f12f8], 0x148
mov word [0x1401f12fa], 0x149
mov word [0x1401f1304], 0x14e
mov word [0x1401f130e], 0x14a
mov word [0x1401f14d2], 0x14b
mov word [0x1401f14a0], 0x14f
mov word [0x1401f131a], 0x150
mov word [0x1401f12d6], 0x14c
mov word [0x1401f12fc], 0x14d
mov eax, 0
mov rcx, r8
lea r8, [r8 - 0x1ba8]
jmp 0x1400793ee
add rax, 1
cmp rax, 0x200
je 0x140079406
movzx edx, word [rcx + rax*2]
test dx, dx
jle 0x1400793e2
movsx rdx, dx
mov word [r8 + rdx*2 + 0x1fa8], ax
jmp 0x1400793e2
call sym._glfwUpdateKeyNamesWin32
mov ecx, 0x3ad7
call sym._glfwIsWindows10BuildOrGreaterWin32
test eax, eax
je 0x1400795e5
mov rcx, 0xfffffffffffffffc
call qword [0x1401f2078]
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 [0x1401f1238]
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 [0x1401f1248], ax
test ax, ax
je 0x140079636
movzx edx, ax
mov qword [rsp + 0x58], 0
mov rax, qword [0x1401f1238]
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 [0x1401f1240], rax
test rax, rax
je 0x140079651
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 [0x1401f1240]
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov qword [0x1401f1250], 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 [0x1401f1240]
call rsi
test eax, eax
je 0x140079664
lea rbx, [rsp + 0x60]
mov rcx, rbx
call rbp
mov rcx, rbx
call rdi
jmp 0x1400795aa
mov r8d, 0
mov edx, 3
mov ecx, 6
call sym._glfwIsWindowsVersionOrGreaterWin32
test eax, eax
je 0x14007960e
mov ecx, 2
call qword [0x1401f20c8]
jmp 0x14007942a
mov r8d, 0
mov edx, 0
mov ecx, 6
call sym._glfwIsWindowsVersionOrGreaterWin32
test eax, eax
je 0x14007942a
call qword [0x1401f2060]
jmp 0x14007942a
lea rdx, str.WIn32:_Failed_to_register_helper_window_class
mov ecx, 0x10008
call sym._glfwInputErrorWin32
mov eax, 0
jmp 0x140078e43
lea rdx, str.Win32:_Failed_to_create_helper_window
mov ecx, 0x10008
call sym._glfwInputErrorWin32
jmp 0x140079647
call sym._glfwPollMonitorsWin32
mov eax, 1
jmp 0x140078e43