Function at 0x542600
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x90
push 0xffffffffffffffff
push 0x591278
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x34]
push eax
lea ecx, [ebp]
push ecx
mov ecx, 0x5ce6d8
call fcn.0043bb60
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0x34]
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edx
call fcn.005397a0
mov esi, 0x10
cmp dword [ebp + 0x34], esi
mov byte [ebp - 4], 1
jb 0x54267f
mov eax, dword [ebp + 0x20]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x542685
jmp 0x5426d3
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x5426cc
lea eax, [esi + esi]
call fcn.00553150
mov ebx, esp
test ebx, ebx
je 0x5426cc
mov edx, dword [ebp - 0x10]
push esi
push ebx
push 0xffffffffffffffff
push edx
push 0
push 0x3a8
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x5426ce
xor eax, eax
mov esi, 0x10
cmp dword [edi + 0x50], esi
jb 0x5426dd
mov ecx, dword [edi + 0x3c]
jmp 0x5426e0
lea ecx, [edi + 0x3c]
push 0x20
push ecx
push 1
push eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.00417960
cmp dword [ebp + 0x18], esi
mov ebx, dword [ebp + 4]
mov byte [ebp - 4], 2
jae 0x542701
lea ebx, [ebp + 4]
lea ecx, [ebp + 0x54]
push ecx
call fcn.00538f40
add esp, 4
mov esi, 8
cmp dword [ebp + 0x6c], esi
mov byte [ebp - 4], 3
jb 0x542723
mov edx, dword [ebp + 0x58]
mov dword [ebp - 0x10], edx
jmp 0x542729
lea eax, [ebp + 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x50], 0x10
mov ebx, dword [ebp + 0x3c]
jae 0x542735
lea ebx, [ebp + 0x3c]
lea ecx, [ebp + 0x70]
push ecx
call fcn.00538f40
add esp, 4
cmp dword [ebp + 0x88], esi
mov byte [ebp - 4], 4
jb 0x542755
mov edx, dword [ebp + 0x74]
mov dword [ebp - 0x14], edx
jmp 0x54275b
lea eax, [ebp + 0x74]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
push 1
push ecx
push 0x7d3
mov ecx, edi
call fcn.00535570
mov esi, dword [edi + 4]
mov dword [ebp - 0x18], eax
call fcn.004a1350
xor ebx, ebx
cmp eax, ebx
je 0x5427a8
push str.uiview_create_window_by_example
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5427a8
mov edx, dword [ebp - 0x10]
push ebx
push edx
push 0x7d1
push 0x7d0
push esi
call eax
cmp eax, ebx
je 0x542841
mov edi, 8
cmp dword [ebp + 0x88], edi
jb 0x5427c1
mov eax, dword [ebp + 0x74]
push eax
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x6c], edi
mov esi, 7
mov dword [ebp + 0x88], esi
mov dword [ebp + 0x84], ebx
mov word [ebp + 0x74], bx
jb 0x5427e7
mov ecx, dword [ebp + 0x58]
push ecx
call fcn.0055215c
add esp, 4
mov edi, 0x10
cmp dword [ebp + 0x50], edi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], ebx
mov word [ebp + 0x58], bx
jb 0x542807
mov edx, dword [ebp + 0x3c]
push edx
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x34], edi
mov esi, 0xf
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x3c], bl
jb 0x542826
mov eax, dword [ebp + 0x20]
push eax
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x18], edi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
jb 0x542a81
mov ecx, dword [ebp + 4]
push ecx
jmp 0x542a79
mov esi, dword [edi + 4]
call fcn.004a1350
cmp eax, ebx
je 0x54286b
push str.uiview_set_bitmap_path_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x54286b
mov edx, dword [ebp - 0x14]
push edx
push 1
push 0x7d1
push esi
call eax
mov esi, dword [edi + 4]
call fcn.004a1350
cmp eax, ebx
je 0x542895
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x542895
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 0x7d1
push esi
call eax
mov esi, dword [edi + 4]
call fcn.004a1350
cmp eax, ebx
je 0x5428f8
push str.uiview_get_window_rect_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5428f8
lea edx, [ebp - 0x28]
push edx
push 1
push 0x7d1
push esi
call eax
cmp eax, ebx
jne 0x5428f8
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], eax
jle 0x5428f8
mov esi, dword [edi + 4]
call fcn.004a1350
cmp eax, ebx
je 0x5428f8
push str.uiview_set_tip_text_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5428f8
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 0x7d1
push esi
call eax
mov edx, dword [edi + 4]
push 0x4b2
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x14
push 0xc5
push eax
mov dword [edi + 0x248], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x248]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x1000
cmp eax, ecx
je 0x542947
push ecx
mov ecx, dword [edi + 0x248]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [edi + 0x248]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push edx
call esi
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
call fcn.004a1350
cmp eax, ebx
je 0x542983
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x542983
mov ecx, dword [ebp - 0x18]
push 1
push 0x4c1
push ecx
call eax
mov edx, dword [edi + 4]
mov dword [edi + 0x468], edx
mov dword [edi + 0x46c], 0x4b3
mov eax, dword [edi + 4]
push 0x4c2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
mov dword [edi + 0x24c], eax
call esi
mov ecx, dword [edi + 0x24c]
push ebx
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [edi + 0x24c]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call esi
mov eax, dword [edi + 0x24c]
mov ecx, dword [edi + 0x248]
push 3
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call esi
mov edi, 8
cmp dword [ebp + 0x88], edi
jb 0x542a02
mov edx, dword [ebp + 0x74]
push edx
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x6c], edi
mov esi, 7
mov dword [ebp + 0x88], esi
mov dword [ebp + 0x84], ebx
mov word [ebp + 0x74], bx
jb 0x542a28
mov eax, dword [ebp + 0x58]
push eax
call fcn.0055215c
add esp, 4
mov edi, 0x10
cmp dword [ebp + 0x50], edi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], ebx
mov word [ebp + 0x58], bx
jb 0x542a48
mov ecx, dword [ebp + 0x3c]
push ecx
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x34], edi
mov esi, 0xf
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x3c], bl
jb 0x542a67
mov edx, dword [ebp + 0x20]
push edx
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x18], edi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
jb 0x542a81
mov eax, dword [ebp + 4]
push eax
call fcn.0055215c
add esp, 4
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x90
mov esp, ebp
pop ebp
ret