Function at 0x401fc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43cc3f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f418]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, edx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x30]
mov word [esi + 8], cx
push ebp
lea ecx, [esi + 0xc]
mov dword [esi], vtable.CDType.0
mov dword [esi + 4], eax
call fcn.00403b50
push ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x28], edi
call fcn.00403b50
lea edi, [esi + 0x18]
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00409360
mov dword [edi], vtable.CTypedPtrArray_class_CPtrArray__class_CListBase__.0
lea edi, [esi + 0x40]
mov ecx, edi
mov byte [esp + 0x24], 2
call fcn.00409360
mov dword [edi], vtable.CTypedPtrArray_class_CPtrArray__class_CDType__.0
push 0x34
mov byte [esp + 0x28], 3
call fcn.0040900c
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
mov byte [esp + 0x24], 4
je 0x402080
mov eax, dword [esi + 4]
push ebp
push eax
push edi
mov edx, str.Dlist
xor ecx, ecx
call fcn.00405100
mov dword [edi], vtable.CDataList.0
jmp 0x402082
xor edi, edi
mov byte [esp + 0x24], 3
push 0x34
mov dword [esi + 0x14], edi
call fcn.0040900c
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
mov byte [esp + 0x24], 5
je 0x4020c0
mov eax, dword [esi + 4]
push ebp
push eax
push edi
mov edx, str.Trash
mov ecx, 2
call fcn.00405100
mov dword [edi], vtable.CTrashList.0
jmp 0x4020c2
xor edi, edi
mov byte [esp + 0x24], 3
push 0x34
mov dword [esi + 0x2c], edi
call fcn.0040900c
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
mov byte [esp + 0x24], 6
je 0x402100
mov eax, dword [esi + 4]
push ebp
push eax
push edi
mov edx, 0x44363c
mov ecx, 3
call fcn.00405100
mov dword [edi], vtable.CAccList.0
jmp 0x402102
xor edi, edi
mov byte [esp + 0x24], 3
push 0x34
mov dword [esi + 0x30], edi
call fcn.0040900c
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
mov byte [esp + 0x24], 7
je 0x402140
mov eax, dword [esi + 4]
push ebp
push eax
push edi
mov edx, 0x4447e4
mov ecx, 4
call fcn.00405100
mov dword [edi], vtable.CUsrList.0
jmp 0x402142
xor edi, edi
mov byte [esp + 0x24], 3
push ebx
lea ecx, [esp + 0x38]
mov dword [esi + 0x34], edi
call fcn.00403b50
mov ebx, 8
push 0x2c
mov byte [esp + 0x28], bl
call fcn.0040900c
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
mov byte [esp + 0x24], 9
je 0x40218d
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 4]
push edx
push eax
push edi
call fcn.004047d0
mov dword [edi], vtable.CRealDataFolder.0
jmp 0x40218f
xor edi, edi
mov byte [esp + 0x24], bl
push 0x2c
mov dword [esi + 0x38], edi
call fcn.0040900c
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x24], 0xa
je 0x4021e8
push str.INFO
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00403700
add esp, 0xc
mov byte [esp + 0x24], 0xb
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push eax
push ecx
push edi
mov dword [esp + 0x20], 1
call fcn.004047d0
mov dword [edi], vtable.CCopyInfoFolder.0
jmp 0x4021ea
xor edi, edi
mov dword [esp + 0x24], ebx
test byte [esp + 0x14], 1
mov dword [esi + 0x3c], edi
je 0x402218
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40223d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc