Function at 0x1000d1ce
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000d3f3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0x25e9
cmp dword [ebp - 0x40], 0x55b
jge 0x1000d308
lea eax, [ebp - 0x10]
push eax
push 0x10008114
call fcn.1004f9f0
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x44], 0
je 0x1000d308
lea eax, [ebp - 0x14]
push eax
push 0x10008114
call fcn.1004f9f0
pop ecx
pop ecx
and dword [ebp - 0xc], 0
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x48], 0
je 0x1000d2a8
lea eax, [ebp - 0x24]
push eax
push 0x10008114
call fcn.1004f9f0
pop ecx
pop ecx
cmp dword [ebp - 0x24], 1
jne 0x1000d27d
mov dword [ebp - 0x20], 1
jmp 0x1000d281
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 2
jne 0x1000d299
mov dword [ebp - 0x28], 1
jmp 0x1000d29d
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x1000d24b
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
and eax, 0x80000001
jns 0x1000d2bb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1000d2c5
mov byte [ebp - 1], 0
jmp 0x1000d2e2
cmp dword [ebp - 0xc], 0
jne 0x1000d2e2
mov eax, dword [ebp - 0x18]
and eax, 0x80000001
jns 0x1000d2da
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1000d2e2
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000d2f3
mov dword [ebp - 0x2c], 0x10008180
jmp 0x1000d2fa
mov dword [ebp - 0x2c], 0x10008184
push dword [ebp - 0x2c]
call fcn.100500e1
pop ecx
jmp 0x1000d21c
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1000d3df
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1000d369
mov dword [ebp - 0x1c], 1
jmp 0x1000d36d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jae 0x1000d38e
mov dword [ebp - 0x30], 1
jmp 0x1000d392
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jge 0x1000d3a1
mov dword [ebp - 0x34], 1
jmp 0x1000d3a5
and dword [ebp - 0x34], 0
imul eax, dword [ebp - 0x34], 0x531f
cmp eax, 8
jge 0x1000d3ba
mov dword [ebp - 0x38], 1
jmp 0x1000d3be
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x1000d3d1
mov dword [ebp - 0x3c], 1
jmp 0x1000d3d5
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x1000d3f1
push 0x2139
push 0
push 0x5f8
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1000d407
push 0x44eb
push 0
push 0x276a
call fcn.1000c99e
add esp, 0xc
mov esp, ebp
pop ebp
ret