Function at 0x4fea90
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x656f7e
mov eax, dword fs:[0]
push eax
mov eax, 0x12688
call fcn.006222c0
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x12684], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1269c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], esi
cmp dword [esi + 0x130], ebx
je 0x4feb11
mov eax, dword [esi + 0x12c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x4feb42
mov ecx, dword [0x75ef88]
mov edx, dword [0x75e99c]
mov eax, dword [esi + 0x20]
push 0x30
push ecx
push edx
push eax
call fcn.00473680
add esp, 0x10
jmp 0x4ff24f
mov ecx, dword [esi + 0x12c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jne 0x4feb42
mov edx, dword [0x75ef88]
mov eax, dword [0x75e99c]
mov ecx, dword [esi + 0x20]
push 0x30
push edx
push eax
push ecx
call fcn.00473680
add esp, 0x10
jmp 0x4ff24f
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], dx
mov dword [esp + 0x126a4], ebx
lea eax, [esp + 0x24]
push eax
push 0x430
mov ecx, esi
call fcn.005f5a75
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00408cf0
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
jne 0x4feb81
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00409910
add esp, 8
mov byte [esp + 0x126a4], 1
lea ecx, [esi + 0x124]
push eax
call fcn.00405900
mov byte [esp + 0x126a4], 0
lea ecx, [esp + 0x14]
call fcn.00402560
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], ax
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x30]
push ecx
push 0x412
mov ecx, esi
call fcn.005f5a75
mov edx, dword [eax + 0x20]
push edx
call fcn.00408cf0
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, ebx
jne 0x4febf4
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00409910
add esp, 8
mov byte [esp + 0x126a4], 3
lea edi, [esi + 0x120]
push eax
mov ecx, edi
call fcn.00405900
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, dword [edi]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fec30
sub eax, edx
jne 0x4fec57
mov ecx, dword [0x75ef88]
mov edx, dword [0x75e998]
mov eax, dword [esi + 0x20]
push 0x30
push ecx
push edx
push eax
call fcn.00473680
add esp, 0x10
mov eax, dword [esi + 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fec60
sub eax, edx
jne 0x4fec87
mov ecx, dword [0x75ef88]
mov edx, dword [0x75e994]
mov eax, dword [esi + 0x20]
push 0x30
push ecx
push edx
push eax
call fcn.00473680
add esp, 0x10
push 0x27ff
cmp dword [esi + 0x130], ebx
je 0x4fecb6
mov edx, dword [esi + 0x12c]
lea ecx, [esp + 0xae9c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4fed32
jmp 0x4ff22a
mov ecx, dword [esi + 0x12c]
lea eax, [esp + 0xfe9c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ff22a
push ebx
lea eax, [esp + 0xfe9c]
xor edx, edx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x48], dx
call fcn.00401970
mov byte [esp + 0x126a4], 4
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jne 0x4fed08
lea ecx, [esp + 0x40]
lea edx, [esp + 0xae98]
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x4fed10
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x3c]
call fcn.00401210
mov eax, dword [edi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fed37
sub eax, edx
mov ebp, eax
cmp ebp, ebx
jle 0x4feec0
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jge 0x4fed5c
push 0x80070057
call fcn.00401090
cmp byte [eax], 0x20
jne 0x4fee31
mov ecx, dword [0x75ef88]
mov edx, dword [0x75f520]
mov eax, dword [esp + 0x1c]
push 0x34
push ecx
mov ecx, dword [eax + 0x20]
push edx
push ecx
call fcn.00473680
add esp, 0x10
cmp eax, 6
jne 0x4fee31
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x4fedf7
mov bl, 5
jmp 0x4feda0
cmp byte [eax], 0x20
jne 0x4fee31
push edi
lea ecx, [esp + 0x18]
call fcn.004027e0
mov byte [esp + 0x126a4], bl
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4fedc4
sub eax, esi
je 0x4fee01
push ecx
push 0x678ea8
push edi
call fcn.00402f60
add esp, 0xc
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jge 0x4feda0
push 0x80070057
call fcn.00401090
mov edx, dword [0x75ef88]
mov eax, dword [0x75e998]
mov ecx, dword [esp + 0x1c]
push 0x30
push edx
mov edx, dword [ecx + 0x20]
push eax
push edx
call fcn.00473680
add esp, 0x10
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x14]
jmp 0x4ff225
lea esi, [ebp - 1]
test esi, esi
jl 0x4fed52
mov eax, dword [edi]
cmp esi, dword [eax - 0xc]
jg 0x4fed52
cmp byte [eax + esi], 0x20
jne 0x4feec0
mov eax, dword [0x75ef88]
mov ecx, dword [0x75f524]
mov edx, dword [esp + 0x1c]
push 0x34
push eax
mov eax, dword [edx + 0x20]
push ecx
push eax
call fcn.00473680
add esp, 0x10
cmp eax, 6
jne 0x4feec0
mov eax, esi
mov ecx, edi
test eax, eax
jl 0x4feeb6
lea esp, [esp]
mov ecx, dword [ecx]
cmp eax, dword [ecx - 0xc]
jg 0x4feeb6
cmp byte [ecx + eax], 0x20
jne 0x4feec0
push 0
push esi
mov ecx, edi
call fcn.00404070
mov eax, dword [edi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4feea0
sub eax, edx
je 0x4feec0
lea esi, [eax - 1]
mov eax, esi
mov ecx, edi
test eax, eax
jge 0x4fee80
push 0x80070057
call fcn.00401090
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x124]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4feed0
sub eax, edx
mov esi, eax
test esi, esi
jle 0x4ff056
mov eax, dword [ebp + 0x124]
cmp dword [eax - 0xc], 0
lea edi, [ebp + 0x124]
jge 0x4feeff
push 0x80070057
call fcn.00401090
cmp byte [eax], 0x20
jne 0x4fefcd
mov ecx, dword [0x75ef88]
mov edx, dword [0x75f528]
mov eax, dword [ebp + 0x20]
push 0x34
push ecx
push edx
push eax
call fcn.00473680
add esp, 0x10
cmp eax, 6
jne 0x4fefcd
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x4fef9e
cmp byte [eax], 0x20
jne 0x4fefb9
push edi
lea ecx, [esp + 0x18]
call fcn.004027e0
mov byte [esp + 0x126a4], 6
mov esi, dword [esp + 0x14]
inc esi
push esi
push 0x678ea8
push edi
call fcn.00402f60
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fef70
sub eax, edx
je 0x4fefa8
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, dword [ebp + 0x124]
cmp dword [eax - 0xc], 0
lea edi, [ebp + 0x124]
jge 0x4fef35
push 0x80070057
call fcn.00401090
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, dword [ebp + 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fefc2
sub eax, edx
mov esi, eax
test esi, esi
jle 0x4ff056
dec esi
lea edi, [ebp + 0x124]
push esi
mov ecx, edi
call fcn.00404050
cmp al, 0x20
jne 0x4ff056
mov ecx, dword [0x75ef88]
mov edx, dword [0x75f52c]
mov eax, dword [ebp + 0x20]
push 0x34
push ecx
push edx
push eax
call fcn.00473680
add esp, 0x10
cmp eax, 6
jne 0x4ff056
mov eax, esi
mov ecx, edi
test eax, eax
jl 0x4ff04c
mov ecx, dword [ecx]
cmp eax, dword [ecx - 0xc]
jg 0x4ff04c
cmp byte [ecx + eax], 0x20
jne 0x4ff056
push 0
push esi
mov ecx, edi
call fcn.00404070
mov eax, dword [edi]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ff030
sub eax, edx
je 0x4ff056
lea esi, [eax - 1]
mov eax, esi
lea edi, [ebp + 0x124]
mov ecx, edi
test eax, eax
jge 0x4ff011
push 0x80070057
call fcn.00401090
push 0x2800
lea ecx, [esp + 0x869c]
push 0
push ecx
call fcn.00621270
push 0x2800
lea edx, [esp + 0x86a8]
push edx
lea eax, [esp + 0xaeac]
push eax
call fcn.00407390
add esp, 0x18
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x126a4], 7
lea ecx, [esp + 0x8698]
push ecx
call fcn.00406c50
add esp, 4
lea edx, [esp + 0x8698]
push edx
test eax, eax
je 0x4ff0cf
mov eax, dword [ebp + 0x128]
push eax
lea ecx, [esp + 0x20]
push 0x678de0
push ecx
call fcn.00402f60
add esp, 0x10
jmp 0x4ff0e1
lea eax, [esp + 0x1c]
push 0x678ea8
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [esp + 0x18]
push 0x27ff
push ecx
lea edx, [esp + 0x86a0]
push edx
call fcn.006223f0
add esp, 0xc
lea ecx, [esp + 0xd78]
mov byte [esp + 0xae97], 0
call fcn.0054c120
mov bl, 8
mov byte [esp + 0x126a4], bl
push 0
push 0x2800
lea eax, [esp + 0x86a0]
push eax
lea ecx, [esp + 0xd84]
mov byte [esp + 0x869e], 1
mov byte [esp + 0x869f], 1
call fcn.0054e670
test eax, eax
je 0x4ff1eb
lea ecx, [esp + 0x48]
call fcn.005b9780
mov byte [esp + 0x126a4], 9
push 0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0xd80]
call fcn.0054d060
push 0
lea edi, [ebp + 0x11c]
push edi
lea ecx, [esp + 0x70]
call fcn.005928c0
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ff190
sub eax, edx
add eax, 0xffffffff
js 0x4fed52
cmp eax, dword [esi - 0xc]
jg 0x4fed52
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x4ff1d9
mov eax, dword [edi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ff1b7
sub eax, edx
lea esi, [eax - 1]
push esi
mov ecx, edi
call fcn.00404050
cmp al, 0x2f
jne 0x4ff1d9
push 0
push esi
mov ecx, edi
call fcn.00404070
mov byte [esp + 0x126a4], bl
lea ecx, [esp + 0x48]
call fcn.005b9980
jmp 0x4ff1fe
lea edx, [esp + 0x8698]
push edx
lea ecx, [ebp + 0x11c]
call fcn.0054f750
mov ecx, ebp
call fcn.005f67d9
mov byte [esp + 0x126a4], 7
lea ecx, [esp + 0xd78]
call fcn.0054c160
mov byte [esp + 0x126a4], 2
lea ecx, [esp + 0x18]
call fcn.00402560
mov byte [esp + 0x126a4], 0
lea ecx, [esp + 0x30]
call fcn.00401210
mov dword [esp + 0x126a4], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401210
mov ecx, dword [esp + 0x1269c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12684]
xor ecx, esp
call fcn.00620b8d
add esp, 0x12694
ret