Function at 0x10d73c0
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 0x10d7682
je 0x10d764b
push 2
pop ecx
sub eax, ecx
je 0x10d763f
sub eax, 3
je 0x10d7617
dec eax
je 0x10d75e9
sub eax, 9
je 0x10d742b
dec eax
jne 0x10d7905
mov ecx, esi
call fcn.010d6481
jmp 0x10d77f7
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.0104211f
mov eax, dword [eax]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
jne 0x10d74a6
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 0x10d74cb
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 0x10d755b
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.010c11de
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x10d75bf
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.010d6f65
push edi
lea ecx, [esi + 0x484]
call fcn.010d5bfa
push edi
lea ecx, [esi + 0x4d0]
call fcn.010d5bfa
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x10d77f7
cmp dword [esi + 0x544], edx
je 0x10d7905
cmp di, 1
je 0x10d7604
cmp di, cx
jne 0x10d7905
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x1c]
mov dword [ecx + 4], eax
call fcn.010cc30c
jmp 0x10d7905
cmp edi, 1
je 0x10d77f7
cmp edi, 4
je 0x10d77f7
mov eax, ebx
shr eax, 0x10
push eax
movzx eax, bx
push eax
mov ecx, esi
call fcn.010d64a6
jmp 0x10d77f7
mov ecx, esi
call fcn.010d665a
jmp 0x10d77f7
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 0x10d766c
push dword [esi + 0x40]
jmp 0x10d7677
push 0x9d8b
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10d77f7
sub eax, 0x2b
je 0x10d78da
sub eax, 0x23
je 0x10d784f
sub eax, 0xc3
je 0x10d77ae
sub eax, 0x27
je 0x10d7740
sub eax, 0xdc
jne 0x10d7905
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 0x10d76f2
cmp edi, 4
je 0x10d76ee
cmp edi, 1
je 0x10d76ee
cmp edi, 7
je 0x10d76ee
cmp edi, 5
je 0x10d76e7
cmp edi, 2
je 0x10d76e7
cmp edi, 8
jne 0x10d76f2
add edx, ecx
mov dword [ebx + 8], edx
jmp 0x10d76f2
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 0x10d78fe
cmp edi, 4
je 0x10d7736
cmp edi, 3
je 0x10d7736
cmp edi, 5
je 0x10d7736
cmp edi, 7
je 0x10d772c
cmp edi, 6
je 0x10d772c
cmp edi, 8
jne 0x10d78fe
add ecx, esi
mov dword [ebx + 0xc], ecx
jmp 0x10d78fe
sub eax, esi
mov dword [ebx + 4], eax
jmp 0x10d78fe
push 0x9e4c
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
push 1
push edi
jne 0x10d7786
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x48], 0
jne 0x10d777b
push 0x51
call fcn.010767fc
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 0x10d7905
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x44], 0
jne 0x10d77a9
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
jmp 0x10d777e
movzx eax, di
push 2
pop ecx
sub eax, ecx
je 0x10d741f
sub eax, 0x9d89
je 0x10d7809
sub eax, 0xbf
je 0x10d7800
sub eax, 5
je 0x10d77e5
dec eax
jne 0x10d78fe
cmp dword [esi + 0x28], edx
je 0x10d77f7
cmp dword [esi + 0x24], ecx
je 0x10d77f7
mov dword [esi + 0x24], ecx
jmp 0x10d77f0
xor eax, eax
inc eax
cmp dword [esi + 0x24], eax
je 0x10d77f7
mov dword [esi + 0x24], eax
mov ecx, esi
call fcn.010d7366
and dword [ebp - 0x48], 0
jmp 0x10d7905
mov ecx, esi
call fcn.010d6b07
jmp 0x10d77f7
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 0x10d77f7
mov eax, dword [ebx + 8]
cmp eax, 0xffffff62
je 0x10d789b
cmp eax, 0xffffff9b
je 0x10d787d
cmp eax, 0xfffffffd
jne 0x10d7905
cmp dword [ebx + 0xc], 0xffffffff
je 0x10d7905
mov ecx, esi
call fcn.010d6b07
jmp 0x10d78fe
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 0x10d78fe
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 0x10d7905
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebp - 0x18]
call fcn.0106276c
jmp 0x10d7905
cmp edi, 0x9e4f
jne 0x10d78ea
mov ecx, dword [esi + 0x47c]
jmp 0x10d78f8
cmp edi, 0x9e50
jne 0x10d7905
mov ecx, dword [esi + 0x480]
push ebx
call fcn.010757b8
mov dword [ebp - 0x48], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
pop edi
pop esi
pop ebx
call fcn.0105ec09
leave
ret 0xc