Function at 0x100dab5e
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x40
push 0x64
mov eax, 0x1018dc77
call fcn.10145d80
mov edi, ecx
mov dword [ebp + 0x18], edi
mov eax, dword [ebp + 0x58]
mov ebx, 0x101f84b0
xor esi, esi
mov ecx, ebx
mov dword [eax], esi
call fcn.100e4d18
test eax, eax
je 0x100db088
cmp word [ebp + 0x50], 0xd
je 0x100dabbe
cmp word [ebp + 0x50], 0xa
je 0x100dabbe
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi + 0xc], eax
jne 0x100db088
mov ecx, edi
mov dword [edi + 0x58], 1
call fcn.100d9d15
jmp 0x100db088
cmp dword [edi + 0x44], esi
je 0x100db088
mov dword [ebp + 0x2c], esi
lea eax, [ebp + 0x2c]
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.100e5402
cmp dword [ebp + 0x2c], esi
je 0x100db088
mov eax, dword [0x101f3028]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], esi
mov ecx, dword [edi + 0x44]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.1006fd57
test eax, eax
je 0x100db056
mov eax, dword [0x101f3028]
mov dword [ebp + 0x38], eax
push 0x401
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.1000401e
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.100041f7
push esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.1001ecfc
push esi
push esi
push 0xffffffffffffffff
mov ecx, ebx
call fcn.1001ecfc
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x100dac74
cmp dword [eax], 1
jne 0x100dac74
mov ebx, 0x101f84e8
mov ecx, ebx
call fcn.10052389
inc eax
push eax
mov ecx, ebx
call fcn.100523d8
mov dword [ebp + 0x30], esi
lea eax, [ebp + 0x30]
push eax
mov ecx, 0x101f84b0
mov byte [ebp - 4], 3
call fcn.100e5557
mov eax, dword [0x101f3028]
mov dword [ebp + 0x50], eax
mov ebx, 0x800
push ebx
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 4
call fcn.1000401e
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.100041f7
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x28]
call fcn.10007ade
push 0x20
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 5
call fcn.1001f2a6
push ecx
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.10007ade
call fcn.10125b1d
cmp eax, esi
pop ecx
jne 0x100db026
mov eax, dword [ebp + 0x58]
push 0x1019f188
lea ecx, [ebp + 0x1c]
mov dword [eax], 1
call fcn.10007b11
push dword [ebp + 8]
mov byte [ebp - 4], 6
push dword [ebp + 0x38]
mov dword [ebp + 0x3c], esi
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x100dad51
mov eax, dword [ebp + 0x10]
cmp eax, esi
mov edi, eax
je 0x100dad51
add eax, 8
mov ecx, dword [eax]
cmp dword [ecx - 8], esi
je 0x100dad3a
push eax
lea ecx, [ebp + 0x1c]
call fcn.10007845
mov eax, dword [edi + 4]
cmp dword [eax - 8], esi
je 0x100dad51
push 0xa
push esi
push eax
call fcn.1014a9c2
add esp, 0xc
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x24]
mov edi, 0x101f84b0
push eax
mov ecx, edi
mov dword [ebp + 0x24], esi
call fcn.100e4bba
cmp dword [ebp + 0x24], esi
je 0x100db01e
lea ecx, [ebp - 0x70]
call fcn.100c497b
mov ecx, 0x101f84e8
mov byte [ebp - 4], 7
call fcn.10051454
test eax, eax
je 0x100daf10
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.100e57e7
push dword [ebp + 0x58]
lea ecx, [ebp + 0x34]
call fcn.1001f154
mov eax, dword [ebp + 0x34]
cmp eax, esi
jne 0x100dadcc
mov ecx, dword [ebp + 0x58]
cmp ecx, esi
mov byte [ebp - 4], 8
je 0x100daf02
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x100daeff
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 - 0x70]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push dword [ebp + 0x20]
call fcn.10007b11
mov ecx, dword [ebp + 0x24]
call fcn.100c6ae3
cmp eax, esi
je 0x100daee5
lea ecx, [ebp]
call fcn.100a8e6c
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.100c448d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.100c3f39
cmp eax, 1
jne 0x100dae36
push dword [ebp + 0x3c]
lea eax, [ebp + 0x40]
push eax
call fcn.10125dee
pop ecx
pop ecx
mov edi, dword [ebp + 0x40]
push 1
push esi
push esi
push esi
lea ecx, [ebp - 0x70]
call fcn.100c3f2b
push eax
push edi
lea ecx, [ebp]
call fcn.100a8e98
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi + 0x44]
cmp ecx, esi
je 0x100dae64
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x44], esi
lea ecx, [ebp + 0x40]
call fcn.10003b75
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.100a8e75
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 0x100dae92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x34]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x100daea3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.100c490e
lea ecx, [ebp + 0x1c]
call fcn.10003b75
lea ecx, [ebp + 0x28]
call fcn.10003b75
lea ecx, [ebp + 0x50]
call fcn.10003b75
mov eax, dword [ebp + 0x30]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x100daed8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x38]
call fcn.10003b75
jmp 0x100db067
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 0x100daeff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x34]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x100daf10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x101f3028]
mov dword [ebp + 0x40], eax
push 0xdf
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0xd
call fcn.100045b9
lea eax, [ebp - 0x70]
push eax
push ecx
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp + 0x58], esp
push eax
call fcn.10007ade
mov ecx, dword [ebp + 0x24]
call fcn.100c6ae3
cmp eax, esi
je 0x100db00a
push dword [ebp + 0x50]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 0x30]
cmp edi, esi
je 0x100daf83
push dword [ebp + 0x50]
lea ecx, [ebp + 0x58]
call fcn.10005f82
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.100a8e6c
mov eax, dword [0x101f3028]
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.10004662
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x70]
call fcn.100c448d
lea ecx, [ebp + 0x58]
push ecx
push eax
lea eax, [ebp + 0x3c]
push eax
mov byte [ebp - 4], 0x11
call fcn.100100f8
mov edi, dword [eax]
push 1
push esi
push esi
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.100c3f2b
push eax
push edi
lea ecx, [ebp + 4]
call fcn.100a8e98
lea ecx, [ebp + 0x3c]
call fcn.10003b75
lea ecx, [ebp + 0x14]
call fcn.10003b75
lea ecx, [ebp + 0x58]
call fcn.10003b75
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0xd
call fcn.100a8e75
lea ecx, [ebp + 0x40]
call fcn.10003b75
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.100c490e
lea ecx, [ebp + 0x1c]
call fcn.10003b75
lea ecx, [ebp + 0x28]
call fcn.10003b75
lea ecx, [ebp + 0x50]
call fcn.10003b75
mov eax, dword [ebp + 0x30]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x100db047
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.10003b75
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi + 0x44]
cmp ecx, esi
je 0x100db067
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x44], esi
lea ecx, [ebp + 0xc]
call fcn.10003b75
lea ecx, [ebp + 8]
call fcn.10003b75
mov eax, dword [ebp + 0x2c]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x100db088
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