Function at 0x48bbf0
Capabilities:
Hide graphical window
Link many functions at runtime

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x690230
mov dword [esp + 4], 0
mov dword [esp], 0x2000
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x2001
call ebx
sub esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp], str.winmm.dll
call ebx
sub esp, 4
test eax, eax
mov dword [0x690fe8], eax
je 0x48c1ee
mov dword [esp + 4], str.timeGetTime
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
sub esp, 8
mov dword [0x690fec], eax
mov dword [esp], str.user32.dll
call ebx
sub esp, 4
test eax, eax
mov dword [0x691008], eax
je 0x48c20e
mov dword [esp + 4], str.SetProcessDPIAware
mov dword [esp], eax
call esi
mov dword [0x69100c], eax
mov eax, dword [0x691008]
sub esp, 8
mov dword [esp + 4], str.ChangeWindowMessageFilterEx
mov dword [esp], eax
call esi
mov dword [0x691010], eax
mov eax, dword [0x691008]
sub esp, 8
mov dword [esp + 4], str.EnableNonClientDpiScaling
mov dword [esp], eax
call esi
mov dword [0x691014], eax
mov eax, dword [0x691008]
sub esp, 8
mov dword [esp + 4], str.SetProcessDpiAwarenessContext
mov dword [esp], eax
call esi
mov dword [0x691018], eax
mov eax, dword [0x691008]
sub esp, 8
mov dword [esp + 4], str.GetDpiForWindow
mov dword [esp], eax
call esi
mov dword [0x69101c], eax
mov eax, dword [0x691008]
sub esp, 8
mov dword [esp + 4], str.AdjustWindowRectExForDpi
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x691020], eax
mov dword [esp], str.dinput8.dll
call ebx
sub esp, 4
test eax, eax
mov dword [0x690ff0], eax
je 0x48bd59
mov dword [esp + 4], str.DirectInput8Create
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x690ff4], eax
mov dword [esp + 0x30], str.xinput1_4.dll
mov dword [esp + 0x34], str.xinput1_3.dll
lea edi, [esp + 0x34]
mov dword [esp + 0x38], str.xinput9_1_0.dll
mov dword [esp + 0x3c], str.xinput1_2.dll
mov eax, str.xinput1_4.dll
mov dword [esp + 0x40], str.xinput1_1.dll
mov dword [esp + 0x44], 0
jmp 0x48bd9e
add edi, 4
mov eax, dword [edi - 4]
test eax, eax
je 0x48bdde
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
mov dword [0x690ffc], eax
je 0x48bd94
mov dword [esp + 4], str.XInputGetCapabilities
mov dword [esp], eax
call esi
mov dword [0x691000], eax
mov eax, dword [0x690ffc]
sub esp, 8
mov dword [esp + 4], str.XInputGetState
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x691004], eax
mov dword [esp], str.dwmapi.dll
call ebx
sub esp, 4
test eax, eax
mov dword [0x691024], eax
je 0x48be3c
mov dword [esp + 4], str.DwmIsCompositionEnabled
mov dword [esp], eax
call esi
mov dword [0x691028], eax
mov eax, dword [0x691024]
sub esp, 8
mov dword [esp + 4], str.DwmFlush
mov dword [esp], eax
call esi
mov dword [0x69102c], eax
mov eax, dword [0x691024]
sub esp, 8
mov dword [esp + 4], str.DwmEnableBlurBehindWindow
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x691030], eax
mov dword [esp], str.shcore.dll
call ebx
sub esp, 4
test eax, eax
mov dword [0x691034], eax
je 0x48be80
mov dword [esp + 4], str.SetProcessDpiAwareness
mov dword [esp], eax
call esi
mov dword [0x691038], eax
mov eax, dword [0x691034]
sub esp, 8
mov dword [esp + 4], str.GetDpiForMonitor
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x69103c], eax
mov dword [esp], str.ntdll.dll
call ebx
sub esp, 4
test eax, eax
mov dword [0x691040], eax
je 0x48beaa
mov dword [esp + 4], str.RtlVerifyVersionInfo
mov dword [esp], eax
call esi
sub esp, 8
mov dword [0x691044], eax
mov ebx, 0x69023c
mov eax, 0xffffffff
mov ecx, 0x100
mov edi, ebx
mov esi, 0x10d
mov ebx, 0x2f
rep stosd dword es:[edi], eax
mov ecx, 0xae
mov ebp, 0x105
mov word [0x6902a6], bx
mov word [0x6904e2], bp
mov dword [0x690278], 0x530041
mov edx, 0x108
mov dword [0x69027c], 0x460044
mov dword [0x690280], 0x480047
mov ebx, 0x106
mov dword [0x690284], 0x4b004a
mov dword [0x690288], 0x3b004c
mov ebp, 0x156
mov dword [0x69028c], 0x600027
mov dword [0x690292], 0x5a005c
rep stosd dword es:[edi], eax
mov ecx, 0xffffffff
mov eax, 0x10a
mov word [0x6904da], si
mov word [0x6904ce], ax
mov eax, 0x10c
mov dword [0x690296], 0x430058
mov dword [0x69029a], 0x420056
mov dword [0x69029e], 0x4d004e
mov esi, 0x109
mov dword [0x6902a2], 0x2e002c
mov dword [0x6904de], 0x104010b
mov dword [0x69023e], 0x310100
mov dword [0x690242], 0x330032
mov word [edi], cx
mov edi, 0x15c
mov dword [0x690246], 0x350034
mov word [0x6904f6], di
mov dword [0x69024a], 0x370036
mov ecx, 0x107
mov dword [0x69024e], 0x390038
mov dword [0x690252], 0x2d0030
mov edi, 0x14b
mov dword [0x690256], 0x103003d
mov dword [0x69025a], 0x510102
mov dword [0x69025e], 0x450057
mov dword [0x690262], 0x540052
mov dword [0x690266], 0x550059
mov dword [0x69026a], 0x4f0049
mov dword [0x69026e], 0x5b0050
mov word [0x6904ca], ax
mov eax, 0x138
mov word [0x690318], ax
mov eax, 0x139
mov dword [0x690272], 0x101005d
mov word [0x690328], ax
mov eax, 0x155
mov dword [0x6902ae], 0x1180020
mov word [0x690276], ax
mov eax, 0x154
mov dword [0x6904c6], 0x11c011a
mov word [0x690290], ax
mov eax, 0x14a
mov dword [0x690304], 0x12f012e
mov dword [0x690308], 0x1310130
mov dword [0x69030c], 0x1330132
mov dword [0x690310], 0x1350134
mov dword [0x690314], 0x1370136
mov dword [0x6904aa], 0x15a011b
mov dword [0x6904f2], 0x15b0157
mov word [0x6904dc], dx
mov word [0x6904d2], cx
mov word [0x6904d6], bx
mov word [0x6904cc], si
mov word [0x6904a6], di
mov dword [0x690474], 0x159014f
mov dword [0x6902e8], 0x12c00a2
mov dword [0x6902ec], 0x150012d
mov dword [0x6902a8], 0x14c0158
mov word [0x6902ac], bp
mov dword [0x6902b2], 0x1230122
mov dword [0x6902b6], 0x1250124
mov dword [0x6902ba], 0x1270126
mov dword [0x6902be], 0x1290128
mov dword [0x6902c2], 0x12b012a
mov dword [0x6902c6], 0x119011c
mov dword [0x6902ca], 0x1480147
mov dword [0x6902ce], 0x14d0149
mov word [0x6902e2], ax
mov dword [0x6902d2], 0x1450144
xor eax, eax
mov dword [0x6902d6], 0x14e0146
mov dword [0x6902da], 0x1420141
mov dword [0x6902de], 0x1400143
movsx edx, word [eax + eax + 0x69023c]
test dx, dx
jle 0x48c1a6
mov word [edx + edx + 0x69063c], ax
add eax, 1
cmp eax, 0x200
jne 0x48c191
call fcn.0048b870
mov dword [esp], 0x3ad7
call fcn.0048bb20
test eax, eax
je 0x48c3c4
mov dword [esp], 0xfffffffc
call dword [0x691018]
sub esp, 4
call fcn.00490f40
xor ebx, ebx
test eax, eax
jne 0x48c22e
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Win32:_Failed_to_load_winmm.dll
mov dword [esp], 0x10008
xor ebx, ebx
call fcn.0048b5b0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Win32:_Failed_to_load_user32.dll
mov dword [esp], 0x10008
xor ebx, ebx
call fcn.0048b5b0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x6000000
mov dword [esp + 8], str.GLFW_message_window
mov dword [esp + 4], 0x5e4ec0
mov dword [esp], 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
mov dword [0x690228], eax
je 0x48c3ab
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
sub esp, 8
xor eax, eax
mov dword [esp + eax + 0x38], edx
add eax, 4
cmp eax, 0x18
jb 0x48c2c7
mov eax, 0xffffcb88
lea ebx, [esp + 0x30]
mov edx, 0x1111
mov word [esp + 0x44], ax
mov eax, dword [0x690228]
mov dword [esp + 0x30], 0x20
mov dword [esp + 0x34], 5
mov dword [esp + 0x3c], 0x4d1e55b2
mov dword [esp + 0x40], 0x11cff16f
mov word [esp + 0x47], dx
mov byte [esp + 0x4b], 0x30
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
sub esp, 0xc
mov dword [0x69022c], eax
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x48c360
mov dword [esp], ebx
call ebp
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov eax, dword [0x690228]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
sub esp, 0x14
test eax, eax
jne 0x48c350
call fcn.0048eb50
mov ebx, 1
call fcn.0048d3d0
call fcn.0048ddd0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Win32:_Failed_to_create_helper_window
mov dword [esp], 0x10008
call fcn.0048b5b0
jmp 0x48c1e4
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 6
call fcn.0048ba40
test eax, eax
je 0x48c3f9
mov dword [esp], 2
call dword [0x691038]
sub esp, 4
jmp 0x48c1d9
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 6
call fcn.0048ba40
test eax, eax
je 0x48c1d9
call dword [0x69100c]
jmp 0x48c1d9