Function at 0x541170
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633e62
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.CItemPpgWhereToRestore::OnInitDialog
lea ecx, [ebp - 0x78]
call fcn.00562ae0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00547740
mov ecx, edi
call fcn.00547240
cmp eax, 2
jne 0x5412ee
lea esi, [ebp - 0x98]
mov dword [ebp - 0x98], 0x42b
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x94], 0x479
sub ecx, esi
mov dword [ebp - 0x1c], 0
mov esi, ecx
mov dword [ebp - 0x18], 0
sar esi, 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x54129b
cmp esi, 0x3fffffff
ja 0x5416ae
shl esi, 2
test esi, esi
je 0x541267
cmp esi, 0x1000
jb 0x54125c
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x5416b3
push eax
call fcn.0060388f
add esp, 4
test eax, eax
je 0x5412de
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x541267
push esi
call fcn.0060388f
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x98]
push dword [ebp - 0x90]
mov dword [ebp - 0x1c], esi
push eax
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x18], esi
push esi
mov dword [ebp - 0x14], ecx
call fcn.0060ddf5
mov eax, dword [ebp - 0x8c]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00547270
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x5412ee
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x5412e4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5412e4
call dword [0x63e2e0]
push edx
push ecx
call fcn.00604b8c
add esp, 8
push 0x57d
mov ecx, edi
call fcn.0060395b
mov esi, eax
lea eax, [ebp - 0x88]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00603c49
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
push 0x238
call fcn.0060388f
mov ecx, eax
add esp, 4
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x541358
movups xmm0, xmmword [ebp - 0x88]
push edi
push edi
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004f7c90
mov ecx, eax
jmp 0x54135a
xor ecx, ecx
push 0
push 0x57d
push edi
lea edx, [ebp - 0x88]
mov dword [edi + 0x220], ecx
mov eax, dword [ecx]
push edx
push 0x50000000
push 0
push 0
push 0x200
mov byte [ebp - 4], 0
call dword [eax + 0x60]
mov esi, dword [edi + 0x220]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
xorps xmm0, xmm0
mov dword [ebp - 0x90], esi
push 0x10
movups xmmword [ecx], xmm0
push str.IDS_COL_HDR_DATA
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0xa4], esp
xorps xmm0, xmm0
push 0x16
movups xmmword [ecx], xmm0
push str.CItemPpgWhereToRestore
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
xorps xmm0, xmm0
push 6
movups xmmword [ecx], xmm0
push str.Wizard
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 5
jbe 0x541431
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa0]
call dword [0x63ea98]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x54147e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x541474
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x541474
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov ecx, esp
mov dword [ebp - 0x94], esp
xor eax, eax
mov dword [ebp - 0x14], 7
xorps xmm0, xmm0
mov word [ebp - 0x28], ax
push 0x11
movups xmmword [ecx], xmm0
push str.IDS_COL_HDR_PATHS
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0xa4], esp
xorps xmm0, xmm0
push 0x16
movups xmmword [ecx], xmm0
push str.CItemPpgWhereToRestore
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
xorps xmm0, xmm0
push 6
movups xmmword [ecx], xmm0
push str.Wizard
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
call fcn.00478f40
add esp, 0x4c
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0xa
jbe 0x541529
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x9c]
call dword [0x63ea98]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp ecx, 7
jbe 0x541576
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54156c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x54156c
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd4]
push eax
push 0
push 0x120a
mov dword [ebp - 0xc0], 0x4000
mov dword [ebp - 0xd0], 0xc8
push dword [esi + 0x170]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call esi
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
sub eax, 0xcd
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x90]
push 1
push 0x120a
push dword [eax + 0x170]
call esi
mov ecx, dword [edi + 0x220]
call fcn.004f8ca0
mov esi, dword [edi + 0x220]
lea ecx, [ebp - 0x8c]
sub esi, 0xffffff80
push 0x642690
mov dword [esi + 0xa8], 0x5410f0
mov dword [esi + 0xb0], 0x5416c0
mov dword [esi + 0xb8], 0x5417b0
call dword [0x63ea98]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
push eax
push esi
mov ecx, edi
call fcn.0053e4d0
lea ecx, [ebp - 0x8c]
call dword [0x63f5a8]
lea ecx, [ebp - 0x9c]
call dword [0x63f5a8]
lea ecx, [ebp - 0xa0]
call dword [0x63f5a8]
lea ecx, [ebp - 0x78]
call fcn.005630c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret
call fcn.00417f20
call fcn.00417e00
int3