Function at 0x4cc820
Capabilities:
Get graphical window text

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x5c
mov ebp, ecx
mov dword [esp], 0x561b70
mov eax, dword [ebp + 0xe8]
mov dword [esp + 4], eax
call fcn.004267a0
mov ebx, eax
lea esi, [ebp + 0xa0]
mov edi, dword [ebp + 0xc0]
xor edx, edx
push edx
push edx
push 0x1009
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, 0x3e8
jle 0x4cc88f
mov dl, byte [esp + 0x70]
test dl, dl
je 0x4cc885
mov dword [esp], 0x40d
mov dword [esp + 4], 0x77d220
mov dword [esp + 8], ebx
call fcn.005041f0
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret 4
test ebx, ebx
jne 0x4cc8b9
mov al, byte [esp + 0x70]
test al, al
je 0x4cc8af
mov dword [esp], 0x45d
mov dword [esp + 4], 0x77dbe0
call fcn.005041f0
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov edx, dword [ebp + 0xc0]
push 0
push ebx
push 0x102f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0xf4]
test edx, edx
je 0x4cc8e1
mov dword [esp], edx
call dword [sym.imp.MSVCRT.dll_free]
mov dword [esp], ebx
mov dword [esp + 4], 0x28
call dword [sym.imp.MSVCRT.dll_calloc]
mov dword [ebp + 0xf4], eax
mov ecx, 1
mov edx, dword [ebp + 0xe8]
cmp edx, 1
jne 0x4cc90f
mov ecx, 2
jmp 0x4cc919
cmp edx, 2
jne 0x4cc919
mov ecx, 4
xor edx, edx
mov edi, dword [ebp + 0xe4]
test edi, edi
jne 0x4cca56
xor eax, eax
mov edi, dword [0x561b70]
test edi, edi
mov dword [esp + 0x4c], edi
jle 0x4ccb72
mov edi, eax
shl edi, 4
lea edi, [edi + eax*4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], ebp
mov ebp, dword [0x561b74]
xor ebx, ebx
mov edx, dword [edi + ebp]
test edx, edx
jle 0x4cca39
mov dword [esp + 0x3c], eax
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [edi + ebp + 8]
mov eax, ebx
sar eax, 3
movzx esi, byte [eax + ecx]
mov eax, 1
mov ecx, ebx
and ecx, 7
shl eax, cl
test eax, esi
je 0x4cca23
mov esi, dword [esp + 0x44]
mov eax, dword [edi + ebp + 4]
mov dword [esp + 0x4c], esi
inc esi
or eax, ebx
mov dword [esp + 0x44], esi
movzx edx, ax
push ebx
push edx
mov ecx, dword [esp + 0x48]
call fcn.004cce50
mov dword [esp + 0x38], eax
mov eax, dword [edi + ebp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004260e0
mov esi, eax
mov edx, dword [edi + ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp], edx
mov edx, dword [ecx + 0xe8]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004260e0
movzx edx, word [edi + ebp + 4]
push eax
push esi
push ebx
push edx
mov eax, dword [esp + 0x48]
push eax
mov esi, dword [esp + 0x60]
push esi
mov ecx, dword [esp + 0x58]
call fcn.004ccc10
mov edx, dword [edi + ebp]
add ebx, dword [esp + 0x48]
cmp ebx, edx
jl 0x4cc980
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x561b70]
add edi, 0x14
inc eax
cmp eax, ecx
jl 0x4cc95d
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
jmp 0x4ccb72
xor eax, eax
mov edi, dword [0x561b70]
test edi, edi
mov dword [esp + 0x3c], edi
jle 0x4ccb72
mov edi, eax
shl edi, 4
lea edi, [edi + eax*4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], ebp
mov ebp, dword [0x561b74]
xor ebx, ebx
mov edx, dword [edi + ebp]
test edx, edx
jle 0x4ccb5a
mov dword [esp + 0x4c], eax
mov eax, dword [edi + ebp + 8]
mov ecx, ebx
sar ecx, 3
movzx esi, byte [ecx + eax]
mov eax, 1
mov ecx, ebx
and ecx, 7
shl eax, cl
test eax, esi
je 0x4ccb44
mov esi, dword [esp + 0x44]
mov edx, dword [edi + ebp + 4]
mov dword [esp + 0x3c], esi
inc esi
or edx, ebx
mov dword [esp + 0x44], esi
movzx eax, dx
push ebx
push eax
mov ecx, dword [esp + 0x48]
call fcn.004cce50
mov dword [esp + 0x38], eax
mov ecx, dword [edi + ebp + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00426140
mov esi, eax
mov edx, dword [edi + ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp], edx
mov edx, dword [ecx + 0xe8]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00426140
movzx edx, word [edi + ebp + 4]
push eax
push esi
push ebx
push edx
mov esi, dword [esp + 0x48]
push esi
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [esp + 0x58]
call fcn.004ccc10
mov edx, dword [edi + ebp]
add ebx, dword [esp + 0x48]
cmp ebx, edx
jl 0x4ccaa1
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x561b70]
add edi, 0x14
inc eax
cmp eax, ecx
jl 0x4cca8a
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
xor eax, eax
test ebx, ebx
jle 0x4ccc05
mov edx, eax
shl edx, 5
lea edi, [edx + eax*8]
mov dword [esp + 0x50], esi
mov esi, ebp
mov ebp, ebx
mov ebx, eax
mov esi, esi
mov dword [esp + 0x10], 0xd
xor ecx, ecx
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
movzx edx, word [edi + eax + 4]
mov eax, dword [edi + eax]
shl eax, 0x10
or edx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0xffffffff
mov edx, dword [esi + 0xc0]
push eax
push ecx
push 0x1007
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 1
push ebx
mov ecx, dword [esp + 0x5c]
call sub.MFC42.DLL_CListCtrl::SetItemText
push 0xffffffffffffffff
push 2
push ebx
mov ecx, dword [esp + 0x5c]
call sub.MFC42.DLL_CListCtrl::SetItemText
add edi, 0x28
inc ebx
cmp ebx, ebp
jl 0x4ccb90
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret 4