Function at 0x426ad0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482370
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ebx, [esi + 2]
test ebx, ebx
jns 0x426b1c
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.0043aee0
mov ebx, eax
mov word [ebp - 0x2c], 0x101
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0
lea ecx, [esi + 1]
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esi
push eax
push 0xb0
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x426d3d
cmp eax, dword [ebp - 0x14]
jne 0x426d3d
test esi, esi
js 0x426d6e
cmp esi, eax
jb 0x426d3d
sub esp, 8
mov dword [ebp - 0x38], ebx
mov eax, esp
lea ecx, [ebp - 0x38]
mov dword [eax], 0x4a5780
mov dword [eax + 4], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004172e0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], 0x4a4300
mov dword [eax + 4], 1
call fcn.00417650
test al, al
je 0x426c3d
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x10]
jne 0x426c21
sub esp, 0xc
lea ecx, [ebp - 0x28]
mov eax, esp
dec esi
mov dword [ebp - 0x24], esi
mov dword [eax], 0x4a5788
mov dword [eax + 4], 1
call fcn.00417650
test al, al
je 0x426c21
dec esi
mov dword [ebp - 0x24], esi
push esi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
call fcn.00410191
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x426ca5
dec eax
mov dword [ebp - 0x10], eax
jmp 0x426cac
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push str._t_n_r
push eax
call fcn.00417210
lea ecx, [ebp - 0x50]
push dword [eax + 4]
push dword [eax]
call fcn.00410191
push ecx
push 4
push str._t_n_r
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00417120
lea ecx, [ebp - 0x50]
push dword [eax + 4]
push dword [eax]
call fcn.00416670
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x426c90
lea ecx, [eax - 1]
jmp 0x426c92
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jne 0x426c33
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
sub esi, eax
push esi
lea ecx, [ebx + eax*2]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00416670
cmp dword [ebp - 0x48], 0
mov eax, 0x4ca5a8
cmovne eax, dword [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x10]
push eax
push eax
push 0xb1
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x426d10
push 0
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx ecx, ax
or ecx, 0x3000000
push ecx
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x426d34
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x426d34
add ecx, ecx
je 0x426d34
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x426d26
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0043af60
add esp, 4
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x426d58
push ebx
call fcn.0043af60
add esp, 4
mov dword [ebp - 0x30], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
int3