Function at 0x427cf0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b1b26
push eax
mov eax, 0x4240
mov dword fs:[0], esp
call fcn.004a7630
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
push edi
push edi
push 8
mov ecx, 0x4d7450
call fcn.004032f0
mov eax, dword [esp + 0x4260]
mov ecx, dword [ebp + 0x124]
cmp ecx, edi
lea edx, [eax - 0x27d8]
mov dword [esp + 0x1c], edx
jne 0x427d44
xor eax, eax
jmp 0x427d4f
mov eax, dword [ebp + 0x128]
sub eax, ecx
sar eax, 3
cmp edx, edi
jl 0x428032
cmp edx, eax
jge 0x428032
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 0x428032
mov edx, dword [0x4c8080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4d7448]
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 0x427db5
mov word [esp + 0x50], di
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x427dd1
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.00404b70
jmp 0x427e1f
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004058b0
cmp eax, edi
je 0x427e14
push esi
push eax
push 0x95
call fcn.00405e80
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x427e14
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004058b0
cmp eax, edi
jne 0x427de8
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405970
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 0x427ebd
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428032
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428032
jmp 0x428022
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.0042b020
push 1
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x4264], 1
call fcn.004285b0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x250]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x427fe7
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.00438bb0
mov ecx, eax
call fcn.00437240
lea ecx, [esp + 0x250]
mov esi, eax
push ecx
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.00429050
test eax, eax
je 0x427fc2
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 0x427f7b
xor esi, esi
jmp 0x427f8b
lea edx, [esp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.00405d70
test eax, eax
je 0x427fe7
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.00404530
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ecx + ebp], 0
jmp 0x427fe7
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.00429c90
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428032
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428032
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
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