Function at 0x411d20
Capabilities:
Check os version
Get number of processors
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c66b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5d8
mov ecx, dword [0x4b824c]
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x244]
push eax
call fcn.00402f50
lea edi, [esp + 0x240]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411d64
mov ecx, dword [str.save_]
mov dx, word [0x49f1a0]
mov eax, dword [ebp + 8]
mov dword [edi], ecx
mov word [edi + 4], dx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411d84
lea edi, [esp + 0x240]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411d95
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x240]
and ecx, 3
push 0x49e380
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0047a6fa
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x24], esi
je 0x4120f5
lea ecx, [esp + 0x348]
call fcn.00463d40
push 0x18
push 1
push 0x60
push 0x80
lea ecx, [esp + 0x358]
mov dword [esp + 0x5fc], 0
call fcn.00462c00
mov ecx, dword [esp + 0x378]
push esi
push 0x9000
push 1
push ecx
call fcn.0047acf1
add esp, 0x10
lea ecx, [esp + 0x348]
call fcn.00460240
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
push esi
mov dword [esp + 0x44], edx
push 0x24
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x34]
mov dword [esp + 0x50], edx
push 1
push eax
mov dword [esp + 0x5c], edx
call fcn.0047acf1
push esi
xor eax, eax
mov ecx, 0x64
lea edi, [esp + 0xc4]
push 0x190
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc8]
push 1
push ecx
call fcn.0047acf1
xor edx, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
push esi
mov dword [esp + 0x84], edx
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x94]
push 0x20
mov dword [esp + 0x8c], edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x90], edx
push 1
push eax
mov dword [esp + 0x9c], edx
call fcn.0047acf1
push esi
push 0x40
lea ecx, [esp + 0xa8]
push 1
push ecx
call fcn.0047acf1
mov eax, dword [0x4b824c]
mov edx, dword [eax + 0xb0c]
mov ebx, dword [ebp + 0xc]
add esp, 0x40
push 0
push 0
push 0
mov ecx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edx
call fcn.00455040
push 0
mov ecx, ebx
call fcn.004608c0
mov ecx, eax
call fcn.0045b0d0
mov eax, dword [ebp + 0x14]
xor edi, edi
xor esi, esi
add eax, 0x30
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + edi + 0xb0]
push eax
call fcn.00401e10
cmp eax, 1
jne 0x411f91
mov cl, byte [esp + edi + 0xb0]
mov dl, byte [esp + edi + 0xb1]
push 0xff
push 0xff
xor eax, eax
mov word [esp + 0x18], ax
push 0xff
push 0x18
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x20], cl
push eax
mov byte [esp + 0x25], dl
mov edx, dword [ebp + 0x10]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
push eax
push ebx
push 0x18
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00424dc0
add esi, 2
inc edi
jmp 0x412001
mov al, byte [esp + edi + 0xb0]
cmp al, 0xd
jne 0x411fc4
cmp byte [esp + edi + 0xb1], 0xa
jne 0x411fc4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
xor esi, esi
inc eax
add ecx, 0x18
inc edi
cmp eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jge 0x41200e
jmp 0x412001
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
push 0xff
push 0xff
push 0xff
push 0x18
push edx
mov word [esp + 0x28], 0
mov byte [esp + 0x28], al
lea eax, [esi + esi*2]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
push edx
push ebx
push 0x18
lea eax, [esp + 0x34]
push eax
call fcn.00424dc0
inc esi
inc edi
cmp edi, 0x190
jb 0x411f23
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push 0xff
push 0xff
push 0xff
push 0x18
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esi + 0xfa]
push edx
push ebx
push 0x18
lea eax, [esp + 0x90]
push eax
call fcn.00424dc0
mov edx, dword [esp + 0x30]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x4d8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
lea ecx, [esp + 0x4f0]
push str._d__02d__02d__02d:_02d:_02d
push ecx
call dword [0x49e25c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x3c]
add esp, 0x20
push 0xff
push 0xff
push 0xff
push 0x18
push edx
push esi
push ebx
push 0x18
lea eax, [esp + 0x4f8]
push eax
call fcn.00424dc0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0047a57a
add esp, 4
lea ecx, [esp + 0x348]
mov dword [esp + 0x5ec], 0xffffffff
call fcn.00463b90
mov eax, 1
mov ecx, dword [esp + 0x5e4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x5e4]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10