Function at 0x10d7469
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x111121c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
cmp eax, 0x18
mov esi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
ja 0x10d772b
je 0x10d76f4
push 2
pop ecx
sub eax, ecx
je 0x10d76e8
sub eax, 3
je 0x10d76c0
dec eax
je 0x10d7692
sub eax, 9
je 0x10d74d4
dec eax
jne 0x10d79ae
mov ecx, esi
call fcn.010d652a
jmp 0x10d78a0
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xa4]
push eax
push 0x9e4c
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xa0]
push 0x51
add eax, 0x2f
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x58], 0x25
mov dword [ebp - 0x54], eax
call fcn.010421bf
mov eax, dword [eax]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
jne 0x10d754f
push 5
call edi
mov ebx, dword [sym.imp.USER32.dll_FillRect]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x48]
call ebx
cmp dword [ebp - 0x84], 0
je 0x10d7574
push dword [ebp - 0x84]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x58]
inc eax
push 0
mov dword [ebp - 0x50], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x48]
call ebx
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 5
call edi
push eax
lea eax, [esi + 0x51c]
push eax
push dword [ebp - 0x48]
call ebx
mov eax, dword [esi + 0x528]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
push 0xf
mov dword [ebp - 0x54], eax
call edi
mov edi, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x50]
test ecx, ecx
mov ebx, 0xffffff
je 0x10d7604
and dword [ebp - 0x6c], 0
push ebx
lea eax, [ebp - 0x6c]
push eax
push edi
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x64], 0x2d
mov dword [ebp - 0x60], 0x25
call fcn.010c1287
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x10d7668
mov eax, dword [esi + 0x24]
dec eax
neg eax
sbb eax, eax
and dword [ebp - 0x68], 0
and eax, 0x15e
mov dword [ebp - 0x6c], eax
add eax, 0x15e
mov dword [ebp - 0x64], eax
push ebx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
push edi
mov dword [ebp - 0x94], 0x32
mov dword [ebp - 0x90], 5
mov dword [ebp - 0x8c], 0x190
mov dword [ebp - 0x88], 0x2a
mov dword [ebp - 0x60], 0x25
call fcn.010d700e
push edi
lea ecx, [esi + 0x484]
call fcn.010d5ca3
push edi
lea ecx, [esi + 0x4d0]
call fcn.010d5ca3
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x10d78a0
cmp dword [esi + 0x544], edx
je 0x10d79ae
cmp di, 1
je 0x10d76ad
cmp di, cx
jne 0x10d79ae
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x1c]
mov dword [ecx + 4], eax
call fcn.010cc3b5
jmp 0x10d79ae
cmp edi, 1
je 0x10d78a0
cmp edi, 4
je 0x10d78a0
mov eax, ebx
shr eax, 0x10
push eax
movzx eax, bx
push eax
mov ecx, esi
call fcn.010d654f
jmp 0x10d78a0
mov ecx, esi
call fcn.010d6703
jmp 0x10d78a0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 2
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esi + 0x24], 1
jne 0x10d7715
push dword [esi + 0x40]
jmp 0x10d7720
push 0x9d8b
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10d78a0
sub eax, 0x2b
je 0x10d7983
sub eax, 0x23
je 0x10d78f8
sub eax, 0xc3
je 0x10d7857
sub eax, 0x27
je 0x10d77e9
sub eax, 0xdc
jne 0x10d79ae
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
mov ecx, dword [esi + 0x52c]
mov edi, eax
sub edi, edx
cmp edi, ecx
mov edi, dword [ebp - 0x4c]
jge 0x10d779b
cmp edi, 4
je 0x10d7797
cmp edi, 1
je 0x10d7797
cmp edi, 7
je 0x10d7797
cmp edi, 5
je 0x10d7790
cmp edi, 2
je 0x10d7790
cmp edi, 8
jne 0x10d779b
add edx, ecx
mov dword [ebx + 8], edx
jmp 0x10d779b
sub eax, ecx
mov dword [ebx], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov esi, dword [esi + 0x530]
mov edx, eax
sub edx, ecx
cmp edx, esi
jge 0x10d79a7
cmp edi, 4
je 0x10d77df
cmp edi, 3
je 0x10d77df
cmp edi, 5
je 0x10d77df
cmp edi, 7
je 0x10d77d5
cmp edi, 6
je 0x10d77d5
cmp edi, 8
jne 0x10d79a7
add ecx, esi
mov dword [ebx + 0xc], ecx
jmp 0x10d79a7
sub eax, esi
mov dword [ebx + 4], eax
jmp 0x10d79a7
push 0x9e4c
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
push 1
push edi
jne 0x10d782f
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x48], 0
jne 0x10d7824
push 0x51
call fcn.0107689c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x48], eax
jmp 0x10d79ae
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x44], 0
jne 0x10d7852
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
jmp 0x10d7827
movzx eax, di
push 2
pop ecx
sub eax, ecx
je 0x10d74c8
sub eax, 0x9d89
je 0x10d78b2
sub eax, 0xbf
je 0x10d78a9
sub eax, 5
je 0x10d788e
dec eax
jne 0x10d79a7
cmp dword [esi + 0x28], edx
je 0x10d78a0
cmp dword [esi + 0x24], ecx
je 0x10d78a0
mov dword [esi + 0x24], ecx
jmp 0x10d7899
xor eax, eax
inc eax
cmp dword [esi + 0x24], eax
je 0x10d78a0
mov dword [esi + 0x24], eax
mov ecx, esi
call fcn.010d740f
and dword [ebp - 0x48], 0
jmp 0x10d79ae
mov ecx, esi
call fcn.010d6bb0
jmp 0x10d78a0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x9d8b
push dword [esi + 0x38]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
test eax, eax
setg cl
mov edi, 0x9e4a
mov eax, ecx
push eax
push edi
push dword [esi + 0x38]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
push 0x401
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10d78a0
mov eax, dword [ebx + 8]
cmp eax, 0xffffff62
je 0x10d7944
cmp eax, 0xffffff9b
je 0x10d7926
cmp eax, 0xfffffffd
jne 0x10d79ae
cmp dword [ebx + 0xc], 0xffffffff
je 0x10d79ae
mov ecx, esi
call fcn.010d6bb0
jmp 0x10d79a7
mov eax, dword [ebx + 0x14]
and eax, 2
push eax
push 0x9e4a
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10d79a7
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0x104b
push dword [esi + 0x40]
mov dword [ebp - 0x38], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10d79ae
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebp - 0x18]
call fcn.0106280c
jmp 0x10d79ae
cmp edi, 0x9e4f
jne 0x10d7993
mov ecx, dword [esi + 0x47c]
jmp 0x10d79a1
cmp edi, 0x9e50
jne 0x10d79ae
mov ecx, dword [esi + 0x480]
push ebx
call fcn.01075858
mov dword [ebp - 0x48], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 0xc