Function at 0x4917d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586850
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 - 0x3c], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x20], di
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.0042cb70
mov eax, dword [0x63e51c]
add esp, 4
cmp eax, edi
je 0x4919f9
mov eax, dword [0x63e3d0]
cmp eax, edi
je 0x491831
mov dword [ebp - 0x18], eax
jmp 0x49183b
mov dword [ebp - 0x18], 0x63e3d4
mov eax, dword [ebp - 0x18]
mov esi, dword [0x63e3e0]
cmp esi, edi
je 0x49184a
mov dword [ebp - 0x38], esi
jmp 0x491854
mov dword [ebp - 0x38], 0x63e3e4
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x4919f9
cmp eax, edi
je 0x4919f9
push eax
push esi
call fcn.0054e52b
add esp, 8
test eax, eax
je 0x4919f9
mov ecx, dword [ebp - 0x24]
push esi
push ecx
call fcn.0054e877
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x49189f
push esi
inc edi
call fcn.0054e46e
lea ebx, [ebx + eax*2]
push esi
push ebx
call fcn.0054e877
add esp, 0xc
jmp 0x491883
test edi, edi
je 0x4919f7
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
push edx
call fcn.004034d0
push esi
mov byte [ebp - 4], 2
call fcn.0054e46e
mov ebx, eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054e46e
add esp, 8
cmp eax, ebx
jbe 0x491926
lea ecx, [ebp - 0x24]
call fcn.00401070
lea ecx, [ebp - 0x54]
call fcn.00403580
push esi
mov dword [ebp - 0x14], eax
call fcn.0054e46e
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push ecx
call fcn.0054e46e
mov edx, eax
mov eax, dword [ebp - 0x14]
sub edx, ebx
push eax
imul edx, edi
mov dword [ebp - 0x14], edx
call fcn.0054e46e
mov ecx, dword [ebp - 0x14]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.0056649c
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [ebp - 0x24], edi
jne 0x491929
jmp 0x4919eb
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x28], edi
call fcn.00403580
mov ebx, eax
push esi
push ebx
call fcn.0054e877
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4919b1
sub eax, ebx
mov esi, ebx
sar eax, 1
shl eax, 1
mov ecx, eax
mov ebx, dword [ebp - 0x28]
mov edx, ecx
add ebx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
push esi
call fcn.0054e46e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0054e46e
mov esi, dword [ebp - 0x38]
lea edx, [ebx + eax*2]
push esi
mov dword [ebp - 0x28], edx
call fcn.0054e46e
mov ecx, dword [ebp - 0x14]
push esi
lea ebx, [ecx + eax*2]
push ebx
call fcn.0054e877
mov edi, dword [ebp - 0x28]
add esp, 0x14
mov dword [ebp - 0x14], eax
jmp 0x491943
push ebx
call fcn.0054e46e
mov ecx, eax
mov esi, ebx
shl ecx, 1
mov edx, ecx
push ebx
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.0054e46e
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
mov word [eax], 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.0054e46e
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401070
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x30], di
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xff4]
push 0x7cf
push eax
mov edx, dword [ecx + 0x1844]
mov byte [ebp - 4], 3
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x491a96
lea eax, [ebp - 0xff4]
push 0x61dff4
push eax
call fcn.0054e877
add esp, 8
cmp eax, edi
je 0x491a45
add eax, 6
push eax
jmp 0x491a4c
lea ecx, [ebp - 0xff4]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00402b60
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x491a5e
lea eax, [ebp - 0x30]
push 0x2f
push eax
call fcn.0054e48b
add esp, 8
cmp eax, edi
je 0x491a70
mov word [eax], di
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x491a7a
lea eax, [ebp - 0x30]
push eax
call fcn.0054e46e
add esp, 4
cmp eax, 0x1e
jbe 0x491a96
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x491a92
lea eax, [ebp - 0x30]
mov word [eax + 0x3c], di
mov eax, dword [ebp - 0x24]
cmp eax, edi
jne 0x491aa0
lea eax, [ebp - 0x20]
push eax
call fcn.0054e46e
add esp, 4
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x44], di
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 4
cmp ecx, edi
jne 0x491ac1
lea ecx, [ebp - 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
mov ebx, 0x615f1c
jne 0x491ad3
mov ebx, 0x63e044
mov esi, dword [ebp - 0x34]
cmp esi, edi
jne 0x491add
lea esi, [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.00403580
push esi
push ebx
push eax
push str._s_s_s_
lea ecx, [ebp - 0x48]
call fcn.00429c10
lea ecx, [ebp - 0x48]
call fcn.00403580
mov esi, dword [ebp - 0x3c]
push eax
mov edx, dword [esi + 0x720]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x48]
mov byte [esi + 0x1c97], 0
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x24]
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