Function at 0x53b5c0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, dword [ebx + 4]
xor ebp, ebp
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], 0x68
mov dword [esp + 0x28], ebp
call fcn.004a1350
cmp eax, ebp
je 0x53b617
push str.uiview_is_control_visible
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x53b617
lea ecx, [esp + 0x28]
push ecx
push 0x4b7
push esi
call eax
cmp eax, ebp
jne 0x53b617
cmp dword [esp + 0x28], 1
jne 0x53b617
mov dword [esp + 0x14], 0x99
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x58]
test eax, eax
lea esi, [ebx + 0x54]
mov dword [esp + 0x24], ebp
je 0x53b7e4
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x53b802
push ebp
mov ecx, esi
call fcn.005398b0
test ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x21
je 0x53b6b0
lea edx, [ebp - 1]
push edx
mov ecx, esi
call fcn.005398b0
mov esi, dword [eax]
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x53b7dc
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b7dc
push esi
push edi
lea ecx, [esp + 0x48]
push ecx
call eax
test eax, eax
jne 0x53b7dc
mov edx, dword [esp + 0x48]
add edx, 6
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x53b7dc
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b7dc
push esi
push edi
lea ecx, [esp + 0x38]
push ecx
call eax
test eax, eax
jne 0x53b7dc
mov ebp, dword [esp + 0x38]
sub ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea eax, [edx + ebp]
cmp eax, 0x22f
mov eax, dword [esp + 0x54]
jle 0x53b728
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0x21
jle 0x53b728
lea edx, [eax + 8]
cmp ecx, edx
jg 0x53b728
add dword [esp + 0x14], 0x20
cmp ecx, eax
mov dword [esp + 0x20], 0
jl 0x53b783
add eax, 8
cmp ecx, eax
jg 0x53b783
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x34]
mov edi, dword [eax]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x20], 1
call fcn.004a1350
test eax, eax
je 0x53b77f
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b77f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push esi
push ebp
push ecx
push edx
push edi
push ebx
call eax
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x248]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x53b7ad
mov ecx, dword [ebx + 0x248]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x53b7ad
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x53b7d8
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b7d8
mov ecx, dword [esp + 0x20]
push ecx
push esi
push edi
call eax
mov ebp, dword [esp + 0x24]
add ebp, 1
jmp 0x53b61b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x238], edx
mov dword [ebx + 0x240], eax
pop ebx
add esp, 0x40
ret 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x238], ecx
mov dword [ebx + 0x240], edx
pop ebx
add esp, 0x40
ret 4