Function at 0x427610
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ab031
push eax
mov eax, 0x2030
mov dword fs:[0], esp
call fcn.004a0d60
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x20]
call fcn.00437680
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x124]
xor ebx, ebx
cmp eax, ebx
jne 0x427657
mov dword [esp + 0x14], ebx
jmp 0x427666
mov ecx, dword [esi + 0x128]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x14], ecx
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [0x4c0080]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2048], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x27]
lea ecx, [esp + 0x26]
push eax
push ebx
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2054], 1
call fcn.00428c30
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
mov ecx, esi
mov byte [esp + 0x2054], 2
call fcn.00427450
cmp dword [esp + 0x14], ebx
jle 0x427843
mov eax, dword [esi + 0x124]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [eax + ebx*8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00435f80
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x427836
mov ecx, dword [esi + 0xc4]
lea eax, [ebx + 0x28a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebp, ebp
je 0x427836
lea edx, [esp + 0x40]
push 0x1000
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x40]
test eax, eax
je 0x42772f
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00404780
lea ecx, [esp + 0x10]
call fcn.00404970
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x427790
mov ax, word [esi]
push eax
call dword [sym.imp.MSVCRT.dll_iswspace]
add esp, 4
test eax, eax
je 0x42776b
test edi, edi
jne 0x42776d
mov edi, esi
jmp 0x42776d
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x427752
test edi, edi
je 0x427790
mov word [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
lea ecx, [esp + 0x10]
call fcn.00404970
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_iswspace]
mov ax, word [esi]
push eax
call edi
add esp, 4
test eax, eax
je 0x4277c6
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov ax, word [esi]
push eax
call edi
add esp, 4
test eax, eax
jne 0x4277b0
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
mov ecx, dword [eax - 4]
lea edx, [edi + edi + 2]
push edx
lea edx, [ecx + ecx + 2]
push esi
push edx
push eax
call fcn.0040cc60
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
mov dword [eax - 8], edi
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edx
call fcn.004282a0
test eax, eax
je 0x42785a
lea eax, [esp + 0x40]
add esi, 0x24
test eax, eax
je 0x427825
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push eax
call fcn.00404780
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x4276c3
mov eax, dword [esi + 0x134]
test eax, eax
jne 0x4278fb
mov dword [esp + 0x14], eax
jmp 0x42790a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call esi
push 0
push 0
push 0xb7
push ebp
call esi
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x30]
mov byte [esp + 0x2048], 1
call fcn.00428b30
mov eax, dword [esp + 0x18]
mov edx, dword [0x4c0084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4278c1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4278c1
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x427bad
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427bad
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
xor eax, eax
jmp 0x427b02
mov ecx, dword [esi + 0x138]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x14], ecx
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
mov dword [esp + 0x20], edi
jle 0x427ac7
mov eax, dword [esi + 0x134]
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [eax + edi*8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00435f80
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x2c], eax
test ecx, ecx
jne 0x427ab6
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x427ab6
mov ecx, dword [esi + 0xc4]
lea eax, [edi + 0x29cc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebp, ebp
je 0x427ab6
lea edx, [esp + 0x40]
push 0x1000
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x40]
test eax, eax
je 0x4279a3
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00404780
lea ecx, [esp + 0x10]
call fcn.00404970
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x427a08
mov ax, word [esi]
mov ebx, dword [sym.imp.MSVCRT.dll_iswspace]
push eax
call ebx
add esp, 4
test eax, eax
je 0x4279e1
test edi, edi
jne 0x4279e3
mov edi, esi
jmp 0x4279e3
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x4279c6
test edi, edi
je 0x427a0e
mov word [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
jmp 0x427a0e
mov ebx, dword [sym.imp.MSVCRT.dll_iswspace]
lea ecx, [esp + 0x10]
call fcn.00404970
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x427a3e
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov ax, word [esi]
push eax
call ebx
add esp, 4
test eax, eax
jne 0x427a28
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
mov ecx, dword [eax - 4]
lea edx, [edi + edi + 2]
push edx
lea edx, [ecx + ecx + 2]
push esi
push edx
push eax
call fcn.0040cc60
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
mov dword [eax - 8], edi
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edx
call fcn.004282a0
test eax, eax
je 0x427b1b
lea eax, [esp + 0x40]
add esi, 0x24
test eax, eax
je 0x427aa1
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push eax
call fcn.00404780
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
mov dword [esp + 0x20], edi
jl 0x427929
lea ecx, [esp + 0x30]
mov byte [esp + 0x2048], 1
call fcn.00428b30
lea ecx, [esp + 0x18]
mov byte [esp + 0x2048], 0
call fcn.004046f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2048], 0xffffffff
call fcn.004046f0
mov eax, 1
mov ecx, dword [esp + 0x2040]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x203c
ret
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call esi
push 0
push 0
push 0xb7
push ebp
call esi
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x30]
mov byte [esp + 0x2048], 1
call fcn.00428b30
mov eax, dword [esp + 0x18]
mov edx, dword [0x4c0084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x427b82
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427b82
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x427bad
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427bad
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
xor eax, eax
jmp 0x427b02