Function at 0x47b470
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510c52
mov eax, dword fs:[0]
push eax
mov eax, 0x18fc
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], 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 + 0x840]
test eax, eax
js 0x47b4c9
push eax
mov eax, dword [edi]
push 0x3ef
call dword [eax + 0x8c]
push eax
call fcn.00406350
add esp, 8
mov ebx, eax
jmp 0x47b4cc
or ebx, 0xffffffff
mov eax, dword [edi + 0x840]
shr ebx, 0x10
test eax, eax
js 0x47b4f6
push eax
mov eax, dword [edi]
mov ecx, edi
push 0x3ef
call dword [eax + 0x8c]
push eax
call fcn.00406350
add esp, 8
mov esi, eax
jmp 0x47b4f9
or esi, 0xffffffff
push 0x400
lea eax, [ebp - 0x814]
mov ecx, edi
push eax
mov eax, dword [edi]
push 0x40a
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x814]
push eax
call fcn.0042a830
lea ecx, [ebp - 0x814]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b533
sub ecx, edx
sar ecx, 1
jne 0x47b550
mov dword [ebp - 0x1908], 0
jmp 0x47b59b
lea eax, [ebp - 0x814]
push eax
call fcn.0042ad90
add esp, 4
test eax, eax
jne 0x47b56b
mov dword [ebp - 0x1908], eax
jmp 0x47b59b
lea eax, [ebp - 0x814]
mov ecx, edi
push eax
mov eax, dword [edi]
push 0x40a
call dword [eax + 0x8c]
push eax
call fcn.00418340
add esp, 8
mov ecx, edi
call fcn.0047c880
mov dword [ebp - 0x1908], 1
cmp si, 1
je 0x47b5e6
cmp si, 2
je 0x47b5e6
mov eax, dword [edi]
mov ecx, edi
push 0x40a
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x47b5d4
lea eax, [ebp - 0x814]
push eax
call fcn.00429ee0
add esp, 4
test eax, eax
jne 0x47b5e6
push dword [edi + 0x10]
push str.SELECT_A_MOUNTED_VOLUME
call fcn.00419c20
jmp 0x47b8d6
cmp dword [ebp - 0x1908], 0
je 0x47b8c0
lea eax, [ebp - 0x814]
push eax
call fcn.00429ee0
add esp, 4
test eax, eax
je 0x47b89c
cmp si, 1
je 0x47b61a
cmp si, 2
jne 0x47b89c
lea eax, [ebp - 0x1904]
push eax
push ebx
call fcn.00429680
add esp, 8
test eax, eax
je 0x47b5d4
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x814]
push 1
push eax
call fcn.004293c0
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x18fc]
push eax
call fcn.004e85f7
add esp, 0x14
test eax, eax
je 0x47b8c0
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x18fc]
push 2
push eax
call fcn.004293c0
add esp, 0xc
mov dword [ebp - 0x1030], 0x516968
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x102c], 0x516968
lea ecx, [ebp - 0x1060]
mov dword [ebp - 0x1028], 0x516968
mov dword [ebp - 0x1024], 0x516968
push eax
mov dword [ebp - 0x1020], 0x516968
mov dword [ebp - 0x101c], 0
call fcn.00403e70
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 4], 0
cmp eax, 0x50
jbe 0x47b74d
push 0x50
add eax, 0xffffffb0
lea ecx, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.0042b8f0
mov esi, eax
push 0x526dd4
lea ecx, [ebp - 0x1090]
mov byte [ebp - 4], 1
call fcn.00403e70
push esi
push eax
lea eax, [ebp - 0x1078]
mov byte [ebp - 4], 2
push eax
call fcn.00438300
add esp, 0xc
lea ecx, [ebp - 0x1060]
push eax
call fcn.004256c0
lea ecx, [ebp - 0x1078]
call fcn.00495b40
lea ecx, [ebp - 0x1090]
call fcn.00495b40
lea ecx, [ebp - 0x10a8]
mov byte [ebp - 4], 0
call fcn.00495b40
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00403e70
mov eax, dword [ebp - 0x1038]
mov byte [ebp - 4], 3
cmp eax, 0x50
jbe 0x47b7e2
push 0x50
add eax, 0xffffffb0
lea ecx, [ebp - 0x1048]
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.0042b8f0
mov esi, eax
push 0x526dd4
lea ecx, [ebp - 0x1090]
mov byte [ebp - 4], 4
call fcn.00403e70
push esi
push eax
lea eax, [ebp - 0x10a8]
mov byte [ebp - 4], 5
push eax
call fcn.00438300
add esp, 0xc
lea ecx, [ebp - 0x1048]
push eax
call fcn.004256c0
lea ecx, [ebp - 0x10a8]
call fcn.00495b40
lea ecx, [ebp - 0x1090]
call fcn.00495b40
lea ecx, [ebp - 0x1078]
mov byte [ebp - 4], 3
call fcn.00495b40
push str.AMBIGUOUS_VOL_SELECTION
call fcn.004bb8b0
cmp dword [ebp - 0x104c], 8
mov dword [ebp - 0x102c], eax
lea eax, [ebp - 0x1060]
cmovae eax, dword [ebp - 0x1060]
cmp dword [ebp - 0x1034], 8
mov dword [ebp - 0x1028], eax
lea eax, [ebp - 0x1048]
cmovae eax, dword [ebp - 0x1048]
push str.IDCANCEL
mov dword [ebp - 0x1024], eax
call fcn.004bb8b0
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1030]
push 0
push eax
push dword [edi + 0x10]
call fcn.0040d490
add esp, 0x14
sub eax, 1
je 0x47b87d
sub eax, 1
je 0x47b86c
lea ecx, [ebp - 0x1048]
call fcn.00495b40
lea ecx, [ebp - 0x1060]
call fcn.00495b40
jmp 0x47b8d9
lea eax, [ebp - 0x814]
push eax
call fcn.00428c00
add esp, 4
mov ebx, eax
lea ecx, [ebp - 0x1048]
call fcn.00495b40
lea ecx, [ebp - 0x1060]
mov dword [ebp - 4], 0xffffffff
call fcn.00495b40
jmp 0x47b8c0
lea eax, [ebp - 0x814]
push eax
call fcn.00429ee0
add esp, 4
test eax, eax
je 0x47b8c0
lea eax, [ebp - 0x814]
push eax
call fcn.00428c00
add esp, 4
mov ebx, eax
cmp dword [ebp + 8], 0
push ebx
push dword [edi + 0x10]
je 0x47b8d1
call fcn.0049bfe0
jmp 0x47b8d6
call fcn.00477a00
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4