Function at 0x4b7870
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bef02
mov eax, dword fs:[0]
push eax
sub esp, 0x254
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
xor eax, eax
mov dword [ebp - 0x24c], eax
mov esi, dword [ebx + 0x2804]
sub esi, dword [ebx + 0x2800]
mov dword [ebp - 0x254], eax
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b7e63
or edx, 0xffffffff
mov dword [ebp - 0x260], 0
test eax, eax
je 0x4b7d39
xor esi, esi
mov dword [ebp - 0x250], esi
mov eax, dword [ebx + 0x27ec]
lea edi, [ebx + 0x182c]
inc edx
mov ecx, dword [edi + edx*4]
lea edi, [edi + edx*4]
mov dword [ebp - 0x258], edx
mov dword [ecx + 0x40], eax
lea ecx, [edx + edx*4]
mov eax, dword [0x5ec784]
shl ecx, 2
add eax, ecx
mov dword [ebp - 0x25c], ecx
mov ecx, dword [edi]
mov dword [ecx + 0x2c], 0x14
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 0x15e
mov dword [ecx + 0x38], 0x14
mov ecx, esi
mov eax, dword [edi]
shl ecx, 4
sub ecx, esi
shl ecx, 2
mov dword [eax + 0x3c], 0xff9600
mov esi, dword [ebx + 0x2800]
add esi, 0x18
mov dword [ebp - 0x244], ecx
add esi, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov eax, dword [ebp - 0x254]
or eax, 1
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x24c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 0x248], eax
mov eax, dword [eax]
inc eax
push eax
call fcn.0044c830
cmp dword [esi + 0x14], 8
jb 0x4b79b6
mov esi, dword [esi]
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x240]
push dword [eax]
push esi
call fcn.00448340
push 1
push 0x5e3480
lea ecx, [ebp - 0x240]
call fcn.00448340
mov eax, dword [ebx + 0x2800]
add eax, dword [ebp - 0x244]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b79f2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00448340
mov esi, dword [ebp - 0x254]
mov edx, eax
mov dword [ebp - 0x218], 0
or esi, 2
mov dword [ebp - 0x214], 0
mov ecx, dword [edx]
mov dword [ebp - 0x228], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x224], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x220], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x21c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x214], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
cmovae eax, dword [ebp - 0x228]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x4b7ac8
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b7abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7f01
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x22c]
and esi, 0xfffffffe
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 0x254], esi
cmp edx, 8
jb 0x4b7b35
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b7b2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7f01
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ecx, dword [ebp - 0x244]
mov esi, dword [ebx + 0x2800]
add ecx, esi
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
jb 0x4b7b4f
mov eax, dword [ecx + 0x18]
cmp dword [ecx + 0x28], 1
jne 0x4b7cf6
mov ecx, 0x5e347c
mov edx, 1
sub eax, ecx
mov dword [ebp - 0x244], eax
jmp 0x4b7b70
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x4b7cf6
mov eax, dword [ebp - 0x244]
add ecx, 2
sub edx, 1
jne 0x4b7b70
mov eax, dword [ebp - 0x250]
xor ecx, ecx
shl eax, 4
sub eax, dword [ebp - 0x250]
shl eax, 2
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x24c], eax
mov ecx, dword [eax + esi + 0x34]
sub ecx, dword [eax + esi + 0x30]
mov eax, 0x4bda12f7
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b7cf6
mov eax, dword [ebp - 0x24c]
add eax, 0x30
xor ecx, ecx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x248], ecx
mov eax, dword [eax + esi]
lea edi, [edi + 4]
mov edx, dword [ebp - 0x25c]
add eax, ecx
inc dword [ebp - 0x258]
add edx, 0x14
mov dword [ebp - 0x25c], edx
mov esi, eax
cmp dword [eax + 0x14], 8
jb 0x4b7c08
mov esi, dword [eax]
cmp dword [eax + 0x10], 1
jne 0x4b7c44
mov eax, 0x5eccc0
mov edx, 1
sub esi, eax
lea ebx, [ebx]
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x4b7c3e
add eax, 2
sub edx, 1
jne 0x4b7c20
mov ecx, dword [edi]
mov eax, dword [ebx + 0x27f4]
mov dword [ecx + 0x40], eax
jmp 0x4b7c70
mov edx, dword [ebp - 0x25c]
mov ecx, dword [edi]
mov eax, dword [ebx + 0x27f0]
mov dword [ecx + 0x40], eax
mov ecx, dword [edi]
mov eax, dword [0x5ec784]
add eax, edx
mov dword [ecx + 0x2c], 0x28
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 0x15e
mov dword [ecx + 0x38], 0x14
mov eax, dword [edi]
mov ecx, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x248]
mov dword [eax + 0x3c], 0x3c3c3c
mov eax, dword [ebx + 0x2800]
mov eax, dword [ecx + eax + 0x30]
add eax, 0x30
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x4b7c9c
mov eax, dword [eax]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x250]
add esi, 0xd8
inc dword [ebp - 0x244]
mov dword [ebp - 0x248], esi
mov esi, dword [ebx + 0x2800]
mov ecx, dword [eax + esi + 4]
sub ecx, dword [eax + esi]
mov eax, 0x4bda12f7
imul ecx
mov ecx, dword [ebp - 0x248]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x250]
jb 0x4b7be1
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebx + 0x2804]
inc eax
sub ecx, dword [ebx + 0x2800]
movzx esi, ax
mov dword [ebp - 0x260], eax
mov eax, 0x88888889
imul ecx
mov dword [ebp - 0x250], esi
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x258]
cmp esi, eax
jb 0x4b78f0
lea ecx, [edx + 1]
xor esi, esi
mov edx, dword [ebx + 0xa0]
mov eax, ecx
sub eax, edx
mov dword [0x6c4e4c], ecx
test eax, eax
jle 0x4b7e04
lea edi, [ebx + 0x182c]
lea esp, [esp]
push 0x100
lea eax, [ebp - 0x210]
push eax
lea eax, [edx + esi]
mov eax, dword [ebx + eax*4 + 0x182c]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0xa0]
mov ecx, dword [edi]
add eax, esi
mov eax, dword [ebx + eax*4 + 0x182c]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0xa0]
mov ecx, dword [edi]
add eax, esi
mov edx, dword [ebx + eax*4 + 0x182c]
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0xa0]
mov ecx, dword [edi]
add eax, esi
mov eax, dword [ebx + eax*4 + 0x182c]
mov eax, dword [eax + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x6c4e4c]
lea edi, [edi + 4]
mov edx, dword [ebx + 0xa0]
mov eax, ecx
inc esi
sub eax, edx
cmp esi, eax
jl 0x4b7d60
sub ecx, edx
cmp ecx, 0x1f4
jae 0x4b7e38
lea esi, [ebx + 0x182c]
mov edi, 0x1f4
lea esi, [esi + ecx*4]
sub edi, ecx
mov edi, edi
mov eax, dword [esi]
push 0x5e1af8
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [esi + 4]
sub edi, 1
jne 0x4b7e20
mov eax, dword [ebx + 0xa8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x70]
push 1
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x74]
push 1
push dword [eax + 8]
call esi
push 1
jmp 0x4b7ed0
xor esi, esi
cmp dword [0x6c4e4c], esi
jle 0x4b7e8f
lea edi, [ebx + 0x182c]
mov eax, dword [edi]
push 0x5e1af8
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc esi
lea edi, [edi + 4]
cmp esi, dword [0x6c4e4c]
jl 0x4b7e73
mov eax, dword [ebx + 0xa8]
push 0x5e1af8
push 0
push 0xc
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0xa8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x70]
push 0
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x74]
push 0
push dword [eax + 8]
call esi
push 0
mov eax, dword [ebx + 0x7c]
push dword [eax + 8]
call esi
push 1
push 0
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
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
call fcn.00591dc6
int3