Function at 0x43b030
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47a04c
mov eax, dword fs:[0]
push eax
mov eax, 0x11cc
mov dword fs:[0], esp
call fcn.00457240
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x11d8]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x11d4], eax
push edi
mov dword [esp + 0x30], ebp
mov ebx, dword [esp + 0x11f0]
mov eax, dword [ebx - 4]
mov esi, dword [ebx - 0xc]
mov ecx, 1
mov dword [esp + 0x11e4], ecx
sub ecx, eax
mov eax, dword [ebx - 8]
sub eax, esi
or eax, ecx
jge 0x43b0a4
push esi
lea ecx, [esp + 0x11f4]
call fcn.00402310
mov ebx, dword [esp + 0x11f0]
push ebx
call fcn.004588fd
mov ecx, dword [esp + 0x11f8]
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
mov eax, dword [ebx - 0xc]
mov edx, dword [ecx - 0xc]
mov dword [esp + 0x18], eax
mov eax, 0x5c
add esp, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], 0x2c
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x99
mov dword [esp + 0x50], 0x83
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x9c
mov dword [esp + 0x5c], 0x11
mov dword [esp + 0x60], 0xbc
mov dword [esp + 0x64], 0x4d
mov dword [esp + 0x68], 0x54
mov dword [esp + 0x6c], 0x4f
mov dword [esp + 0x70], 0x65
mov dword [esp + 0x74], 0x35
mov dword [esp + 0x78], 0xc6
mov dword [esp + 0x7c], 0x64
xor esi, esi
mov dword [esp + 0x20], ebp
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x11e4], 2
xor eax, eax
lea esp, [esp]
mov dword [esp + eax*4 + 0x1d0], eax
inc eax
cmp eax, 0x200
jle 0x43b170
xor eax, eax
lea ecx, [esp + 0x1d0]
jmp 0x43b190
lea edx, [eax + esi]
mov esi, edx
and esi, 0x800000ff
jns 0x43b1a5
dec esi
or esi, 0xffffff00
inc esi
mov edx, dword [ecx]
mov edi, dword [esp + esi*4 + 0x1d0]
mov dword [ecx], edi
add eax, 2
add ecx, 4
cmp eax, 0x400
mov dword [esp + esi*4 + 0x1d0], edx
jle 0x43b190
mov eax, dword [esp + 0x11f8]
cmp eax, 1
mov ecx, 0x10
jne 0x43b204
xor eax, eax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
lea ecx, [ecx]
mov esi, dword [esp + ecx*4 + 0x1d0]
lea edx, [eax + 0x30]
inc eax
cmp eax, 0xa
mov dword [esp + esi*4 + 0x9d4], edx
jne 0x43b1f9
xor eax, eax
inc ecx
cmp ecx, 0x200
jle 0x43b1e0
jmp 0x43b25c
cmp eax, 2
jne 0x43b254
mov dword [esp + 0x2c], ecx
xor esi, esi
xor edx, edx
xor cl, cl
xor eax, eax
test cl, cl
mov edi, dword [esp + eax*4 + 0x1d0]
je 0x43b236
lea ecx, [esi + 0x30]
inc esi
cmp esi, 0xa
mov dword [esp + edi*4 + 0x9d4], ecx
jne 0x43b232
xor esi, esi
xor cl, cl
jmp 0x43b24a
lea ecx, [edx + 0x41]
inc edx
cmp edx, 0x1a
mov dword [esp + edi*4 + 0x9d4], ecx
jne 0x43b248
xor edx, edx
mov cl, 1
inc eax
cmp eax, 0x200
jle 0x43b215
jmp 0x43b25c
mov dword [esp + 0x2c], 8
mov esi, dword [esp + 0x20]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
mov edx, 1
jle 0x43b2a7
nop
mov al, byte [ecx + ebx]
movsx eax, al
add eax, 0x12
xor dword [esp + edx*4 + 0xa8], eax
add esi, dword [esp + edx*4 + 0xa8]
inc edx
cmp edx, 9
jne 0x43b2a2
mov edx, 1
inc ecx
cmp ecx, edi
jl 0x43b280
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
jle 0x43b2fb
mov edi, dword [esp + 0x11f4]
jmp 0x43b2d0
mov al, byte [ecx + edi]
movsx eax, al
add eax, 0x19
xor dword [esp + edx*4 + 0x80], eax
add ebp, dword [esp + edx*4 + 0x80]
inc edx
cmp edx, 9
jne 0x43b2f2
mov edx, 1
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
jl 0x43b2d0
lea eax, [esi + ebp]
and eax, 0x800001ff
jns 0x43b30c
dec eax
or eax, 0xfffffe00
inc eax
mov esi, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, 0x47e490
mov byte [esp + 0x11e4], 3
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b340
sub eax, ecx
push eax
push 0x47e490
lea ecx, [esp + 0x18]
call fcn.00402770
cmp dword [esp + 0x2c], esi
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], esi
jl 0x43b669
lea ebx, [ebx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + eax*4 + 0x3c]
mov esi, dword [esp + eax*4 + 0x80]
xor esi, ecx
mov dword [esp + eax*4 + 0x80], esi
mov eax, dword [esp + eax*4 + 0xa8]
mov ecx, esi
xor eax, ecx
and eax, 0x800001ff
jns 0x43b3a1
dec eax
or eax, 0xfffffe00
inc eax
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x11f8]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp ecx, 3
jne 0x43b615
cmp eax, 0x10
push 0x10
jge 0x43b487
lea edx, [esp + 0xd4]
push edx
push eax
call fcn.0045b666
lea eax, [esp + 0xdc]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b3e2
sub eax, ecx
push eax
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402770
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push 0x47ecc8
push edx
call fcn.00402a60
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ebx, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [esp + 0x18], ebx
add ebx, edx
mov edi, esi
sub eax, ebx
sub edi, ebp
or eax, ecx
mov byte [esp + 0x11e4], 4
mov dword [esp + 0x14], edx
jge 0x43b459
push ebx
lea ecx, [esp + 0x14]
call fcn.00402310
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
ja 0x43b462
lea esi, [edi + ebp]
mov eax, dword [esp + 0x18]
mov ecx, edx
shr ecx, 2
lea edi, [eax + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc], ebx
mov byte [ebx + ebp], 0
mov eax, dword [esp + 0x38]
jmp 0x43b53d
lea ecx, [esp + 0xd4]
push ecx
push eax
call fcn.0045b666
lea eax, [esp + 0xdc]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b4a2
sub eax, ecx
push eax
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x2c]
call fcn.00402770
push 2
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
call fcn.00408600
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ebx, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [esp + 0x18], ebx
add ebx, edx
mov edi, esi
sub eax, ebx
sub edi, ebp
or eax, ecx
mov byte [esp + 0x11e4], 5
mov dword [esp + 0x14], edx
jge 0x43b512
push ebx
lea ecx, [esp + 0x14]
call fcn.00402310
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
ja 0x43b51b
lea esi, [edi + ebp]
mov ecx, edx
mov edx, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
lea edi, [edx + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc], ebx
mov byte [ebx + ebp], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x11e4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b55f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x1c], 2
jne 0x43b5f2
mov eax, dword [esp + 0x28]
cmp eax, 0x12
jge 0x43b5f2
inc eax
mov edi, 0x47f1f8
mov dword [esp + 0x28], eax
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b586
mov edx, dword [ebp - 0xc]
sub eax, ecx
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
lea ebx, [edx + esi]
mov dword [esp + 0x18], edi
sub eax, ebx
sub edi, ebp
or eax, ecx
mov dword [esp + 0x14], edx
jge 0x43b5c6
push ebx
lea ecx, [esp + 0x14]
call fcn.00402310
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edi, edx
ja 0x43b5d0
add edi, ebp
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc], ebx
mov byte [ebx + ebp], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esi, 2
inc eax
cmp eax, 3
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], eax
jne 0x43b64d
mov dword [esp + 0x1c], 1
jmp 0x43b64d
mov bl, byte [esp + eax*4 + 0x9d4]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x43b643
push esi
lea ecx, [esp + 0x14]
call fcn.00402310
mov ebp, dword [esp + 0x10]
mov byte [edi + ebp], bl
mov dword [ebp - 0xc], esi
mov byte [esi + ebp], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x43b370
mov ebx, dword [esp + 0x11f0]
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
sub eax, esi
or eax, ecx
jge 0x43b68d
push esi
lea ecx, [esp + 0x14]
call fcn.00402310
mov ebp, dword [esp + 0x10]
push ebp
call fcn.004588fd
mov dword [ebp - 0xc], esi
mov byte [esi + ebp], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
add ebp, 0xfffffff0
add esp, 4
call dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
lea ecx, [ebp + 0xc]
jl 0x43b6c4
cmp eax, dword [ebp]
jne 0x43b6c4
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43b6f7
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x43b6d9
jmp fcn.004020b0
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x11ec]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x11e4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x11e4], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b749
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x11e4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b76b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x11f4]
add eax, 0xfffffff0
mov dword [esp + 0x11e4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x11dc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11d0]
xor ecx, dword [esp + 0x11e0]
pop ebp
pop ebx
add esp, 0x11d8
jmp fcn.00456aa7