Function at 0x42a5a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xaf0]
test eax, eax
je 0x42a8a3
cmp word [eax], 0
je 0x42a8a3
mov eax, dword [0x4e5c10]
xorps xmm0, xmm0
push 0
push 0
push 0
mov edx, 0xffffff61
mov dword [esp + 0x20], 0
xor ecx, ecx
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x44], 0x4b9e88
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0x453380
call fcn.0049e320
add esp, 0xc
mov dword [0x4e5d64], eax
push 0
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.0049e320
mov ecx, dword [0x4e5d64]
add esp, 0xc
mov dword [0x4e5d68], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], 0xd3
call esi
mov word [0x4e6698], ax
test ax, ax
je 0x42a88a
lea eax, [esp + 0x10]
mov dword [esp + 0x38], str.AutoHotkey2
push eax
mov dword [esp + 0x38], 0
call esi
mov word [0x4e6694], ax
test ax, ax
je 0x42a88a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42a6ec
push 0x40
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x42a6e8
lea eax, [esp + 0x40]
push str.Shell_TrayWnd
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x42a6ec
xor bl, bl
jmp 0x42a6ee
mov bl, 1
push 0
push dword [0x4e5c10]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push connect
push connect
push connect
push connect
push 0xcf0000
push dword [edi + 0xaf0]
movzx eax, bl
push 0x4b9e88
shl eax, 7
push eax
call esi
mov dword [0x4e5ba8], eax
test eax, eax
je 0x42a883
push 0
push dword [0x4e5c10]
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50a00804
push 0
push str.edit
push 0
call esi
mov dword [0x4e5b88], eax
test eax, eax
je 0x42a883
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [0x4e8a2b], 0
mov esi, eax
jne 0x42a783
push str.Lucida_Console
jmp 0x42a788
push str.Consolas
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x48
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push esi
push dword [0x4e5b88]
mov dword [0x4e6690], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x4e6690]
push 0x30
push dword [0x4e5b88]
call esi
push 0
push 0
push 0xc5
push dword [0x4e5b88]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4e5ba8]
call esi
push 0
push dword [0x4e5ba8]
call esi
test bl, bl
je 0x42a830
push 6
push dword [0x4e5ba8]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4e5ba8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x4e5c10]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4e5c4b], 0
mov dword [0x4e597c], eax
je 0x42a85b
mov dword [edi + 0x256], 0
jmp 0x42a862
mov ecx, edi
call fcn.0042a970
cmp dword [edi + 0xaa0], 0
je 0x42a874
push 1
mov ecx, edi
call fcn.0042a8b0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
mov ecx, str.CreateWindow
jmp 0x42a88f
mov ecx, str.RegClass
push 0
push 0
xorps xmm3, xmm3
mov edx, 0x10000
call fcn.004a2130
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xb8
ret