Function at 0x42ceb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x78
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x62c]
test eax, eax
je 0x42d204
cmp byte [eax], 0
je 0x42d204
mov eax, dword [str.AutoHotkey]
xorps xmm0, xmm0
push 0
mov dword [esp + 0x3c], eax
mov edx, 0xffffff61
mov eax, dword [0x4fb9d0]
xor ecx, ecx
push 0
push 0
mov dword [esp + 0x20], 0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0x45a700
call fcn.004ad6c0
add esp, 0xc
mov dword [0x4fbaf0], eax
push 0
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.004ad6c0
mov ecx, dword [0x4fbaf0]
add esp, 0xc
mov dword [0x4fbaf4], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov esi, dword [sym.imp.USER32.dll_RegisterClassExA]
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 [0x4fc3f0], ax
test ax, ax
je 0x42d1eb
lea eax, [esp + 0x10]
mov dword [esp + 0x38], str.AutoHotkey2
push eax
mov dword [esp + 0x38], 0
call esi
mov word [0x4fc3ec], ax
test ax, ax
je 0x42d1eb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42cfe4
push 0x40
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x42cfe0
lea eax, [esp + 0x40]
push str.Shell_TrayWnd
push eax
call fcn.004c408e
add esp, 8
test eax, eax
je 0x42cfe4
xor al, al
jmp 0x42cfe6
mov al, 1
push 0
push dword [0x4fb9d0]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push 0
push connect
push connect
push connect
push connect
push 0xcf0000
push dword [ebx + 0x62c]
mov byte [esp + 0x37], al
push dword [0x4f8994]
movzx eax, al
shl eax, 7
push eax
call esi
mov dword [0x4fb968], eax
test eax, eax
je 0x42d1e4
push 0
push dword [0x4fb9d0]
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 [0x4fb944], eax
test eax, eax
je 0x42d1e4
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [0x4fe263], 0
mov edi, eax
push 0x48
push 0x5a
mov eax, str.Lucida_Console
mov esi, str.Consolas
push edi
cmove esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
neg eax
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push edi
push dword [0x4fb944]
mov dword [0x4fc3e8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [0x4fc3e8]
push 0x30
push dword [0x4fb944]
call esi
push 0
push 0
push 0xc5
push dword [0x4fb944]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4fb968]
call esi
push 0
push dword [0x4fb968]
call esi
cmp byte [esp + 0xf], 0
je 0x42d130
push 6
push dword [0x4fb968]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4fb968]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xd4
push dword [0x4fb9d0]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
cmp byte [0x4fc2a9], 0
mov dword [0x4fb940], eax
je 0x42d15b
mov dword [ebx + 0x15a], 0
jmp 0x42d162
mov ecx, ebx
call fcn.0042d210
cmp dword [ebx + 0x5dc], 0
je 0x42d1d8
cmp byte [0x51f524], 1
je 0x42d1d8
mov eax, dword [0x4fe28c]
test eax, eax
je 0x42d1bf
cmp dword [0x4fe288], 0
je 0x42d1bf
push dword [0x4fb968]
call eax
cmp byte [ebx + 0x630], 0
jne 0x42d1d1
push 0
push 1
push 0x415
push dword [0x4fb968]
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [0x51f524], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x78
ret
push dword [0x4fb968]
call dword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [ebx + 0x5e4], eax
mov byte [0x51f524], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x78
ret
mov ecx, str.CreateWindow
jmp 0x42d1f0
mov ecx, str.RegClass
push 0
push 0
xorps xmm3, xmm3
mov edx, 0x10000
call fcn.004b20a0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x78
ret