Function at 0x42f2b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x74
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x58], 0xffffffff
call fcn.0042ee60
mov ebp, eax
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x10], ebp
jl 0x42f5ff
jne 0x42f2f0
mov eax, dword [esi + 0x20]
push edi
push edi
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
add esp, 0x74
ret 4
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x20]
push ebx
push edi
mov eax, dword [ecx + 0xe40]
push edi
mov ecx, eax
push 0x1004
and ecx, 1
push edx
mov dword [esp + 0x44], ecx
mov ecx, eax
shr ecx, 1
shr eax, 2
and ecx, 1
and eax, 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov dword [esp + 0x2c], ebx
lea eax, [ebx*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
jle 0x42f37e
mov ebp, eax
lea ecx, [esp + 0x44]
push 0x20
push ecx
push 0
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText_1
lea edx, [esp + 0x44]
push edx
call fcn.00446830
add esp, 4
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, ebx
jl 0x42f351
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
add edi, 4
mov ecx, dword [eax + 0x1a8]
test ebp, ebp
mov dword [esp + 0x30], ecx
jle 0x42f551
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x42f53b
mov eax, dword [esp + 0x34]
xor ebp, ebp
cmp eax, ebp
je 0x42f3c3
cmp byte [edi + 4], 0x19
jne 0x42f53b
push 2
push ebp
lea ecx, [esp + 0x1c]
push ebp
push ecx
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi + 0x5c]
xor edx, edx
mov dx, word [edi + 6]
push eax
push edx
call fcn.00425d40
push eax
call sub.ntdll.dll_ZwDuplicateObject
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 0x38
push ebp
push ecx
mov ecx, esi
mov dword [esp + 0x34], ebp
call fcn.0042eec0
test eax, eax
jl 0x42f530
mov eax, dword [esi + 0x6c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x18]
push eax
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.0042eec0
test eax, eax
jl 0x42f449
mov eax, dword [esi + 0x6c]
cmp word [eax], 0
jbe 0x42f449
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
test eax, eax
jbe 0x42f460
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0042ef40
mov ebp, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42f474
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f530
mov edx, dword [esi + 0x7c]
mov eax, dword [esp + 0x18]
xor ecx, ecx
inc eax
mov cx, word [edi + 6]
mov dword [esp + 0x18], eax
mov dword [edx + eax*4 - 4], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dx, word [edi + 6]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0042f850
test eax, eax
jge 0x42f530
xor eax, eax
lea ecx, [esp + 0x64]
mov ax, word [edi + 6]
push eax
push 0x4a7298
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x64]
mov ecx, esi
push 0
push 0
push 0
push 0
push edx
push ebx
push 1
call sub.MFC42.DLL_CListCtrl::InsertItem
push ebx
push 0
push 0
push 0
push 0
push 4
push 0
push ebx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
test ebp, ebp
je 0x42f4ff
push ebp
push 1
push ebx
mov ecx, esi
call fcn.0042efc0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f526
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x42f51b
push eax
mov ecx, esi
call fcn.0042f050
mov dword [esp + 0x10], eax
push eax
push 2
push ebx
mov ecx, esi
call fcn.0042efc0
mov ecx, dword [esp + 0x1c]
inc ecx
inc ebx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
add edi, 0x10
dec eax
mov dword [esp + 0x28], eax
jne 0x42f3a1
mov ebx, dword [esp + 0x2c]
lea edi, [ebx - 1]
xor ebp, ebp
test edi, edi
jl 0x42f5a3
mov ecx, dword [esp + 0x20]
lea edx, [ecx + edi*4]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x7c]
push eax
mov eax, dword [edx]
push ecx
push eax
mov ecx, esi
call fcn.0042f850
test eax, eax
jge 0x42f593
mov ecx, dword [esi + 0x20]
push 0
push edi
push 0x1008
push ecx
inc ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x14]
dec edi
sub ecx, 4
test edi, edi
mov dword [esp + 0x14], ecx
jge 0x42f565
mov eax, dword [esp + 0x88]
sub ebx, ebp
test eax, eax
mov dword [esi + 0x58], ebx
jne 0x42f5ba
mov dword [esi + 0x58], 0xffffffff
test ebp, ebp
jle 0x42f5e3
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x42f5e3
mov edi, ebx
mov ebx, eax
push edi
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
inc edi
dec ebx
jne 0x42f5ca
mov edx, dword [esp + 0x20]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x20]
add esp, 4
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x74
ret 4