Function at 0x401ae0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43f7ca
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4535c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
push ebx
push 0x66
mov ecx, esi
call fcn.004123e4
mov dword [esp + 0x1c], ebx
push 0x44899b
lea ecx, [esi + 0x78]
mov dword [esi], vtable.CDownloader_DemoDlg.0
call fcn.00408a40
lea edi, [esi + 0x7c]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.0040a52b
mov dword [edi], vtable.CProgressCtrl.0
lea edi, [esi + 0xd0]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0040a52b
mov dword [edi], vtable.CTreeCtrl.0
lea edi, [esi + 0x124]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.0040a52b
mov dword [edi], vtable.CStatic.0
lea ecx, [esi + 0x178]
mov byte [esp + 0x1c], 4
call fcn.00412f9f
lea ecx, [esi + 0x180]
mov byte [esp + 0x1c], 5
call fcn.00412f9f
lea edi, [esi + 0x1a4]
mov byte [esp + 0x1c], 6
mov ecx, edi
mov dword [esi + 0x1a0], ebx
call fcn.0040a52b
mov dword [edi], vtable.CRichEditCtrl.0
mov byte [esp + 0x1c], 7
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401bcd
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1f8], eax
push fcn.00401a80
push fcn.00401630
push 0x64
push 4
lea ecx, [esi + 0x1fc]
push ecx
mov byte [esp + 0x30], 8
call fcn.00428d4c
mov byte [esp + 0x1c], 9
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401c1d
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x38c], eax
push fcn.00401a80
push fcn.00401630
push 0x64
push 4
lea ecx, [esi + 0x390]
push ecx
mov byte [esp + 0x30], 0xa
call fcn.00428d4c
mov byte [esp + 0x1c], 0xb
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401c6d
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x520], eax
mov byte [esp + 0x1c], 0xc
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401c9e
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x524], eax
mov byte [esp + 0x1c], 0xd
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401ccf
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x528], eax
mov byte [esp + 0x1c], 0xe
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401d00
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x52c], eax
lea edi, [esi + 0x588]
mov ecx, edi
mov byte [esp + 0x1c], 0xf
call fcn.0040a52b
mov dword [edi], vtable.CBitmapButton.0
mov dword [edi + 0x58], ebx
mov ebp, vtable.CBitmap.0
mov dword [edi + 0x54], ebp
mov dword [edi + 0x60], ebx
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x68], ebx
mov dword [edi + 0x64], ebp
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebp
lea edi, [esi + 0x5fc]
mov ecx, edi
mov byte [esp + 0x1c], 0x10
call fcn.0040a52b
mov dword [edi], vtable.CBitmapButton.0
mov dword [edi + 0x58], ebx
mov dword [edi + 0x54], ebp
mov dword [edi + 0x60], ebx
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x68], ebx
mov dword [edi + 0x64], ebp
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebp
lea edi, [esi + 0x670]
mov ecx, edi
mov byte [esp + 0x1c], 0x11
call fcn.0040a52b
mov dword [edi], vtable.CBitmapButton.0
mov dword [edi + 0x58], ebx
mov dword [edi + 0x54], ebp
mov dword [edi + 0x60], ebx
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x68], ebx
mov dword [edi + 0x64], ebp
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebp
lea edi, [esi + 0x6e4]
mov ecx, edi
mov byte [esp + 0x1c], 0x12
call fcn.0040a52b
mov dword [edi], vtable.CBitmapButton.0
mov dword [edi + 0x58], ebx
mov dword [edi + 0x54], ebp
mov dword [edi + 0x60], ebx
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x68], ebx
mov dword [edi + 0x64], ebp
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebp
lea ecx, [esi + 0x758]
mov byte [esp + 0x1c], 0x13
call fcn.004085a0
mov byte [esp + 0x1c], 0x14
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401e06
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x778], eax
mov byte [esp + 0x1c], 0x15
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401e37
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x77c], eax
mov byte [esp + 0x1c], 0x16
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401e68
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x780], eax
mov byte [esp + 0x1c], 0x17
call fcn.0041402b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401e99
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x784], eax
lea ecx, [esi + 0x8a0]
mov byte [esp + 0x1c], 0x18
call fcn.00415196
push fcn.004152af
push fcn.00415196
push 0x14
push 0x10
lea ecx, [esi + 0x8b0]
push ecx
mov byte [esp + 0x30], 0x19
call fcn.00428d4c
lea edi, [esi + 0xa50]
mov ecx, edi
mov byte [esp + 0x1c], 0x1a
call fcn.0040a52b
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0xaa4]
mov ecx, edi
mov byte [esp + 0x1c], 0x1b
call fcn.0040a52b
mov dword [edi], vtable.CTreeCtrl.0
lea edi, [esi + 0xaf8]
mov ecx, edi
mov byte [esp + 0x1c], 0x1c
call fcn.0040a52b
mov dword [edi], vtable.CTreeCtrl.0
mov byte [esp + 0x1c], 0x1d
call fcn.0041039e
call fcn.0041039e
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x74], eax
mov dword [0x457624], ebx
mov dword [0x4575cc], ebx
mov dword [0x457620], ebx
mov dword [0x4575c4], ebx
mov byte [0x4575c8], bl
mov byte [esi + 0xa4c], bl
mov dword [esi + 0x534], ebx
mov dword [esi + 0x884], ebx
mov dword [esi + 0x888], ebx
mov dword [esi + 0x880], ebx
mov dword [esi + 0x898], ebx
mov dword [esi + 0x89c], ebx
mov dword [esi + 0x9f0], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4