Function at 0x4bf4d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x160
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x184]
mov eax, dword [0x8e4a3c]
xor eax, esp
mov dword [esp + 0x15c], eax
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x4bf960
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 6
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], str.lv_sim_visual_studio
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x4bf62e
mov dword [0x91bb34], esi
mov eax, dword [esp + 0x38]
sub esp, 0x30
mov dword [esp + 0x28], esi
movaps xmm0, xmmword [0x644fe0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 4], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.LVGL_Simulator_for_Windows_Desktop
mov dword [esp], 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x91bb38], eax
test eax, eax
je 0x4bf62e
mov esi, eax
movzx ebp, word [esp + 0x17c]
push str.SHCore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4bf63c
mov edi, eax
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4bf635
mov ebx, eax
push 2
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [esp + 0x40], 0
mov dword [esp], 0
mov ecx, esp
lea edx, [esp + 0x40]
push ecx
push edx
push 0
push eax
call ebx
test eax, eax
js 0x4bf635
mov ebx, dword [esp + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, 0xffffffff
jne 0x4bf666
jmp 0x4bf63c
xor ebx, ebx
jmp 0x4bf93f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
je 0x4bf661
mov edi, eax
push 0x58
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp ebx, 0xffffffff
jne 0x4bf666
mov ebx, 0x60
mov dword [0x664a34], ebx
mov dword [esp], 0
movsx esi, bp
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [0x664a34]
push esi
call edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
movsx ebx, word [esp + 0x180]
push 0x60
push dword [0x664a34]
push ebx
call edi
mov dword [esp + 0xc], eax
mov edi, esp
push 0x200
push 0
push 0xca0000
push edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
xor eax, eax
xor ecx, ecx
sub ecx, dword [esp + 4]
sub eax, dword [esp]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebp
mov edi, eax
push 1
call ebp
mov ecx, dword [esp + 8]
sub edi, ecx
add edi, dword [esp]
mov ebp, dword [esp + 0xc]
mov edx, edi
shr edx, 0x1f
add edx, edi
sar edx, 1
sub eax, ebp
add eax, dword [esp + 4]
mov edi, eax
shr edi, 0x1f
add edi, eax
sar edi, 1
push 0x14
push ebp
push ecx
push edi
push edx
push 0
push dword [0x91bb38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [0x91bb38]
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4bf746
push str.RegisterTouchWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4bf746
push 0
push edi
call eax
push 0
push 0
push 0x4bfd40
call fcn.004b19a0
add esp, 0xc
mov edi, dword [0x91bb38]
lea eax, [esp + 0x50]
push 0x10c
push 0
push eax
call fcn.004c3c10
add esp, 0xc
movaps xmm0, xmmword [0x644ff0]
movups xmmword [esp + 0x40], xmm0
sub esp, 0x10
movaps xmm0, xmmword [0x645000]
movups xmmword [esp], xmm0
mov ebp, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebp
push 3
push 1
push edx
push eax
call ebp
push 4
push 4
push edx
push eax
call ebp
lea ecx, [esp + 0x40]
push edx
push eax
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x4bf7da
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4bf7da
push str.EnableChildWindowDpiMessage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4bf7da
push 1
push edi
call eax
mov ecx, dword [0x91bb38]
mov edx, esi
push ebx
call fcn.004bfde0
add esp, 4
mov edi, eax
push dword [0x91bb44]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x91bb44], edi
mov edi, ebx
imul edi, esi
lea eax, [edi + edi]
push eax
call fcn.004cfdf3
add esp, 4
push edi
push 0
push eax
push 0x91bb48
call fcn.004abe60
add esp, 0x10
push 0x91bb64
call fcn.004abe10
add esp, 4
mov word [0x91bb64], si
mov word [0x91bb66], bx
mov dword [0x91bb78], 0x4bfec0
mov dword [0x91bb70], 0x91bb48
or byte [0x91bb74], 1
mov dword [0x91bb7c], 0
push 0x91bb64
call fcn.004abe90
add esp, 4
mov dword [0x91bbb4], eax
push 0x91bbb8
call fcn.004ac910
add esp, 4
mov dword [0x91bbb8], 1
mov dword [0x91bbbc], 0x4bfef0
push 0x91bbb8
call fcn.004ac940
add esp, 4
mov dword [0x91bb28], eax
push 0x91bbd8
call fcn.004ac910
add esp, 4
mov dword [0x91bbd8], 2
mov dword [0x91bbdc], 0x4bff80
push 0x91bbd8
call fcn.004ac940
add esp, 4
mov dword [0x91bb2c], eax
push 0x91bbf8
call fcn.004ac910
add esp, 4
mov dword [0x91bbf8], 4
mov dword [0x91bbfc], 0x4c0010
push 0x91bbf8
call fcn.004ac940
add esp, 4
mov dword [0x91bb30], eax
push dword [esp + 0x178]
push dword [0x91bb38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x91bb38]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x23
push 1
push dword [0x91bb38]
call dword [sym.imp.USER32.dll_SetTimer]
mov bl, 1
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004c0e60
mov eax, ebx
add esp, 0x160
pop esi
pop edi
pop ebx
pop ebp
ret