Function at 0x401af0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43f7c9
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.0041237e
mov dword [esp + 0x1c], ebx
push 0x4489d3
lea ecx, [esi + 0x78]
mov dword [esi], vtable.CDownloader_DemoDlg.0
call fcn.00408a90
lea edi, [esi + 0x7c]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.0040a567
mov dword [edi], vtable.CProgressCtrl.0
lea edi, [esi + 0xd0]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0040a567
mov dword [edi], vtable.CTreeCtrl.0
lea edi, [esi + 0x124]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.0040a567
mov dword [edi], vtable.CStatic.0
lea ecx, [esi + 0x178]
mov byte [esp + 0x1c], 4
call fcn.00412f38
lea ecx, [esi + 0x180]
mov byte [esp + 0x1c], 5
call fcn.00412f38
lea edi, [esi + 0x1a4]
mov byte [esp + 0x1c], 6
mov ecx, edi
mov dword [esi + 0x1a0], ebx
call fcn.0040a567
mov dword [edi], vtable.CRichEditCtrl.0
mov byte [esp + 0x1c], 7
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401bdd
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1f8], eax
push fcn.00401a90
push fcn.00401640
push 0x64
push 4
lea ecx, [esi + 0x1fc]
push ecx
mov byte [esp + 0x30], 8
call fcn.00428d27
mov byte [esp + 0x1c], 9
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401c2d
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x38c], eax
push fcn.00401a90
push fcn.00401640
push 0x64
push 4
lea ecx, [esi + 0x390]
push ecx
mov byte [esp + 0x30], 0xa
call fcn.00428d27
mov byte [esp + 0x1c], 0xb
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401c7d
push 0x80004005
call fcn.004017c0
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.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401cae
push 0x80004005
call fcn.004017c0
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.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401cdf
push 0x80004005
call fcn.004017c0
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.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401d10
push 0x80004005
call fcn.004017c0
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.0040a567
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.0040a567
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.0040a567
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.0040a567
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 + 0x758]
mov ecx, edi
mov byte [esp + 0x1c], 0x13
call fcn.0040a567
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 + 0x7cc]
mov byte [esp + 0x1c], 0x14
call fcn.004085f0
mov byte [esp + 0x1c], 0x15
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401e46
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7ec], eax
mov byte [esp + 0x1c], 0x16
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401e77
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7f0], eax
mov byte [esp + 0x1c], 0x17
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401ea8
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7f4], eax
mov byte [esp + 0x1c], 0x18
call fcn.00413fe6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401ed9
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7f8], eax
lea ecx, [esi + 0x914]
mov byte [esp + 0x1c], 0x19
call fcn.004150fd
push fcn.00415216
push fcn.004150fd
push 0x14
push 0x10
lea ecx, [esi + 0x924]
push ecx
mov byte [esp + 0x30], 0x1a
call fcn.00428d27
lea edi, [esi + 0xac4]
mov ecx, edi
mov byte [esp + 0x1c], 0x1b
call fcn.0040a567
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0xb18]
mov ecx, edi
mov byte [esp + 0x1c], 0x1c
call fcn.0040a567
mov dword [edi], vtable.CTreeCtrl.0
lea edi, [esi + 0xb6c]
mov ecx, edi
mov byte [esp + 0x1c], 0x1d
call fcn.0040a567
mov dword [edi], vtable.CTreeCtrl.0
mov byte [esp + 0x1c], 0x1e
call fcn.004103db
call fcn.004103db
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 + 0xac0], bl
mov dword [esi + 0x534], ebx
mov dword [esi + 0x8f8], ebx
mov dword [esi + 0x8fc], ebx
mov dword [esi + 0x8f4], ebx
mov dword [esi + 0x90c], ebx
mov dword [esi + 0x910], ebx
mov dword [esi + 0xa64], 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