Function at 0x4b1ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510880
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x562040]
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 0x4b1e63
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x28]
jne 0x4b1c27
mov eax, dword [esi + 0x24]
add eax, 0x188
cmp dword [eax], 0x3b8
je 0x4b1c12
xor eax, eax
mov dword [ebx], eax
mov eax, 1
jmp 0x4b1e65
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [ebx], eax
mov eax, 1
jmp 0x4b1e65
mov edx, dword [ebp + 0x10]
cmp edi, 0x113
jne 0x4b1c8b
mov dword [esi + 0x1c], 1
cmp edx, 8
jne 0x4b1c7f
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0x548]
cmp edx, dword [ecx + 0x174]
jb 0x4b1c55
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 0x4b1c1d
mov ecx, dword [esi + 0x20]
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x4b1cd0
cmp edi, 0x857
je 0x4b1ca9
cmp edi, 0x111
jne 0x4b1e63
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 0x4b1c1d
cmp edi, 0x857
jne 0x4b1e63
mov eax, 1
sub ebx, 0x201
je 0x4b1dd2
sub ebx, 3
jne 0x4b1e54
mov esi, dword [esi + 0x24]
lea ecx, [ebp - 0x3b8]
call fcn.00443ec0
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x3b8]
push dword [esi + 0x184]
call fcn.00443fd0
test eax, eax
je 0x4b1d5d
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.00444880
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 0x4b1db2
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 0x4b1e65
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 0x4b1e1a
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 0x4b1e1a
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 0x4b1e65
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 0x4b1e65
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.004cfcce
mov esp, ebp
pop ebp
ret 0x18