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

Disassembly:
add esp, 4
add ebx, 0x10a77
pop ebx
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x40883d
push edi
push ebx
add esp, 4
call 0x408813
add byte [eax + 0x4b], cl
inc edi
cmp byte [edi + eax*2 + 0x45], al
push eax
add esp, 4
pop edi
push edi
xor edi, 0x57d0
add edi, 0x16d15
sub edi, 0xc72d
add edi, 0xb1dd
pop edi
mov dword [ebp - 0x6c], 0
jmp 0x408b3e
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0xc8], ecx
push ecx
or ecx, 0x22de
pop ecx
push esi
push edx
add esp, 4
add esi, 0x17717
and esi, 0x30e3
xor esi, 0x10ad
sub esi, 0x7094
pop esi
push eax
push ebx
add esp, 4
and eax, 0x1940
pop eax
lea edx, [ebp - 0x2b0]
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x200], ecx
push ecx
push ebx
add esp, 4
call 0x4088aa
add byte [edx], dh
aas
inc edx
cmp eax, 0x3a443f4e
dec edi
add esp, 4
sub ecx, 0xcb85
pop ecx
push edx
xor edx, 0x7713
xor edx, 0x307d
or edx, 0x102f6
pop edx
xor edx, edx
mov word [ebp - 0x5c], dx
xor eax, eax
mov word [ebp - 0x10], ax
push eax
call 0x4088e5
add byte [ebp + ecx*2 + 0x38], al
cmp edx, dword [eax + 0x3f]
aas
inc ebp
inc ebp
dec esi
add esp, 4
and eax, 0xeb6f
jmp 0x4088f3
pop eax
push edx
push ebx
add esp, 4
add edx, 0x10835
add edx, 0xfc0e
pop edx
mov ecx, dword [ebp - 0x200]
mov dx, word [ecx]
mov word [ebp - 0x290], dx
mov eax, dword [ebp - 0x200]
add eax, 2
mov dword [ebp - 0x200], eax
mov cx, word [ebp - 0x290]
mov word [ebp - 0x5c], cx
push ecx
push edi
add esp, 4
xor ecx, 0xae18
or ecx, 0x2e55
pop ecx
push ecx
push ecx
add esp, 4
and ecx, 0xf8c0
pop ecx
push esi
sub esi, 0x8d34
add esi, 0x618f
xor esi, 0x14d03
pop esi
mov edx, dword [ebp - 0x204]
mov ax, word [edx]
mov word [ebp - 0x292], ax
mov ecx, dword [ebp - 0x204]
add ecx, 2
mov dword [ebp - 0x204], ecx
mov dx, word [ebp - 0x292]
mov word [ebp - 0x10], dx
push eax
xor eax, 0x3000
and eax, 0xae6f
pop eax
push edi
push edx
add esp, 4
add edi, 0xb42b
add edi, 0x76de
add edi, 0x163e5
pop edi
push edx
push edi
add esp, 4
or edx, 0x35a
pop edx
movzx eax, word [ebp - 0x10]
test eax, eax
jne 0x4089db
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x2c0], ecx
jmp 0x408a5e
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x10]
cmp eax, ecx
je 0x4088d4
movzx edx, word [ebp - 0x5c]
xor edx, 0x20
movzx eax, word [ebp - 0x10]
cmp edx, eax
je 0x4088d4
push edx
and edx, 0xc2f9
sub edx, 0x931f
xor edx, 0x16b5
pop edx
push esi
push esi
add esp, 4
xor esi, 0x7193
sub esi, 0x9645
jmp 0x408a29
and esi, 0x9a8d
pop esi
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
cmp ecx, edx
jge 0x408a48
mov dword [ebp - 0x2bc], 0xffffffff
jmp 0x408a52
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x408aa7
push eax
xor eax, 0xdfe8
pop eax
push eax
call 0x408a7d
add byte [ebx + 0x39], cl
dec esp
inc eax
push eax
inc eax
dec ecx
add esp, 4
and eax, 0x5d35
or eax, 0x1309e
pop eax
push edx
push edi
add esp, 4
add edx, 0x99ef
pop edx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], ecx
jmp 0x408b3e
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0xc8], eax
push ebx
or ebx, 0x9619
and ebx, 0x13f26
pop ebx
push ebx
call 0x408ad1
add byte [edx + 0x40], cl
cmp al, 0x37
inc ebx
cmp byte [ebx], dh
add esp, 4
pop ebx
push edi
push ecx
add esp, 4
sub edi, 0x17de0
xor edi, 0xdd38
pop edi
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0x208]
je 0x408b05
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x30], 0
jne 0x408849
push esi
push edi
add esp, 4
and esi, 0xacd5
pop esi
push eax
push edi
add esp, 4
sub eax, 0x4dc6
add eax, 0x1a24
add eax, 0x10ef9
pop eax
push edx
sub edx, 0x18607
and edx, 0xbe8d
pop edx
mov dword [ebp - 0x6c], 0
push edi
sub edi, 0x1411c
pop edi
push eax
push eax
add esp, 4
and eax, 0xb510
pop eax
push ecx
push esi
add esp, 4
add ecx, 0x1586b
or ecx, 0xd6b5
and ecx, 0x9c5
or ecx, 0x291a
pop ecx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x88], ecx
push esi
jmp 0x408b82
or esi, 0xe0e9
pop esi
push esi
sub esi, 0xda32
pop esi
push esi
push ecx
add esp, 4
and esi, 0x5be7
jmp 0x408ba1
or esi, 0xa79b
or esi, 0x1636b
pop esi
mov dword [ebp - 0x138], 0
push ebx
call 0x408bc8
add byte [0x3447393a], dh
aaa
dec edx
xor cl, byte [ebp - 0x7d]
les eax, [ebx + ebx*2]
push edx
push ecx
add esp, 4
call 0x408be0
add byte [esi], bh
inc esi
inc ecx
dec esi
cmp dword [esi + 0x3a], ecx
inc esi
dec edi
add esp, 4
or edx, 0xefa2
pop edx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x2c4], edx
cmp dword [ebp - 0x2c4], 0
jne 0x408c42
push ebx
push edi
add esp, 4
sub ebx, 0x11b28
jmp 0x408c10
pop ebx
push edx
push ebx
add esp, 4
sub edx, 0x33e9
pop edx
push edx
add edx, 0x3089
or edx, 0x6169
and edx, 0x18d0
pop edx
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x9c], eax
jmp 0x409131
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x88]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x2c8], edx
jne 0x408c6a
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x9c], eax
jmp 0x409131
push eax
or eax, 0x4561
pop eax
push esi
push eax
add esp, 4
sub esi, 0x3745
or esi, 0xc86a
sub esi, 0x4d10
call 0x408c98
add byte [ebp + 0x38], cl
inc edx
inc ebx
inc esp
add esp, 4
pop esi
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x2cc], ecx
cmp dword [ebp - 0x2cc], 0
jne 0x408d00
push esi
or esi, 0x1115b
sub esi, 0x7611
call 0x408cd7
add byte [esi + 0x40], al
dec ebp
dec ebx
xor al, 0x42
aas
add esp, 4
xor esi, 0x1481f
pop esi
push esi
jmp 0x408ce8
xor esi, 0x10e63
pop esi
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x9c], edx
jmp 0x409131
push ecx
push edi
add esp, 4
xor ecx, 0x14e1d
or ecx, 0xaefc
jmp 0x408d18
jmp 0x408d1d
pop ecx
push ebx
and ebx, 0x768a
xor ebx, 0x17a7f
jmp 0x408d31
pop ebx
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x12c], eax
jne 0x408d89
push edx
add edx, 0xd9eb
add edx, 0xa8ac
and edx, 0x9dc8
sub edx, 0x4c72
pop edx
push ebx
sub ebx, 0x13a8c
call 0x408d74
add byte [ecx + 0x45], al
cmp edi, dword [edi]
inc ebp
aaa
dec esp
add esp, 4
pop ebx
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x9c], ecx
jmp 0x409131
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x88]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x3e0], eax
push edi
xor edi, 0x6cf7
call 0x408db2
add byte [ecx], bh
xor al, 0x48
aas
dec ebp
inc eax
inc ebp
add esp, 4
sub edi, 0x6efb
pop edi
push edi
push edx
add esp, 4
add edi, 0x16527
pop edi
push edi
add edi, 0x16e04
pop edi
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x88]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x3e4], edx
push ecx
push eax
add esp, 4
add ecx, 0x1970
or ecx, 0x167a5
xor ecx, 0x6b31
sub ecx, 0x129e2
pop ecx
push edx
jmp 0x408e09
and edx, 0x10ca8
jmp 0x408e16
pop edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x3e8], ecx
mov dword [ebp - 0x130], 0
jmp 0x408e47
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [eax + 0x18]
jae 0x409125
push edi
push ecx
add esp, 4
jmp 0x408e68
jmp 0x408e71
pop edi
push esi
or esi, 0x1e65
and esi, 0x1594f
sub esi, 0xf679
pop esi
push edi
or edi, 0xd8a4
pop edi
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x134], ecx
push edi
and edi, 0x116f
pop edi
push ecx
push edx
add esp, 4
or ecx, 0x1e31
pop ecx
push edi
push edx
add esp, 4
xor edi, 0x682a
or edi, 0xe82c
and edi, 0x8c1
and edi, 0x93e2
pop edi
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x3e4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x3e8]
mov eax, dword [ebp - 0x88]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x3ec], eax
push edi
push esi
add esp, 4
or edi, 0x165b6
pop edi
push edi
push edi
add esp, 4
jmp 0x408f17
and edi, 0x171e3
sub edi, 0x1abf
pop edi
push edi
or edi, 0x3c28
xor edi, 0x4d77
pop edi
mov dword [ebp - 0x30], 0
jmp 0x408f44
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x134]
add edx, dword [ebp - 0x30]
movsx eax, byte [edx]
test eax, eax
je 0x408fe0
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ebp + ecx - 0x198]
test edx, edx
je 0x408fe0
push edi
push esi
add esp, 4
and edi, 0x14e2b
add edi, 0xd4bd
jmp 0x408f7e
jmp 0x408f84
pop edi
push ecx
and ecx, 0x2dc9
sub ecx, 0x67f3
and ecx, 0x1310e
pop ecx
mov eax, dword [ebp - 0x134]
add eax, dword [ebp - 0x30]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x30]
movsx eax, byte [ebp + edx - 0x198]
cmp ecx, eax
je 0x408fd2
mov ecx, dword [ebp - 0x134]
add ecx, dword [ebp - 0x30]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x30]
movsx ecx, byte [ebp + eax - 0x198]
cmp edx, ecx
jne 0x408fd9
jmp 0x408f3b
jmp 0x408fe0
push esi
push edx
add esp, 4
jmp 0x408fed
and esi, 0x860d
or esi, 0x7049
pop esi
push eax
push edi
add esp, 4
and eax, 0x14226
sub eax, 0xfc3e
xor eax, 0x12c3e
pop eax
mov edx, dword [ebp - 0x134]
add edx, dword [ebp - 0x30]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ebp + ecx - 0x198]
cmp eax, edx
jne 0x40903c
mov dword [ebp - 0x20c], 0
jmp 0x4090d7
push edx
sub edx, 0x1577c
and edx, 0xa851
pop edx
push ecx
push ecx
add esp, 4
call 0x40905e
add byte [esi + 0x37], al
inc eax
dec edi
aaa
cmp byte [ebx], dh
inc ebx
dec ebx
add esp, 4
jmp 0x409067
or ecx, 0x44d
pop ecx
mov eax, dword [ebp - 0x134]
add eax, dword [ebp - 0x30]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x30]
movsx eax, byte [ebp + edx - 0x198]
or eax, 0x20
cmp ecx, eax
jge 0x40909b
mov dword [ebp - 0x20c], 0xffffffff
jmp 0x4090d7
push edi
push ebx
add esp, 4
add edi, 0xfae3
call 0x4090b5
add byte [edx + 0x4f], al
inc ecx
inc ebx
inc eax
dec esi
xor al, byte [ecx + 0x34]
add esp, 4
pop edi
push edx
push ebx
add esp, 4
and edx, 0x15f16
jmp 0x4090cc
pop edx
mov dword [ebp - 0x20c], 1
cmp dword [ebp - 0x20c], 0
jne 0x409120
push edi
push ecx
add esp, 4
xor edi, 0x4e42
add edi, 0x1b24
or edi, 0xedf3
sub edi, 0xb7e1
pop edi
push edi
and edi, 0x599b
pop edi
push edx
push edx
add esp, 4
add edx, 0x148ad
pop edx
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x9c], ecx
jmp 0x409131
jmp 0x408e38
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1b4], eax