Function at 0x48cbd0
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 0x48cf60
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.00489ec0
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.0048a370
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.004871e0
test eax, eax
je 0x48cf49
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 0x48cf35
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.00487570
test eax, eax
je 0x48cd99
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 [0x690450]
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 [0x690450]
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 [0x690450]
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 0x48d0e0
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 0x48cdea
lea eax, [ebx + 0x2a4]
call fcn.0048ab10
mov dword [ebx + 0x2c0], 1
mov eax, dword [esp + 0xb8]
mov ebp, dword [eax]
test ebp, ebp
je 0x48ce1b
mov eax, dword [eax + 4]
cmp eax, 0x36001
je 0x48d1d0
cmp eax, 0x36002
je 0x48d210
cmp eax, 0x36003
je 0x48d250
mov edi, dword [ebx + 0x38]
test edi, edi
je 0x48cf25
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 [0x68f674]
sub esp, 4
test esi, esi
je 0x48d050
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x48d040
lea edx, [ebx + 0x20]
mov dword [esp], eax
lea edi, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00489b70
mov dword [esp + 4], ebx
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call fcn.00482b80
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.004870e0
add esp, 0x9c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 8]
test edi, edi
je 0x48d030
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.00487650
test eax, eax
je 0x48d300
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 [0x690460]
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 0x48cc3c
mov edi, 0x870a0000
mov eax, 0x860a0000
jmp 0x48cf8d
add dword [0x68f674], 1
jmp 0x48ce92
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.00487570
test eax, eax
je 0x48ce84
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x690424
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 0x48ce84
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 0x48d290
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.00487650
test eax, eax
je 0x48d329
mov eax, dword [ebx + 0x2a4]
mov esi, dword [0x690460]
mov dword [esp], eax
call dword [0x69045c]
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 0x48cdb3
call fcn.00490410
test eax, eax
je 0x48cf49
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.00490b80
test eax, eax
jne 0x48ce1b
jmp 0x48cf49
call fcn.00491eb0
test eax, eax
je 0x48cf49
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.00492360
test eax, eax
jne 0x48ce1b
jmp 0x48cf49
call fcn.00492f60
test eax, eax
je 0x48cf49
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.00493160
test eax, eax
jne 0x48ce1b
jmp 0x48cf49
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.00489db0
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 0x48d105
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 0x48d011
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 0x48d17d