Function at 0x4578a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb4
push ebx
push ebp
mov ebp, dword [esp + 0xc4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [esp + 0x1c], eax
call edi
mov ecx, dword [esp + 0xc8]
push 7
lea ebx, [ecx + eax*2]
call edi
mov esi, eax
push 4
add esi, esi
call edi
push 0
lea edx, [esp + 0x20]
push edx
push 0
add eax, esi
push 0x30
add ebp, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x28]
sar esi, 1
add esi, ecx
mov ecx, dword [esp + 0x20]
sub eax, ecx
sub eax, ebp
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x4bb77c]
sar edi, 1
add edi, ecx
test eax, eax
je 0x45793a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45793a
mov eax, dword [0x4bb77c]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x4bb760]
mov edx, dword [0x4bb770]
mov eax, dword [esp + 0xd0]
push 0
push ecx
push 0
push edx
push ebp
push ebx
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x88c00000
push eax
push str.AutoHotkey2
push 8
mov dword [0x4bb77c], 0
call esi
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [0x4bb77c], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x4bb760]
mov eax, dword [0x4bb77c]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
push 0
push eax
mov eax, dword [esp + 0xe4]
push ecx
push edx
push 0
push 0
push 0x50000001
push eax
push str.static
push 0
call esi
mov ebx, eax
mov eax, dword [0x4bb780]
test eax, eax
jne 0x457ac7
push eax
push eax
push eax
push str.DISPLAY
lea ebp, [eax + 0xc]
call dword [sym.imp.GDI32.dll_CreateDCA]
push 0x1f
lea ecx, [esp + 0x5c]
push str.Segoe_UI
push ecx
mov edi, eax
mov byte [esp + 0x5f], 1
mov byte [esp + 0x63], 0
call fcn.004954d0
add esp, 0xc
push 0
lea edx, [esp + 0x1b]
push edx
push 0x47efa0
lea eax, [esp + 0x48]
push eax
push edi
mov byte [esp + 0x8b], 0
mov byte [esp + 0x2b], 0
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
cmp byte [esp + 0x17], 0
je 0x457a57
mov ecx, dword [str.Segoe_UI]
mov edx, dword [0x4ae788]
mov al, byte [0x4ae78c]
mov ebp, 0xb
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov byte [esp + 0x80], al
jmp 0x457a75
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x78]
push ecx
push 0x40
push edi
call dword [sym.imp.GDI32.dll_GetTextFaceA]
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
imul esi, ebp
lea edx, [esp + 0x78]
push edx
push 0
push 2
push 0
push 4
push 1
push 0
mov eax, 0xc71c71c7
imul esi
push 0
push 0
push 0x190
sar edx, 4
push 0
mov eax, edx
push 0
shr eax, 0x1f
push 0
add eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [0x4bb780], eax
mov esi, 1
push esi
push eax
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4bb77c]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x18]
mov dword [0x4b73c8], 0
cmp dword [0x4bd780], edx
jne 0x457b09
push esi
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
jmp 0x457b11
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, esi
mov dword [0x4b73c8], esi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x10