Function at 0x4b5a50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514b90
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], ebx
jne 0x4b5d13
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x28]
jne 0x4b5ad7
mov eax, dword [esi + 0x24]
add eax, 0x188
cmp dword [eax], 0x3b8
je 0x4b5ac2
xor eax, eax
mov dword [ebx], eax
mov eax, 1
jmp 0x4b5d15
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [ebx], eax
mov eax, 1
jmp 0x4b5d15
mov edx, dword [ebp + 0x10]
cmp edi, 0x113
jne 0x4b5b3b
mov dword [esi + 0x1c], 1
cmp edx, 8
jne 0x4b5b2f
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0x548]
cmp edx, dword [ecx + 0x174]
jb 0x4b5b05
mov edx, dword [ecx + 0x54c]
lea eax, [edx + 1]
mov dword [ecx + 0x548], eax
mov eax, dword [ecx + 0x170]
mov eax, dword [eax + edx*4]
mov dword [ecx + 0x19c], eax
lea eax, [ecx + 0x188]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edx, dword [ebp + 0x10]
mov dword [ebx], 0
cmp dword [esi + 0x1c], 0
jne 0x4b5acd
mov ecx, dword [esi + 0x20]
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x4b5b80
cmp edi, 0x857
je 0x4b5b59
cmp edi, 0x111
jne 0x4b5d13
mov eax, dword [ecx + 0x23c]
add ecx, 0x23c
push 0
push dword [ebp - 0x3bc]
push ebx
push edx
push edi
push dword [ebp - 0x3c0]
call dword [eax]
test eax, eax
jne 0x4b5acd
cmp edi, 0x857
jne 0x4b5d13
mov eax, 1
sub ebx, 0x201
je 0x4b5c82
sub ebx, 3
jne 0x4b5d04
mov esi, dword [esi + 0x24]
lea ecx, [ebp - 0x3b8]
call fcn.00440400
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x3b8]
push dword [esi + 0x184]
call fcn.00440510
test eax, eax
je 0x4b5c0d
lea eax, [ebp - 0x3c4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x540]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x540]
sub esp, 8
push dword [eax + 0xc]
push dword [ebp - 0x3c0]
push dword [ebp - 0x3c4]
push ecx
lea ecx, [ebp - 0x3b8]
call fcn.00440dc0
mov dword [ebp - 4], 1
push dword [ebp - 0x170]
mov dword [ebp - method.SOUI::SDropDownWnd2.2.virtual_0], vtable.SOUI::SDropMenu.0
mov dword [ebp - method.SOUI::SDropMenu.1.virtual_0], vtable.SOUI::SDropMenu.1.0
mov dword [ebp - method.SOUI::SQrCtrl.virtual_0], vtable.SOUI::SDropMenu.2.0
mov dword [ebp - method.SOUI::SQrCtrl.1.virtual_0], vtable.SOUI::SDropMenu.3.0
mov dword [ebp - method.SOUI::SDropMenu.4.virtual_0], vtable.SOUI::SDropMenu.4.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b5c62
lea ecx, [ebp - 0x3b8]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SHostWnd::DestroyWindow_void_]
lea ecx, [ebp - 0x3b8]
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::SHostWnd::destructor_void_]
mov ecx, dword [ebp - 0x3bc]
xor eax, eax
mov dword [ecx], eax
mov eax, 1
jmp 0x4b5d15
mov ecx, dword [esi + 0x20]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsIconic_void_const]
test eax, eax
jne 0x4b5cca
mov ecx, dword [esi + 0x20]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsWindowVisible_void_const]
test eax, eax
je 0x4b5cca
mov eax, dword [esi + 0x20]
push 0
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x3bc]
xor eax, eax
mov dword [ecx], eax
mov eax, 1
jmp 0x4b5d15
mov ecx, dword [esi + 0x20]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsIconic_void_const]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
push eax
mov eax, dword [esi + 0x20]
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x20]
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
mov ecx, dword [ebp - 0x3bc]
mov dword [ecx], eax
mov eax, 1
jmp 0x4b5d15
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 - 0x10]
xor ecx, ebp
call fcn.004d3a9e
mov esp, ebp
pop ebp
ret 0x18