Function at 0x10010280
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x42c
push 0xffffffffffffffff
push 0x100aee08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp + 0x428], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x434]
cmp eax, 7
jne 0x10010428
mov edx, dword [esi]
mov ecx, edx
push 0x3e9
call fcn.10026d90
test eax, eax
je 0x100102e5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
mov edx, dword [esi]
push 0x3eb
mov ecx, edx
call fcn.10026d90
test eax, eax
je 0x10010300
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x18]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
test ecx, ecx
je 0x10010319
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10010421
mov eax, dword [esi]
lea ecx, [ebp]
push 0xe6
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [eax + 0x9c], 0x333333
xor eax, eax
push 0x100c37b0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
call fcn.10006df0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x18]
push 0x410
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
add esp, 0xc
push 0x208
push ecx
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100103c0
sub ecx, edx
lea eax, [ebp + 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10006df0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0
je 0x100103f6
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001a860
test eax, eax
jne 0x10010406
mov eax, dword [esi]
push 0x100c2be4
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10006d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10006d80
mov al, 1
jmp 0x100104fd
cmp eax, 8
jne 0x100104fb
mov edx, dword [esi]
mov ecx, edx
push 0x3e9
call fcn.10026d90
test eax, eax
je 0x1001044e
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x18]
mov edx, dword [esi]
push 0x3eb
mov ecx, edx
call fcn.10026d90
test eax, eax
je 0x10010469
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
test ecx, ecx
je 0x10010482
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10010421
push 0x20a
lea eax, [ebp + 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
lea ecx, [ebp + 0x21c]
add esp, 0xc
push 0x104
push ecx
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp + 0x21c]
push eax
lea ecx, [ebp]
call fcn.10006a90
mov dword [ebp - 4], 2
cmp dword [ebp + 0x10], 0
jne 0x10010412
mov eax, dword [esi]
push 0x100c37b0
mov dword [eax + 0x9c], 0x999999
mov eax, dword [esi]
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x10010412
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
call fcn.100ab466
lea esp, [ebp + 0x42c]
pop ebp
ret 8