Function at 0x4a5770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc907
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], 0
mov ebx, ecx
mov dword [ebp - 0x84], 0
push eax
push 0x5dd63c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004496e0
xor eax, eax
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x6c]
push 0x5dd63c
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.004496e0
xor eax, eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push 0x5dd63c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.004496e0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
xor esi, esi
mov byte [ebp - 4], 3
cmp dword [ebx + 0x188], esi
jle 0x4a5934
lea edi, [ebx + 0x138]
lea esp, [esp]
push 0x800
lea eax, [ebp - 0x8c0]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x8c0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
jmp 0x4a58a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a58a0
sub ecx, edx
lea eax, [ebp - 0x8c0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004496e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
je 0x4a58d9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call fcn.004513a0
jmp 0x4a58e6
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00451410
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4a5924
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a591a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a600a
push ecx
push edx
call fcn.00583877
add esp, 8
inc esi
add edi, 4
cmp esi, dword [ebx + 0x188]
jl 0x4a5860
cmp dword [0x6d223c], 0
je 0x4a5f0f
mov eax, dword [0x6d2238]
mov edi, SysReAllocString
mov ecx, dword [eax]
add ecx, 0x10
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4a5995
mov eax, edi
sub eax, edx
cmp eax, 1
jb 0x4a6005
cmp dword [ecx + 0x14], 8
jb 0x4a596c
mov ecx, dword [ecx]
push 1
push 0x5dde40
push edx
push ecx
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0xbc]
call fcn.0044f200
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 5
mov eax, 0x11
jmp 0x4a59c1
push 4
push str.N_A
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004496e0
lea esi, [ebp - 0x28]
mov eax, 2
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
cmp ecx, 8
jb 0x4a5a01
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a59f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x70], eax
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test al, 2
je 0x4a5a93
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x3c], eax
cmp ecx, 8
jb 0x4a5a93
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5a86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
mov eax, dword [ebp - 0x3c]
add esp, 8
mov dword [ebp - 4], 3
test al, 1
je 0x4a5ade
mov ecx, dword [ebp - 0xa8]
cmp ecx, 8
jb 0x4a5ade
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5ad4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [0x6d2238]
mov ecx, dword [eax]
mov eax, edi
add ecx, 0x28
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x4a6005
cmp dword [ecx + 0x14], 8
jb 0x4a5b00
mov ecx, dword [ecx]
push edx
push ecx
push 1
push 0x5dde40
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.0044f200
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x4a5b4f
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5b45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
xor eax, eax
push 1
mov dword [ebp - 0xa4], 0
push 0x5ed894
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.004496e0
push 1
push 0x5ed894
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.0044bde0
push ecx
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x6c]
call fcn.004a6600
mov esi, dword [ebp - 0x88]
add esp, 4
mov edx, dword [ebp - 0x5c]
sub edi, esi
cmp edi, edx
jb 0x4a6005
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x84]
push edx
cmovae ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
cmovae eax, dword [ebp - 0x6c]
push eax
push esi
push ecx
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.0044f200
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x4a5c4d
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5c43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], eax
cmp esi, dword [ebp - 0x34]
je 0x4a5cbd
mov eax, dword [0x6d2238]
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 8
lea eax, [ebx + 0x10]
jb 0x4a5c8c
mov eax, dword [ebx + 0x10]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4a5c96
mov ecx, dword [esi]
push dword [ebx + 0x20]
mov edx, dword [esi + 0x10]
push eax
push ecx
call fcn.004a66b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4a5dd6
add esi, 0x18
cmp esi, dword [ebp - 0x34]
jne 0x4a5c80
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
cmp eax, 8
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x18], 0
cmovae edx, edi
mov dword [ebp - 0x14], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a5ce6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004496e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.004a64e0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4a5d50
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5d46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
add esp, 8
xor esi, esi
cmp dword [ebx + 0x188], esi
jle 0x4a5d8d
xor edi, edi
add ebx, 0x138
mov eax, dword [ebp - 0x38]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4a5d6f
mov eax, dword [eax]
push eax
mov eax, dword [ebx]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x2c]
inc esi
add ebx, 4
add edi, 0x18
cmp esi, dword [eax + 0x188]
jl 0x4a5d62
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x90]
cmp ecx, 8
jb 0x4a5f15
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5f03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
jmp 0x4a5f03
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
cmp ebx, 8
cmovae eax, edi
cmp dword [esi + 0x14], 8
jb 0x4a5df0
mov esi, dword [esi]
lea ebx, [ebx]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x4a5e16
test cx, cx
je 0x4a5e12
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x4a5e16
add esi, 4
add eax, 4
test cx, cx
jne 0x4a5df0
xor eax, eax
jmp 0x4a5e1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a5d93
cmp ebx, 8
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x18], 0
cmovae edx, edi
mov dword [ebp - 0x14], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a5e50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004496e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.004a64e0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4a5eba
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6000
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [ebp - 0x2c]
xor esi, esi
cmp dword [eax + 0x188], esi
jle 0x4a5d8d
xor edi, edi
lea ebx, [eax + 0x138]
mov ecx, dword [ebp - 0x38]
add ecx, edi
cmp dword [ecx + 0x14], 8
jb 0x4a5ee0
mov ecx, dword [ecx]
mov eax, dword [ebx]
push ecx
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x2c]
inc esi
add ebx, 4
add edi, 0x18
cmp esi, dword [eax + 0x188]
jl 0x4a5ed3
jmp 0x4a5d8d
push ecx
push edx
call fcn.00583877
add esp, 8
jmp 0x4a5f15
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
push 1
push 0
mov byte [0x618c02], 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x38]
call fcn.004491b0
cmp ebx, 8
jb 0x4a5f68
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x4a5f5e
mov edi, dword [eax - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a600a
push ebx
push edi
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x4a5fa2
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5f98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a600a
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp ecx, 8
jb 0x4a5fef
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a5fe5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a600a
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00591c98
call fcn.004353d0
call fcn.00591c98
int3