Function at 0x420170
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50453b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x158
push esi
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.0046a650
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.00466660
lea ecx, [ebp - 0x30]
call fcn.0040c5e0
add esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
cmovae eax, dword [ebx + 8]
push eax
call dword [0x50c0b0]
push 0x64
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.004df7b0
add esp, 0xc
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
cmovae eax, dword [ebx + 0x20]
push dword [ebx + 0x30]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004df230
add esp, 0xc
lea eax, [ebp - 0x100]
push 0x64
push 0
push eax
call fcn.004df7b0
add esp, 0xc
mov eax, str.BitBlt
cmp dword [str.RegEnumKeyExA], 0x10
cmovae eax, dword [str.BitBlt]
push dword [0x533b54]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004df230
add esp, 0xc
lea eax, [ebp - 0x168]
push 0x64
push 0
push eax
call fcn.004df7b0
add esp, 0xc
mov eax, 0x533bd4
cmp dword [0x533be8], 0x10
cmovae eax, dword [0x533bd4]
push dword [0x533be4]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.004df230
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
add ecx, 0x12c
mov edx, dword [eax + 0x10]
cmp ecx, edx
ja 0x4202b8
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x4202af
mov edx, dword [eax]
mov dword [eax + 0x10], ecx
mov byte [ecx + edx], 0
jmp 0x4202c7
sub ecx, edx
push 0
push ecx
mov ecx, eax
call fcn.00468f30
mov eax, dword [ebp - 0x28]
mov edi, eax
mov edx, edi
cmp dword [edx + 0x14], 0x10
jb 0x4202d3
mov edi, dword [eax]
mov ecx, 0x19
lea esi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
cmp dword [edx + 0x14], 0x10
mov edi, edx
jb 0x4202ea
mov edi, dword [eax]
add edi, 0x64
lea esi, [ebp - 0x100]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
cmp dword [edx + 0x14], 0x10
mov edi, edx
jb 0x420304
mov edi, dword [eax]
add edi, 0xc8
lea esi, [ebp - 0x168]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
mov esi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x420324
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
jb 0x42032c
mov edx, dword [eax]
push dword [esi + 0x10]
lea eax, [edx + 0x12c]
push ecx
push eax
call fcn.004df230
add esp, 0xc
push 0
push 0xd0554
call fcn.00408920
mov edi, eax
mov dword [ebp - 0x18], 0xdbd8d8
mov eax, dword [0x533aac]
add esp, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov byte [ebp - 0x14], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 3
jb 0x420365
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov ecx, esp
lea edx, [ebp - 0x18]
xorps xmm0, xmm0
lea esi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x420395
sub edx, esi
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.00403410
mov ecx, dword [ebp - 0x1c]
mov edx, edi
call fcn.0041ec60
push 0
push 0xd0548
call fcn.00408920
mov ecx, dword [0x533aac]
add esp, 0x18
mov esi, dword [ebp - 0x24]
mov edx, esp
mov edi, eax
mov dword [edx], 0
mov dword [edx + 4], 0
test esi, esi
je 0x4203e3
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov dword [edx + 4], esi
mov edx, edi
call fcn.0041e890
push 0
push 0xd0554
call fcn.00408920
sub esp, 8
mov word [ebp - 0x1b], 0x33
mov ecx, esp
mov byte [ebp - 0x19], 0
mov edi, eax
lea edx, [ebp - 0x1b]
mov eax, dword [0x533aac]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
lea eax, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x18], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x420434
sub edx, dword [ebp - 0x18]
lea eax, [ebp - 0x1b]
push edx
push eax
call fcn.00403410
mov ecx, dword [ebp - 0x20]
mov edx, edi
call fcn.0041ec60
mov edi, dword [ebp - 0x2c]
add esp, 0x18
or eax, 0xffffffff
test edi, edi
je 0x420482
lock xadd dword [edi + 4], eax
jne 0x42047f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x42047f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or eax, 0xffffffff
test esi, esi
je 0x4204a5
lock xadd dword [esi + 4], eax
jne 0x4204a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4204a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x4204d5
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4204cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42052a
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x420517
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42050d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42052a
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2a70
int3