Function at 0x53d960
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.0053b920
add eax, 0xbb8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
xor ebp, ebp
mov eax, dword [ebx + 0x58]
test eax, eax
lea esi, [ebx + 0x54]
je 0x53da33
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 0x53da33
push ebp
mov ecx, esi
call fcn.005398b0
mov ecx, dword [esp + 0x218]
cmp dword [eax + 8], ecx
jne 0x53da2e
xor esi, esi
lea edi, [eax + 0x90]
mov eax, dword [edi + 4]
test eax, eax
je 0x53da2e
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x53da2e
push esi
mov ecx, edi
call fcn.00539830
mov eax, dword [eax]
add eax, 1
mov dword [esp + 0x14], eax
add esi, 1
jmp 0x53d9f5
add ebp, 1
jmp 0x53d9b5
mov eax, dword [esp + 0x218]
cmp eax, dword [ebx + 0x15c]
jne 0x53db60
cmp eax, 0xffffff9c
je 0x53db4f
xor edi, edi
mov eax, dword [ebx + 0x58]
test eax, eax
lea esi, [ebx + 0x54]
mov dword [esp + 0x1c], edi
je 0x53db59
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 edi, eax
jae 0x53db59
push edi
mov ecx, esi
call fcn.005398b0
xor ebx, ebx
lea esi, [eax + 0x90]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x53db3a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x53db3a
mov edi, dword [esi + 4]
test edi, edi
je 0x53db4a
mov ebp, dword [esi + 8]
mov ecx, ebp
sub ecx, edi
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x53db4a
cmp edi, ebp
jbe 0x53daee
call fcn.005532de
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edi
add edi, edx
cmp edi, dword [esi + 8]
ja 0x53db02
cmp edi, dword [esi + 4]
jae 0x53db07
call fcn.005532de
cmp edi, dword [esi + 8]
jb 0x53db11
call fcn.005532de
mov eax, dword [esp + 0x14]
cmp eax, dword [edi]
jg 0x53db2a
push ebx
mov ecx, esi
call fcn.00539830
mov eax, dword [eax]
add eax, 1
mov dword [esp + 0x14], eax
add ebx, 1
add dword [esp + 0x18], 0x8c
jmp 0x53da95
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add edi, 1
jmp 0x53da51
call fcn.00539240
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
jmp 0x53db60
mov eax, dword [esp + 0x218]
push eax
mov ecx, ebx
call fcn.0053b8a0
test eax, eax
jne 0x53db71
lea ebp, [eax + 0x21]
jmp 0x53dbb4
mov edi, dword [esp + 0x14]
mov ebp, dword [ebx + 4]
add edi, 0xffffffff
call fcn.004a1350
test eax, eax
je 0x53dee9
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53dee9
push edi
push ebp
lea edx, [esp + 0x4c]
push edx
call eax
test eax, eax
jne 0x53dee9
mov ebp, dword [esp + 0x4c]
add ebp, 6
mov edi, dword [ebx + 0x234]
lea eax, [esp + 0x164]
push eax
lea ebx, [esp + 0x19c]
call fcn.00538f40
add esp, 4
cmp dword [esp + 0x17c], 8
mov dword [esp + 0x18c], 0
jb 0x53dbf3
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x18], ecx
jmp 0x53dbfe
lea edx, [esp + 0x168]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 1
push eax
push 0x7d2
call fcn.00535570
mov ebx, eax
test ebx, ebx
jg 0x53dc34
cmp dword [esp + 0x17c], 8
jb 0x53dee9
mov ecx, dword [esp + 0x168]
push ecx
jmp 0x53dee1
lea eax, [ebx + ebp + 0xa]
cmp eax, 0x22f
lea edx, [edi + 0x14]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0
jle 0x53dc91
add dword [ebp + 0x234], 0x20
add edi, 0x20
lea eax, [ebx + 0x2b]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
add edi, 0x14
mov eax, 1
add dword [ebp + 0x238], eax
mov dword [esp + 0x24], 0x21
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x2c]
mov edi, dword [ebp + 4]
push str.uiview_create_control_by_example
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53decf
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x7d2
push edi
call eax
test eax, eax
jne 0x53decf
mov edi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x53dcf5
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53dcf5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push 1
push edx
push edi
call eax
mov edi, dword [ebp + 4]
add ebx, 5
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x14
call fcn.004a1350
test eax, eax
je 0x53dd3f
push str.uiview_move_window_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53dd3f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
push 0xffffffffffffffff
push edx
push edi
call eax
cmp dword [esp + 0x218], 0xffffff9c
mov ebx, 1
jne 0x53dd72
mov eax, dword [ebp + 0x248]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x53dd72
mov ecx, dword [ebp + 0x248]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x53dd72
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
je 0x53de22
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 edi, eax
jae 0x53de22
push edi
mov ecx, esi
call fcn.005398b0
mov edx, dword [esp + 0x218]
cmp dword [eax + 8], edx
jne 0x53de1a
push 0x84
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0xe8]
push 0x84
push ecx
call fcn.00552323
mov edx, dword [esp + 0x24]
test ebx, ebx
setne al
mov byte [esp + 0x68], al
push 0x84
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x74]
push 0x84
push ecx
mov dword [esp + 0x74], edx
call fcn.00552323
add esp, 0x20
lea edx, [esp + 0x54]
push edx
push edi
mov ecx, esi
call fcn.005398b0
mov ecx, eax
add ecx, 0x90
call fcn.0053d050
add edi, 1
jmp 0x53dd74
cmp dword [esp + 0x30], 0x18b
jle 0x53de2e
xor ebx, ebx
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x53de53
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53de53
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push esi
call eax
mov ecx, dword [ebp + 0x228]
test ecx, ecx
lea esi, [ebp + 0x224]
jne 0x53de67
xor edx, edx
jmp 0x53de6f
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x53de90
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x53de90
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x14]
mov dword [eax], edx
add eax, 4
mov dword [esi + 8], eax
jmp 0x53deaf
mov edi, dword [esi + 8]
cmp ecx, edi
jbe 0x53de9c
call fcn.005532de
lea eax, [esp + 0x14]
push eax
push edi
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00412690
cmp dword [esp + 0x17c], 8
jb 0x53dec9
mov edx, dword [esp + 0x168]
push edx
call fcn.0055215c
add esp, 4
mov eax, dword [esp + 0x1c]
jmp 0x53deeb
cmp dword [esp + 0x17c], 8
jb 0x53dee9
mov eax, dword [esp + 0x168]
push eax
call fcn.0055215c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.00552d63
add esp, 0x17c
ret 0x88