Function at 0x453b50
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xffffffffffffffff
push 0x4f3b64
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x526b24]
xor eax, ebp
mov dword [ebp + 0x80], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x6cc]
test eax, eax
je 0x454355
cmp word [eax], 0
je 0x454355
mov esi, dword [0x62271c]
xorps xmm0, xmm0
mov edx, dword fs:[0x2c]
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x44], 0x30
mov eax, dword [edx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x453bde
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + esi*4]
mov dword [ebp - 0x3c], 0x49be10
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x220]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5276ac]
mov dword [ebp - 0x30], eax
jne 0x453c0e
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x170], 0
jne 0x453ca1
push 0
push 0
push 0
push 0xffffff61
push 0
call fcn.004e35f0
mov ebx, eax
add esp, 0x14
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x453c52
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + esi*4]
push 0
push 0
push 0x31
mov dword [eax + 0x170], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xffffff61
push 0
call fcn.004e35f0
mov edx, dword fs:[0x2c]
add esp, 0x14
mov ebx, eax
mov ecx, dword [edx + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x453c98
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
mov dword [eax + 0x174], ebx
cmp byte [eax + 0x2198], 0
jne 0x453cb6
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + esi*4]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x170]
mov dword [ebp - 0x2c], eax
jne 0x453cd7
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
push 0x7f00
push 0
mov eax, dword [eax + 0x174]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], 0xd3
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, dword fs:[0x2c]
movzx ebx, ax
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x453d2d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
mov word [eax + 0x154], bx
jne 0x453d4c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + esi*4]
mov eax, dword [sym.AutoHotkey.exe_g_FirstThreadID]
cmp eax, dword [edx + 0x250]
jne 0x453da2
cmp byte [edx + 0x2198], 0
jne 0x453d71
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp word [eax + 0x154], 0
jne 0x453da2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0x10000
push str.RegClass
jmp 0x45434d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x453dd9
push 0x40
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x453dd3
lea eax, [ebp]
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 0x453dd9
mov byte [ebp - 0xd], 0
jmp 0x453ddd
mov byte [ebp - 0xd], 1
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + 0x6cc]
mov ebx, dword [0x5276ac]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x453e0b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push 0
push ebx
push 0
push 0
push connect
push connect
push connect
push connect
push 0xcf0000
push dword [ebp - 0x14]
push dword [eax + 0x220]
movzx eax, byte [ebp - 0xd]
shl eax, 7
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x453e64
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
mov dword [ecx + 0x214], ebx
test ebx, ebx
je 0x454334
cmp byte [ecx + 0x2198], 0
jne 0x453e89
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
cmp word [ecx + 0x154], 0
jne 0x453ec0
cmp byte [ecx + 0x2198], 0
jne 0x453eaa
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + esi*4]
push 0x49be10
push 0xfffffffffffffffc
push dword [eax + 0x214]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x58
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x453ee3
push 1
mov ecx, eax
call fcn.004c48a0
jmp 0x453ee5
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x730], eax
call fcn.004c4e90
cmp dword [edi + 0x6d0], 1
jne 0x453f74
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x453f21
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push dword [eax + 0x214]
call dword [sym.imp.USER32.dll_GetMenu]
push 3
mov ebx, eax
push 0xff79
push ebx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x453f58
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0x139], 0
jne 0x453f74
push 3
push ebx
mov ecx, edi
call fcn.00456810
mov eax, dword fs:[0x2c]
mov ebx, dword [0x5276ac]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x453f91
call fcn.004ebad3
mov eax, dword fs:[0x2c]
push 0
push ebx
push 1
mov eax, dword [eax + esi*4]
push dword [eax + 0x214]
push 0
push 0
push 0
push 0
push 0x50a00804
push 0
push str.Edit
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x453fe0
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
mov dword [ecx + 0x210], ebx
test ebx, ebx
je 0x454334
cmp byte [ecx + 0x2198], 0
jne 0x454005
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + esi*4]
push dword [eax + 0x210]
call dword [sym.imp.USER32.dll_GetDC]
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
mov ebx, eax
push 0x5a
push ebx
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 fs:[0x2c]
mov dword [ebp - 0x14], eax
mov ecx, dword [edx + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x454072
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp - 0x14]
cmp byte [eax + 0x2198], 0
mov dword [eax + 0x20c], ecx
jne 0x454093
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
push ebx
push dword [eax + 0x210]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x4540c2
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
mov ebx, dword [eax + 0x20c]
jne 0x4540e0
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [eax + 0x210]
call ebx
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x454115
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push 0
push 0
push 0xc5
push dword [eax + 0x210]
call ebx
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x454148
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 0x214]
call ebx
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x45417a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push 0
push dword [eax + 0x214]
call ebx
cmp byte [ebp - 0xd], 0
je 0x4541eb
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x4541ac
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push 6
push dword [eax + 0x214]
call ebx
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x4541d8
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
push 0
push 0xffffffffffffffec
push dword [eax + 0x214]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x5276ac]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edx, dword fs:[0x2c]
mov ebx, eax
mov ecx, dword [edx + esi*4]
cmp byte [ecx + 0x2198], 0
jne 0x45421d
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
cmp byte [eax + 0x2198], 0
mov dword [eax + 0x208], ebx
jne 0x45423b
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + esi*4]
cmp byte [eax + 0x13a], 0
jne 0x454323
push 0x3b8
lea eax, [edi + 0x28d]
push 0
push eax
lea ebx, [edi + 0x289]
call sub.VCRUNTIME140.dll_memset
mov dword [ebx], 0x3bc
add esp, 0xc
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x45428c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x214]
mov dword [edi + 0x28d], eax
mov eax, dword [edi + 0x71c]
mov dword [edi + 0x291], 0x404
mov dword [edi + 0x295], 7
mov dword [edi + 0x299], 0x404
test eax, eax
jne 0x4542eb
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x4542e2
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x174]
mov dword [edi + 0x29d], eax
mov eax, dword [edi + 0x728]
test eax, eax
jne 0x454301
mov eax, dword [edi + 0x6bc]
push 0x80
push eax
lea eax, [edi + 0x2a1]
push eax
call fcn.004e6a80
add esp, 0xc
push ebx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x45432d
mov dword [edi + 0x28d], 0
mov eax, 1
jmp 0x454357
push 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0x10000
push str.CreateWindow
call fcn.004e9320
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.004ebadf
lea esp, [ebp + 0x84]
pop ebp
ret