Function at 0x100537b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100996b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push edi
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 0x234], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x233]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1ff
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.10011f50
mov dword [ebp - 4], 0
mov byte [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x2b], edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov word [ebp - 0xf], dx
mov byte [ebp - 0xd], dl
lea eax, [ebp - 0x2c]
push eax
push str.0cW7oiDTys_k
call fcn.1003a410
add esp, 8
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.10003880
cmp eax, 0xffffffff
jne 0x10053880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.10002010
jmp 0x10053aa7
lea ecx, [ebp - 0x238]
call fcn.10001ff0
mov byte [ebp - 4], 1
push 0
push 0x28
lea ecx, [ebp - 0x23c]
call fcn.10001b90
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jle 0x10053a86
cmp dword [ebp - 0x30], 0
jne 0x1005394d
push 0
push 0x2c
lea ecx, [ebp - 0x23c]
call fcn.10001b90
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jle 0x10053948
push 0x2d
lea ecx, [ebp - 0x23c]
call fcn.10003830
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
cmp edx, dword [ebp - 0x30]
jle 0x10053948
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x30]
sub eax, 3
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
push ecx
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x23c]
call fcn.10002580
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x238]
call fcn.10002e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.10002010
jmp 0x100539e2
je 0x1005395a
jne 0x1005395a
call 0x100cbd6d
add byte [eax], al
je 0x10053967
jne 0x10053967
jmp 0x9d9262d5
push 0x29
lea ecx, [ebp - 0x23c]
call fcn.10003830
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x30]
jle 0x100539e2
mov eax, dword [ebp - 0x244]
sub eax, dword [ebp - 0x30]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
push ecx
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x23c]
call fcn.10002580
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x238]
call fcn.10002e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.10002010
lea ecx, [ebp - 0x238]
call fcn.10001bf0
movzx edx, al
test edx, edx
jne 0x10053a86
push 0
push 0x40
lea ecx, [ebp - 0x238]
call fcn.10001b90
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jle 0x10053a66
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x238]
call fcn.10003b90
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x238]
call fcn.10002e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.10002010
lea ecx, [ebp - 0x238]
call fcn.10005bc0
push eax
mov ecx, dword [ebp - 0x2a0]
mov ecx, dword [ecx + 0x2704]
add ecx, 0x28
call fcn.10002e30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10002010
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.10002010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret