Function at 0x4053a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 1
je 0x40555d
cmp dword [ebp + 0xc], 2
jne 0x4053c9
mov dword [0x42c02c], 1
jmp 0x4053f7
mov dword [0x42c02c], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [0x43bb3c], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [0x43bb40], eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x43bf1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x70], 0x50
mov dword [ebp - 0x6c], 0xf1
lea eax, [ebp - 0x70]
push eax
push 0
push 0x41d
mov eax, dword [0x43bf08]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, ebx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0x406
mov eax, dword [0x43bf08]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [0x43bf1c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x43bf14]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push ebx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add eax, edx
push eax
push 0
mov eax, dword [0x43bf14]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x1a
push ebx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [0x43bf18]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
add eax, 0x1a
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x78], eax
mov eax, dword [0x43f9c8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x405542
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add eax, edx
push eax
push 0x747
mov eax, dword [0x43f9c8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x98]
push eax
mov eax, dword [0x43f9c8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
add eax, edx
mov dword [ebp - 0x78], eax
push 1
mov eax, dword [ebp - 0x78]
push eax
push ebx
mov eax, dword [ebp - 0x74]
push eax
push 0
mov eax, dword [0x440474]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x405597
cmp dword [0x43f9e8], 0
je 0x405597
cmp dword [0x42c020], 0
jne 0x405597
mov dword [0x42c020], 1
call fcn.00410350
push 0x43bb4c
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov esp, ebp
pop ebp
ret 0x10