Function at 0x4b9290
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b95d3
cmp dword [esp + 0x40], 1
je 0x4b95d3
mov ecx, dword [esi + 4]
push 2
push ecx
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esi + 0x4d18], eax
mov ebp, ebx
mov dword [edx], 1
mov eax, dword [esi + 0x4d9c]
and ebp, 0xffff
shr ebx, 0x10
cmp eax, ebp
jne 0x4b92f7
cmp dword [esi + 0x4da0], ebx
je 0x4b95d3
mov eax, dword [esi]
mov dword [esi + 0x4d9c], ebp
mov ecx, esi
mov dword [esi + 0x4da0], ebx
call dword [eax + 0x28]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4b931c
xor eax, eax
jmp 0x4b9322
mov eax, dword [esi + 0x4d94]
mov edi, dword [esi + 0x4da4]
neg edi
sbb edi, edi
and edi, eax
mov dword [esp + 0x14], edi
lea eax, [edi + edi]
sub ebp, eax
sub ebx, eax
mov eax, dword [esi + 0x4ad4]
mov dword [esp + 0x44], ebp
test eax, eax
je 0x4b9365
mov ecx, dword [esi + 0x4d8c]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x4d90]
test eax, eax
jne 0x4b9365
add ecx, edi
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x4adc]
mov dword [esp + 0x48], 0
test eax, eax
je 0x4b939d
lea ecx, [esi + 0x2c]
call fcn.004c1ac0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x4acc]
cmp edx, ecx
je 0x4b93e8
push 0x40
push eax
push ebp
push edi
push edi
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4b93e8
test byte [esi + 0x4d80], 1
je 0x4b93dc
lea ecx, [esi + 0x2c]
call fcn.004c1ac0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x4acc]
cmp edx, ecx
mov dword [esp + 0x48], eax
je 0x4b93e8
push 0x40
push eax
push ebp
push edi
push edi
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0x2c]
call fcn.004c1ac0
mov dword [esp + 0x48], eax
jmp 0x4b93e8
mov edx, dword [esi + 0x30]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0xaec]
call fcn.004c1ac0
mov ecx, dword [esi + 0x4acc]
mov edx, dword [esi + 0xaf0]
cmp ecx, edx
mov dword [esp + 0x40], eax
je 0x4b9431
mov edx, edi
push 0x44
sub edx, eax
push eax
mov eax, dword [esi + 0xb24]
add edx, ebx
push ebp
push edx
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0xaec]
call fcn.004c1ac0
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x48]
lea ecx, [edx + edi]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x4ad4]
test ecx, ecx
je 0x4b94a8
mov ecx, ebx
sub ecx, eax
mov eax, dword [esi + 0x4d90]
sub ecx, edx
test eax, eax
mov dword [esp + 0x18], ecx
je 0x4b9462
sub edi, dword [esi + 0x4d8c]
add edi, ebp
mov eax, dword [esi + 0x15b0]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x4adc]
mov edx, dword [esp + 0x18]
neg ecx
mov eax, dword [esi + 0x4d8c]
sbb ecx, ecx
and ecx, 4
or ecx, 0x40
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0x15b0]
push eax
push ecx
push edi
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4b94bd
mov ecx, dword [esi + 0x15e0]
test ecx, ecx
jne 0x4b94c1
lea ecx, [esi + 0x15ac]
call fcn.004c4bd0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
sub ebx, eax
mov eax, dword [esp + 0x44]
sub ebx, ecx
mov ecx, dword [esp + 0x10]
push 0x40
push ebx
push eax
mov eax, dword [esi + 0x365c]
push ecx
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x6dbf24]
xor ebx, ebx
cmp eax, ebx
je 0x4b95d3
cmp dword [esi + 0x4da4], ebx
jne 0x4b95d3
cmp dword [esi + 0x4abc], ebx
je 0x4b95d3
mov eax, dword [0x6dcf9c]
cmp eax, ebx
je 0x4b95d3
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x4adc]
cmp ecx, ebx
je 0x4b9555
mov ecx, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push ecx
mov dword [esp + 0x2c], ebx
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0xc
mov eax, dword [esi + 0x30]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x2c]
xor edi, edi
push edx
push eax
call ebp
mov edx, dword [esi + 4]
lea ecx, [esp + 0x2c]
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jle 0x4b9591
mov dword [esp + 0x24], eax
mov edi, 1
mov eax, dword [esi + 0xaf0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b95c0
mov ecx, dword [esi + 0xaf0]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
sub edx, eax
mov dword [esp + 0x28], edx
jmp 0x4b95c4
cmp edi, ebx
je 0x4b95d3
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [0x6dcf9c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0xc