Function at 0x4bac10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
xor ebp, ebp
mov dword [edi], ebp
mov ecx, dword [0x73ff50]
cmp ecx, ebp
mov dword [esp + 0x10], ebp
jbe 0x4bac58
cmp eax, ecx
jne 0x4bac58
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x4ab8], ebp
je 0x4bac46
call fcn.004bbc70
mov dword [edi], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0x14
ja 0x4bae04
je 0x4bad63
dec eax
cmp eax, 0xe
ja case.0x4bb019.168
xor ecx, ecx
mov cl, byte [eax + 0x4bb3cc]
jmp dword [ecx*4 + 0x4bb3b0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
call fcn.004ba4f0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x38]
call fcn.004a21b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x18
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.0x4bb019.168
mov ecx, dword [esi + 4]
push 2
push ecx
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [esi + 0x4d18], eax
pop edi
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
push edi
push edx
push eax
mov ecx, esi
call fcn.004ba640
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x4d94]
cmp eax, 1
jle 0x4bad1c
mov ecx, dword [esp + 0x3c]
push 1
push ebp
push ecx
call fcn.004d3c20
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [edi], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x38]
mov dword [edi], 1
call fcn.004bc070
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
push edx
call fcn.004bb500
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x24
ret 0x18
cmp dword [0x73eec4], ebp
je 0x4badef
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4badef
cmp dword [esi + 0x4adc], ebp
jne 0x4badef
cmp dword [esi + 0x4abc], ebp
je 0x4badef
mov ecx, dword [esi + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [esp + 0x20], ebp
jle 0x4badef
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x24]
push eax
mov edx, dword [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [edi], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0xa3
ja 0x4baff2
je 0x4bafcb
add eax, 0xffffffe6
cmp eax, 0x6b
ja case.0x4bb019.168
xor ecx, ecx
mov cl, byte [eax + 0x4bb404]
jmp dword [ecx*4 + 0x4bb3dc]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [0x73ff4c], edx
pop ebx
add esp, 0x24
ret 0x18
mov eax, dword [esp + 0x44]
mov dword [edi], 1
cmp eax, 1
jne 0x4bae6b
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov eax, dword [eax + 0x4ab0]
pop ebx
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov eax, dword [ecx + 0x4ab4]
pop ebx
add esp, 0x24
ret 0x18
cmp dword [esp + 0x44], 0x2f
jne case.0x4bb019.168
mov esi, dword [esp + 0x3c]
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je case.0x4bb019.168
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push ebp
push 0xb
push esi
call ebx
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push 1
push 0xb
push esi
call ebx
mov dword [edi], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.0x4bb019.168
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004bab00
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.0x4bb019.168
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004bbab0
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x4da4], ebp
je case.0x4bb019.168
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.0x4bb019.168
mov dword [edi], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.004bb880
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x24
ret 0x18
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004ba990
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x38]
push ebp
mov dword [edi], 1
lea ecx, [edx + 0x28]
call fcn.004c6130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x4adc], ebp
je case.0x4bb019.168
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0x113
ja 0x4bb1cf
je 0x4bb0ba
add eax, 0xffffff5c
cmp eax, 0x6e
ja case.0x4bb019.168
xor ecx, ecx
mov cl, byte [eax + 0x4bb484]
jmp dword [ecx*4 + 0x4bb470]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
pop edi
pop esi
mov dword [edx + 0x4d00], eax
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x4d00], 0x14
jne case.0x4bb019.168
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0xf060
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x4d00], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x18
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
push edi
push edx
push eax
call fcn.004ba9c0
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x24
ret 0x18
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
push edi
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x34]
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x24
ret 0x18
cmp dword [esp + 0x44], 1
jne case.0x4bb019.168
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x4adc], ebp
je case.0x4bb019.168
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4bb19f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne case.0x4bb019.168
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, dword [sym.imp.USER32.dll_IsChild]
mov ebp, eax
mov eax, dword [esi + 0x30]
push ebp
push eax
call ebx
test eax, eax
jne case.0x4bb019.168
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, eax
mov eax, dword [esi + 0x365c]
push edi
push eax
call ebx
test eax, eax
jne 0x4bb16d
mov eax, dword [esi + 0x15b0]
push edi
push eax
call ebx
test eax, eax
je case.0x4bb019.168
push 0
push 0
push 0x1f
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
push 0
push 0
push 0x1f
push ebp
call edi
mov eax, dword [esi + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl case.0x4bb019.168
add ecx, 2
cmp eax, ecx
jg case.0x4bb019.168
mov ecx, esi
call fcn.004bbe30
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0x1402
ja 0x4bb380
je 0x4bb2ab
sub eax, 0x200
je 0x4bb289
dec eax
jne case.0x4bb019.168
cmp dword [0x73eec4], ebp
je case.0x4bb019.168
mov ebx, dword [esp + 0x38]
cmp dword [ebx + 0x4da4], ebp
je case.0x4bb019.168
mov esi, dword [esp + 0x3c]
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne case.0x4bb019.168
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edi
push ebp
push ecx
mov ecx, ebx
call fcn.004bc1f0
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov edx, edi
or edx, 0x40000
push edx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 0x4d04]
push ebp
push eax
push 0xa1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 0
push esi
call fcn.004d3c20
mov eax, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.004bc1f0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x24
ret 0x18
mov eax, dword [esp + 0x44]
cmp eax, 0x1c
jne 0x4bb2e1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
cmp dword [ecx + 0x4d8c], eax
je case.0x4bb019.168
mov dword [ecx + 0x4d8c], eax
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0x1d
jne 0x4bb30e
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
cmp eax, ebp
jne 0x4bb2f9
mov ecx, esi
call fcn.004bbd10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0x1e
jne case.0x4bb019.168
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x15d8], ebp
jne 0x4bb32b
cmp dword [esi + 0x15e0], ebp
je case.0x4bb019.168
cmp dword [esi + 0x15e0], ebp
je 0x4bb34f
mov ecx, esi
call fcn.004bbd10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
lea edi, [esi + 0x15ac]
push 1
mov ecx, edi
call fcn.004c4c70
mov ecx, edi
call fcn.004c4ca0
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x4d8c], eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
cmp eax, 0x9d99
jne case.0x4bb019.168
cmp dword [esp + 0x48], 0x2006
jne case.0x4bb019.168
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
push eax
call fcn.004bb520
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18