Function at 0x10049216
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069b59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10049352
mov dword [ebp - 0x30], 0x584
mov dword [ebp - 0x50], 0x1000be0c
cmp dword [ebp - 0x30], 0x701
jle 0x100492d8
and dword [ebp - 0x1c], 0
jmp 0x1004926b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2eff
jge 0x100492d8
and dword [ebp - 0x20], 0
jmp 0x10049281
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xab8
jge 0x100492d6
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xac]
call fcn.1000d99a
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.1001caba
push eax
call fcn.10053526
pop ecx
lea ecx, [ebp - 0xac]
call fcn.1001cab0
jmp 0x1004927a
jmp 0x10049264
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x245
jge 0x100492f4
push dword [ebp - 0x50]
call fcn.10053526
pop ecx
jmp 0x10049310
or dword [ebp - 4], 0xffffffff
jmp 0x1004931a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x84]
push dword [ebp - 0x48]
push dword [ebp - 0x78]
push 1
push 0x66c9
push dword [ebp - 0x60]
call fcn.10049505
add esp, 0x18
jmp 0x100494f4
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x100494e2
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
push 1
mov ecx, dword [ebp - 0x24]
call fcn.1001cda9
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
push 1
mov ecx, dword [ebp - 0x24]
call fcn.1001cda9
push 1
mov ecx, dword [ebp - 0x24]
call fcn.1001cda9
push 1
mov ecx, dword [ebp - 0x24]
call fcn.1001cda9
push 2
mov ecx, dword [ebp - 0x18]
call fcn.1001cda9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10049413
mov dword [ebp - 0x28], 1
jmp 0x10049417
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x1fc8
je 0x10049429
mov dword [ebp - 0x40], 1
jmp 0x1004942d
and dword [ebp - 0x40], 0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.1001cda9
mov esi, dword [ebp - 0x40]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x18]
call fcn.1001cda9
cmp esi, dword [eax]
jl 0x10049454
mov dword [ebp - 0x38], 1
jmp 0x10049458
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
imul esi, dword [ebp - 0x38]
push 2
mov ecx, dword [ebp - 0x18]
call fcn.1001cda9
cmp esi, dword [eax]
jle 0x10049478
mov dword [ebp - 0x2c], 1
jmp 0x1004947c
and dword [ebp - 0x2c], 0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.1001cda9
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jle 0x10049496
mov dword [ebp - 0x34], 1
jmp 0x1004949a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jge 0x100494b3
mov eax, 0xf3cf
test eax, eax
jne 0x100494b3
and dword [ebp - 0x3c], 0
jmp 0x100494ba
mov dword [ebp - 0x3c], 1
push 2
mov ecx, dword [ebp - 0x18]
call fcn.1001cda9
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
je 0x100494d4
mov dword [ebp - 0x44], 1
jmp 0x100494d8
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x100494f4
push 0xe08
push 0
push 0x2492
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret