Function at 0x4a00c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff960
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x54c040]
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 0x4a0383
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x28]
jne 0x4a0147
mov eax, dword [esi + 0x24]
add eax, 0x188
cmp dword [eax], 0x3b8
je 0x4a0132
xor eax, eax
mov dword [ebx], eax
mov eax, 1
jmp 0x4a0385
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [ebx], eax
mov eax, 1
jmp 0x4a0385
mov edx, dword [ebp + 0x10]
cmp edi, 0x113
jne 0x4a01ab
mov dword [esi + 0x1c], 1
cmp edx, 8
jne 0x4a019f
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0x548]
cmp edx, dword [ecx + 0x174]
jb 0x4a0175
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 0x4a013d
mov ecx, dword [esi + 0x20]
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x4a01f0
cmp edi, 0x857
je 0x4a01c9
cmp edi, 0x111
jne 0x4a0383
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 0x4a013d
cmp edi, 0x857
jne 0x4a0383
mov eax, 1
sub ebx, 0x201
je 0x4a02f2
sub ebx, 3
jne 0x4a0374
mov esi, dword [esi + 0x24]
lea ecx, [ebp - 0x3b8]
call fcn.0043cbc0
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x3b8]
push dword [esi + 0x184]
call fcn.0043ccd0
test eax, eax
je 0x4a027d
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.0043d580
mov dword [ebp - 4], 1
push dword [ebp - 0x170]
mov dword [ebp - method.SOUI::SDropMenu.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 0x4a02d2
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 0x4a0385
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 0x4a033a
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 0x4a033a
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 0x4a0385
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 0x4a0385
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.004c048e
mov esp, ebp
pop ebp
ret 0x18