Function at 0x4c6ab0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, ecx
call fcn.004d6950
test byte [ebx + 0xc], 3
je 0x4c6e5f
mov eax, dword [ebx + 0x18]
push eax
call sub.MFC42.dll_CDC::FromHandle
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 0xe0]
mov ebx, dword [edx + ecx*4]
mov esi, eax
mov eax, dword [ebp + 8]
test byte [eax + 0x10], 1
mov ecx, dword [esi]
je 0x4c6b03
push 0xe
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebp - 0x14]
jmp 0x4c6b11
push 8
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov dword [ebp - 0x14], ecx
call fcn.00454d30
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 8]
push 0
push eax
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
mov ecx, dword [edi + 0x5c]
movsx edx, word [ecx + 0x18]
mov eax, dword [ebp - 0x10]
add edx, eax
push 0x8824
add eax, 5
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
mov eax, dword [esi]
mov edx, dword [ebx + 0x10]
mov eax, dword [eax + 0x70]
push 0xffffffffffffffff
push edx
mov ecx, esi
call eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 1
push eax
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
add dword [ebp - 0x10], 0xa
movzx ecx, byte [ebx + 9]
movzx edx, byte [ebx + 8]
push ecx
push edx
lea eax, [ebp - 0x118]
push str._u__u
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
add esp, 0x10
push 0x8824
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
lea eax, [ebp - 0x10]
push eax
push 0
push 2
push edx
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
add dword [ebp - 0x10], 5
mov eax, dword [esi]
push 0x8824
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + 0x70]
push ecx
push 0xffffffffffffffff
push edx
mov ecx, esi
call eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 3
push eax
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
add dword [ebp - 0x10], 5
mov ecx, dword [ebx + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
push 0x8824
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
lea eax, [ebp - 0x10]
push eax
push 0
push 6
push edx
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
add dword [ebp - 0x10], 5
movzx eax, word [ebx + 0xc]
push eax
lea ecx, [ebp - 0x118]
push 0x6045cc
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
add esp, 0xc
push 0x8824
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
lea eax, [ebp - 0x10]
push eax
push 0
push 7
push edx
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
add dword [ebp - 0x10], 5
movzx eax, word [ebx + 0xe]
push eax
lea ecx, [ebp - 0x118]
push 0x6045cc
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
add esp, 0xc
push 0x8824
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call edx
cmp byte [ebx + 0xa], 0
je 0x4c6d2d
call fcn.004b2270
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 5
push edx
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
push 0
cdq
sub eax, edx
sar eax, 1
sub eax, 8
mov dword [ebp - 0x10], eax
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push 2
cdq
sub eax, edx
sar eax, 1
sub eax, 9
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
add eax, 0x10
push esi
mov dword [ebp - 4], eax
call fcn.004d2640
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
lea edx, [ebp - 0x10]
push edx
push 0
push 4
push ecx
mov ecx, edi
call sub.MFC42.dll_CListCtrl::GetSubItemRect
mov ecx, dword [0x6a3108]
call fcn.00446fd0
test al, al
je 0x4c6dee
add dword [ebp - 0x10], 5
movzx eax, word [ebx + 6]
test ax, ax
jle 0x4c6dad
mov edx, 0x270f
cmp ax, dx
jg 0x4c6dad
mov ecx, edx
cmp ax, cx
jne 0x4c6d94
mov edx, dword [str.Down]
mov al, byte [0x613480]
mov ecx, dword [ebp + 8]
test byte [ecx + 0x10], 1
mov dword [ebp - 0x118], edx
mov byte [ebp - 0x114], al
jmp 0x4c6dc0
cwde
push eax
lea ecx, [ebp - 0x118]
push 0x6045cc
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
jmp 0x4c6dd1
mov eax, dword [ebp + 8]
test byte [eax + 0x10], 1
mov edx, 0x3f
mov word [ebp - 0x118], dx
jne 0x4c6dd1
mov edi, dword [esi]
call fcn.004542d0
mov edx, dword [edi + 0x38]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
push 0x8824
lea ecx, [ebp - 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
mov ecx, esi
call eax
jmp 0x4c6e52
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, 6
add edx, 4
mov dword [ebp - 0x10], eax
lea ecx, [edx + 8]
add eax, 0x23
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
movzx ecx, word [ebx + 6]
test cx, cx
jle 0x4c6e52
mov eax, 0x270f
cmp cx, ax
jg 0x4c6e52
mov eax, dword [edi + 0xc8]
movzx eax, word [eax + 0xc14]
mov edi, dword [ebp - 0x10]
push eax
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 8], edx
mov edx, dword [ebp - 4]
push ecx
push esi
mov dword [eax + 0xc], edx
call fcn.00454540
add esp, 0x20
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4