Function at 0x100a5a82
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x40
push 0x60
mov eax, 0x101447fb
call fcn.101018b2
mov edi, ecx
mov dword [ebp + 0x18], edi
mov eax, dword [ebp + 0x58]
mov ebx, 0x1019e6e0
xor esi, esi
mov ecx, ebx
mov dword [eax], esi
call fcn.100ad6c4
test eax, eax
je 0x100a5fac
cmp word [ebp + 0x50], 0xd
je 0x100a5ae2
cmp word [ebp + 0x50], 0xa
je 0x100a5ae2
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi + 0xc], eax
jne 0x100a5fac
mov ecx, edi
mov dword [edi + 0x48], 1
call fcn.100a4c3c
jmp 0x100a5fac
cmp dword [edi + 0x34], esi
je 0x100a5fac
mov dword [ebp + 0x2c], esi
lea eax, [ebp + 0x2c]
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.100adc3c
cmp dword [ebp + 0x2c], esi
je 0x100a5fac
mov eax, dword [0x1019a028]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], esi
mov ecx, dword [edi + 0x34]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.10053040
test eax, eax
je 0x100a5f7a
mov eax, dword [0x1019a028]
mov dword [ebp + 0x38], eax
push 0x401
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.10001a82
push 0x400
lea ebx, [edi + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
push dword [ebx]
call edi
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
call fcn.10001c5b
push esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.100172f7
push esi
push esi
push 0xffffffffffffffff
mov ecx, ebx
call fcn.100172f7
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x100a5b98
cmp dword [eax], 1
jne 0x100a5b98
mov ebx, 0x1019e718
mov ecx, ebx
call fcn.100383da
inc eax
push eax
mov ecx, ebx
call fcn.10038429
mov dword [ebp + 0x30], esi
lea eax, [ebp + 0x30]
push eax
mov ecx, 0x1019e6e0
mov byte [ebp - 4], 3
call fcn.100add33
mov eax, dword [0x1019a028]
mov dword [ebp + 0x50], eax
mov ebx, 0x800
push ebx
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 4
call fcn.10001a82
push ebx
mov ebx, dword [ebp + 0x18]
push eax
add ebx, 0xc
push dword [ebx]
call edi
push 0xffffffffffffffff
lea ecx, [ebp + 0x50]
call fcn.10001c5b
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x28]
call fcn.1000584b
push 0x20
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 5
call fcn.100179a0
push ecx
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.1000584b
call fcn.100e6014
cmp eax, esi
pop ecx
jne 0x100a5f4a
mov eax, dword [ebp + 0x58]
push 0x10152f84
lea ecx, [ebp + 0x1c]
mov dword [eax], 1
call fcn.1000587e
push dword [ebp + 8]
mov byte [ebp - 4], 6
push dword [ebp + 0x38]
mov dword [ebp + 0x3c], esi
call fcn.10002de4
test eax, eax
pop ecx
pop ecx
jne 0x100a5c75
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov edi, eax
je 0x100a5c75
add eax, 8
mov ecx, dword [eax]
cmp dword [ecx - 8], esi
je 0x100a5c5e
push eax
lea ecx, [ebp + 0x1c]
call fcn.10005459
mov eax, dword [edi + 4]
cmp dword [eax - 8], esi
je 0x100a5c75
push 0xa
push esi
push eax
call fcn.1010520f
add esp, 0xc
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x24]
mov edi, 0x1019e6e0
push eax
mov ecx, edi
mov dword [ebp + 0x24], esi
call fcn.100ad566
cmp dword [ebp + 0x24], esi
je 0x100a5f42
lea ecx, [ebp - 0x6c]
call fcn.10096afb
mov ecx, 0x1019e718
mov byte [ebp - 4], 7
call fcn.100374a5
test eax, eax
je 0x100a5e34
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x58], esi
lea eax, [ebp + 0x58]
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.100adf70
push dword [ebp + 0x58]
lea ecx, [ebp + 0x34]
call fcn.10017563
mov eax, dword [ebp + 0x34]
cmp eax, esi
jne 0x100a5cf0
mov ecx, dword [ebp + 0x58]
cmp ecx, esi
mov byte [ebp - 4], 8
je 0x100a5e26
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x100a5e23
mov dword [ebp + 0x20], esi
mov ecx, dword [eax]
lea edx, [ebp + 0x20]
push edx
push eax
mov byte [ebp - 4], 0xa
call dword [ecx + 0xc]
lea eax, [ebp - 0x6c]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push dword [ebp + 0x20]
call fcn.1000587e
mov ecx, dword [ebp + 0x24]
call fcn.10098c44
cmp eax, esi
je 0x100a5e09
lea ecx, [ebp]
call fcn.10086249
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
call fcn.1009660d
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.100960c1
cmp eax, 1
jne 0x100a5d5a
push dword [ebp + 0x3c]
lea eax, [ebp + 0x40]
push eax
call fcn.100e62a4
pop ecx
pop ecx
mov edi, dword [ebp + 0x40]
push 1
push esi
push esi
push esi
lea ecx, [ebp - 0x6c]
call fcn.100960b3
push eax
push edi
lea ecx, [ebp]
call fcn.10086275
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi + 0x34]
cmp ecx, esi
je 0x100a5d88
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x34], esi
lea ecx, [ebp + 0x40]
call fcn.100015d9
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.10086252
push dword [ebp + 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x58]
cmp eax, esi
mov byte [ebp - 4], 8
je 0x100a5db6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x34]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x100a5dc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.10096a8e
lea ecx, [ebp + 0x1c]
call fcn.100015d9
lea ecx, [ebp + 0x28]
call fcn.100015d9
lea ecx, [ebp + 0x50]
call fcn.100015d9
mov eax, dword [ebp + 0x30]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x100a5dfc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x38]
call fcn.100015d9
jmp 0x100a5f8b
push dword [ebp + 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x58]
cmp eax, esi
mov byte [ebp - 4], 8
je 0x100a5e23
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x34]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x100a5e34
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x1019a028]
mov dword [ebp + 0x40], eax
push 0xdf
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0xd
call fcn.1000201d
lea eax, [ebp - 0x6c]
push eax
push ecx
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp + 0x58], esp
push eax
call fcn.1000584b
mov ecx, dword [ebp + 0x24]
call fcn.10098c44
cmp eax, esi
je 0x100a5f2e
push dword [ebp + 0x50]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 0x30]
cmp edi, esi
je 0x100a5ea7
push dword [ebp + 0x50]
lea ecx, [ebp + 0x58]
call fcn.10003abd
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
mov byte [ebp - 4], 0xe
call dword [ecx + 0x38]
push dword [ebp + 0x58]
mov byte [ebp - 4], 0xd
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp + 4]
call fcn.10086249
mov eax, dword [0x1019a028]
mov dword [ebp + 0x58], eax
push dword [ebp + 0x3c]
lea eax, [ebp + 0x58]
push str.bar_d
push eax
mov byte [ebp - 4], 0x10
call fcn.100020c6
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1009660d
lea ecx, [ebp + 0x58]
push ecx
push eax
lea eax, [ebp + 0x3c]
push eax
mov byte [ebp - 4], 0x11
call fcn.1000c751
mov edi, dword [eax]
push 1
push esi
push esi
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x12
call fcn.100960b3
push eax
push edi
lea ecx, [ebp + 4]
call fcn.10086275
lea ecx, [ebp + 0x3c]
call fcn.100015d9
lea ecx, [ebp + 0x14]
call fcn.100015d9
lea ecx, [ebp + 0x58]
call fcn.100015d9
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0xd
call fcn.10086252
lea ecx, [ebp + 0x40]
call fcn.100015d9
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.10096a8e
lea ecx, [ebp + 0x1c]
call fcn.100015d9
lea ecx, [ebp + 0x28]
call fcn.100015d9
lea ecx, [ebp + 0x50]
call fcn.100015d9
mov eax, dword [ebp + 0x30]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x100a5f6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.100015d9
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi + 0x34]
cmp ecx, esi
je 0x100a5f8b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x34], esi
lea ecx, [ebp + 0xc]
call fcn.100015d9
lea ecx, [ebp + 8]
call fcn.100015d9
mov eax, dword [ebp + 0x2c]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x100a5fac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x44
leave
ret 0x10