Function at 0x102f349
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
mov ebx, ecx
push 0xe
push dword [ebx + 4]
call esi
mov edi, eax
test edi, edi
jl 0x102f5a1
lea eax, [edi + edi + 2]
push eax
call fcn.010046b5
test eax, eax
pop ecx
mov dword [ebp - 8], eax
je 0x102f5a1
push eax
inc edi
push edi
push 0xd
push dword [ebx + 4]
call esi
test eax, eax
je 0x102f598
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp + 8]
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
call fcn.0102d4b9
push dword [ebx + 4]
and dword [ebp - 0x2c], 0
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub dword [ebp - 0x20], 0x14
call fcn.01026a3d
test eax, eax
mov dword [ebp - 0x48], eax
je 0x102f3f8
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc11
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
mov esi, dword [ebp - 0x34]
je 0x102f470
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x3c]
add dword [ebp - 0x20], 0x14
sub eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
add eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, edi
sub eax, dword [ebp - 0x38]
sub edi, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
sar ecx, 1
add ecx, dword [ebp - 0x3c]
cdq
sub eax, edx
mov dword [ebp - 0x18], ecx
sub ecx, dword [ebp - 0x28]
sar eax, 1
add eax, dword [ebp - 0x38]
add ecx, dword [ebp - 0x20]
add edi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edi
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x102f4d5
push 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.01028cde
mov eax, dword [ebx + 4]
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01028d40
mov eax, dword [eax + 4]
sub eax, edi
push 3
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], eax
call fcn.01028b74
mov ecx, dword [ebp - 4]
push dword [ebx + 4]
sub ecx, eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.01028d40
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
push 7
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0102ce63
add eax, dword [ebp - 0x3c]
push 3
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 4]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0102ce63
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x58], ecx
push 7
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0102ce63
sub esi, eax
mov eax, dword [ebx + 4]
push 3
lea ecx, [ebp - 4]
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], eax
call fcn.0102ce63
add eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.USER32.dll_GetSysColorBrush]
push 5
mov dword [ebp - 0x50], eax
call esi
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push 6
call esi
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
call dword [sym.imp.USER32.dll_FrameRect]
push 0x811
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 8]
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x48], 0
je 0x102f584
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x44]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x40]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 8]
call fcn.010046d6
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4