Function at 0x53b9a0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x44
cmp byte [esp + 0x48], 0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [ebx + 0x234], 0x68
jne 0x53b9c8
mov dword [ebx + 0x234], 0x99
xor esi, esi
mov dword [ebx + 0x238], esi
lea edi, [ebx + 0x54]
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x58], esi
je 0x53bc7a
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x53bc7a
push esi
mov ecx, edi
call fcn.005398b0
cmp byte [eax + 4], 0
je 0x53bc39
or eax, 0xffffffff
xor ebp, ebp
test esi, esi
mov dword [esp + 0x18], eax
jbe 0x53ba9d
mov dword [esp + 0x14], ebp
mov esi, dword [edi + 4]
test esi, esi
je 0x53bc75
mov ebx, dword [edi + 8]
mov ecx, ebx
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebp
jbe 0x53bc75
cmp esi, ebx
jbe 0x53ba57
call fcn.005532de
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
add esi, eax
cmp esi, dword [edi + 8]
ja 0x53ba6b
cmp esi, dword [edi + 4]
jae 0x53ba70
call fcn.005532de
cmp esi, dword [edi + 8]
jb 0x53ba7a
call fcn.005532de
cmp byte [esi + 4], 0
je 0x53ba84
mov dword [esp + 0x18], ebp
add dword [esp + 0x14], 0xd0
add ebp, 1
cmp ebp, dword [esp + 0x58]
jb 0x53ba23
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
mov ebp, dword [ebx + 0x234]
mov esi, 0x21
jl 0x53bafa
push eax
mov ecx, edi
call fcn.005398b0
mov ecx, dword [ebx + 4]
mov esi, dword [eax]
mov dword [esp + 0x18], ecx
call fcn.004a1350
test eax, eax
je 0x53bc2d
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53bc2d
mov edx, dword [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x4c]
push ecx
call eax
test eax, eax
jne 0x53bc2d
mov esi, dword [esp + 0x4c]
add esi, 6
mov edx, dword [esp + 0x58]
push edx
mov ecx, edi
call fcn.005398b0
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.004a1350
test eax, eax
je 0x53bc2d
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53bc2d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
jne 0x53bc2d
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x24], esi
add esi, eax
cmp esi, 0x22f
lea ecx, [ebp + 0x14]
mov ebx, ebp
mov dword [esp + 0x30], ecx
jle 0x53bb95
lea ebx, [ebp + 0x20]
mov ebp, dword [esp + 0x10]
add dword [ebp + 0x234], 0x20
add dword [ebp + 0x238], 1
lea edx, [ebx + 0x14]
mov dword [esp + 0x24], 0x21
lea esi, [eax + 0x21]
mov dword [esp + 0x30], edx
jmp 0x53bb99
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
push eax
mov ecx, edi
call fcn.005398b0
mov ecx, dword [eax]
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
call fcn.004a1350
test eax, eax
je 0x53bbe9
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53bbe9
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push 1
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x2c]
sub esi, ecx
push esi
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
call eax
cmp dword [esp + 0x30], 0x189
mov ebx, 1
jle 0x53bbfa
xor ebx, ebx
mov edx, dword [esp + 0x58]
push edx
mov ecx, edi
call fcn.005398b0
mov esi, dword [eax]
mov ebp, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x53bc29
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53bc29
push ebx
push esi
push ebp
call eax
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x58]
add esi, 1
jmp 0x53b9d3
push esi
mov ecx, edi
call fcn.005398b0
mov ebp, dword [eax]
mov eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
call fcn.004a1350
test eax, eax
je 0x53bc31
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53bc31
mov ecx, dword [esp + 0x58]
push 0
push ebp
push ecx
call eax
add esi, 1
jmp 0x53b9d3
call fcn.005392c0
mov ecx, ebx
call fcn.00536d80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4