Function at 0x1000b0c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1024bd20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], ebx
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0xffffff
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push 2
push 0
push 0
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebx + 0x18]
call edi
cmp dword [esi + 0x3c], 0
mov dword [ebp - 0x88], eax
je 0x1000b150
push dword [esi + 0x28]
jmp 0x1000b15e
test byte [ebx + 0x10], 0x10
je 0x1000b15b
push dword [esi + 0x24]
jmp 0x1000b15e
push dword [esi + 0x2c]
push dword [ebx + 0x18]
call edi
push 6
push 6
push dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_RoundRect]
test byte [ebx + 0x10], 1
je 0x1000b1c4
movdqu xmm0, xmmword [ebp - 0x60]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_InflateRect]
push 0xf0f0f0
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 2
push 0
push 0
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push 0
push 0
push 0x129
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
shr ecx, 1
and eax, 1
and ecx, 1
mov dword [ebp - 0x68], eax
push 6
mov dword [ebp - 0x64], ecx
call esi
push 5
mov edi, eax
call esi
movdqu xmm0, xmmword [ebp - 0x60]
lea ecx, [edi + edi*2]
add eax, eax
neg ecx
neg eax
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
movdqu xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_InflateRect]
test byte [ebx + 0x10], 0x10
je 0x1000b22e
cmp dword [ebp - 0x68], 0
jne 0x1000b22e
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x60]
push 0
push 1
push 0xf6
push dword [esi + 4]
add edi, 0xa
mov dword [ebp - 0x68], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test ecx, ecx
je 0x1000b27c
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 3
push 0
push 0
sub eax, 0x10
push 0x10
cdq
push 0x10
sub eax, edx
push ecx
sar eax, 1
push eax
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawIconEx]
add edi, 0x1a
mov dword [ebp - 0x68], edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x70], eax
call fcn.1004401d
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x1000b2a4
push 0x80004005
call fcn.1000c1e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x74], edi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
jns 0x1000b2cb
push 0x80070057
call fcn.1000c1e0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x1000b2eb
push edx
lea ecx, [ebp - 0x74]
call fcn.1000bb30
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
push edx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [edi - 8]
push edi
call fcn.101793f6
add esp, 8
test eax, eax
js 0x1000b2c1
cmp eax, dword [edi - 8]
jg 0x1000b2c1
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi + 0x44]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi - 0xc], 0
mov dword [ebp - 0x84], eax
jl 0x1000b545
push 0x1021dbb8
push edi
call fcn.1017c546
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b545
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
je 0x1000b545
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000aec0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
mov eax, dword [edi - 0xc]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1000b040
cmp dword [ebp - 0x64], 0
mov ecx, 0x100460
mov esi, dword [ebp - 0x6c]
mov eax, 0x460
movdqu xmm0, xmmword [ebp - 0x60]
mov ebx, dword [ebp - 0x70]
cmovne eax, ecx
push eax
lea eax, [ebp - 0x40]
push eax
push 0xffffffffffffffff
push ebx
push dword [esi + 0x18]
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x58]
add ecx, 0xa
mov edx, dword [ebp - 0x68]
add eax, 0xfffffff6
push 1
push dword [esi + 0x18]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
test byte [esi + 0x10], 1
jne 0x1000b3ee
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x3c], 0
je 0x1000b3ee
push 0xe54a07
jmp 0x1000b3f3
push 0x993300
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebp - 0x64], 0
mov ecx, 0x100060
mov eax, 0x60
cmovne eax, ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x78]
push dword [eax + 0x48]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
movdqu xmm0, xmmword [ebp - 0x60]
mov esi, dword [ebp - 0x80]
add eax, 0xf
push 0xc50
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x6c]
push 0xffffffffffffffff
push esi
movdqu xmmword [ebp - 0x40], xmm0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], edx
add eax, 0xfffffff6
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
push 0x850
mov dword [ebp - 0x1c], edx
lea eax, [ecx + edx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
movdqu xmm0, xmmword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x6c]
push 0xffffffffffffffff
push esi
movdqu xmmword [ebp - 0x30], xmm0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000b4bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000b4da
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x6c]
push dword [ebp - 0x88]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x18]
call esi
push dword [ebp - 0x7c]
push dword [ebx + 0x18]
call esi
push dword [ebp - 0x84]
push dword [ebx + 0x18]
call esi
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000b522
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017868e
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp - 0x64], 0
mov ecx, 0x100460
movdqu xmm0, xmmword [ebp - 0x60]
mov eax, 0x460
cmovne eax, ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
push edi
push dword [ebx + 0x18]
movdqu xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
sub eax, esi
sub eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x54]
sub esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x58]
cdq
add ecx, 0xfffffff6
sub eax, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x68]
sar eax, 1
push 1
push dword [ebx + 0x18]
add esi, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.GDI32.dll_SetBkMode]
test byte [ebx + 0x10], 1
jne 0x1000b5bf
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x3c], 0
je 0x1000b5bf
push 0xe54a07
jmp 0x1000b5c4
push 0x993300
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebp - 0x64], 0
mov ecx, 0x100060
mov eax, 0x60
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x1000b4dd