Function at 0x10b7f31
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x10b8148
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10b8147
mov eax, dword [esi + 0x4a0]
cmp dword [eax + 0x208], 0
je 0x10b8147
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call edi
push 6
mov dword [ebp + 0xc], eax
call edi
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x340]
push eax
call fcn.0108ea2f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x4a0]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [ebp - 0x28]
push eax
je 0x10b7fc1
mov eax, dword [esi + 0x4a0]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x10b7fee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
add dword [ebp - 0x28], ecx
add dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
shl ecx, 2
sub edx, ecx
sub edx, eax
mov eax, dword [ebp + 0xc]
add edx, ebx
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
push 3
mov dword [ebp - 0x10], eax
call edi
mov ecx, dword [ebp - 4]
shl ecx, 2
sub ebx, ecx
sub ebx, dword [ebp - 8]
mov ecx, 0x190
cmp ebx, ecx
jle 0x10b8014
mov ebx, ecx
mov edx, dword [esi + 0x4a0]
mov ecx, dword [edx + 0x214]
shl ecx, 1
mov edi, ecx
mov ecx, ebx
sub ecx, edi
sub ecx, dword [edx + 0x218]
sub ecx, eax
mov eax, dword [esi + 0x50c]
test eax, eax
je 0x10b8040
cmp ecx, eax
jl 0x10b8040
mov ecx, eax
push ecx
mov ecx, dword [esi + 0x4a0]
call fcn.01085ff7
mov ecx, dword [ebp + 0xc]
push 0x16
push dword [ebp - 0x14]
lea eax, [ecx + ecx]
push dword [ebp - 0x18]
mov edx, eax
push dword [ebp - 4]
mov eax, dword [ebp + 8]
push ecx
push dword [esi + 4]
sub eax, edx
lea ecx, [esi + 0x340]
mov edi, eax
call fcn.0105baaf
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
cmp edi, eax
jne 0x10b80bf
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp ebx, eax
jne 0x10b80bf
mov eax, dword [esi + 0x4a0]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10b80ef
movzx eax, bx
movzx ecx, di
shl eax, 0x10
or eax, ecx
push eax
mov eax, dword [esi + 0x4a0]
push 0
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10b80ef
mov eax, dword [esi + 0x4a0]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10b80ef
mov eax, dword [esi + 0x4a0]
push 0x16
push ebx
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], eax
pop edi
jne 0x10b8106
sub eax, dword [ebp - 0x28]
lea ecx, [esi + 0x418]
mov edx, dword [ecx]
push eax
call dword [edx]
push 0
push dword [esi + 0x364]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x4a0]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10b8147
mov ecx, dword [esi + 0x4a0]
push 0
call fcn.01086398
test eax, eax
jl 0x10b8147
mov ecx, dword [esi + 0x4a0]
push 1
call fcn.0108b858
pop ebx
pop esi
leave
ret 8