Function at 0x426b90
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4aafa6
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 + 0x124]
cmp ecx, edi
lea edx, [eax - 0x27d8]
mov dword [esp + 0x1c], edx
jne 0x426be4
xor eax, eax
jmp 0x426bef
mov eax, dword [ebp + 0x128]
sub eax, ecx
sar eax, 3
cmp edx, edi
jl 0x426ed2
cmp edx, eax
jge 0x426ed2
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 0x426ed2
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 0x426c55
mov word [esp + 0x50], di
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x426c71
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.00403cc0
jmp 0x426cbf
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404560
cmp eax, edi
je 0x426cb4
push esi
push eax
push 0x95
call fcn.00404b30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x426cb4
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00404560
cmp eax, edi
jne 0x426c88
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 0x426d5d
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x426ed2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426ed2
jmp 0x426ec2
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 1
lea edx, [esp + 0x24]
push esi
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 0x426e87
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.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 0x426e62
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 0x426e1b
xor esi, esi
jmp 0x426e2b
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 0x426e87
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 0x426e87
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 0x426ed2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426ed2
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