Function at 0x7bd9c0
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x85278a
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x871f3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x115], 1
call fcn.007fee30
call fcn.007bbaf0
mov eax, dword [0x870070]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
mov edx, dword [0x870368]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [0x87036c]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
push 0x7bc5f0
call fcn.00812b7e
add esp, 4
mov eax, dword [0x88c4a8]
mov ecx, dword [0x88c4a8]
mov edx, dword [eax + 0x50]
xor edx, dword [ecx + 0x2c]
push edx
call dword [0x870080]
push eax
push 0x875200
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.00811b04
add esp, 0x14
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0x1f0001
call dword [0x8700b8]
test eax, eax
je 0x7bdaaa
mov byte [ebp - 0x115], 0
movzx edx, byte [ebp - 0x115]
test edx, edx
je 0x7bdc82
mov eax, dword [0x88c4a8]
mov ecx, dword [0x88c4a8]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x6c]
mov eax, dword [0x88c4a8]
xor edx, dword [eax + 0x64]
and edx, 0x20
je 0x7bdc82
mov ecx, dword [0x88c4a8]
mov edx, dword [0x88c4a8]
mov eax, dword [ecx + 0x84]
xor eax, dword [edx + 8]
mov ecx, dword [0x88c4a8]
xor eax, dword [ecx + 0x50]
push eax
push 0x8751f8
push 0x104
lea edx, [ebp - 0x224]
push edx
call fcn.00811b04
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
push 0
push 0
call dword [0x870040]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x7bdc82
call dword [0x87003c]
cmp eax, 0xb7
jne 0x7bdc82
push 0x7530
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [0x8700b4]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x7bdb79
cmp dword [ebp - 0x230], 0x80
jne 0x7bdc78
mov edx, dword [0x88c4a8]
mov eax, dword [0x88c4a8]
mov ecx, dword [edx + 0x84]
xor ecx, dword [eax + 8]
mov edx, dword [0x88c4a8]
xor ecx, dword [edx + 0x50]
push ecx
push 0x8751f0
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.00811b04
add esp, 0x10
mov dword [ebp - 0x238], 0
jmp 0x7bdbcb
mov ecx, dword [ebp - 0x238]
add ecx, 1
mov dword [ebp - 0x238], ecx
cmp dword [ebp - 0x238], 0x12c
jge 0x7bdc04
lea edx, [ebp - 0x224]
push edx
push 0x8751e4
call dword [0x870370]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x7bdbfa
jmp 0x7bdc04
push 0x64
call dword [0x870238]
jmp 0x7bdbbc
cmp dword [ebp - 0x234], 0
je 0x7bdc6b
mov eax, dword [0x88c4a8]
mov ecx, dword [0x88c4a8]
mov edx, dword [eax + 0x84]
xor edx, dword [ecx + 8]
mov eax, dword [0x88c4a8]
xor edx, dword [eax + 0x50]
mov dword [ebp - 0x244], edx
mov ecx, dword [0x88c220]
push ecx
call fcn.0080dbe0
add esp, 4
add eax, 1
mov dword [ebp - 0x240], eax
mov edx, dword [0x88c220]
mov dword [ebp - 0x23c], edx
lea eax, [ebp - 0x244]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 0x234]
push ecx
call dword [0x870384]
mov edx, dword [ebp - 0x22c]
push edx
call dword [0x8700b0]
mov eax, 1
jmp 0x7be269
push 1
call fcn.007be290
add esp, 4
movzx eax, byte [ebp - 0x115]
test eax, eax
je 0x7be005
mov ecx, dword [0x88c4a8]
mov edx, dword [0x88c4a8]
mov eax, dword [ecx + 0x48]
xor eax, dword [edx + 0x6c]
mov ecx, dword [0x88c4a8]
xor eax, dword [ecx + 0x64]
and eax, 0x40
jne 0x7be005
push 0x200
lea edx, [ebp - 0x444]
push edx
push 0x8751dc
call dword [0x8700a0]
test eax, eax
jne 0x7be005
push 0xc8
push 0x23
lea eax, [ebp - 0x444]
push eax
call fcn.0080eb60
add esp, 0xc
mov byte [ebp - 0x37c], 0
mov dword [ebp - 0x548], 1
jmp 0x7bdd16
mov ecx, dword [ebp - 0x548]
add ecx, 1
mov dword [ebp - 0x548], ecx
cmp dword [ebp - 0x548], 0x40
jg 0x7bdd55
mov edx, dword [ebp - 0x548]
push edx
push 0x8751d4
push 0x100
lea eax, [ebp - 0x544]
push eax
call fcn.00811b04
add esp, 0x10
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x544]
push edx
call dword [0x87007c]
jmp 0x7bdd07
mov eax, dword [0x88c4a8]
mov ecx, dword [0x88c4a8]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x6c]
mov eax, dword [0x88c4a8]
xor edx, dword [eax + 0x64]
and edx, 0x10
jne 0x7be005
lea ecx, [ebp - 0x724]
push ecx
call fcn.007f2af0
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
push edx
call fcn.007a3de0
add esp, 4
mov dword [ebp - 0x7fc], eax
mov eax, dword [ebp - 0x7fc]
mov dword [ebp - 0x800], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x800]
push ecx
lea ecx, [ebp - 0x5ac]
call fcn.007ec8f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.007a81c0
cmp dword [0x88c218], 1
jne 0x7bde02
cmp dword [ebp - 0x718], 0
jne 0x7bde02
lea ecx, [ebp - 0x5ac]
call fcn.007ed5f0
movzx edx, al
test edx, edx
jne 0x7bde02
lea ecx, [ebp - 0x5ac]
call fcn.007ed190
mov dword [ebp - 0x718], eax
push 0
lea eax, [ebp - 0x744]
push eax
call fcn.007f23c0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x744]
call fcn.007a8250
movzx ecx, al
test ecx, ecx
je 0x7bde6e
mov dword [ebp - 0x7ec], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x744]
call fcn.007a81c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5ac]
call fcn.007a45d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x724]
call fcn.007a7d40
mov eax, dword [ebp - 0x7ec]
jmp 0x7be269
lea edx, [ebp - 0xb0]
push edx
call fcn.007f2d20
add esp, 4
mov dword [ebp - 0x804], eax
mov eax, dword [ebp - 0x804]
mov dword [ebp - 0x808], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x808]
push ecx
lea ecx, [ebp - 0x94]
call fcn.007a4550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x744]
call fcn.007a8210
push eax
lea ecx, [ebp - 0x114]
call fcn.007a4550
mov byte [ebp - 4], 7
lea edx, [ebp - 0x5bc]
push edx
lea eax, [ebp - 0x724]
push eax
push 0x88d008
push 0x88d008
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.007f2620
add esp, 0x28
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x7ed], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x114]
call fcn.007a45d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.007a45d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.007b4e60
movzx eax, byte [ebp - 0x7ed]
test eax, eax
je 0x7bdfae
mov dword [0x88c368], 6
call dword [0x87003c]
push eax
push 0x8751b4
push 0x100
push 0x88c370
call fcn.00811b04
add esp, 0x10
mov dword [ebp - 0x7f4], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x744]
call fcn.007a81c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5ac]
call fcn.007a45d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x724]
call fcn.007a7d40
mov eax, dword [ebp - 0x7f4]
jmp 0x7be269
push 0x2710
mov ecx, dword [ebp - 0x5bc]
push ecx
call dword [0x870394]
mov dword [ebp - 0x7f8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x744]
call fcn.007a81c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5ac]
call fcn.007a45d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x724]
call fcn.007a7d40
mov eax, dword [ebp - 0x7f8]
jmp 0x7be269
mov edx, dword [0x88c4a8]
mov eax, dword [0x88c4a8]
mov ecx, dword [edx + 0x48]
xor ecx, dword [eax + 0x6c]
mov edx, dword [0x88c4a8]
xor ecx, dword [edx + 0x64]
and ecx, 0x10
je 0x7be1bf
mov eax, dword [0x88c4a8]
mov ecx, dword [0x88c4a8]
mov edx, dword [eax + 0x50]
xor edx, dword [ecx + 0x2c]
push edx
call dword [0x870080]
push eax
push 0x875200
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.00811b04
add esp, 0x14
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0x1f0001
call dword [0x8700b8]
test eax, eax
jne 0x7be1bd
push 1
call dword [0x870230]
push eax
call dword [0x870234]
mov byte [ebp - 0x745], 0
push 0x8748f0
call dword [0x87009c]
mov dword [ebp - 0x74c], eax
cmp dword [ebp - 0x74c], 0
je 0x7be0d8
push 0x8751a0
mov edx, dword [ebp - 0x74c]
push edx
call dword [0x870098]
mov dword [ebp - 0x7e8], eax
cmp dword [ebp - 0x7e8], 0
je 0x7be0d8
call dword [ebp - 0x7e8]
test eax, eax
je 0x7be0d8
mov byte [ebp - 0x745], 1
mov dword [ebp - 0x7e4], 0x94
lea eax, [ebp - 0x7e4]
push eax
call dword [0x870094]
cmp dword [ebp - 0x7d4], 2
jne 0x7be10a
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x7be116
jmp 0x7be11d
mov eax, dword fs:[0x20]
or eax, eax
jne 0x7be116
jmp 0x7be11d
mov byte [0x88c24c], 1
movzx ecx, byte [ebp - 0x745]
test ecx, ecx
je 0x7be15b
call dword [0x870080]
push eax
push 0x875198
push 0x104
lea edx, [ebp - 0x224]
push edx
call fcn.00811b04
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
push 0
push 0
call dword [0x870040]
jmp 0x7be1bd
cmp dword [0x88c218], 0
sete cl
movzx edx, cl
push edx
call fcn.007a7150
add esp, 4
movzx eax, al
test eax, eax
jne 0x7be1a9
mov dword [0x88c368], 6
call dword [0x87003c]
push eax
push 0x875188
push 0x100
push 0x88c370
call fcn.00811b04
add esp, 0x10
xor eax, eax
jmp 0x7be269
push 0
call fcn.007be290
add esp, 4
mov eax, 1
jmp 0x7be269
jmp 0x7be1f1
push 0
push 0x8748fc
call dword [0x87007c]
mov ecx, dword [0x88c4a8]
mov edx, dword [0x88c4a8]
mov eax, dword [ecx + 0x38]
xor eax, dword [edx + 0x6c]
mov ecx, dword [0x88c4a8]
xor eax, dword [ecx + 0x64]
and eax, 2
je 0x7be1f1
call fcn.007e2b50
call fcn.007bc620
mov dword [ebp - 0x228], eax
push 0
call fcn.007be290
add esp, 4
push 0
call fcn.00812b7e
add esp, 4
cmp dword [ebp - 0x228], 1
jne 0x7be22d
push 0x88c218
call dword [0x88c248]
add esp, 4
mov dword [ebp - 0x228], eax
push 0x7bc5f0
call fcn.00812b7e
add esp, 4
cmp dword [0x88c244], 0
je 0x7be249
call dword [0x88c244]
cmp dword [0x88c360], 0
je 0x7be263
push 0
push 0
mov edx, dword [0x88c35c]
push edx
call dword [0x88c360]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0080dbce
mov esp, ebp
pop ebp
ret