Function at 0x10003300
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10024080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push 0x140
push 0x140
push 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x30]
push 0
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x80]
push 0
call sub.mfc140.dll_Ordinal_6853
mov ecx, dword [esi + 0x80]
push 1
call sub.mfc140.dll_Ordinal_6853
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
mov ecx, dword [esi + 0x80]
push 0
call sub.mfc140.dll_Ordinal_6853
mov ecx, dword [esi + 0x80]
push 1
mov dword [ebp - 0x38], eax
call sub.mfc140.dll_Ordinal_6853
mov ecx, dword [esi + 0x80]
mov edi, eax
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
mov ecx, dword [esi + 0x80]
imul edi, eax
mov eax, dword [ecx + 0x540]
add eax, edi
mov edi, 0xa0
mov dword [ebp - 0x34], eax
mov eax, edi
sub eax, dword [ecx + 0x53c]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
call sym.TreeList.dll_public:_class_CTreeListHeaderCtrl____thiscall_CTreeListCtrl::GetHeaderCtrl_void_
mov ecx, eax
call fcn.100128f0
sub edi, dword [ebp - 0x34]
mov ecx, dword [esi + 0x80]
add eax, edi
mov dword [ebp - 0x38], eax
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
mov ecx, eax
mov eax, dword [ebp - 0x38]
cdq
idiv ecx
mov ecx, dword [esi + 0x80]
mov edi, eax
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
mov ecx, eax
xorps xmm0, xmm0
mov eax, 0x140
cdq
idiv ecx
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x48], eax
xor eax, eax
neg edi
movups xmmword [ebp - 0x20], xmm0
cmovns eax, edi
mov dword [ebp - 0x3c], eax
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
mov ecx, dword [esi + 0x80]
mov edi, eax
call sym.TreeList.dll_protected:_int___thiscall_CTreeListCtrl::GetWidth_void_
push edi
push eax
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push dword [ebp - 0x40]
push eax
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
call edi
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
imul eax, dword [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call edi
mov eax, dword [esi + 0x80]
lea ecx, [ebp - 0x58]
push dword [eax + 0xc8]
push 1
push 0
call sub.mfc140.dll_Ordinal_898
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call sub.mfc140.dll_Ordinal_13027
mov edx, dword [edi]
mov ecx, dword [esi + 0x80]
add ecx, 0xd4
mov dword [ebp - 0x50], eax
push ecx
mov edx, dword [edx + 0x30]
mov ecx, edi
call edx
push 1
mov ecx, edi
mov dword [ebp - 0x40], eax
call sub.mfc140.dll_Ordinal_13234
push dword [ebp - 0x3c]
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x44], eax
call sym.TreeList.dll_private:_class_CTreeListItem____thiscall_CTreeListCtrl::GetFirstShowItem_int_
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
add eax, 2
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x3c], eax
jge 0x1000358f
nop word [eax + eax]
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetVisibleCount_void_
cmp dword [ebp - 0x3c], eax
jge 0x1000358f
push dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push edi
movups xmmword [eax], xmm0
call fcn.10001e40
mov eax, dword [esi + 0x80]
test dword [eax + 0xd0], 0x4000
je 0x10003555
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x28]
jge 0x10003555
mov eax, dword [ebp - 0x14]
dec eax
push eax
push ecx
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call sub.mfc140.dll_Ordinal_8770
mov eax, dword [ebp - 0x14]
mov ecx, edi
dec eax
push eax
push dword [ebp - 0x28]
call sub.mfc140.dll_Ordinal_8326
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x80]
inc dword [ebp - 0x3c]
push 1
push dword [ebp - 0x34]
call sym.TreeList.dll_private:_class_CTreeListItem____thiscall_CTreeListCtrl::GetNextShowItem_class_CTreeListItem___int_
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], eax
jl 0x100034f0
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetVisibleCount_void_
test eax, eax
jle 0x100035da
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xd0]
and eax, 0x3200
cmp eax, 0x200
jne 0x100035da
mov eax, dword [ebp - 0x1c]
mov ecx, edi
dec eax
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x4c]
push eax
call sub.mfc140.dll_Ordinal_8770
mov eax, dword [ebp - 0x1c]
mov ecx, edi
dec eax
push eax
mov eax, dword [ebp - 0x18]
dec eax
push eax
call sub.mfc140.dll_Ordinal_8326
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetVisibleCount_void_
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x38]
jg 0x10003668
nop dword [eax]
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x10
mov ecx, esp
push edi
movups xmmword [ecx], xmm0
mov ecx, esi
call fcn.10001c80
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xd0]
and eax, 0x5000
cmp eax, 0x5000
jne 0x10003644
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x28]
jge 0x10003644
mov eax, dword [ebp - 0x14]
dec eax
push eax
push ecx
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call sub.mfc140.dll_Ordinal_8770
mov eax, dword [ebp - 0x14]
mov ecx, edi
dec eax
push eax
push dword [ebp - 0x28]
call sub.mfc140.dll_Ordinal_8326
mov ecx, dword [esi + 0x80]
call sym.TreeList.dll_public:_int___thiscall_CTreeListCtrl::GetItemHeight_void_
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x38]
jle 0x100035f0
push dword [ebp - 0x44]
mov ecx, edi
call sub.mfc140.dll_Ordinal_13234
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x40]
call dword [eax + 0x30]
push dword [ebp - 0x50]
mov ecx, edi
call sub.mfc140.dll_Ordinal_13027
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.CPen.0
call fcn.10001730
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100162a0
mov esp, ebp
pop ebp
ret 4