Function at 0x50f070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xd8]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x50f0b2
mov ecx, dword [edi + 4]
push 0x529
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
mov dword [edi + 0xd8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xd0]
cmp eax, 5
mov dword [esp + 0x18], eax
jle 0x50f24c
mov edx, dword [edi + 0xcc]
mov ebp, dword [edx]
lea eax, [edi + 0xc8]
mov esi, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
lea ecx, [ecx]
test esi, esi
mov ebx, dword [edi + 0xcc]
lea eax, [edi + 0xc8]
je 0x50f0f4
cmp esi, eax
je 0x50f0f9
call fcn.005532de
cmp ebp, ebx
je 0x50f1cd
test esi, esi
jne 0x50f10a
call fcn.005532de
cmp ebp, dword [esi + 4]
jne 0x50f114
call fcn.005532de
mov esi, dword [ebp + 0xc]
mov ebx, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x50f1b7
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x50f1b7
push esi
push ebx
lea ecx, [esp + 0x2c]
push ecx
call eax
test eax, eax
jne 0x50f1b7
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
cmp edx, 0x149
jl 0x50f1b7
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax + 4]
jne 0x50f166
call fcn.005532de
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
mov ebp, dword [esp + 0x24]
sub esi, eax
mov ebx, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.004a1350
test eax, eax
je 0x50f1b7
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x50f1b7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 1
push esi
push 0x13b
push ebx
push ebp
push ecx
push edx
call eax
lea ecx, [esp + 0x1c]
call fcn.00403de0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x50f0e0
mov ecx, dword [esp + 0x18]
xor eax, eax
push 1
lea edx, [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xd8]
push 2
add ecx, 0xffffffff
push eax
mov dword [esp + 0x44], 0x1c
mov dword [esp + 0x48], 7
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 5
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [edi + 0xd8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0xd8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xcc]
mov ebp, dword [eax]
lea esi, [edi + 0xc8]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
test esi, esi
mov ebx, dword [edi + 0xcc]
lea eax, [edi + 0xc8]
je 0x50f276
cmp esi, eax
je 0x50f27b
call fcn.005532de
cmp ebp, ebx
je 0x50f34b
test esi, esi
jne 0x50f28c
call fcn.005532de
cmp ebp, dword [esi + 4]
jne 0x50f296
call fcn.005532de
mov esi, dword [ebp + 0xc]
mov ebx, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x50f335
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x50f335
push esi
push ebx
lea ecx, [esp + 0x2c]
push ecx
call eax
test eax, eax
jne 0x50f335
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
cmp edx, 0x149
jge 0x50f335
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax + 4]
jne 0x50f2e8
call fcn.005532de
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x24]
mov ebp, dword [ebp + 0xc]
sub esi, eax
mov edi, eax
mov dword [esp + 0x18], edx
call fcn.004a1350
test eax, eax
je 0x50f331
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x50f331
mov ecx, dword [esp + 0x18]
push 1
push esi
push 0x149
push edi
push ebx
push ebp
push ecx
call eax
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
call fcn.00403de0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x50f262
mov edx, dword [edi + 0xd8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret