Function at 0x42fcd0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a25f1
push eax
mov eax, 0x4244
mov dword fs:[0], esp
call fcn.004999f0
mov eax, dword [esp + 0x4254]
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
lea edx, [eax - 0x27d8]
mov ecx, dword [ebp + 0x124]
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x14], edx
jne 0x42fd16
xor eax, eax
jmp 0x42fd21
mov eax, dword [ebp + 0x128]
sub eax, ecx
sar eax, 3
cmp edx, ebx
jl 0x430093
cmp edx, eax
jge 0x430093
mov ecx, dword [ebp + 0xc4]
lea eax, [edx + 0x28a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x430093
mov edx, dword [0x4b7080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4c6f78]
lea ecx, [esp + 0x54]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0x95
push eax
mov dword [esp + 0x426c], ebx
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
jne 0x42fd89
mov word [esp + 0x54], bx
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x42fda5
lea eax, [esp + 0x54]
lea ecx, [esp + 0x10]
push eax
call fcn.00405d80
jmp 0x42fdf3
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00406ac0
cmp eax, ebx
je 0x42fde8
push esi
push eax
push 0x95
call fcn.00406fc0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x42fde8
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00406ac0
cmp eax, ebx
jne 0x42fdbc
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00406b80
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x2254]
push 0x1000
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2258]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2254]
lea edx, [esp + 0x2254]
push eax
mov dword [esp + 0x38], 0x59
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x20], esi
jne 0x42fe95
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430093
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430093
jmp 0x430083
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x254]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1a]
lea ecx, [esp + 0x1b]
push eax
push ebx
push ecx
lea ecx, [esp + 0x50]
call fcn.0042b470
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
mov byte [esp + 0x4260], 1
call fcn.00430310
lea eax, [esp + 0x254]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43004c
mov eax, dword [ebp + 0x124]
mov ecx, dword [esp + 0x14]
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
mov ecx, dword [0x4b7080]
lea edx, [esp + 0x254]
test edx, edx
mov ebx, eax
mov dword [esp + 0x14], ecx
je 0x42ff87
lea eax, [esp + 0x254]
shr eax, 0x10
jne 0x42ff41
xor eax, eax
lea ecx, [esp + 0x254]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.004068b0
jmp 0x42ff87
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x42ff87
push esi
lea ecx, [esp + 0x18]
call fcn.00406c50
test eax, eax
je 0x42ff87
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x42ff87
mov edi, dword [esp + 0x14]
mov edx, ecx
lea esi, [esp + 0x254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
mov ecx, ebp
mov byte [esp + 0x4268], 2
call fcn.00430450
mov ecx, dword [0x4b7084]
mov esi, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x425c], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42ffda
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ffda
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
test esi, esi
je 0x43001f
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x254]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x254]
add ebx, 0x24
test eax, eax
je 0x43000d
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x254]
mov ecx, ebx
push edx
push eax
call fcn.00406cb0
jmp 0x430048
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call esi
push 0
push 0
push 0xb7
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x44]
mov byte [esp + 0x425c], 0
call fcn.0042b370
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430093
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430093
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0x4254]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4250
ret 4