Function at 0x100185e0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x1003efe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebp, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp + 4]
mov dword [esp + 0x2c], ebx
call fcn.100178f0
mov dword [esp + 0x30], esi
call fcn.100178f0
test al, al
je 0x1001864c
push str.tooltip
push esi
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xac]
cmp eax, ebx
mov byte [esp + 0x5c], 1
je 0x100186c5
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
jl 0x10018688
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x6c]
push eax
mov eax, dword [ebp + 0xac]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov al, byte [esp + 0x6c]
test al, al
je 0x100186b7
push ebx
xor ecx, ecx
push ecx
mov ecx, dword [ebp + 0xac]
xor eax, eax
push eax
push edi
push ebx
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x34], eax
test byte [ebp + 0x54], 1
je 0x1001876f
mov eax, dword [esp + 0x14]
cmp eax, ebx
jle 0x100186de
add eax, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.10017950
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add ecx, ebx
cmp eax, esi
mov dword [esp + 0x14], ecx
jg 0x1001870a
mov dword [esp + 0x18], esi
mov al, byte [esp + 0x6c]
test al, al
je 0x10018769
mov ecx, dword [esp + 0x3c]
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
xor edx, edx
test eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
je 0x10018748
push edx
lea ecx, [esp + 0x20]
push ecx
push 1
push 5
push edi
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
jmp 0x10018769
push 0x4000
push 1
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
test eax, eax
jne 0x10018769
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
sub dword [esp + 0x3c], ebx
xor ebx, ebx
mov eax, dword [0x10060b24]
mov ecx, 0x10060b24
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x68], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0xff
or eax, ecx
mov byte [esp + 0x5c], 2
jge 0x100187b0
push 0xff
lea ecx, [esp + 0x6c]
call fcn.10003162
mov esi, dword [esp + 0x68]
mov ecx, dword [ebp + 4]
push 0xff
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, ebx
jne 0x100187c8
xor eax, eax
jmp 0x100187df
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100187d0
sub eax, edx
js 0x10018922
cmp eax, dword [esi - 8]
jg 0x10018922
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [esi - 0xc]
cmp eax, ebx
je 0x100188cc
mov eax, dword [ebp + 0x60]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jle 0x10018818
add eax, 8
mov dword [esp + 0x14], eax
push 0xc60
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [sym.imp.USER32.dll_DrawTextA]
push edi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
sub eax, edx
cmp ecx, eax
jg 0x10018868
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x6c]
test al, al
je 0x100188be
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], eax
push 1
add eax, edx
mov dword [esp + 0x54], ecx
push edi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebp, dword [ebp + 0x68]
push ebp
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x865
lea eax, [esp + 0x48]
push eax
push 0xffffffffffffffff
push esi
push edi
call ebx
mov ecx, dword [esp + 0x68]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
xor ebx, ebx
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [edi + 4], eax
lea eax, [esi - 0x10]
mov dword [edi], edx
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100188fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1001890b
push eax
call dword [sym.imp.UxTheme.dll_CloseThemeData]
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
push 0x80070057
call fcn.10001a46
int3