Function at 0x426730
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4aaf86
push eax
mov eax, 0x4240
mov dword fs:[0], esp
call fcn.004a0d60
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
push edi
push edi
push 8
mov ecx, 0x4cf6f0
call fcn.00403460
mov eax, dword [esp + 0x4260]
mov ecx, dword [ebp + 0x134]
cmp ecx, edi
lea edx, [eax - 0x2710]
mov dword [esp + 0x1c], edx
jne 0x426784
xor eax, eax
jmp 0x42678f
mov eax, dword [ebp + 0x138]
sub eax, ecx
sar eax, 3
cmp edx, edi
jl 0x426a72
cmp edx, eax
jge 0x426a72
mov ecx, dword [ebp + 0xc4]
lea eax, [edx + 0x29cc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
cmp ebx, edi
je 0x426a72
mov edx, dword [0x4c0080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4cf6e8]
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 0x4267f5
mov word [esp + 0x50], di
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x426811
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.00403cc0
jmp 0x42685f
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404560
cmp eax, edi
je 0x426854
push esi
push eax
push 0x95
call fcn.00404b30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x426854
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00404560
cmp eax, edi
jne 0x426828
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404620
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 0x4268fd
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x426a72
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426a72
jmp 0x426a62
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.00429d30
push esi
lea edx, [esp + 0x24]
push 1
push edx
mov ecx, ebp
mov byte [esp + 0x4264], 1
call fcn.00427450
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x250]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x426a27
mov eax, dword [ebp + 0x134]
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.00437680
mov ecx, eax
call fcn.00435f80
lea ecx, [esp + 0x250]
mov esi, eax
push ecx
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.00427ef0
test eax, eax
je 0x426a02
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 0x4269bb
xor esi, esi
jmp 0x4269cb
lea edx, [esp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.00404a20
test eax, eax
je 0x426a27
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.004039f0
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ecx + ebp], 0
jmp 0x426a27
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.00428b30
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x426a72
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426a72
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0049c000
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