Function at 0x49aca0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcaea
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x8a4], ebx
xor eax, eax
mov dword [ebp - 0x8a8], 0
push eax
push 0x5e1af8
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
call fcn.00445cb0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5e1af8
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
call fcn.00445cb0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5e1af8
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
call fcn.00445cb0
xor edi, edi
mov dword [ebp - 0x8b8], 0
mov dword [ebp - 0x8b4], edi
mov dword [ebp - 0x8b0], edi
xor esi, esi
mov byte [ebp - 4], 3
cmp dword [ebx + 0x14c], esi
jbe 0x49ae82
lea edi, [ebx + 0x108]
jmp 0x49adb0
push 0x800
lea eax, [ebp - 0x810]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49adf0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00445cb0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8b8]
call fcn.0044ed30
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x49ae6c
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49ae62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b4bd
push edx
push ecx
call fcn.0056eec5
add esp, 8
inc esi
add edi, 4
cmp esi, dword [ebx + 0x14c]
jb 0x49adb0
mov edi, dword [ebp - 0x8b4]
cmp dword [0x6d1f34], 0
je 0x49b309
mov eax, dword [0x6d1f30]
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
jbe 0x49aecd
lea edx, [eax + 0x10]
push 0x5e3480
lea ecx, [ebp - 0x888]
call fcn.0044a170
add esp, 4
mov esi, eax
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 5
mov ebx, 1
cmp eax, esi
je 0x49af5a
jmp 0x49af07
push 4
xor eax, eax
mov dword [ebp - 0x818], 0
push str.N_A
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.00445cb0
lea esi, [ebp - 0x828]
mov ebx, 2
lea ecx, [ebp - 0x870]
call fcn.00445c30
mov eax, dword [esi]
mov dword [ebp - 0x870], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x86c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x868], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x864], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x860], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x85c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
test bl, 2
je 0x49afa2
mov edx, dword [ebp - 0x814]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x49afa2
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49af98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b4bd
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov dword [ebp - 4], 3
test bl, 1
je 0x49afee
mov edx, dword [ebp - 0x874]
cmp edx, 8
jb 0x49afee
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49afe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b4c2
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov eax, dword [0x6d1f30]
lea ecx, [ebp - 0x888]
mov edx, 0x5e3480
mov eax, dword [eax]
add eax, 0x28
push eax
call fcn.00449ce0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x858]
cmp eax, esi
je 0x49b067
mov ecx, eax
call fcn.00445c30
mov ecx, dword [esi]
mov dword [ebp - 0x858], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x854], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x850], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x84c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x848], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x844], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x874]
cmp edx, 8
jb 0x49b0a7
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b09d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b4c7
push edx
push ecx
call fcn.0056eec5
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x890], 0
push 0x5f210c
lea ecx, [ebp - 0x8a0]
mov dword [ebp - 0x88c], 7
mov word [ebp - 0x8a0], ax
call fcn.00445cb0
push 1
push 0x5f210c
lea ecx, [ebp - 0x8a0]
mov byte [ebp - 4], 6
call fcn.00448340
push ecx
lea edx, [ebp - 0x8a0]
lea ecx, [ebp - 0x858]
call fcn.0049b800
add esp, 4
lea eax, [ebp - 0x858]
lea edx, [ebp - 0x870]
lea ecx, [ebp - 0x888]
push eax
call fcn.00480e50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x840]
cmp eax, esi
je 0x49b185
mov ecx, eax
call fcn.00445c30
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x83c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x838], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x834], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8a8], ecx
mov dword [ebp - 0x840], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x830], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x82c], ecx
mov word [esi], ax
jmp 0x49b19d
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x840]
mov dword [ebp - 0x8a8], eax
mov edx, dword [ebp - 0x874]
cmp edx, 8
jb 0x49b1dd
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b1d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b4cc
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ebx, dword [ebp - 0x8b8]
mov esi, ebx
cmp esi, edi
je 0x49b232
mov eax, dword [0x6d1f30]
mov edi, dword [eax]
cmp dword [edi + 0x24], 8
lea eax, [edi + 0x10]
jb 0x49b1fc
mov eax, dword [edi + 0x10]
mov ebx, dword [esi + 0x14]
mov ecx, esi
cmp ebx, 8
jb 0x49b208
mov ecx, dword [esi]
push dword [edi + 0x20]
mov edx, dword [esi + 0x10]
push eax
push ecx
call fcn.0049b9f0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x49b365
add esi, 0x18
cmp esi, dword [ebp - 0x8b4]
jne 0x49b1f0
mov ebx, dword [ebp - 0x8b8]
cmp dword [ebp - 0x8ac], 8
lea edx, [ebp - 0x840]
mov dword [ebp - 0x818], 0
cmovae edx, dword [ebp - 0x8a8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
jmp 0x49b270
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49b270
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00445cb0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 8
push eax
push ebx
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.0049b8b0
lea ecx, [ebp - 0x828]
call fcn.00445c30
mov eax, dword [ebp - 0x8a4]
xor ebx, ebx
cmp dword [eax + 0x14c], ebx
jbe 0x49b2fc
mov esi, dword [ebp - 0x8b8]
lea edi, [eax + 0x108]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x49b2db
mov eax, dword [esi]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x8a4]
inc ebx
add edi, 4
add esi, 0x18
cmp ebx, dword [eax + 0x14c]
jb 0x49b2d1
mov ebx, eax
lea ecx, [ebp - 0x8a0]
call fcn.00445c30
push 1
push 0
push dword [ebx + 0x10]
mov byte [0x61fba9], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x8b8]
call fcn.00444a40
lea ecx, [ebp - 0x840]
call fcn.00445c30
lea ecx, [ebp - 0x858]
call fcn.00445c30
lea ecx, [ebp - 0x870]
call fcn.00445c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x8ac], 8
lea eax, [ebp - 0x840]
mov edi, dword [ebp - 0x8a8]
cmovae eax, edi
cmp ebx, 8
jb 0x49b382
mov esi, dword [esi]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x49b3a8
test cx, cx
je 0x49b3a4
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x49b3a8
add esi, 4
add eax, 4
test cx, cx
jne 0x49b382
xor eax, eax
jmp 0x49b3ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x49b4b2
cmp dword [ebp - 0x8ac], 8
lea edx, [ebp - 0x840]
mov dword [ebp - 0x818], 0
cmovae edx, edi
mov dword [ebp - 0x814], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49b3e7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00445cb0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x8b8]
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.0049b8b0
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x49b462
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49b458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49b4d1
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ebx, dword [ebp - 0x8a4]
xor edi, edi
cmp dword [ebx + 0x14c], edi
jbe 0x49b2fe
mov esi, dword [ebp - 0x8b8]
add ebx, 0x108
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x49b48c
mov eax, dword [esi]
push eax
mov eax, dword [ebx]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x8a4]
inc edi
add ebx, 4
add esi, 0x18
cmp edi, dword [eax + 0x14c]
jb 0x49b482
jmp 0x49b2fc
mov ebx, dword [ebp - 0x8a4]
jmp 0x49b2fe
call fcn.00591dc6
call fcn.00591dc6
call fcn.00591dc6
call fcn.00591dc6
call fcn.00591dc6
int3