Function at 0x4c8910
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
push edi
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x5ce6d8
call fcn.0046c7a0
cmp dword [eax + 0x14], 0
setne bl
cmp dword [esp + 0x50], 0x10
jb 0x4c8949
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055215c
add esp, 4
push 5
push 0
mov ecx, esi
mov byte [esi + 0x3c], bl
call fcn.004c7b10
mov cl, byte [esi + 0x3c]
mov ebx, dword [esi + 0x50]
mov ebp, dword [esi + 0x4c]
neg cl
sbb ecx, ecx
and ecx, 5
mov edi, ecx
call fcn.004a1350
test eax, eax
je 0x4c8987
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c8987
push edi
push ebx
push ebp
call eax
mov dl, byte [esi + 0x3c]
mov ebx, dword [esi + 0x70]
mov ebp, dword [esi + 0x6c]
neg dl
sbb edx, edx
and edx, 0xfffffffb
add edx, 5
mov edi, edx
call fcn.004a1350
test eax, eax
je 0x4c89ba
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c89ba
push edi
push ebx
push ebp
call eax
mov ebx, dword [esi + 4]
xor eax, eax
cmp byte [esi + 0x3c], al
setne al
mov edi, eax
call fcn.004a1350
push str.uiview_set_extend_panel_state
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebp, ebp
cmp eax, ebp
je 0x4c89e7
push edi
push 0x4f5
push ebx
call eax
mov edi, dword [esi + 0xac]
sub edi, dword [esi + 0xa4]
cmp byte [esi + 0x3c], 0
je 0x4c8a09
mov ecx, dword [esi + 0x9c]
sub ecx, dword [esi + 0x94]
lea edi, [edi + ecx + 0xa]
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0x94]
mov ebx, dword [esi + 0xac]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x98]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xa0]
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov ebp, dword [esi + 0xa8]
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
sub eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov ecx, edi
sub ecx, dword [esp + 0x38]
add ebx, ecx
cmp byte [esi + 0x3c], 0
jne 0x4c8a9c
lea eax, [ebp + 4]
mov edx, eax
sub edx, ebp
add dword [esp + 0x44], edx
mov ebp, eax
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004a1350
test eax, eax
je 0x4c8add
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c8add
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
push 1
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x1c]
sub ebx, edi
push ebx
push ebp
push edi
push edx
push ecx
call eax
mov edx, dword [esi + 0xac]
sub edx, dword [esi + 0xa4]
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 0x60]
lea edi, [edi + edx + 0xa]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
call fcn.004a1350
test eax, eax
je 0x4c8b1e
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c8b1e
mov ecx, dword [esp + 0x14]
push 0
push ebx
push ecx
call eax
sub edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + 0x50]
mov esi, dword [esi + 0x4c]
mov edx, ebp
sub edx, dword [esp + 0x1c]
add ebx, edi
mov edi, dword [esp + 0x24]
add edi, edx
mov dword [esp + 0x14], eax
call fcn.004a1350
test eax, eax
je 0x4c8b6d
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c8b6d
mov ecx, dword [esp + 0x10]
push 1
sub edi, ebp
push edi
sub ebx, ecx
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push esi
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret