Function at 0x42a6f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb8
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0xaf0]
push edi
test eax, eax
je 0x42a7e3
cmp word [eax], 0
je 0x42a7e3
push 0x2c
lea eax, [esp + 0x18]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [0x4e7ecc]
push 0
push 0
push 0
push 0xffffff61
push 0
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x58], 0x4bbd60
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], 0x4546f0
call fcn.004a0350
add esp, 0x20
push 0
push 0
push 0x31
mov dword [0x4e6bb0], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xffffff61
push 0
call fcn.004a0350
mov edx, dword [0x4e6bb0]
add esp, 0x14
push 0x7f00
push 0
mov dword [0x4e6bb4], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, 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 edi
mov word [0x4e7ee4], ax
test ax, ax
jne 0x42a7ef
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
push 0x10000
push str.RegClass
call fcn.004a4470
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x3c], str.AutoHotkey2
mov dword [esp + 0x38], 0
call edi
mov word [0x4e7ee8], ax
test ax, ax
je 0x42a7c5
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42a848
push 0x40
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x42a844
lea eax, [esp + 0x40]
push str.Shell_TrayWnd
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x42a848
xor bl, bl
jmp 0x42a84a
mov bl, 1
mov ecx, dword [0x4e7ecc]
mov edx, dword [esi + 0xaf0]
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push ecx
push 0
push 0
push connect
push connect
push connect
push connect
movzx eax, bl
push 0xcf0000
neg eax
push edx
sbb eax, eax
push 0x4bbd60
and eax, 0x80
push eax
call edi
mov dword [0x4e7ef0], eax
push 0
test eax, eax
je 0x42a8c8
mov ecx, dword [0x4e7ecc]
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50a00804
push 0
push str.edit
push 0
call edi
mov dword [0x4e7ef4], eax
test eax, eax
jne 0x42a8f0
push eax
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x10000
push str.CreateWindow
call fcn.004a4470
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [0x4eae8e], 0
mov edi, eax
jne 0x42a909
push str.Lucida_Console
jmp 0x42a90e
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 edi
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]
mov edx, dword [0x4e7ef4]
push edi
push edx
mov dword [0x4e7ef8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x4e7ef8]
mov ecx, dword [0x4e7ef4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push ecx
call edi
mov edx, dword [0x4e7ef4]
push 0
push 0
push 0xc5
push edx
call edi
mov eax, dword [0x4e7ef0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [0x4e7ef0]
push 0
push ecx
call edi
test bl, bl
je 0x42a9bb
mov edx, dword [0x4e7ef0]
push 6
push edx
call edi
mov eax, dword [0x4e7ef0]
push 0
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x4e7ecc]
push 0xd4
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4e804a], 0
mov dword [0x4e7f04], eax
je 0x42a9e7
mov dword [esi + 0x256], 0
jmp 0x42a9ec
call fcn.0042aac0
cmp dword [esi + 0xaa0], 0
je 0x42a9fc
mov bl, 1
call fcn.0042aa10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xb8
ret