Function at 0x40c610
Capabilities:
Access peb ldr_data
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x40f2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov eax, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push 0x1111
lea ecx, [edi + 1]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x4c]
mov edx, ecx
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sub eax, 0x46
cdq
idiv edi
mov edx, dword [ecx]
mov dword [esi + 0x48], eax
imul eax, edi
lea eax, [eax + edx + 0x57]
mov edx, dword [esp + 0x48]
push edx
push ecx
push 0x5000000d
mov ecx, esi
mov dword [esi + 0x54], eax
call sub.MFC42.DLL_CListCtrl::Create
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1037
push eax
call ebx
mov ecx, dword [esi + 0x20]
or ah, 1
push eax
push 0
push 0x1036
push ecx
call ebx
lea ecx, [esp + 0x2c]
call fcn.0040e2a2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x413a9c
push 0
mov ecx, esi
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CListCtrl::InsertColumn
mov edx, dword [esi + 0x20]
push 0x46
push 0
push 0x101e
push edx
call ebx
mov eax, dword [esi + 0x44]
mov edi, 1
cmp eax, edi
jle 0x40c73b
lea eax, [edi - 1]
lea ecx, [esp + 0x2c]
push eax
push str._.2d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push edx
push edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
mov eax, dword [esi + 0x48]
and eax, 0xffff
push eax
mov eax, dword [esi + 0x20]
push edi
push 0x101e
push eax
call ebx
mov eax, dword [esi + 0x44]
inc edi
cmp edi, eax
jl 0x40c6f5
mov eax, dword [esi + 0x40]
xor edi, edi
test eax, eax
jle 0x40c763
push 0
push 0
push 0
push 0
push 0x413a9c
push edi
push 1
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::InsertItem
mov eax, dword [esi + 0x40]
inc edi
cmp edi, eax
jl 0x40c744
push ebp
xor edi, edi
lea ebp, [esi + 0x80]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0
push 0x1027
push edx
call ebx
add eax, edi
mov ecx, esi
push eax
call sub.MFC42.DLL_CListCtrl::GetItemRect
mov eax, dword [esp + 0x10]
lea ecx, [edi + 0x2111]
push ecx
lea edx, [esp + 0x14]
push esi
push edx
add eax, 0xd
push 0x50000003
push 0x413a9c
mov ecx, ebp
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CButton::Create
inc edi
add ebp, 0x40
cmp edi, 0xa
jl 0x40c76c
xor edi, edi
push 0x3111
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0x46
mov dword [esp + 0x48], 0xf
call sub.MFC42.DLL_CListCtrl::GetHeaderCtrl
push eax
lea eax, [esp + 0x40]
push eax
push 0x50000003
push 0x41375c
lea ecx, [esi + 0x300]
call sub.MFC42.DLL_CButton::Create
lea eax, [esi + 0x794]
pop ebp
cmp eax, edi
jne 0x40c80e
xor eax, eax
jmp 0x40c811
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x320]
push 1
push eax
push 0x30
push ecx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c