Function at 0x41d5c5
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 0x41d5fa
mov dword [esi + 0x20], eax
cmp dword [esi + 0x1c], ebx
jne 0x41d609
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 0x41d640
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 0x41d668
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 0x41d68e
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 0x41d6c4
test eax, eax
jne 0x41d6b7
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 0x41d6e7
cmp eax, 1
jne 0x41d6d8
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 0x41d715
test eax, eax
jne 0x41d705
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 0x41d73b
cmp eax, ebp
jne 0x41d728
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 0x41d773
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 0x41d787
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 0x41d7a7
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 0x41d7be
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 0x41d7cf
mov ecx, esi
call fcn.004b8df0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret