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

Disassembly:
mov word [ebp - 0x1748], dx
mov eax, 0x32
mov word [ebp - 0x1746], ax
mov ecx, 0x2e
mov word [ebp - 0x1744], cx
mov edx, 0x64
mov word [ebp - 0x1742], dx
mov eax, 0x6c
mov word [ebp - 0x1740], ax
mov ecx, 0x6c
mov word [ebp - 0x173e], cx
xor edx, edx
mov word [ebp - 0x173c], dx
push edx
push edi
add esp, 4
call 0x100073cf
add byte [edx + 0x36], cl
cmp cl, byte [eax + 0x35]
push eax
dec edx
add esp, 4
sub edx, 0x12149
call 0x100073e5
add byte [ebp + 0x38], al
xor cl, byte [ebp + 0x42]
dec eax
dec edx
add esp, 4
sub edx, 0x7123
pop edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x197c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1980], edx
mov eax, dword [ebp - 0x1980]
mov dword [ebp - 0x15ec], eax
push edx
push esi
add esp, 4
add edx, 0x6c84
xor edx, 0x9100
pop edx
push edi
add edi, 0x5cf
and edi, 0x248
pop edi
push edx
push esi
add esp, 4
or edx, 0x9e33
xor edx, 0x3f43
pop edx
cmp dword [ebp - 0x15ec], 0
jne 0x10007460
mov dword [ebp - 0x2f0], 0
jmp 0x1000771c
mov ecx, dword [ebp - 0x15ec]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcac], eax
push eax
push edi
add esp, 4
add eax, 0x9fbd
sub eax, 0x5ced
jmp 0x1000748c
pop eax
push edx
jmp 0x10007493
call fcn.100074a0
add byte [0x3c4a3649], dh
xor eax, 0x4c4834f
add esp, 4
pop edx
cmp dword [ebp - 0xcac], 0
jne 0x100074bc
mov dword [ebp - 0x2f0], 0
jmp 0x1000771c
mov ecx, dword [ebp - 0xcac]
mov dword [ebp - 0x500], ecx
push ecx
push ecx
add esp, 4
or ecx, 0x23aa
xor ecx, 0xdd5d
pop ecx
push edx
push ecx
add esp, 4
or edx, 0x13a1b
pop edx
push ebx
and ebx, 0x17723
sub ebx, 0x14249
or ebx, 0x1f
pop ebx
lea edx, [ebp - 0x1754]
mov dword [ebp - 0xca8], edx
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xca4], ecx
xor edx, edx
mov word [ebp - 0x22c], dx
xor eax, eax
mov word [ebp - 0x128], ax
push esi
jmp 0x1000752e
xor esi, 0x628b
xor esi, 0x48b9
pop esi
push edx
push esi
add esp, 4
or edx, 0x978c
call 0x10007555
add byte [edx], dh
inc ebp
xor cl, byte [edx + 0x3f]
inc ecx
dec ebx
cmp esi, dword [edx]
add esp, 4
pop edx
mov ecx, dword [ebp - 0xca4]
mov dx, word [ecx]
mov word [ebp - 0x1046], dx
mov eax, dword [ebp - 0xca4]
add eax, 2
mov dword [ebp - 0xca4], eax
mov cx, word [ebp - 0x1046]
mov word [ebp - 0x22c], cx
mov edx, dword [ebp - 0xca8]
mov ax, word [edx]
mov word [ebp - 0x1048], ax
mov ecx, dword [ebp - 0xca8]
add ecx, 2
mov dword [ebp - 0xca8], ecx
mov dx, word [ebp - 0x1048]
mov word [ebp - 0x128], dx
push edx
or edx, 0x3786
and edx, 0x9d39
jmp 0x100075c8
pop edx
push edx
and edx, 0x8d4e
and edx, 0x355b
or edx, 0x6cbe
pop edx
push edx
add edx, 0x1156e
pop edx
movzx eax, word [ebp - 0x128]
test eax, eax
jne 0x10007608
movzx ecx, word [ebp - 0x22c]
movzx edx, word [ebp - 0x128]
sub ecx, edx
mov dword [ebp - 0x15f0], ecx
jmp 0x1000766b
movzx eax, word [ebp - 0x22c]
movzx ecx, word [ebp - 0x128]
cmp eax, ecx
je 0x10007527
movzx edx, word [ebp - 0x22c]
xor edx, 0x20
movzx eax, word [ebp - 0x128]
cmp edx, eax
je 0x10007527
movzx ecx, word [ebp - 0x22c]
movzx edx, word [ebp - 0x128]
cmp ecx, edx
jge 0x10007655
mov dword [ebp - 0x15b0], 0xffffffff
jmp 0x1000765f
mov dword [ebp - 0x15b0], 1
mov eax, dword [ebp - 0x15b0]
mov dword [ebp - 0x15f0], eax
cmp dword [ebp - 0x15f0], 0
jne 0x100076b4
push esi
call 0x10007684
add byte [edx], dh
aaa
inc ebx
inc ecx
cmp eax, 0x35403e33
add esp, 4
xor esi, 0x14369
call 0x1000769a
add byte [eax], bh
dec ebp
inc esi
xor eax, 0x834d3550
les eax, [esi + ebx*2]
push ecx
jmp 0x100076a5
pop ecx
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0x2f0], ecx
jmp 0x1000771c
push ebx
push eax
add esp, 4
call 0x100076c8
add byte [ecx + 0x48], cl
cmp al, 0x3f
inc ecx
xor al, 0x4d
cmp al, byte [ebx + eax*4 - 0x3c]
add al, 0x81
retf
push edi
add edi, 0x99e9
pop edi
push esi
call 0x10007731
add byte [edx + 0x32], cl
cmp dword [ebx], edi
inc ebx
dec esi
add esp, 4
add esi, 0xa5f7
and esi, 0xc19c
pop esi
push ebx
jmp 0x10007747
sub ebx, 0x6b71
pop ebx
cmp dword [ebp - 0x2f0], 0
jne 0x10008021
mov eax, 0x6b
mov word [ebp - 0x1790], ax
mov ecx, 0x65
mov word [ebp - 0x178e], cx
mov edx, 0x72
mov word [ebp - 0x178c], dx
mov eax, 0x6e
mov word [ebp - 0x178a], ax
mov ecx, 0x65
mov word [ebp - 0x1788], cx
mov edx, 0x6c
mov word [ebp - 0x1786], dx
mov eax, 0x33
mov word [ebp - 0x1784], ax
mov ecx, 0x32
mov word [ebp - 0x1782], cx
mov edx, 0x2e
mov word [ebp - 0x1780], dx
mov eax, 0x64
mov word [ebp - 0x177e], ax
mov ecx, 0x6c
mov word [ebp - 0x177c], cx
mov edx, 0x6c
mov word [ebp - 0x177a], dx
xor eax, eax
mov word [ebp - 0x1778], ax
push esi
and esi, 0x3866
add esi, 0x14923
sub esi, 0x617e
pop esi
push edx
push edi
add esp, 4
add edx, 0x2974
add edx, 0x9a3
sub edx, 0xe81c
add edx, 0x763a
pop edx
mov byte [ebp - 0x898], 0x4c
mov byte [ebp - 0x897], 0x6f
mov byte [ebp - 0x896], 0x61
mov byte [ebp - 0x895], 0x64
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x69
mov byte [ebp - 0x892], 0x62
mov byte [ebp - 0x891], 0x72
mov byte [ebp - 0x890], 0x61
mov byte [ebp - 0x88f], 0x72
mov byte [ebp - 0x88e], 0x79
mov byte [ebp - 0x88d], 0x57
mov byte [ebp - 0x88c], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1984], ecx
mov edx, dword [ebp - 0x1984]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1988], eax
mov ecx, dword [ebp - 0x1988]
mov dword [ebp - 0x15f4], ecx
push edi
push edi
add esp, 4
xor edi, 0x17acc
add edi, 0x54d1
pop edi
push edx
push esi
add esp, 4
and edx, 0x32d0
add edx, 0x15b
add edx, 0xe882
jmp 0x100078da
pop edx
cmp dword [ebp - 0x15f4], 0
jne 0x100078f3
mov dword [ebp - 0x754], 0
jmp 0x10007b9a
mov edx, dword [ebp - 0x15f4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcb8], ecx
push esi
xor esi, 0x889c
or esi, 0x1481b
and esi, 0x5cb0
or esi, 0x156c5
pop esi
push ecx
push edx
add esp, 4
add ecx, 0xbcd1
add ecx, 0x7e38
add ecx, 0x115ea
pop ecx
cmp dword [ebp - 0xcb8], 0
dec eax
invalid
invalid
inc dword [eax]
jne 0x1000794f
mov dword [ebp - 0x754], 0
jmp 0x10007b9a
mov edx, dword [ebp - 0xcb8]
mov dword [ebp - 0x504], edx
push ecx
push edx
add esp, 4
jmp 0x10007968
or ecx, 0xab23
pop ecx
push edx
push edi
add esp, 4
or edx, 0x69d8
call 0x10007989
add byte [ecx + 0x4f], al
dec ebx
dec ebx
inc edi
xor al, byte [esi + 0x33]
inc ebx
add esp, 4
pop edx
lea eax, [ebp - 0x1790]
mov dword [ebp - 0xcb4], eax
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcb0], edx
xor eax, eax
mov word [ebp - 0x230], ax
xor ecx, ecx
mov word [ebp - 0x44], cx
push ebx
push edx
add esp, 4
jmp 0x100079c1
jmp 0x100079c7
call 0x100079d6
add byte [eax], bh
cmp dword [esi], edi
dec esp
dec esi
dec esi
aaa
dec edx
add esp, 4
xor ebx, 0x405d
pop ebx
push edx
jmp 0x100079e8
pop edx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x104a], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x104a]
mov word [ebp - 0x230], dx
mov eax, dword [ebp - 0xcb4]
mov cx, word [eax]
mov word [ebp - 0x104c], cx
mov edx, dword [ebp - 0xcb4]
add edx, 2
mov dword [ebp - 0xcb4], edx
mov ax, word [ebp - 0x104c]
mov word [ebp - 0x44], ax
push eax
add eax, 0x112c3
call 0x10007a56
add byte [ecx + 0x4e], cl
xor bh, byte [edi]
dec ebx
cmp eax, dword [esi + 0x45]
dec ebp
add esp, 4
pop eax
push ebx
push eax
add esp, 4
or ebx, 0x10f6b
xor ebx, 0x1434d
sub ebx, 0x9f9b
pop ebx
movzx ecx, word [ebp - 0x44]
test ecx, ecx
jne 0x10007a8f
movzx edx, word [ebp - 0x230]
movzx eax, word [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x15fc], edx
jmp 0x10007ae9
movzx ecx, word [ebp - 0x230]
movzx edx, word [ebp - 0x44]
cmp ecx, edx
je 0x100079b7
movzx eax, word [ebp - 0x230]
xor eax, 0x20
movzx ecx, word [ebp - 0x44]
cmp eax, ecx
je 0x100079b7
movzx edx, word [ebp - 0x230]
movzx eax, word [ebp - 0x44]
cmp edx, eax
jge 0x10007ad3
mov dword [ebp - 0x15f8], 0xffffffff
jmp 0x10007add
mov dword [ebp - 0x15f8], 1
mov ecx, dword [ebp - 0x15f8]
mov dword [ebp - 0x15fc], ecx
cmp dword [ebp - 0x15fc], 0
jne 0x10007b32
push edx
xor edx, 0x7d0c
and edx, 0xd8a8
pop edx
push eax
jmp 0x10007b06
call 0x10007b12
add byte [ebp + 0x32], al
dec eax
dec eax
dec ebp
xor al, byte [ebx - 0x1f7efb3c]
ja 0x10007b68
add byte [eax], al
pop eax
push edx
xor edx, 0x11734
pop edx
mov edx, dword [ebp - 0x504]
mov dword [ebp - 0x754], edx
jmp 0x10007b9a
push eax
add eax, 0x1398f
pop eax
push ebx
push edi
add esp, 4
or ebx, 0x8d39
and ebx, 0x10582
or ebx, 0x176f7
pop ebx
push edx
push edi
add esp, 4
sub edx, 0x12f5e
sub edx, 0x6526
pop edx
mov eax, dword [ebp - 0x504]
mov ecx, dword [eax]
mov dword [ebp - 0x504], ecx
mov edx, dword [ebp - 0x504]
cmp edx, dword [ebp - 0xcb8]
je 0x10007b90
invalid
mov eax, dword [ebp - 0x504]
cmp dword [eax + 0x30], 0
jne 0x1000795b
mov dword [ebp - 0x754], 0
cmp dword [ebp - 0x754], 0
jne 0x10007be4
push eax
and eax, 0x42c3
or eax, 0xdadd
call 0x10007bbe
add byte [edx], bh
dec ecx
inc esp
dec esi
dec esp
inc ebp
inc esp
add esp, 4
pop eax
push ebx
push ebx
add esp, 4
jmp 0x10007bce
and ebx, 0xa58a
pop ebx
mov dword [ebp - 0x7a0], 0
jmp fcn.1000870c
push eax
push edi
add esp, 4
add eax, 0x13fd3
pop eax
push edi
push edi
add esp, 4
xor edi, 0x17376
and edi, 0x3c7e
pop edi
push ecx
xor ecx, 0xf089
add byte [ecx + 0x50], bl
push ecx
add esp, 4
or eax, 0x2636
pop eax
mov ecx, dword [ebp - 0x754]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 0x764], 0
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x1600], eax
cmp dword [ebp - 0x1600], 0
jne 0x10007c55
mov ecx, dword [ebp - 0x764]
mov dword [ebp - 0x3e0], ecx
jmp fcn.10007f46
mov edx, dword [ebp - 0x1600]
mov eax, dword [ebp - 0x3a8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1604], eax
jne 0x10007c7d
mov ecx, dword [ebp - 0x764]
mov dword [ebp - 0x3e0], ecx
jmp fcn.10007f46
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1604]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne fcn.10007caf
mov eax, dword [ebp - 0x764]
mov dword [ebp - 0x3e0], eax
jmp fcn.10007f46
push eax
add eax, 0x16fd0
jmp 0x10008031
pop eax
push edx
push esi
add esp, 4
call 0x10008043
add byte [esi], bh
inc esp
dec esp
dec ecx
add esp, 4
add edx, 0x885c
jmp 0x10008052
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x19a0], ecx
mov edx, dword [ebp - 0x19a0]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19a4], eax
mov ecx, dword [ebp - 0x19a4]
mov dword [ebp - 0x160c], ecx
push ebx
push edx
add esp, 4
call 0x1000808f
add byte [edx], dh
dec ebx
aas
inc esi
aas
aas
dec esp
xor eax, 0x4c48341
or ebx, 0x6793
pop ebx
push ecx
and ecx, 0x6c8d
xor ecx, 0xe3c
sub ecx, 0x1126a
pop ecx
cmp dword [ebp - 0x160c], 0
jne 0x100080c5
mov dword [ebp - 0x2f0], 0
jmp 0x1000836c
mov edx, dword [ebp - 0x160c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcc8], ecx
push edi
push esi
add esp, 4
sub edi, 0xcb4d
sub edi, 0xba74
sub edi, 0x16cef
pop edi
push eax
xor eax, 0xa0c
sub eax, 0x8334
pop eax
push edi
push edi
add esp, 4
or edi, 0x4f9
pop edi
cmp dword [ebp - 0xcc8], 0
jne 0x10008121
mov dword [ebp - 0x2f0], 0
jmp 0x1000836c
mov edx, dword [ebp - 0xcc8]
mov dword [ebp - 0x508], edx
push edi
and edi, 0x26f
jmp 0x1000813c
sub edi, 0x162ac
call 0x1000814f
add byte [eax], bh
dec esp
dec ebx
inc ebp
inc edi
dec ecx
cmp byte [ebx + 0x565f04c4], al
push esi
add esp, 4
sub esi, 0x13ec0
pop esi
lea eax, [ebp - 0x1754]
mov dword [ebp - 0xcc4], eax
mov ecx, dword [ebp - 0x508]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcc0], edx
xor eax, eax
mov word [ebp - 0x234], ax
xor ecx, ecx
mov word [ebp - 0x48], cx
push ecx
call 0x10008199
add byte [ecx + 0x38], cl
inc ebp
cmp al, 0x3b
xor ecx, dword ss:[edi + 0x43]
add esp, 4
add ecx, 0x1456a
or ecx, 0x637c
add ecx, 0xc84e
pop ecx
push ebx
push esi
add esp, 4
xor ebx, 0xbbff
pop ebx
mov edx, dword [ebp - 0xcc0]
mov ax, word [edx]
mov word [ebp - 0x104e], ax
mov ecx, dword [ebp - 0xcc0]
add ecx, 2
mov dword [ebp - 0xcc0], ecx
mov dx, word [ebp - 0x104e]
mov word [ebp - 0x234], dx
mov eax, dword [ebp - 0xcc4]
mov cx, word [eax]
mov word [ebp - 0x1050], cx
mov edx, dword [ebp - 0xcc4]
add edx, 2
mov dword [ebp - 0xcc4], edx
mov ax, word [ebp - 0x1050]
mov word [ebp - 0x48], ax
push esi
push edi
add esp, 4
or esi, 0xd781
xor esi, 0x1289d
pop esi
push ecx
push esi
add esp, 4
sub ecx, 0xeeb2
or ecx, 0x7d8c
xor ecx, 0x2645
pop ecx
push edi
xor edi, 0xbba3
pop edi
movzx ecx, word [ebp - 0x48]
test ecx, ecx
jne 0x10008261
movzx edx, word [ebp - 0x234]
movzx eax, word [ebp - 0x48]
sub edx, eax
mov dword [ebp - 0x1614], edx
jmp 0x100082bb
movzx ecx, word [ebp - 0x234]
movzx edx, word [ebp - 0x48]
cmp ecx, edx
je 0x10008189
movzx eax, word [ebp - 0x234]
xor eax, 0x20
movzx ecx, word [ebp - 0x48]
cmp eax, ecx
je 0x10008189
movzx edx, word [ebp - 0x234]
movzx eax, word [ebp - 0x48]
cmp edx, eax
jge 0x100082a5
mov dword [ebp - 0x1610], 0xffffffff
jmp 0x100082af
mov dword [ebp - 0x1610], 1
mov ecx, dword [ebp - 0x1610]
mov dword [ebp - 0x1614], ecx
cmp dword [ebp - 0x1614], 0
jne 0x10008304
push eax
add eax, 0x6e06
add eax, 0x1454d
and eax, 0xc354
and eax, 0x2487
pop eax
push ebx
push edx
add esp, 4
add ebx, 0x9178
pop ebx
push ecx
push ebx
add esp, 4
or ecx, 0xbc20
pop ecx
mov edx, dword [ebp - 0x508]
mov dword [ebp - 0x2f0], edx
jmp 0x1000836c
push eax
push ecx
add esp, 4
add eax, 0x11cae
call 0x1000831c
add byte [edi + 0x36], cl
inc ebp
xor eax, 0x834c4537
les eax, [eax + ebx*2]
push esi
add esi, 0x98ad
pop esi
push ecx
and ecx, 0x723a
or ecx, 0x2129
pop ecx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax]
mov dword [ebp - 0x508], ecx
mov edx, dword [ebp - 0x508]
cmp edx, dword [ebp - 0xcc8]
je 0x10008362
mov eax, dword [ebp - 0x508]
cmp dword [eax + 0x30], 0
jne 0x1000812d
mov dword [ebp - 0x2f0], 0
push eax
add eax, 0xc5cd
or eax, 0x17430
xor eax, 0x1056d
pop eax
push edi
push eax
add esp, 4
add edi, 0x11b3
or edi, 0x26d6
sub edi, 0x12615
sub edi, 0x3291
pop edi
mov ecx, dword [ebp - 0x2f0]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push esi
or esi, 0x1678c
pop esi
push eax
and eax, 0xc8e3
pop eax
push eax