Function at 0x10020cee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x100e5bc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x334], eax
xor eax, eax
xor ebx, ebx
and dword [ebp - 0x328], ebx
lea edi, [ebp - 0x324]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edx
inc edi
push ecx
mov dword [ebp - 0x32c], edx
mov dword [ebp - 0x314], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x328]
push eax
push 0x1005b573
push esi
mov dword [ebp - 0x330], esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp - 0x328], ebx
je 0x10021069
cmp dword [ebp - 0x324], ebx
je 0x10021069
cmp dword [ebp - 0x320], ebx
je 0x10021069
cmp dword [ebp - 0x31c], ebx
je 0x10021069
lea eax, [ebp - 0x310]
push eax
push ebx
push 0x466
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x40
pop esi
push esi
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.10074510
push esi
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.10074510
push esi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.10074510
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.10074510
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
add esp, 0x30
lea eax, [ebp - 0x104]
push 0x20
push eax
push dword [ebp - 0x328]
call esi
push 0x20
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x324]
call esi
push 0x20
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x320]
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x31c]
call esi
and dword [ebp - 0x318], ebx
mov esi, dword [ebp - 0x334]
mov eax, dword [esi + 0xc]
shl eax, 6
lea eax, [ebp + eax - 0x104]
test eax, eax
je 0x10020e78
push 0x20
push eax
call fcn.100779cf
pop ecx
pop ecx
mov ecx, dword [ebp - 0x318]
cmp ecx, eax
jae 0x10020e78
mov eax, dword [esi + 0xc]
shl eax, 5
add eax, ecx
movzx eax, byte [ebp + eax*2 - 0x104]
push eax
call fcn.1007895a
pop ecx
test eax, eax
je 0x10020e72
inc dword [ebp - 0x318]
jmp 0x10020e2a
and dword [ebp - 0x314], ebx
mov eax, dword [esi + 0xc]
shl eax, 6
lea eax, [ebp + eax - 0x104]
test eax, eax
je 0x10021069
push 0x20
push eax
call fcn.100779cf
pop ecx
pop ecx
test eax, eax
je 0x10021069
mov eax, dword [ebp - 0x32c]
mov ecx, 0xff
cmp eax, 0x2d6
jne 0x10020efa
cmp dword [esi + 0xc], ebx
jne 0x10020ee0
cmp dword [ebp - 0x314], ebx
je 0x10020edc
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x10020edc
cmp eax, 0x7f
je 0x10020edc
cmp eax, 0xe0
jl 0x10021065
mov ebx, edi
lea edi, [ecx - 0x20]
jmp 0x10020f46
mov ebx, edi
jmp 0x10020f46
cmp dword [ebp - 0x314], ebx
je 0x10020f41
cmp dword [esi + 0x10], ebx
jl 0x10020f41
cmp dword [esi + 0x10], ecx
jle 0x10021065
mov edi, ecx
jmp 0x10020f43
cmp eax, 0x2d4
jne 0x10020f34
cmp dword [esi + 0xc], ebx
jne 0x10020ee0
mov eax, dword [esi + 0x10]
cmp eax, 0xe0
jl 0x10020f19
push 3
mov edi, 0xdf
jmp 0x10020f45
cmp dword [ebp - 0x314], ebx
je 0x10020f2e
cmp eax, 0x7f
je 0x10020f2e
test eax, eax
jns 0x10021065
push 3
xor edi, edi
jmp 0x10020f45
cmp eax, 0x2da
jne 0x10021065
jmp 0x10020ee0
xor edi, edi
push 2
pop ebx
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x10020fbd
dec eax
je 0x10020fab
dec eax
je 0x10020f8a
dec eax
jne 0x10020ff2
mov ecx, dword [ebp - 0x310]
mov edx, ecx
sar edx, 0x18
mov eax, ecx
shl edx, 8
sar eax, 0x10
and eax, 0xff
add edx, eax
sar ecx, 8
shl edx, 8
and ecx, 0xff
add edx, ecx
shl edx, 8
add edx, edi
jmp 0x10020fec
mov ecx, dword [ebp - 0x310]
mov edx, ecx
sar edx, 0x18
mov eax, ecx
sar eax, 0x10
shl edx, 8
and eax, 0xff
add edx, eax
shl edx, 8
add edx, edi
jmp 0x10020fe4
mov ecx, dword [ebp - 0x310]
mov edx, ecx
sar edx, 0x18
shl edx, 8
add edx, edi
jmp 0x10020fd5
mov ecx, dword [ebp - 0x310]
mov edx, ecx
sar edx, 0x10
mov eax, edi
and edx, 0xff
shl eax, 8
add edx, eax
mov eax, ecx
sar eax, 8
and eax, 0xff
shl edx, 8
add edx, eax
movzx eax, cl
shl edx, 8
add edx, eax
mov dword [ebp - 0x310], edx
cmp dword [ebp + 0x14], 0
je 0x10021065
mov eax, ebx
dec eax
je 0x10021011
dec eax
je 0x1002100a
dec eax
jne 0x1002101c
push 0x1014
jmp 0x10021016
push 0x1012
jmp 0x10021016
push 0x1011
call fcn.1005868d
pop ecx
push 0xa
push 0x104
lea eax, [ebp - 0x30c]
push eax
push edi
call fcn.100787ff
mov eax, dword [esi + 0xc]
add esp, 0x10
cmp eax, 4
jge 0x1002104f
lea ecx, [ebp - 0x30c]
push ecx
push dword [ebp + eax*4 - 0x328]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [esi + 0xc]
push 0x468
push dword [ebp - 0x330]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, ebx
jmp 0x1002106b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075551
leave
ret 0x10