Function at 0x544160
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x591406
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x58]
test eax, eax
lea esi, [ebp + 0x54]
je 0x5441bd
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
add eax, 0x9c4
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x5441fb
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 0x5441fb
push edi
mov ecx, esi
call fcn.005398b0
mov eax, dword [eax]
add eax, 1
add edi, 1
jmp 0x5441c4
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x1c], 0x21
mov edi, 0x68
je 0x544299
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
je 0x544299
mov eax, dword [esi + 4]
test eax, eax
je 0x544248
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
add eax, 0xffffffff
push eax
mov ecx, esi
call fcn.005398b0
mov edi, dword [eax]
mov ebx, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x5444dc
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5444dc
push edi
push ebx
lea ecx, [esp + 0x48]
push ecx
call eax
test eax, eax
jne 0x5444dc
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
add edx, 6
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x50]
push eax
lea ebx, [esp + 0x15c]
call fcn.00538f40
add esp, 4
cmp dword [esp + 0x68], 8
mov dword [esp + 0x148], 0
jb 0x5442c9
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
jmp 0x5442d1
lea edx, [esp + 0x54]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push 1
push eax
push 0x7d2
mov ecx, ebp
call fcn.00535570
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x544300
cmp dword [esp + 0x68], 8
jb 0x5444dc
mov ecx, dword [esp + 0x54]
push ecx
jmp 0x5444d4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
lea eax, [ebx + eax + 0xa]
cmp eax, 0x22f
lea edx, [edi + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jle 0x54434d
add dword [ebp + 0x238], 1
add dword [ebp + 0x234], 0x20
lea eax, [edi + 0x20]
mov dword [esp + 0x24], eax
lea ecx, [ebx + 0x2b]
add eax, 0x14
mov dword [esp + 0x20], 0x21
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 4]
push str.uiview_create_control_by_example
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x544386
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
push 0x7d2
push ecx
call eax
test eax, eax
je 0x54439b
cmp dword [esp + 0x68], 8
jb 0x5444dc
mov edx, dword [esp + 0x54]
push edx
jmp 0x5444d4
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
call fcn.004a1350
test eax, eax
je 0x5443ca
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5443ca
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push 1
push edi
push edx
call eax
add ebx, 5
mov dword [esp + 0x38], ebx
mov ebx, dword [ebp + 4]
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], 4
mov dword [esp + 0x3c], 0x14
call fcn.004a1350
test eax, eax
je 0x544410
push str.uiview_move_window_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x544410
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push edi
push ebx
call eax
cmp dword [esp + 0x2c], 0x189
mov ebx, 1
jle 0x544421
xor ebx, ebx
mov edx, dword [ebp + 0x248]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x544445
mov eax, dword [ebp + 0x248]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x544445
xor ebx, ebx
sub esp, 0x88
mov eax, esp
mov dword [esp + 0x9c], esp
push 0x88
lea ecx, [esp + 0x1dc]
push ecx
push 0x88
push eax
call fcn.00552323
add esp, 8
mov eax, esp
lea ecx, [esp + 0xfc]
mov dword [esp + 0xa4], esp
mov dword [eax], edi
mov byte [eax + 4], 1
call fcn.0053ca90
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
mov byte [esp + 0x14c], 1
call fcn.005440b0
mov ebp, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x5444bf
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5444bf
push ebx
push edi
push ebp
call eax
lea ecx, [esp + 0x6c]
call fcn.00539170
cmp dword [esp + 0x68], 8
jb 0x5444dc
mov eax, dword [esp + 0x54]
push eax
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00552d63
add esp, 0x138
ret 0x88