Function at 0x4078f0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40ba40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 5
mov esi, ecx
push eax
call fcn.00406fc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3eb
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push 0x33
push ecx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3fb
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 0x10
push edx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3e8
mov dword [esp + 0x38], 2
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
push 7
push eax
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3ea
mov dword [esp + 0x38], 3
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
mov dword [esp + 0x30], 4
push eax
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 0xe
push edx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3ed
mov dword [esp + 0x38], 5
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x574]
test eax, eax
je 0x407abf
mov eax, dword [esi + 0x520]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push eax
call edi
lea ecx, [esi + 0x500]
mov dword [esi + 0x554], ebp
call sub.MFC42.DLL_CListCtrl::GetHeaderCtrl
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x1200
push ecx
call edi
test eax, eax
jle 0x407abf
mov ebx, eax
mov edx, dword [esi + 0x520]
push 0
push 0
push 0x101c
push edx
call edi
dec ebx
jne 0x407aaa
mov ecx, dword [esi + 0x520]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x10]
sub edi, ebx
push 0xf
push edx
mov ecx, esi
sub edi, 3
call fcn.00406fc0
mov ecx, dword [eax]
mov eax, 0x2aaaaaab
imul edi
mov eax, edx
push ebp
shr eax, 0x1f
add edx, eax
lea edi, [esi + 0x500]
mov ebx, edx
mov dword [esp + 0x34], 6
lea eax, [ebx + 5]
push eax
push 0
push ecx
push 0
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
lea ecx, [ebx + 5]
push ebp
push ecx
push 0
push eax
push 1
mov ecx, edi
mov dword [esp + 0x44], 7
call sub.MFC42.DLL_CListCtrl::InsertColumn
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
lea ecx, [ebx + 0x18]
push ebp
push ecx
push 0
push eax
push 2
mov ecx, edi
mov dword [esp + 0x44], 8
call sub.MFC42.DLL_CListCtrl::InsertColumn
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 2
push edx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
mov dword [esp + 0x30], 9
lea ecx, [ebx + 4]
push ebp
push ecx
push 0
push eax
push 3
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 3
push edx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
lea ecx, [ebx - 0xf]
push ebp
push ecx
push 0
push eax
push 4
mov ecx, edi
mov dword [esp + 0x44], 0xa
call sub.MFC42.DLL_CListCtrl::InsertColumn
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push 4
push edx
mov ecx, esi
call fcn.00406fc0
mov eax, dword [eax]
add ebx, 0xffffffec
push ebp
push ebx
push 0
push eax
push 5
mov ecx, edi
mov dword [esp + 0x44], 0xb
call sub.MFC42.DLL_CListCtrl::InsertColumn
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x520]
push 0x31
push 0
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret