Function at 0x549d00
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea esi, [ebp + 0x44]
mov dword [esp + 0x10], 3
mov ebx, dword [esi]
mov edi, dword [esi - 4]
call fcn.004a1350
cmp ebx, dword [esp + 0x44]
jne 0x549d3c
test eax, eax
je 0x549d56
push str.uiview_set_selected
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549d56
push 1
jmp 0x549d52
test eax, eax
je 0x549d56
push str.uiview_set_selected
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549d56
push 0
push ebx
push edi
call eax
add esi, 8
sub dword [esp + 0x10], 1
jne 0x549d14
mov edi, dword [ebp + 0x54]
mov ebx, dword [ebp + 0x50]
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.004a1350
cmp eax, esi
je 0x549daa
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x549daa
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call eax
cmp dword [esp + 0x44], 0x3eb
jne 0x549e0a
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x50]
mov edi, dword [ebp + 0x74]
sub esi, eax
mov ebx, eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
call fcn.004a1350
test eax, eax
je 0x549e8b
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549e8b
mov edx, dword [esp + 0x10]
push 1
push esi
push edi
push ebx
push edx
mov edx, dword [esp + 0x30]
jmp 0x549e83
mov edi, dword [ebp + 0x44]
mov ebx, dword [ebp + 0x40]
call fcn.004a1350
cmp eax, esi
je 0x549e32
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x549e32
push edi
push ebx
lea ecx, [esp + 0x38]
push ecx
call eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x50]
sub edi, dword [esp + 0x30]
sub esi, eax
mov ebx, eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
call fcn.004a1350
test eax, eax
je 0x549e8b
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549e8b
mov edx, dword [esp + 0x1c]
push 1
push esi
push edi
push ebx
push edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push ecx
push edx
call eax
xor eax, eax
lea edi, [ebp + 0x5c]
mov dword [esp + 0x10], eax
jmp 0x549ea0
cmp dword [esp + 0x44], 0x3eb
jne 0x549f50
mov eax, dword [eax + 0x5cc418]
mov dword [esp + 0x1c], eax
call fcn.00462da0
lea ecx, [esp + 0x1c]
push ecx
lea esi, [eax + 0x18]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00547d80
mov ebp, dword [esp + 0x14]
cmp esi, ebp
mov ebx, dword [esi + 4]
je 0x549ee1
call fcn.005532de
mov esi, dword [esp + 0x18]
cmp ebx, esi
je 0x549f50
test ebp, ebp
jne 0x549ef2
call fcn.005532de
cmp esi, dword [ebp + 4]
jne 0x549efc
call fcn.005532de
cmp byte [esi + 0x10], 0
je 0x549f50
mov esi, dword [edi]
mov ebx, dword [edi - 4]
call fcn.004a1350
test eax, eax
je 0x549f26
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549f26
push 5
push esi
push ebx
call eax
mov esi, dword [edi]
mov ebx, dword [edi - 4]
call fcn.004a1350
test eax, eax
je 0x549f74
push str.uiview_set_selected
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549f74
xor ecx, ecx
cmp dword [esp + 0x48], esi
sete cl
push ecx
jmp 0x549f70
mov esi, dword [edi]
mov ebx, dword [edi - 4]
call fcn.004a1350
test eax, eax
je 0x549f74
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x549f74
push 0
push esi
push ebx
call eax
mov eax, dword [esp + 0x10]
add eax, 4
add edi, 8
cmp eax, 0xc
mov dword [esp + 0x10], eax
jb 0x549ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8