Function at 0x4d6140
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfe8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004472d0
mov eax, dword [0x6f6364]
add esp, 4
cmp eax, edi
je 0x4d6370
mov eax, dword [0x6f61d8]
cmp eax, edi
je 0x4d61a1
mov dword [ebp - 0x14], eax
jmp 0x4d61ab
mov dword [ebp - 0x14], 0x6f61dc
mov eax, dword [ebp - 0x14]
mov esi, dword [0x6f61e8]
cmp esi, edi
jne 0x4d61ba
mov esi, 0x6f61ec
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
cmp ecx, edi
je 0x4d6370
cmp esi, edi
je 0x4d6370
cmp eax, edi
je 0x4d6370
push eax
push esi
call fcn.005e56c4
add esp, 8
test eax, eax
je 0x4d6370
mov ecx, dword [ebp - 0x28]
push esi
push ecx
call fcn.005e5a05
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4d6213
push esi
inc edi
call fcn.005e519b
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.005e5a05
add esp, 0xc
jmp 0x4d61f7
test edi, edi
je 0x4d6370
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push edx
call fcn.0040e5b0
push esi
mov byte [ebp - 4], 2
call fcn.005e519b
mov ebx, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005e519b
add esp, 8
cmp eax, ebx
jbe 0x4d6298
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.004023b0
push esi
mov dword [ebp - 0x18], eax
call fcn.005e519b
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push ecx
call fcn.005e519b
mov edx, eax
mov eax, dword [ebp - 0x18]
sub edx, ebx
push eax
imul edx, edi
mov dword [ebp - 0x18], edx
call fcn.005e519b
mov ecx, dword [ebp - 0x18]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.005fdccd
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4d629b
jmp 0x4d6364
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
call fcn.004023b0
mov ebx, eax
push esi
push ebx
call fcn.005e5a05
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4d6327
sub eax, ebx
mov edx, dword [ebp - 0x1c]
sar eax, 1
shl eax, 1
mov ecx, eax
mov esi, ebx
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, eax
mov eax, dword [ebp - 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
mov dword [ebp - 0x1c], edx
call fcn.005e519b
mov ebx, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e519b
mov esi, dword [ebp - 0x30]
lea eax, [ebx + eax*2]
push esi
mov dword [ebp - 0x1c], eax
call fcn.005e519b
mov ecx, dword [ebp - 0x18]
push esi
lea ebx, [ecx + eax*2]
push ebx
call fcn.005e5a05
add esp, 0x14
jmp 0x4d62b2
push ebx
call fcn.005e519b
mov edi, dword [ebp - 0x1c]
mov ecx, eax
shl ecx, 1
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e519b
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
mov word [eax], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.005e519b
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [0x6f6368]
test eax, eax
je 0x4d6556
mov eax, dword [0x6f61b8]
test eax, eax
je 0x4d638b
mov dword [ebp - 0x1c], eax
jmp 0x4d6395
mov dword [ebp - 0x1c], 0x6f61bc
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6f61c8]
test esi, esi
jne 0x4d63a4
mov esi, 0x6f61cc
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4d6556
test esi, esi
je 0x4d6556
test eax, eax
je 0x4d6556
push eax
push esi
call fcn.005e56c4
add esp, 8
test eax, eax
je 0x4d6556
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.005e5a05
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4d6401
push esi
inc ebx
call fcn.005e519b
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005e5a05
add esp, 0xc
mov edi, eax
jmp 0x4d63e5
test ebx, ebx
je 0x4d6556
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040e5b0
push esi
mov byte [ebp - 4], 3
call fcn.005e519b
mov edx, dword [ebp - 0x1c]
mov edi, eax
push edx
call fcn.005e519b
add esp, 8
cmp eax, edi
jbe 0x4d6488
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.004023b0
push esi
mov dword [ebp - 0x18], eax
call fcn.005e519b
mov edi, eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005e519b
mov edx, eax
mov ecx, dword [ebp - 0x18]
sub edx, edi
push ecx
imul edx, ebx
mov dword [ebp - 0x18], edx
call fcn.005e519b
mov edx, dword [ebp - 0x18]
add edx, eax
lea eax, [edx + edx + 2]
push eax
call fcn.005fdccd
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x28], ebx
jne 0x4d648b
jmp 0x4d654a
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
call fcn.004023b0
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.005e5a05
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4d650d
mov esi, dword [ebp - 0x14]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e519b
mov ecx, eax
mov eax, dword [ebp - 0x1c]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e519b
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e519b
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x14], eax
call fcn.005e5a05
add esp, 0x14
jmp 0x4d64a0
mov esi, dword [ebp - 0x14]
push esi
call fcn.005e519b
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e519b
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005e519b
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], si
mov eax, dword [0x6c95a4]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x4d660f
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0xff4]
push 0x7cf
push edx
mov eax, dword [ebx + 0x1920]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4d66a3
lea ecx, [ebp - 0xff4]
push 0x6cefc8
push ecx
call fcn.005e5a05
add esp, 8
cmp eax, esi
je 0x4d65b5
add eax, 6
push eax
jmp 0x4d65bc
lea edx, [ebp - 0xff4]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004023c0
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d65ce
lea eax, [ebp - 0x38]
push 0x2f
push eax
call fcn.005e569b
add esp, 8
cmp eax, esi
je 0x4d65e0
mov word [eax], si
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d65ea
lea eax, [ebp - 0x38]
push eax
call fcn.005e519b
add esp, 4
cmp eax, 0x1e
jbe 0x4d66a3
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d6606
lea eax, [ebp - 0x38]
mov word [eax + 0x3c], si
jmp 0x4d66a3
mov eax, dword [0x6f175c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x1a5c]
call fcn.005febde
mov edx, dword [ebp - 0x14]
push 0x6c5164
push edx
call fcn.005e5290
add esp, 8
cmp eax, esi
je 0x4d6657
add eax, 3
push eax
lea eax, [ebp - 0x14]
push 0x6c5098
push eax
call fcn.005fa6fb
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push 0x2f
push ecx
call fcn.005e51d0
add esp, 8
cmp eax, esi
je 0x4d666c
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x4d6689
push eax
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.00601d38
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402ce0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.006018cc
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d66ad
lea eax, [ebp - 0x24]
push eax
call fcn.005e519b
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0041cbc0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004023b0
cmp word [eax + esi*2 - 2], 0x5c
mov esi, 0x6c5154
jne 0x4d66de
mov esi, 0x6f5cbc
lea ecx, [ebp - 0x3c]
call fcn.004023b0
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.004023b0
push edi
push esi
push eax
push str._s_s_s_
lea ecx, [ebp - 0x54]
call fcn.00441c20
mov eax, dword [0x6c95a4]
lea ecx, [ebp - 0x54]
test eax, eax
je 0x4d6721
call fcn.004023b0
push eax
mov eax, dword [ebx + 0x7a8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4d6748
call fcn.004023b0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0060198c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebx + 0x7a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x2c]
call fcn.006018cc
lea ecx, [ebp - 0x54]
mov byte [ebx + 0x1dbb], 0
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret