Function at 0x428770
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b1bb1
push eax
mov eax, 0x2030
mov dword fs:[0], esp
call fcn.004a7630
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x20]
call fcn.00438bb0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x124]
xor ebx, ebx
cmp eax, ebx
jne 0x4287b7
mov dword [esp + 0x14], ebx
jmp 0x4287c6
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 [0x4c8080]
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.00429d90
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
mov ecx, esi
mov byte [esp + 0x2054], 2
call fcn.004285b0
cmp dword [esp + 0x14], ebx
jle 0x4289a3
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.00437240
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x428996
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 0x428996
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 0x42888f
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.00405ad0
lea ecx, [esp + 0x10]
call fcn.00405cc0
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x4288f0
mov ax, word [esi]
push eax
call dword [sym.imp.MSVCRT.dll_iswspace]
add esp, 4
test eax, eax
je 0x4288cb
test edi, edi
jne 0x4288cd
mov edi, esi
jmp 0x4288cd
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x4288b2
test edi, edi
je 0x4288f0
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.00405cc0
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 0x428926
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 0x428910
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.0040d860
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.00429400
test eax, eax
je 0x4289ba
lea eax, [esp + 0x40]
add esi, 0x24
test eax, eax
je 0x428985
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.00405ad0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x428823
mov eax, dword [esi + 0x134]
test eax, eax
jne 0x428a5b
mov dword [esp + 0x14], eax
jmp 0x428a6a
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.00429c90
mov eax, dword [esp + 0x18]
mov edx, dword [0x4c8084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428a21
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428a21
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428d0d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428d0d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
add esp, 4
xor eax, eax
jmp 0x428c62
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 0x428c27
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.00437240
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x2c], eax
test ecx, ecx
jne 0x428c16
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x428c16
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 0x428c16
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 0x428b03
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.00405ad0
lea ecx, [esp + 0x10]
call fcn.00405cc0
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x428b68
mov ax, word [esi]
mov ebx, dword [sym.imp.MSVCRT.dll_iswspace]
push eax
call ebx
add esp, 4
test eax, eax
je 0x428b41
test edi, edi
jne 0x428b43
mov edi, esi
jmp 0x428b43
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x428b26
test edi, edi
je 0x428b6e
mov word [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
jmp 0x428b6e
mov ebx, dword [sym.imp.MSVCRT.dll_iswspace]
lea ecx, [esp + 0x10]
call fcn.00405cc0
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x428b9e
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 0x428b88
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.0040d860
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.00429400
test eax, eax
je 0x428c7b
lea eax, [esp + 0x40]
add esi, 0x24
test eax, eax
je 0x428c01
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.00405ad0
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 0x428a89
lea ecx, [esp + 0x30]
mov byte [esp + 0x2048], 1
call fcn.00429c90
lea ecx, [esp + 0x18]
mov byte [esp + 0x2048], 0
call fcn.00405a40
lea ecx, [esp + 0x10]
mov dword [esp + 0x2048], 0xffffffff
call fcn.00405a40
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.00429c90
mov eax, dword [esp + 0x18]
mov edx, dword [0x4c8084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428ce2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428ce2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428d0d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428d0d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
add esp, 4
xor eax, eax
jmp 0x428c62