Function at 0x429650
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a20e6
push eax
mov eax, 0x4240
mov dword fs:[0], esp
call fcn.004999f0
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
push edi
push edi
push 8
mov ecx, 0x4c6f80
call fcn.00403360
mov eax, dword [esp + 0x4260]
mov ecx, dword [ebp + 0x124]
cmp ecx, edi
lea edx, [eax - 0x27d8]
mov dword [esp + 0x1c], edx
jne 0x4296a4
xor eax, eax
jmp 0x4296af
mov eax, dword [ebp + 0x128]
sub eax, ecx
sar eax, 3
cmp edx, edi
jl 0x429992
cmp edx, eax
jge 0x429992
mov ecx, dword [ebp + 0xc4]
lea eax, [edx + 0x28a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
cmp ebx, edi
je 0x429992
mov edx, dword [0x4b7080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4c6f78]
lea ecx, [esp + 0x50]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0x95
push eax
mov dword [esp + 0x4268], edi
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, edi
jne 0x429715
mov word [esp + 0x50], di
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x429731
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.00405d80
jmp 0x42977f
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00406ac0
cmp eax, edi
je 0x429774
push esi
push eax
push 0x95
call fcn.00406fc0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x429774
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00406ac0
cmp eax, edi
jne 0x429748
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00406b80
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x2250]
push 0x1000
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2254]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x30]
xor esi, esi
lea eax, [esp + 0x2250]
lea ecx, [esp + 0x2250]
push edx
mov dword [esp + 0x44], 0x59
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x42981d
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429992
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429992
jmp 0x429982
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x250]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x17]
mov al, byte [esp + 0x17]
mov byte [esp + 0x21], cl
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.0042bf60
push 1
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x4264], 1
call fcn.00429cf0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x250]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x429947
mov eax, dword [ebp + 0x124]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
push edx
push eax
lea ecx, [ebp + 0x20]
call fcn.00424c00
mov ecx, eax
call fcn.00434830
lea ecx, [esp + 0x250]
mov esi, eax
push ecx
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.0042a790
test eax, eax
je 0x429922
lea eax, [esp + 0x250]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x250]
lea edi, [esi + 0x24]
test ecx, ecx
jne 0x4298db
xor esi, esi
jmp 0x4298eb
lea edx, [esp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.00410320
test eax, eax
je 0x429947
mov edx, dword [edi]
lea ebp, [esi + esi]
lea eax, [esp + 0x250]
push ebp
lea ecx, [esi + esi + 2]
push eax
push ecx
push edx
call fcn.00405800
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ecx + ebp], 0
jmp 0x429947
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call esi
push 0
push 0
push 0xb7
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x4258], 0
call fcn.0042b370
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429992
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429992
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0x4250]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x424c
ret 4