Function at 0x4910a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x491430
lea edx, [esp + 0x5c]
mov dword [esp], eax
mov ebp, 0x40008
mov edi, 0x86000000
mov dword [esp + 8], edx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.0048e390
lea eax, [esp + 0x68]
mov dword [esp + 0x44], eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call fcn.0048e840
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.0048b6b0
test eax, eax
je 0x491419
mov dword [esp + 0x48], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.GLFW30
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
sub esp, 0x30
mov dword [ebx + 0x2a4], eax
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x2a4]
test eax, eax
je 0x491405
mov dword [esp + 8], ebx
mov dword [esp + 4], str.GLFW
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetPropW]
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 6
call fcn.0048ba40
test eax, eax
je 0x491269
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x233
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call dword [0x691010]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4a
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call dword [0x691010]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x49
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call dword [0x691010]
sub esp, 0x10
mov ecx, dword [ebx + 0x38]
mov edx, dword [esi + 0x30]
mov eax, dword [ebx + 0x2a4]
test ecx, ecx
mov dword [ebx + 0x2c4], edx
je 0x4915b0
mov dword [esp], eax
mov dword [esp + 4], 1
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
sub esp, 8
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4912ba
lea eax, [ebx + 0x2a4]
call fcn.0048efe0
mov dword [ebx + 0x2c0], 1
mov eax, dword [esp + 0xb8]
mov ebp, dword [eax]
test ebp, ebp
je 0x4912eb
mov eax, dword [eax + 4]
cmp eax, 0x36001
je 0x4916a0
cmp eax, 0x36002
je 0x4916e0
cmp eax, 0x36003
je 0x491720
mov edi, dword [ebx + 0x38]
test edi, edi
je 0x4913f5
mov dword [esp + 4], 8
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x2a4]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebx + 0x2a4]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx + 0x2a4]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [0x690234]
sub esp, 4
test esi, esi
je 0x491520
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x491510
lea edx, [ebx + 0x20]
mov dword [esp], eax
lea edi, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.0048e040
mov dword [esp + 4], ebx
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call fcn.00487050
xor eax, eax
mov ecx, 9
mov edx, dword [ebx + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], 0x28
mov dword [esp + 4], eax
mov eax, dword [edx + 0x54]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
sub esp, 8
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], 0x114
mov dword [esp + 4], 0xffffffff
sub eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
sub esp, 0x1c
add esp, 0x9c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Win32:_Failed_to_create_window
mov dword [esp], 0x10008
call fcn.0048b5b0
add esp, 0x9c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 8]
test edi, edi
je 0x491500
cmp dword [ebx + 4], 1
sbb edi, edi
and edi, 0xfffb0000
add edi, 0x7cf0000
cmp dword [ebx + 4], 1
sbb eax, eax
and eax, 0xfffb0000
add eax, 0x6cf0000
cmp dword [ebx + 0x10], 1
mov edx, dword [esi + 0x24]
mov dword [esp + 0x58], 0x80000000
mov dword [esp + 0x5c], 0x80000000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sbb ebp, ebp
and ebp, 0xfffffff8
add ebp, 0x40008
test edx, edx
mov edx, dword [esi]
cmove edi, eax
mov eax, dword [esi + 4]
mov dword [esp], 0x3839
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
call fcn.0048bb20
test eax, eax
je 0x4917d0
lea eax, [esp + 0x68]
mov dword [esp + 0x10], 0x60
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp + 0x44], eax
mov dword [esp], eax
call dword [0x691020]
sub esp, 0x14
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
jmp 0x49110c
mov edi, 0x870a0000
mov eax, 0x860a0000
jmp 0x49145d
add dword [0x690234], 1
jmp 0x491362
mov dword [esp], 0x80000002
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 5
call fcn.0048ba40
test eax, eax
je 0x491354
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x690fe4
mov dword [esp + 4], 0
mov dword [esp], 0x5e
call esi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x5d
call esi
sub esp, 0x10
jmp 0x491354
mov ecx, dword [esi]
test edx, edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x74], ecx
jne 0x491760
mov ecx, dword [esp + 0x44]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp], eax
mov dword [esp + 4], ecx
call esi
sub esp, 8
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp], 0x3839
call fcn.0048bb20
test eax, eax
je 0x4917f9
mov eax, dword [ebx + 0x2a4]
mov esi, dword [0x691020]
mov dword [esp], eax
call dword [0x69101c]
sub esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ecx
call esi
sub esp, 0x14
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], 0x14
mov dword [esp + 4], 0
sub eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x2a4]
sub esp, 0x1c
jmp 0x491283
call fcn.004948e0
test eax, eax
je 0x491419
mov eax, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00495050
test eax, eax
jne 0x4912eb
jmp 0x491419
call fcn.00496380
test eax, eax
je 0x491419
mov eax, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00496830
test eax, eax
jne 0x4912eb
jmp 0x491419
call fcn.00497430
test eax, eax
je 0x491419
mov eax, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00497630
test eax, eax
jne 0x4912eb
jmp 0x491419
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
sub esp, 8
lea edx, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
call fcn.0048e280
fnstcw word [esp + 0x4e]
fild dword [esp + 0x70]
movzx eax, word [esp + 0x4e]
fmul dword [esp + 0x60]
or ah, 0xc
mov word [esp + 0x4c], ax
mov eax, dword [ebx + 0x2a4]
fldcw word [esp + 0x4c]
fistp dword [esp + 0x70]
fldcw word [esp + 0x4e]
fild dword [esp + 0x74]
fmul dword [esp + 0x64]
fldcw word [esp + 0x4c]
fistp dword [esp + 0x74]
fldcw word [esp + 0x4e]
jmp 0x4915d5
lea eax, [esp + 0x68]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp + 0x44], eax
mov dword [esp], eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
sub esp, 0x10
jmp 0x4914e1
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
sub esp, 0x10
jmp 0x49164d