Function at 0x4d5920
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622500
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.004473e0
mov eax, dword [0x6d12f8]
add esp, 4
cmp eax, edi
je 0x4d5b50
mov eax, dword [0x6d1160]
cmp eax, edi
je 0x4d5981
mov dword [ebp - 0x14], eax
jmp 0x4d598b
mov dword [ebp - 0x14], 0x6d1164
mov eax, dword [ebp - 0x14]
mov esi, dword [0x6d1170]
cmp esi, edi
jne 0x4d599a
mov esi, 0x6d1174
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
cmp ecx, edi
je 0x4d5b50
cmp esi, edi
je 0x4d5b50
cmp eax, edi
je 0x4d5b50
push eax
push esi
call fcn.005e69c4
add esp, 8
test eax, eax
je 0x4d5b50
mov ecx, dword [ebp - 0x28]
push esi
push ecx
call fcn.005e6c00
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4d59f3
push esi
inc edi
call fcn.005e639f
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.005e6c00
add esp, 0xc
jmp 0x4d59d7
test edi, edi
je 0x4d5b50
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push edx
call fcn.0040e5a0
push esi
mov byte [ebp - 4], 2
call fcn.005e639f
mov ebx, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005e639f
add esp, 8
cmp eax, ebx
jbe 0x4d5a78
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.00402400
push esi
mov dword [ebp - 0x18], eax
call fcn.005e639f
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push ecx
call fcn.005e639f
mov edx, eax
mov eax, dword [ebp - 0x18]
sub edx, ebx
push eax
imul edx, edi
mov dword [ebp - 0x18], edx
call fcn.005e639f
mov ecx, dword [ebp - 0x18]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.005feedc
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4d5a7b
jmp 0x4d5b44
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
call fcn.00402400
mov ebx, eax
push esi
push ebx
call fcn.005e6c00
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4d5b07
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.005e639f
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.005e639f
mov esi, dword [ebp - 0x30]
lea eax, [ebx + eax*2]
push esi
mov dword [ebp - 0x1c], eax
call fcn.005e639f
mov ecx, dword [ebp - 0x18]
push esi
lea ebx, [ecx + eax*2]
push ebx
call fcn.005e6c00
add esp, 0x14
jmp 0x4d5a92
push ebx
call fcn.005e639f
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.005e639f
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
mov word [eax], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.005e639f
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [0x6d12fc]
test eax, eax
je 0x4d5d36
mov eax, dword [0x6d1140]
test eax, eax
je 0x4d5b6b
mov dword [ebp - 0x1c], eax
jmp 0x4d5b75
mov dword [ebp - 0x1c], 0x6d1144
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6d1150]
test esi, esi
jne 0x4d5b84
mov esi, 0x6d1154
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4d5d36
test esi, esi
je 0x4d5d36
test eax, eax
je 0x4d5d36
push eax
push esi
call fcn.005e69c4
add esp, 8
test eax, eax
je 0x4d5d36
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.005e6c00
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4d5be1
push esi
inc ebx
call fcn.005e639f
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005e6c00
add esp, 0xc
mov edi, eax
jmp 0x4d5bc5
test ebx, ebx
je 0x4d5d36
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040e5a0
push esi
mov byte [ebp - 4], 3
call fcn.005e639f
mov edx, dword [ebp - 0x1c]
mov edi, eax
push edx
call fcn.005e639f
add esp, 8
cmp eax, edi
jbe 0x4d5c68
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.00402400
push esi
mov dword [ebp - 0x18], eax
call fcn.005e639f
mov edi, eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005e639f
mov edx, eax
mov ecx, dword [ebp - 0x18]
sub edx, edi
push ecx
imul edx, ebx
mov dword [ebp - 0x18], edx
call fcn.005e639f
mov edx, dword [ebp - 0x18]
add edx, eax
lea eax, [edx + edx + 2]
push eax
call fcn.005feedc
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x28], ebx
jne 0x4d5c6b
jmp 0x4d5d2a
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
call fcn.00402400
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.005e6c00
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4d5ced
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.005e639f
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.005e639f
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e639f
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x14], eax
call fcn.005e6c00
add esp, 0x14
jmp 0x4d5c80
mov esi, dword [ebp - 0x14]
push esi
call fcn.005e639f
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.005e639f
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005e639f
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 [0x6a45ac]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x4d5def
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0xff4]
push 0x7cf
push edx
mov eax, dword [ebx + 0x1450]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4d5e83
lea ecx, [ebp - 0xff4]
push 0x6a9fa0
push ecx
call fcn.005e6c00
add esp, 8
cmp eax, esi
je 0x4d5d95
add eax, 6
push eax
jmp 0x4d5d9c
lea edx, [ebp - 0xff4]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402410
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d5dae
lea eax, [ebp - 0x38]
push 0x2f
push eax
call fcn.005e699b
add esp, 8
cmp eax, esi
je 0x4d5dc0
mov word [eax], si
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d5dca
lea eax, [ebp - 0x38]
push eax
call fcn.005e639f
add esp, 4
cmp eax, 0x1e
jbe 0x4d5e83
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d5de6
lea eax, [ebp - 0x38]
mov word [eax + 0x3c], si
jmp 0x4d5e83
mov eax, dword [0x6cc708]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x149c]
call fcn.005ffdee
mov edx, dword [ebp - 0x14]
push 0x6a016c
push edx
call fcn.005e6490
add esp, 8
cmp eax, esi
je 0x4d5e37
add eax, 3
push eax
lea eax, [ebp - 0x14]
push 0x6a00a0
push eax
call fcn.005fb90b
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push 0x2f
push ecx
call fcn.005e63d0
add esp, 8
cmp eax, esi
je 0x4d5e4c
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 0x4d5e69
push eax
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.00602f42
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402e00
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00602ad6
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d5e8d
lea eax, [ebp - 0x24]
push eax
call fcn.005e639f
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0041cad0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00402400
cmp word [eax + esi*2 - 2], 0x5c
mov esi, 0x6a015c
jne 0x4d5ebe
mov esi, 0x6d0c3c
lea ecx, [ebp - 0x3c]
call fcn.00402400
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00402400
push edi
push esi
push eax
push str._s_s_s_
lea ecx, [ebp - 0x54]
call fcn.00441ce0
mov eax, dword [0x6a45ac]
lea ecx, [ebp - 0x54]
test eax, eax
je 0x4d5f01
call fcn.00402400
push eax
mov eax, dword [ebx + 0x490]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4d5f2c
call fcn.00402400
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.00402500
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x490]
add esp, 8
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x2c]
call fcn.00602ad6
lea ecx, [ebp - 0x54]
mov byte [ebx + 0x1733], 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