Function at 0x421870
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x24]
push edi
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x20]
sub eax, edx
sub ebx, edi
cmp ecx, eax
mov dword [esp + 0x14], eax
je 0x4218aa
mov dword [esi + 0x20], eax
cmp dword [esi + 0x1c], ebx
jne 0x4218b9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
mov eax, dword [esi + 0x8c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
mov dword [esi + 0x1c], ebx
push edx
push eax
call ebp
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
test eax, eax
je 0x4218f0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov eax, dword [esi + 0x90]
lea edx, [esp + 0x38]
push edx
push eax
call ebp
mov edx, dword [esi + 4]
lea ecx, [esp + 0x38]
push ecx
push edx
call edi
test eax, eax
je 0x421918
mov ecx, dword [esi + 4]
lea eax, [esp + 0x40]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov edi, ecx
sub edi, eax
sub edi, edx
mov edx, dword [esp + 0x20]
add edi, edx
cmp ebx, edi
jge 0x42193e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
sub eax, ecx
mov edi, 0x11c
sub eax, edx
add ebx, eax
mov eax, dword [esi + 0xcc]
cmp ebx, 0x50
jge 0x421974
test eax, eax
jne 0x421967
mov edx, dword [esi + 0x90]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, 1
mov dword [esi + 0xcc], ebp
jmp 0x421997
cmp eax, 1
jne 0x421988
mov eax, dword [esi + 0x90]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xcc], 0
mov ebp, 1
mov eax, dword [esi + 0xc8]
cmp ebx, 0x50
jge 0x4219c5
test eax, eax
jne 0x4219b5
mov ecx, dword [esi + 0x8c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xc8], ebp
mov dword [esp + 0x10], 0xffffffff
jmp 0x4219eb
cmp eax, ebp
jne 0x4219d8
mov edx, dword [esi + 0x8c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xc8], 0
mov dword [esp + 0x10], ebp
mov edi, 0x114
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x421a23
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, edi
add eax, ebx
or ecx, 1
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push edx
push eax
push 0
push ecx
call ebp
cmp ebx, 0x50
jge 0x421a37
mov edx, dword [esi + 0x8c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xac]
test eax, eax
je 0x421a57
mov ecx, dword [esp + 0x14]
or edi, 2
add ecx, 0xfffffffe
push edi
push ecx
push ebx
push 0
push 0
push 0
push eax
jmp 0x421a6e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x64]
or edi, 2
push edi
push 0
push ebx
push edx
push eax
push 0
push ecx
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x421a7f
mov ecx, esi
call fcn.0048c930
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret