Function at 0x570050
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d0d46
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x67ff88]
xor eax, esp
mov dword [esp + 0x8c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x8d8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2c]
xor esi, esi
mov dword [esp + 0x30], edi
test eax, eax
je 0x5700a4
mov esi, dword [eax + 0x114]
test esi, esi
jne 0x5700ce
mov ecx, dword [0x68cc7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
test eax, eax
je 0x5700ce
mov ecx, dword [0x68cc7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
mov esi, dword [eax + 0x114]
xor eax, eax
mov word [0x691c88], ax
mov eax, dword [edi + 0xcc]
mov edx, eax
xor ecx, ecx
shr edx, 4
mov word [esp + 0xc8], cx
mov dword [esp + 0x1c], 4
test dl, 1
je 0x570100
mov dword [esp + 0x1c], 0x1804
cmp byte [edi + 0x1c8], 0
je 0x570111
or dword [esp + 0x1c], 0x880020
mov ecx, eax
shr ecx, 5
test cl, 1
je 0x570123
or dword [esp + 0x1c], 0x80200
mov edx, eax
shr edx, 7
test dl, 1
jne 0x570132
or dword [esp + 0x1c], 8
shr eax, 2
test al, 1
je 0x57013e
or dword [esp + 0x1c], 2
push 0x64
lea eax, [esp + 0x48]
push 0
push eax
call fcn.00576e90
mov ecx, dword [0x67e028]
mov edx, dword [edi + 0x1a0]
mov dword [esp + 0x50], ecx
mov ecx, dword [section..data]
lea eax, [esp + 0xd4]
add esp, 0xc
mov dword [esp + 0x48], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x406
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x1a4]
mov ebp, dword [edx - 8]
add edi, 0x1a4
push ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x8e4], 0
mov dword [esp + 0x2c], edi
call fcn.004ce850
xor esi, esi
test ebp, ebp
jbe 0x57021a
jmp 0x5701b8
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.004ce770
mov eax, dword [edi]
movzx ebx, word [eax + esi*2]
movzx eax, bx
cmp eax, 0x2f
je 0x5701d4
cmp eax, 0x5c
je 0x5701d9
jmp 0x570209
mov ebx, 0x5c
lea edi, [ebp - 1]
cmp esi, edi
jae 0x570209
mov ecx, dword [esp + 0x28]
call fcn.004ce770
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
movzx eax, word [edx + esi*2 + 2]
cmp ax, 0x5c
je 0x570200
cmp ax, 0x2f
jne 0x570209
test esi, esi
jbe 0x570209
inc esi
cmp esi, edi
jb 0x5701e0
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.004cf460
inc esi
cmp esi, ebp
jb 0x5701b4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
push 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x74], eax
mov dword [esp + 0x8c], 0x56fd60
call fcn.004ce530
push 0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x8e4], 1
call fcn.004ce530
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [ebx + 0x1b0]
push ecx
mov byte [esp + 0x8ec], 2
call fcn.004ec2d0
mov edi, eax
mov eax, dword [section..data]
add esp, 0xc
mov dword [esp + 0x20], eax
xor esi, esi
mov byte [esp + 0x8e0], 3
test edi, edi
jbe 0x5702ff
lea ecx, [ecx]
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004cf8d0
push 1
push 0x613d24
push 1
lea ecx, [esp + 0x2c]
call fcn.004cf8d0
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004cf8d0
push 1
push 0x613d24
push 1
lea ecx, [esp + 0x2c]
call fcn.004cf8d0
inc esi
cmp esi, edi
jb 0x5702a0
mov eax, dword [esp + 0x20]
xor esi, esi
cmp dword [eax - 8], esi
jbe 0x57032d
movzx ecx, word [eax + esi*2]
cmp cx, 0x7c
jne 0x570327
lea ecx, [esp + 0x20]
call fcn.004ce770
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [eax - 8]
jb 0x570306
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x1b4]
inc eax
lea ebp, [ebx + 0x1ac]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp]
push 0xfffd
push eax
push 0x691c88
mov dword [esp + 0x44], ebp
call fcn.0057e4e0
mov edx, dword [section..data]
xor ecx, ecx
add esp, 0xc
mov word [0x6b1c82], cx
mov dword [esp + 0x60], 0x691c88
mov dword [esp + 0x64], 0xfffe
mov dword [esp + 0x34], edx
mov eax, dword [ebx + 0xcc]
shr eax, 1
mov byte [esp + 0x8e0], 4
test al, 1
je 0x57051f
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax - 1]
test eax, eax
jle 0x5703dc
mov edi, eax
lea esp, [esp]
test edx, edx
je 0x5703d1
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5703c0
sub eax, esi
sar eax, 1
jmp 0x5703d3
xor eax, eax
sub edi, 1
lea edx, [edx + eax*2 + 2]
jne 0x5703b0
test edx, edx
jne 0x5703e5
mov edx, 0x63141c
mov ecx, dword [0x5f09fc]
push ecx
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.004cf3b0
mov edx, dword [0x5f09fc]
push edx
push 0
push 0x613d20
lea ecx, [esp + 0x30]
mov byte [esp + 0x8ec], 5
call fcn.004cf3b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
mov bl, 6
push edx
mov byte [esp + 0x8ec], bl
call fcn.00565b20
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8e4], 7
call fcn.004cecf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x57046b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x57046b
call fcn.004ce2e0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 5
cmp eax, 0xffffffff
je 0x57048e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x57048e
call fcn.004ce2e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 4
cmp eax, 0xffffffff
je 0x5704b1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5704b1
call fcn.004ce2e0
push 0
push 0x613d18
lea ecx, [esp + 0x3c]
call fcn.004cfc50
test al, al
je 0x57051b
mov eax, dword [0x5f09fc]
push eax
push 2
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.004cfb90
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8e4], 8
call fcn.004cecf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 4
cmp eax, 0xffffffff
je 0x570510
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x570510
call fcn.004ce2e0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
call fcn.004ec240
mov ecx, dword [ebx + 0xcc]
push ecx
lea esi, [esp + 0x2c]
lea eax, [esp + 0x4c]
mov byte [esp + 0x8e8], 9
call fcn.0056fc60
add esp, 8
mov byte [esp + 0x17], al
test al, al
jne 0x5705f2
cmp dword [esp + 0x24], 0x3002
jne 0x570590
mov eax, dword [esp + 0x60]
cmp word [eax], 0
je 0x570a0a
mov ebx, dword [esp + 0x30]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebx + 0xcc]
push eax
lea eax, [esp + 0x48]
call fcn.0056fc60
add esp, 4
mov byte [esp + 0x17], al
test al, al
jne 0x5705ee
cmp dword [esp + 0x24], 1
jne 0x570a0a
mov eax, 0x4c
cmp dword [esp + 0x44], eax
je 0x570a0a
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x44], eax
push ecx
lea esi, [esp + 0x28]
lea eax, [esp + 0x48]
call fcn.0056fc60
add esp, 4
mov byte [esp + 0x17], al
test al, al
jne 0x5705dc
cmp dword [esp + 0x24], 0
jne 0x570a0a
mov edx, dword [esp + 0x44]
mov dword [0x67e028], edx
test al, al
je 0x570a0a
mov ebp, dword [esp + 0x38]
test byte [esp + 0x1c], 8
je 0x570606
lea eax, [esp + 0x40]
push eax
call fcn.004ebcd0
add esp, 4
lea ecx, [ebx + 0x1b8]
mov dword [esp + 0x24], ecx
call fcn.004cf190
mov ecx, dword [ebx + 0xcc]
shr ecx, 5
test cl, 1
je 0x5707d5
movzx edx, word [esp + 0x7c]
cmp word [edx*2 + 0x691c86], 0
jne 0x5707d5
mov ebp, dword [esp + 0x28]
push 0x691c88
mov ecx, ebp
call fcn.004cf4e0
movzx esi, word [esp + 0x7c]
mov edi, dword [esp + 0x38]
lea eax, [esi*2 + 0x691c88]
push eax
mov ecx, edi
call fcn.004cf4e0
mov ebx, dword [esp + 0x24]
push 1
push edi
mov ecx, ebx
call fcn.004cf710
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
lea edi, [esi + eax + 1]
cmp word [edi*2 + 0x691c88], 0
lea esi, [edi*2 + 0x691c88]
je 0x57071d
mov eax, esi
test esi, esi
jne 0x57069b
mov eax, 0x63141c
mov edx, dword [0x5f09fc]
push edx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.004cf3b0
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x8e8], 0xa
call fcn.004cf710
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x5706e7
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5706e7
call fcn.004ce2e0
test esi, esi
je 0x570701
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5706f0
sub eax, edx
sar eax, 1
jmp 0x570703
xor eax, eax
lea edi, [edi + eax + 1]
cmp word [edi*2 + 0x691c88], 0
lea esi, [edi*2 + 0x691c88]
jne 0x570690
mov eax, dword [ebp]
cmp dword [eax - 8], 0
jne 0x570732
mov ecx, dword [section..data]
mov dword [esp + 0x28], ecx
jmp 0x570742
mov dword [esp + 0x28], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x570742
inc ecx
mov dword [eax - 0xc], ecx
mov edx, dword [ebp]
mov esi, dword [edx - 8]
mov bl, 0xb
mov ecx, ebp
mov byte [esp + 0x8e0], bl
call fcn.004ce770
mov eax, dword [ebp]
cmp word [eax + esi*2 - 2], 0x5c
je 0x570770
push 0x5c
push 1
lea ecx, [esp + 0x30]
call fcn.004cf460
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004d01c0
add esp, 0xc
mov esi, dword [esp + 0x30]
lea ecx, [esi + 0x1a8]
push eax
mov byte [esp + 0x8e4], 0xc
call fcn.004cecf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5707c1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5707c1
call fcn.004ce2e0
mov ecx, dword [esp + 0x5c]
dec ecx
mov dword [esi + 0x1b4], ecx
mov ecx, dword [esp + 0x28]
jmp 0x5709eb
mov eax, dword [esp + 0x5c]
mov cx, word [esp + 0x7e]
lea edx, [eax - 1]
mov dword [ebx + 0x1b4], edx
test cx, cx
je 0x5707fe
movzx ecx, cx
cmp word [ecx*2 + 0x691c88], 0
jne 0x57094c
mov edx, dword [esp + 0x20]
lea eax, [eax + eax - 1]
test eax, eax
jle 0x57083c
mov edi, eax
lea esp, [esp]
test edx, edx
je 0x570831
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x570820
sub eax, esi
sar eax, 1
jmp 0x570833
xor eax, eax
sub edi, 1
lea edx, [edx + eax*2 + 2]
jne 0x570810
test edx, edx
jne 0x570845
mov edx, 0x63141c
mov eax, dword [0x5f09fc]
push eax
push 0
push edx
lea ecx, [esp + 0x44]
call fcn.004cf3b0
mov ecx, dword [0x5f09fc]
push ecx
push 0
push 0x691c88
lea ecx, [esp + 0x24]
mov byte [esp + 0x8ec], 0xd
call fcn.004cf3b0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
mov bl, 0xe
push ecx
mov byte [esp + 0x8ec], bl
call fcn.00565b20
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x8e4], 0xf
call fcn.004cecf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5708c8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5708c8
call fcn.004ce2e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 0xd
cmp eax, 0xffffffff
je 0x5708eb
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5708eb
call fcn.004ce2e0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x57090e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x57090e
call fcn.004ce2e0
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
cmp ecx, 0xfffd
jb 0x570921
mov ecx, 0xfffd
push ecx
push eax
push 0x691c88
call fcn.0057e4e0
mov edx, dword [ebp]
mov eax, dword [edx - 8]
add esp, 0xc
cmp eax, 0xfffd
jb 0x570942
mov eax, 0xfffd
xor ecx, ecx
mov word [eax*2 + 0x691c88], cx
mov ecx, dword [esp + 0x30]
push 0x691c88
add ecx, 0x1a8
call fcn.004cf4e0
push 0x691c88
call fcn.004ec880
add esp, 4
push eax
mov ecx, ebp
call fcn.004cf4e0
mov ecx, dword [esp + 0x24]
push 1
push ebp
call fcn.004cf710
mov edx, dword [0x5f09fc]
push edx
push 0
push 0x691c88
lea ecx, [esp + 0x24]
call fcn.004cf3b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
mov bl, 0x10
push ecx
mov byte [esp + 0x8e8], bl
call fcn.004eba60
add esp, 8
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x8e4], 0x11
call fcn.004cecf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], bl
cmp eax, 0xffffffff
je 0x5709e7
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5709e7
call fcn.004ce2e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 9
cmp eax, 0xffffffff
je 0x570a0a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x570a0a
call fcn.004ce2e0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 0xc]
xor edx, edx
cmp byte [esp + 0x17], dl
mov byte [esp + 0x8e0], 4
sete dl
add ecx, 0xfffffff4
add edx, 0x13ec
mov esi, edx
cmp eax, 0xffffffff
je 0x570a3e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x570a3e
call fcn.004ce2e0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 3
cmp eax, 0xffffffff
je 0x570a61
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x570a61
call fcn.004ce2e0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x8e0], 2
cmp eax, 0xffffffff
je 0x570a84
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x570a84
call fcn.004ce2e0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8e0], 1
call fcn.004cf1e0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x8e0], 0
call fcn.004cf1e0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x8e0], 0xffffffff
cmp eax, 0xffffffff
je 0x570ad2
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x570ad2
call fcn.004ce2e0
mov eax, esi
mov ecx, dword [esp + 0x8d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c0]
xor ecx, esp
call fcn.0057ac48
add esp, 0x8d0
ret